+ pushd ./usr/share/gems/gems/log4r-1.1.10
+ ruby -Ilib:tests -e 'Dir.glob "./tests/test*.rb", &method(:require)'
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Added outputter 'log4r' to 'log4r'
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Logger 'log4r' set to ALL
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Outputter 'udp' level is ALL
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Outputter 'udp' using Log4r::DefaultFormatter
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): UDPOutputter will send to localhost:8071
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Outputter 'udp' using Log4r::Log4jXmlFormatter
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Logger 'mylog' is tracing
DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Added outputter 'udp' to 'mylog'
ERROR log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): UDPOutputter failed to send data to localhost:8071, Connection refused - send(2)
ERROR log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): UDPOutputter failed to send data to localhost:8071, Connection refused - send(2)
ERROR log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): UDPOutputter failed to send data to localhost:8071, Connection refused - send(2)
Tue Oct 7 13:56:56 UTC 2014
Run options:
# Running tests:
.....E.EF..DEBUG log4r(/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb:46:in `log_internal'): Outputter 'fake1' level is ALL
(...)
Finished tests in 10.790028s, 4.3559 tests/s, 16.6821 assertions/s.
1) Failure:
TestXmlConf#test_load4 [/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testxmlconf.rb:41]:
Exception raised:
<#<Errno::ENOENT: No such file or directory @ rb_sysopen - xml/testconf.xml>>.
2) Failure:
TestXmlConf#test_load1 [/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testxmlconf.rb:22]:
Exception raised:
<#<NameError: uninitialized constant TestXmlConf::Foo>>.
3) Failure:
TestGDC#test_gdc_default [/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testGDC.rb:7]:
Expected 'testGDC.rb' got '-e: TestGDC#test_gdc_default'
4) Failure:
TestOutputter#test_validation_and_creation [/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:29]:
Exception raised:
<#<StandardError: 'junk' is not writable!>>.
5) Failure:
TestOutputter#test_file [/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:63]:
Exception raised:
<#<StandardError: './junk' is not writable!>>.
6) Failure:
TestOutputter#test_repository [/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:26]:
Failed assertion, no message given.
7) Error:
TestOutputter#test_io:
Errno::ENOENT: No such file or directory @ rb_sysopen - junk/tmpx.log
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:17:in `initialize'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:17:in `new'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:17:in `test_io'
8) Error:
TestOutputter#test_file_encoding:
Errno::ENOENT: No such file or directory @ rb_sysopen - ./junk/tmp2
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:119:in `initialize'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:119:in `open'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testoutputter.rb:119:in `test_file_encoding'
9) Error:
TestLogger#test_multi_outs:
StandardError: './junk' is not writable!
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/outputter/fileoutputter.rb:37:in `initialize'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testlogger.rb:164:in `new'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testlogger.rb:164:in `test_multi_outs'
10) Error:
TestFormatter#test_simple_formatter:
TypeError: no implicit conversion of Regexp into String
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testformatter.rb:15:in `test_simple_formatter'
/usr/share/ruby/test/unit/testcase.rb:17:in `run'
/usr/share/ruby/test/unit.rb:663:in `block in _run_suites'
/usr/share/ruby/test/unit.rb:661:in `each'
/usr/share/ruby/test/unit.rb:661:in `_run_suites'
/usr/share/ruby/test/unit.rb:27:in `run'
/usr/share/ruby/test/unit.rb:780:in `run'
/usr/share/ruby/test/unit.rb:372:in `block (2 levels) in autorun'
/usr/share/ruby/test/unit.rb:33:in `run_once'
/usr/share/ruby/test/unit.rb:371:in `block in autorun'
11) Error:
TestXmlConf#test_load3:
ArgumentError: Log level must be in 0..7
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/configurator.rb:95:in `decode_pre_config'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/configurator.rb:86:in `decode_xml'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/configurator.rb:82:in `actual_load'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/lib/log4r/configurator.rb:62:in `load_xml_string'
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testxmlconf.rb:34:in `test_load3'
12) Error:
TestFormatter#test_basic_formatter:
TypeError: no implicit conversion of Regexp into String
/builddir/build/BUILD/log4r-1.1.10/usr/share/gems/gems/log4r-1.1.10/tests/testformatter.rb:23:in `test_basic_formatter'
/usr/share/ruby/test/unit/testcase.rb:17:in `run'
/usr/share/ruby/test/unit.rb:663:in `block in _run_suites'
/usr/share/ruby/test/unit.rb:661:in `each'
/usr/share/ruby/test/unit.rb:661:in `_run_suites'
/usr/share/ruby/test/unit.rb:27:in `run'
/usr/share/ruby/test/unit.rb:780:in `run'
/usr/share/ruby/test/unit.rb:372:in `block (2 levels) in autorun'
/usr/share/ruby/test/unit.rb:33:in `run_once'
/usr/share/ruby/test/unit.rb:371:in `block in autorun'
47 tests, 180 assertions, 6 failures, 6 errors, 0 skips
Not sure what is the cause of this. Here are the versions installed in the buildroot:
DEBUG util.py:283: Getting requirements for rubygem-log4r-1.1.10-1.fc22.src
DEBUG util.py:283: --> rubygem-builder-3.2.2-2.fc21.noarch
DEBUG util.py:283: --> rubygem-minitest4-4.7.0-4.fc21.noarch
DEBUG util.py:283: --> rubygems-devel-2.2.2-101.fc21.noarch
DEBUG util.py:283: ================================================================================
DEBUG util.py:283: Package Arch Version Repository Size
DEBUG util.py:283: ================================================================================
DEBUG util.py:283: Installing:
DEBUG util.py:283: rubygem-builder noarch 3.2.2-2.fc21 build 16 k
DEBUG util.py:283: rubygem-minitest4 noarch 4.7.0-4.fc21 build 39 k
DEBUG util.py:283: rubygems-devel noarch 2.2.2-101.fc21 build 12 k
DEBUG util.py:283: Installing for dependencies:
DEBUG util.py:283: libyaml i686 0.1.6-5.fc22 build 58 k
DEBUG util.py:283: ruby i686 2.1.2-23.fc21 build 65 k
DEBUG util.py:283: ruby-irb noarch 2.1.2-23.fc21 build 87 k
DEBUG util.py:283: ruby-libs i686 2.1.2-23.fc21 build 2.9 M
DEBUG util.py:283: rubygem-bigdecimal i686 1.2.4-23.fc21 build 79 k
DEBUG util.py:283: rubygem-io-console i686 0.4.2-23.fc21 build 49 k
DEBUG util.py:283: rubygem-json i686 1.8.1-23.fc21 build 73 k
DEBUG util.py:283: rubygem-psych i686 2.0.5-23.fc21 build 78 k
DEBUG util.py:283: rubygem-rdoc noarch 4.1.1-2.fc21 build 442 k
DEBUG util.py:283: rubygems noarch 2.2.2-101.fc21 build 246 k
DEBUG util.py:283: rubypick noarch 1.1.1-2.fc21 build 5.4 k
DEBUG util.py:283: Transaction Summary
DEBUG util.py:283: ================================================================================
DEBUG util.py:283: Install 3 Packages (+11 Dependent packages)
DEBUG util.py:283: Total download size: 4.2 M
DEBUG util.py:283: Installed size: 15 M
DEBUG util.py:283: Installed:
DEBUG util.py:283: rubygem-builder.noarch 0:3.2.2-2.fc21
DEBUG util.py:283: rubygem-minitest4.noarch 0:4.7.0-4.fc21
DEBUG util.py:283: rubygems-devel.noarch 0:2.2.2-101.fc21
DEBUG util.py:283: Dependency Installed:
DEBUG util.py:283: libyaml.i686 0:0.1.6-5.fc22
DEBUG util.py:283: ruby.i686 0:2.1.2-23.fc21
DEBUG util.py:283: ruby-irb.noarch 0:2.1.2-23.fc21
DEBUG util.py:283: ruby-libs.i686 0:2.1.2-23.fc21
DEBUG util.py:283: rubygem-bigdecimal.i686 0:1.2.4-23.fc21
DEBUG util.py:283: rubygem-io-console.i686 0:0.4.2-23.fc21
DEBUG util.py:283: rubygem-json.i686 0:1.8.1-23.fc21
DEBUG util.py:283: rubygem-psych.i686 0:2.0.5-23.fc21
DEBUG util.py:283: rubygem-rdoc.noarch 0:4.1.1-2.fc21
DEBUG util.py:283: rubygems.noarch 0:2.2.2-101.fc21
DEBUG util.py:283: rubypick.noarch 0:1.1.1-2.fc21