Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 732277 Details for
Bug 807727
dev-ruby/httpclient-2.8.3: fail test on both riscv/amd64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
full build log
build.log (text/plain), 16.07 KB, created by
Yixun Lan
on 2021-08-11 15:03:02 UTC
(
hide
)
Description:
full build log
Filename:
MIME Type:
Creator:
Yixun Lan
Created:
2021-08-11 15:03:02 UTC
Size:
16.07 KB
patch
obsolete
> * 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 >[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[33mE[0m >=============================================================================== >Error: [40;33;1mtest_s_new(TestCookie)[0m: 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' >=============================================================================== >[33mE[0m >=============================================================================== >Error: [40;33;1mtest_add(TestCookieManager)[0m: 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() >[40;33;1m => 241: c = WebAgent::Cookie.new('hoge', 'funi')[0m > 242: c.url = urify("http://www.inac.co.jp/hoge") > 243: @cm.add(c) > 244: c = @cm.cookies[0] >=============================================================================== >[33mE[0m >=============================================================================== >Error: [40;33;1mtest_add2(TestCookieManager)[0m: 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() >[40;33;1m => 251: c = WebAgent::Cookie.new('hoge', 'funi')[0m > 252: c.path = '' > 253: c.url = urify("http://www.inac.co.jp/hoge/hoge2/hoge3") > 254: @cm.add(c) >=============================================================================== >[33mE[0m >=============================================================================== >Error: [40;33;1mtest_check_expired_cookies(TestCookieManager)[0m: 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" >[40;33;1m => 90: c1 = WebAgent::Cookie.new('hoge1', 'funi', :domain => 'http://www.example.com/', :path => '/')[0m > 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 => '/') >=============================================================================== >[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_find_cookie(TestCookieManager)[0m >/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) >[41;37;1m => 162: assert_equal("xmen=\"off,0,0,2\"", cookie_str)[0m > 163: end > 164: > 165: def test_load_cookies() ><[42;37;1m"xmen=\"off,0,0,2\""[0m> expected but was ><[41;37;1m"xmen=off,0,0,2"[0m> > >diff: >[46;37;1m?[0m xmen=[42;37;1m"[0moff,0,0,2[42;37;1m"[0m >=============================================================================== >[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_keep_escaped(TestCookieManager)[0m >/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 >[41;37;1m => 281: assert_equal('', c.value)[0m > 282: assert_equal('bar=', @cm.find(uri)) > 283: > 284: @cm.parse("bar=\"\"; path=/", uri) ><[42;37;1m""[0m> expected but was ><[41;37;1mnil[0m> >=============================================================================== >[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_load_cookies(TestCookieManager)[0m >/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) >[41;37;1m => 191: assert_equal('zdnet.co.jp', c1.domain)[0m > 192: assert_equal('.zdnet.co.jp', c1.dot_domain) > 193: assert_equal('/', c1.path) > 194: assert_equal(13, c1.flag) ><[42;37;1m"zdnet.co.jp"[0m> expected but was ><[41;37;1m".zdnet.co.jp"[0m> > >diff: >[46;37;1m?[0m [41;37;1m.[0mzdnet.co.jp >=============================================================================== >[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_load_cookies_escaped(TestCookieManager)[0m >/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) >[41;37;1m => 306: assert_equal('key1="\\"value\\""; key2="\\"\\""; key3=', @cm.find(uri))[0m > 307: end > 308: > 309: end ><[42;37;1m"key1=\"\\\"value\\\"\"; key2=\"\\\"\\\"\"; key3="[0m> expected but was ><[41;37;1m"key1=\"value\"; key2=\"\"; key3="[0m> > >diff: >[46;37;1m?[0m key1="[42;37;1m\"[0mvalue[42;37;1m\"[0m"; key2="[42;37;1m\"\"[0m"; key3= >=============================================================================== >[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_not_saved_expired_cookies(TestCookieManager)[0m >/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 >[41;37;1m => 237: assert_equal(1, @cm.cookies.size) # +10 cookies only[0m > 238: end > 239: > 240: def test_add() ><[42;37;1m1[0m> expected but was ><[41;37;1m0[0m> >=============================================================================== >[32;1m.[0m[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_parse2(TestCookieManager)[0m >/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) >[41;37;1m => 49: assert_equal("excite.co.jp", cookie.domain)[0m > 50: assert_equal(".excite.co.jp", cookie.dot_domain) > 51: assert_equal(Time.gm(2037,12,31,12,0,0), cookie.expires) > 52: end ><[42;37;1m"excite.co.jp"[0m> expected but was ><[41;37;1m".excite.co.jp"[0m> > >diff: >[46;37;1m?[0m [41;37;1m.[0mexcite.co.jp >=============================================================================== >[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_parse3(TestCookieManager)[0m >/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) >[41;37;1m => 62: assert_equal("excite.co.jp", cookie.domain)[0m > 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?) ><[42;37;1m"excite.co.jp"[0m> expected but was ><[41;37;1m".excite.co.jp"[0m> > >diff: >[46;37;1m?[0m [41;37;1m.[0mexcite.co.jp >=============================================================================== >[32;1m.[0m[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_parse_double_semicolon(TestCookieManager)[0m >/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) >[41;37;1m => 77: assert_equal("excite.co.jp", cookie.domain)[0m > 78: assert_equal(".excite.co.jp", cookie.dot_domain) > 79: assert_equal(Time.gm(2037,12,31,12,0,0), cookie.expires) > 80: end ><[42;37;1m"excite.co.jp"[0m> expected but was ><[41;37;1m".excite.co.jp"[0m> > >diff: >[46;37;1m?[0m [41;37;1m.[0mexcite.co.jp >=============================================================================== >[32;1m.[0m[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_save_cookie(TestCookieManager)[0m: <false> 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() >[41;37;1m => 223: assert(File.exist?(cookiefile2.path))[0m > 224: end > 225: > 226: def test_not_saved_expired_cookies >=============================================================================== >[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[31mF[0m >=============================================================================== >Failure: [41;37;1mtest_cookies(TestHTTPClient)[0m: > </http:\/\/rubyforge.org\/account\/login.php\tsession_ser\tbar\t1924873200\trubyforge.org\t\/account\/\t9/> 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) >[41;37;1m => 1415: assert_match(%r(http://rubyforge.org/account/login.php\tsession_ser\tbar\t1924873200\trubyforge.org\t/account/\t9), str)[0m > 1416: end > 1417: > 1418: def test_eof_error_length >=============================================================================== >[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m >[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[32;1m.[0m[34mO[0m >=============================================================================== >Omission: [44;37;1mTODO: it does not pass with Java 7 or old openssl [0m [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' >=============================================================================== >[32;1m.[0m[32;1m.[0m >Finished in 33.110276 seconds. >[33m-------------------------------------------------------------------------------[0m >205 tests, 724 assertions, 10 failures, 4 errors, 0 pendings, 1 omissions, 0 notifications >93.1373% passed >[33m-------------------------------------------------------------------------------[0m >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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 807727
: 732277 |
732280
|
732307
|
732310
|
779498