Package: src:ruby-curb
Version: 1.3.7-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202609/

Additionally, when built on a system with 1 CPU, the autobuilder hangs
and sbuild has to kill the dpkg-buildpackage process:

===============================================================================
Omission: set CURB_LIVE_NETWORK_TESTS=1 to run live network security tests 
[test_live_public_redirect_to_private_peer_
is_blocked_by_resolved_peer_policy(TestCurbCurlNetworkPolicy)]
/<<PKGBUILDDIR>>/tests/tc_curl_network_policy.rb:1252:in 
`live_network_required!'
===============================================================================
E: Build killed with signal TERM after 60 minutes of inactivity

Most probably, this can be reproduced easily by using 
GRUB_CMDLINE_LINUX="nr_cpus=1".
If that does not work, I can offer a VM to reproduce, as always.


About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-curb, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rake                           
 │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. 
GEM_PATH=/<<PKGBUILDDIR>>/.gem2deb/ruby-curb/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0
 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
Loaded suite 
/usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader
Started
F
===============================================================================
Failure: 
test_setopt_cookielist_enables_cookie_engine(TestCurbCurlEasyCookielist)
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:56:in 
`test_setopt_cookielist_enables_cookie_engine'
     53:     easy.perform
     54: 
     55:     assert !easy.enable_cookies?
  => 56:     assert_equal 
[".localhost\tTRUE\t/\tFALSE\t#{expires.to_time.to_i}\tc1\tv1", 
".localhost\tTRUE\t/\tFALSE\t#{expires.to_time.to_i}\tc2\tv2"], easy.cookielist
     57:     assert_equal 'c2=v2; c1=v1', easy.body_str
     58:   end
     59: 
<[".localhost\tTRUE\t/\tFALSE\t1788566400\tc1\tv1",
 ".localhost\tTRUE\t/\tFALSE\t1788566400\tc2\tv2"]> expected but was
<[".localhost\tTRUE\t/\tFALSE\t1788566400\tc1\tv1",
 "localhost\tFALSE\t/\tFALSE\t1788566400\tc2\tv2"]>

diff:
  [".localhost\tTRUE\t/\tFALSE\t1788566400\tc1\tv1",
?  ".localhost\tTRU E\t/\tFALSE\t1788566400\tc2\tv2"]
?               FALS                                 
?   -           ???                                 
===============================================================================
F
===============================================================================
Failure: 
test_strings_without_cookie_enable_cookie_engine(TestCurbCurlEasyCookielist)
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:255:in `block in 
test_strings_without_cookie_enable_cookie_engine'
     252:       easy.perform
     253: 
     254:       assert !easy.enable_cookies?
  => 255:       assert_equal 
[".localhost\tTRUE\t/\tFALSE\t#{expires.to_time.to_i}\tc2\tv2"], easy.cookielist
     256:       assert_equal 'c2=v2', easy.body_str
     257:     end
     258:   end
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:243:in `each'
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:243:in 
`test_strings_without_cookie_enable_cookie_engine'
<[".localhost\tTRUE\t/\tFALSE\t1788566400\tc2\tv2"]> expected but was
<["localhost\tFALSE\t/\tFALSE\t1788566400\tc2\tv2"]>

diff:
? [".localhost\tTRU E\t/\tFALSE\t1788566400\tc2\tv2"]
?               FALS                                 
?   -           ???                                 
===============================================================================
O
===============================================================================
Omission: set CURB_LIVE_NETWORK_TESTS=1 to run live network security tests 
[test_live_public_redirect_to_private_peer_is_blocked_by_resolved_peer_policy(TestCurbCurlNetworkPolicy)]
/<<PKGBUILDDIR>>/tests/tc_curl_network_policy.rb:1252:in 
`live_network_required!'
===============================================================================
Finished in 25.952435971 seconds.
-------------------------------------------------------------------------------
433 tests, 2064 assertions, 2 failures, 0 errors, 0 pendings, 1 omissions, 0 
notifications
99.537% passed
-------------------------------------------------------------------------------
16.68 tests/s, 79.53 assertions/s
rake aborted!
Command failed with status (1)
/usr/share/rubygems-integration/all/gems/rake-13.4.2/exe/rake:27:in `<top 
(required)>'
Tasks: TOP => default => unittests
(See full trace by running task with --trace)
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 
/usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
        from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
        from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
        from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in 
`run_tests_for_version'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in 
run_tests'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:88:in `test'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:142:in `test'
        from /usr/bin/dh_ruby:91:in `<main>'
dh_auto_test: error: dh_ruby --test returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to