* Package: dev-ruby/httpclient-2.8.3 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: elibc_glibc kernel_linux riscv ruby_targets_ruby26 test userland_GNU * FEATURES: preserve-libs sandbox test userpriv usersandbox * Running unpack phase for all ... * Running prepare phase for all ... * Running source copy phase for ruby26 ... * Running configure phase for ruby26 ... * Running compile phase for ruby26 ... * Running compile phase for all ... * Running test phase for ruby26 ... Loaded suite -e Started ..........................E =============================================================================== Error: test_s_new(TestCookie): ArgumentError: wrong number of arguments (given 2, expected 0) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/lib/httpclient/webagent-cookie.rb:76:in `initialize' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:12:in `new' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:12:in `setup' =============================================================================== E =============================================================================== Error: test_add(TestCookieManager): ArgumentError: wrong number of arguments (given 2, expected 0) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/lib/httpclient/webagent-cookie.rb:76:in `initialize' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:241:in `new' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:241:in `test_add' 238: end 239: 240: def test_add()  => 241: c = WebAgent::Cookie.new('hoge', 'funi') 242: c.url = urify("http://www.inac.co.jp/hoge") 243: @cm.add(c) 244: c = @cm.cookies[0] =============================================================================== E =============================================================================== Error: test_add2(TestCookieManager): ArgumentError: wrong number of arguments (given 2, expected 0) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/lib/httpclient/webagent-cookie.rb:76:in `initialize' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:251:in `new' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:251:in `test_add2' 248: end 249: 250: def test_add2()  => 251: c = WebAgent::Cookie.new('hoge', 'funi') 252: c.path = '' 253: c.url = urify("http://www.inac.co.jp/hoge/hoge2/hoge3") 254: @cm.add(c) =============================================================================== E =============================================================================== Error: test_check_expired_cookies(TestCookieManager): ArgumentError: wrong number of arguments (given 3, expected 0) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/lib/httpclient/webagent-cookie.rb:76:in `initialize' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:90:in `new' /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:90:in `test_check_expired_cookies' 87: 88: def test_check_expired_cookies() 89: format = "%a, %d-%b-%Y %H:%M:%S GMT"  => 90: c1 = WebAgent::Cookie.new('hoge1', 'funi', :domain => 'http://www.example.com/', :path => '/') 91: c2 = WebAgent::Cookie.new('hoge2', 'funi', :domain => 'http://www.example.com/', :path => '/') 92: c3 = WebAgent::Cookie.new('hoge3', 'funi', :domain => 'http://www.example.com/', :path => '/') 93: c4 = WebAgent::Cookie.new('hoge4', 'funi', :domain => 'http://www.example.com/', :path => '/') =============================================================================== F =============================================================================== Failure: test_find_cookie(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:162:in `test_find_cookie' 159: 160: url = urify('http://www.excite.co.jp/hoge/funi/') 161: cookie_str = @cm.find(url)  => 162: assert_equal("xmen=\"off,0,0,2\"", cookie_str) 163: end 164: 165: def test_load_cookies() <"xmen=\"off,0,0,2\""> expected but was <"xmen=off,0,0,2"> diff: ? xmen="off,0,0,2" =============================================================================== F =============================================================================== Failure: test_keep_escaped(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:281:in `test_keep_escaped' 278: 279: @cm.parse("bar=; path=/", uri) 280: c = @cm.cookies.first  => 281: assert_equal('', c.value) 282: assert_equal('bar=', @cm.find(uri)) 283: 284: @cm.parse("bar=\"\"; path=/", uri) <""> expected but was <nil> =============================================================================== F =============================================================================== Failure: test_load_cookies(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:191:in `test_load_cookies' 188: assert_equal('PACK', c1.name) 189: assert_equal('zd3-992421294-7436', c1.value) 190: assert_equal(Time.at(2293839999), c1.expires)  => 191: assert_equal('zdnet.co.jp', c1.domain) 192: assert_equal('.zdnet.co.jp', c1.dot_domain) 193: assert_equal('/', c1.path) 194: assert_equal(13, c1.flag) <"zdnet.co.jp"> expected but was <".zdnet.co.jp"> diff: ? .zdnet.co.jp =============================================================================== F =============================================================================== Failure: test_load_cookies_escaped(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:306:in `test_load_cookies_escaped' 303: assert_equal('"value"', c0.value) 304: assert_equal('""', c1.value) 305: assert_equal('', c2.value)  => 306: assert_equal('key1="\\"value\\""; key2="\\"\\""; key3=', @cm.find(uri)) 307: end 308: 309: end <"key1=\"\\\"value\\\"\"; key2=\"\\\"\\\"\"; key3="> expected but was <"key1=\"value\"; key2=\"\"; key3="> diff: ? key1="\"value\""; key2="\"\""; key3= =============================================================================== F =============================================================================== Failure: test_not_saved_expired_cookies(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:237:in `test_not_saved_expired_cookies' 234: @cm.parse("quxx=5; path=/; expires=#{(Time.now.gmtime - 10).asctime}", uri) 235: @cm.save_cookies 236: @cm.load_cookies  => 237: assert_equal(1, @cm.cookies.size) # +10 cookies only 238: end 239: 240: def test_add() <1> expected but was <0> =============================================================================== .F =============================================================================== Failure: test_parse2(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:49:in `test_parse2' 46: assert_equal("xmen", cookie.name) 47: assert_equal("off,0,0,1", cookie.value) 48: assert_equal("/", cookie.path)  => 49: assert_equal("excite.co.jp", cookie.domain) 50: assert_equal(".excite.co.jp", cookie.dot_domain) 51: assert_equal(Time.gm(2037,12,31,12,0,0), cookie.expires) 52: end <"excite.co.jp"> expected but was <".excite.co.jp"> diff: ? .excite.co.jp =============================================================================== F =============================================================================== Failure: test_parse3(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:62:in `test_parse3' 59: assert_equal("xmen", cookie.name) 60: assert_equal("off,0,0,1", cookie.value) 61: assert_equal("/", cookie.path)  => 62: assert_equal("excite.co.jp", cookie.domain) 63: assert_equal(".excite.co.jp", cookie.dot_domain) 64: assert_equal(Time.gm(2037,12,31,12,0,0), cookie.expires) 65: assert_equal(true, cookie.secure?) <"excite.co.jp"> expected but was <".excite.co.jp"> diff: ? .excite.co.jp =============================================================================== .F =============================================================================== Failure: test_parse_double_semicolon(TestCookieManager) /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:77:in `test_parse_double_semicolon' 74: assert_equal("xmen", cookie.name) 75: assert_equal("off,0,0,1", cookie.value) 76: assert_equal("/;;", cookie.path)  => 77: assert_equal("excite.co.jp", cookie.domain) 78: assert_equal(".excite.co.jp", cookie.dot_domain) 79: assert_equal(Time.gm(2037,12,31,12,0,0), cookie.expires) 80: end <"excite.co.jp"> expected but was <".excite.co.jp"> diff: ? .excite.co.jp =============================================================================== .F =============================================================================== Failure: test_save_cookie(TestCookieManager): is not true. /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_cookie.rb:223:in `test_save_cookie' 220: assert(File.exist?(cookiefile2.path)) 221: File.unlink(cookiefile2.path) 222: @cm.save_cookies()  => 223: assert(File.exist?(cookiefile2.path)) 224: end 225: 226: def test_not_saved_expired_cookies =============================================================================== ...........F =============================================================================== Failure: test_cookies(TestHTTPClient): was expected to be =~ <"http://rubyforge.org/account/login.php\tsession_ser\tLjEwMy45Ni40Ni0q%2A-fa0537de8cc31\t2000000000\trubyforge.org\t/account/\t9\n" + "http://rubyforge.org/account/login.php\tsession_ser\tbar\t1924873200\trubyforge.org\t/account\t1\n">. /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_httpclient.rb:1415:in `test_cookies' 1412: @client.get_content('http://rubyforge.org/account/login.php') 1413: @client.save_cookie_store 1414: str = File.read(cookiefile.path)  => 1415: assert_match(%r(http://rubyforge.org/account/login.php\tsession_ser\tbar\t1924873200\trubyforge.org\t/account/\t9), str) 1416: end 1417: 1418: def test_eof_error_length =============================================================================== ............................................................................... .....................................................................O =============================================================================== Omission: TODO: it does not pass with Java 7 or old openssl  [test_use_higher_TLS(TestSSL)] /var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3/test/test_ssl.rb:267:in `test_use_higher_TLS' =============================================================================== .. Finished in 33.110276 seconds. ------------------------------------------------------------------------------- 205 tests, 724 assertions, 10 failures, 4 errors, 0 pendings, 1 omissions, 0 notifications 93.1373% passed ------------------------------------------------------------------------------- 6.19 tests/s, 21.87 assertions/s * ERROR: dev-ruby/httpclient-2.8.3::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2836: Called ruby-ng_src_test * environment, line 2497: Called _ruby_each_implementation 'each_ruby_test' * environment, line 550: Called _ruby_invoke_environment 'ruby26' 'each_ruby_test' * environment, line 675: Called each_ruby_test * environment, line 924: Called die * The specific snippet of code: * ${RUBY} -Ilib:test:. -e 'gem "test-unit"; Dir["test/test_*.rb"].each{|f| require f}' || die * * If you need support, post the output of `emerge --info '=dev-ruby/httpclient-2.8.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/httpclient-2.8.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-ruby/httpclient-2.8.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/httpclient-2.8.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3' * S: '/var/tmp/portage/dev-ruby/httpclient-2.8.3/work/ruby26/httpclient-2.8.3'