#1150355 ruby-curb: FTBFS: Failure: test_setopt_cookielist_command_reload(TestCurbCurlEasyCookielist)

#1150355#5
Date:
2026-10-08 23:00:45 UTC
From:
To:
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/202610/

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.
--------------------------------------------------------------------------------
[...]
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_command_reload(TestCurbCurlEasyCookielist)
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:212:in `block in test_setopt_cookielist_command_reload'
     209:           ".localhost\tTRUE\t/\tFALSE\t0\tsession\t840",
     210:           ".localhost\tTRUE\t/\tFALSE\t0\tsession_file\t840",
     211:         ]
  => 212:         assert_equal expected_cookielist, easy.cookielist
     213:         easy.perform
     214:         # Be careful, duplicates are not removed
     215:         assert_equal 'permanent_file=84; session_file=840; permanent=84; session=840; permanent=42; session=420', easy.body_str
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:273:in `with_permanent_and_session_cookies'
/<<PKGBUILDDIR>>/tests/tc_curl_easy_cookielist.rb:185:in `test_setopt_cookielist_command_reload'
<[".localhost\tTRUE\t/\tFALSE\t1791590400\tpermanent\t42",
 ".localhost\tTRUE\t/\tFALSE\t0\tsession\t420",
 ".localhost\tTRUE\t/\tFALSE\t1791763200\tpermanent\t84",
 ".localhost\tTRUE\t/\tFALSE\t1791763200\tpermanent_file\t84",
 ".localhost\tTRUE\t/\tFALSE\t0\tsession\t840",
 ".localhost\tTRUE\t/\tFALSE\t0\tsession_file\t840"]> expected but was
<[".localhost\tTRUE\t/\tFALSE\t1791590400\tpermanent\t42",
 ".localhost\tTRUE\t/\tFALSE\t0\tsession\t420",
 "localhost\tFALSE\t/\tFALSE\t1791763200\tpermanent\t84",
 "localhost\tFALSE\t/\tFALSE\t1791763200\tpermanent_file\t84",
 "localhost\tFALSE\t/\tFALSE\t0\tsession\t840",
 "localhost\tFALSE\t/\tFALSE\t0\tsession_file\t840",
 ".localhost\tTRUE\t/\tFALSE\t1791763200\tpermanent\t84",
 ".localhost\tTRUE\t/\tFALSE\t1791763200\tpermanent_file\t84",
 ".localhost\tTRUE\t/\tFALSE\t0\tsession\t840",
 ".localhost\tTRUE\t/\tFALSE\t0\tsession_file\t840"]>

diff:
  [".localhost\tTRUE\t/\tFALSE\t1791590400\tpermanent\t42",
   ".localhost\tTRUE\t/\tFALSE\t0\tsession\t420",
+  "localhost\tFALSE\t/\tFALSE\t1791763200\tpermanent\t84",
+  "localhost\tFALSE\t/\tFALSE\t1791763200\tpermanent_file\t84",
+  "localhost\tFALSE\t/\tFALSE\t0\tsession\t840",
+  "localhost\tFALSE\t/\tFALSE\t0\tsession_file\t840",
   ".localhost\tTRUE\t/\tFALSE\t1791763200\tpermanent\t84",
   ".localhost\tTRUE\t/\tFALSE\t1791763200\tpermanent_file\t84",
   ".localhost\tTRUE\t/\tFALSE\t0\tsession\t840",
   ".localhost\tTRUE\t/\tFALSE\t0\tsession_file\t840"]
===============================================================================
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!'
===============================================================================
/<<PKGBUILDDIR>>/tests/tc_ractor.rb:32: warning: Ractor is experimental, and the behavior may change in future versions of Ruby! Also there are many implementation issues.
Finished in 27.913316546 seconds.
-------------------------------------------------------------------------------
465 tests, 2446 assertions, 1 failures, 0 errors, 0 pendings, 1 omissions, 0 notifications
99.7845% passed
-------------------------------------------------------------------------------
16.66 tests/s, 87.63 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
--------------------------------------------------------------------------------

#1150355#10
Date:
2026-10-09 15:34:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-curb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1150355@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Quigley <tsimonq2@debian.org> (supplier of updated ruby-curb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 09 Oct 2026 10:30:53 -0500
Source: ruby-curb
Architecture: source
Version: 1.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Simon Quigley <tsimonq2@debian.org>
Closes: 1150355
Changes:
 ruby-curb (1.4.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Accept libcurl host-only localhost cookies on cookielist reload
     (Closes: #1150355).
Checksums-Sha1:
 e01faf22f58a040795f8a62fc7feb1513bdcb377 2103 ruby-curb_1.4.0-2.dsc
 fe3c39089306a2ee50b6ffe76b15fbd74442ddde 11124 ruby-curb_1.4.0-2.debian.tar.xz
 2f1affa4f3d73502fee9386ce53c1f7b0ebefe52 7629 ruby-curb_1.4.0-2_source.buildinfo
Checksums-Sha256:
 34c96d1ffc9699ad6f4af6c38d68e57913b5eaaa73679fb5a05e9a7d2f55342d 2103 ruby-curb_1.4.0-2.dsc
 e4ea94e7796479f26b9d1aef1b7ce875f414785dedc62d6a535f8bebfcfa5a82 11124 ruby-curb_1.4.0-2.debian.tar.xz
 40a3dfcd9b20ae6409a8b192506b9274871cf6c1fdd69e5d2d7c12585b910e8f 7629 ruby-curb_1.4.0-2_source.buildinfo
Files:
 c6c4d905975363ad0fe8e00a785c5ca0 2103 ruby optional ruby-curb_1.4.0-2.dsc
 aebf6862730afccb413cddf1abd0cbf0 11124 ruby optional ruby-curb_1.4.0-2.debian.tar.xz
 0012affc0b9fcc699336f49963210471 7629 ruby optional ruby-curb_1.4.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmrJCM4ACgkQ4n8s+EWM
L6T93Q/+JrvLW5cE7pHsO++y1Y8wwQDHAzXX31FRrPjxGQSTQRbcwvO7gUb3sX3/
uqw6jythcBOW1siZ4F9mg0ftTQVFL/HuHOpp4rYf5w7+LzeM5toDIjFF0od3rEZ4
eg/kHoy/qnd+j5wY3Oeh5VBTxMTdt5DMXrSeIpEZPVC77F/i8EDVVbtiNsqpXz67
r3X2D1MsuBj9hwim5aVGU/Nd1mOYESbq8wSfkkOk8E0r7mNLXeyCq+WuBQNWzrLT
KbirL+NqT1NNYewu1GWVUirUGsR6kjrhR5pglgWGUuiAp65nE3Ll5gqvv7U4AyH8
NqZw48cJXZH3Nd2ruW9bSgp8wv038y5XfK9yYpTG7xIbS7S263qVyfaWopjqkSeo
rgP2ZhId+oYIbnjYSm7631ZGwtgrXb5hCJHLaQpDVyoNbGticq2Nvj12qp0x3/yG
58+4Wd8zvLEwX5hUiHZT/5FxEpPNFgDV3f2C/IoC8ul5veeN+/ZEr7h13tutPqqw
DIjOgIjHAFSRX1krveRfksBibK78QQYRcTQqv0MjsnZxLX8BBhmlxOhOidgZegjL
/L6S7KhsGGSmDcD9g48c+ZWeDXJL+ju2OT8OC2xVOu9V6rh6oHO/YjvshTy/asjj
UhVIC47B2w6DDJnODPhbI1MIMM+PkingJkyr1DIt5NVyoPSDEwk=
=pYav
-----END PGP SIGNATURE-----

#1150355#13
Date:
2026-10-09 15:31:30 UTC
From:
To:
Hello,

Bug #1150355 in ruby-curb reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ruby-team/ruby-curb/-/commit/56aee3d52b705fd30d3eb52b2f014f036f9fa037

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150355