[DRE-maint] Bug#998202: unicorn: test failure with ruby 3.0 as supported version

Adrian Bunk bunk at debian.org
Sun Oct 31 22:35:22 GMT 2021


Source: unicorn
Version: 5.5.3-1
Severity: serious
Tags: ftbfs bookworm sid
Control: close -1 6.0.0-1

https://buildd.debian.org/status/logs.php?pkg=unicorn&ver=5.5.3-1%2Bb4

...
===============================================================================
Failure: test_client_malformed_body(WebServerTest)
/<<PKGBUILDDIR>>/test/unit/test_server.rb:178:in `test_client_malformed_body'
     175:     assert_equal 'hello!\n', next_client
     176:     lines = File.readlines("test_stderr.#$$.log")
     177:     lines = lines.grep(/^Unicorn::HttpParserError: .* true$/)
  => 178:     assert_equal 1, lines.size
     179:   end
     180: 
     181:   def do_test(string, chunk, close_after=nil, shutdown_delay=0)
<1> expected but was
<0>
===============================================================================
.E
===============================================================================
Error: test_client_shutdown_writes(WebServerTest): Errno::EAGAIN: Resource temporarily unavailable
/<<PKGBUILDDIR>>/test/unit/test_server.rb:116:in `syswrite'
/<<PKGBUILDDIR>>/test/unit/test_server.rb:116:in `test_client_shutdown_writes'
     113:     sock.syswrite("\r\n")
     114:     sock.syswrite("%x\r\n" % [ bs ])
     115:     sock.syswrite("F" * bs)
  => 116:     sock.syswrite("\r\n0\r\nX-")
     117:     "Foo: bar\r\n\r\n".each_byte do |x|
     118:       sock.syswrite x.chr
     119:       sleep 0.05
===============================================================================
...........
Finished in 14.218088077 seconds.
-------------------------------------------------------------------------------
17 tests, 30 assertions, 1 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
88.2353% passed
-------------------------------------------------------------------------------
1.20 tests/s, 2.11 assertions/s
ERROR: Test "ruby3.0" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/unicorn returned exit code 1
make: *** [debian/rules:6: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2


This seems to be already fixed in the version in experimental.



More information about the Pkg-ruby-extras-maintainers mailing list