[DRE-maint] Bug#1101712: ruby-mail-room: FTBFS: Failure/Error: @server.start
Santiago Vila
sanvila at debian.org
Sun Mar 30 20:12:26 BST 2025
Package: src:ruby-mail-room
Version: 0.10.0+really0.0.24-2
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
Failures:
1) MailRoom::HealthCheck#run sets running to true
Failure/Error: @server.start
Mocha::StubbingError:
#<Mock:0x32c8> was instantiated in one test but it is receiving invocations within another test. This can lead to unintended interactions between tests and hence unexpected test failures. Ensure that every test correctly cleans up any state that it introduces.
# /<<PKGBUILDDIR>>/lib/mail_room/health_check.rb:18:in `block in run'
Finished in 2.21 seconds (files took 0.4228 seconds to load)
118 examples, 1 failure, 4 pending
Failed examples:
rspec /<<PKGBUILDDIR>>/spec/lib/health_check_spec.rb:36 # MailRoom::HealthCheck#run sets running to true
Randomized with seed 58521
Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 1475 / 1541 LOC (95.72%) covered.
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
pkill redis-server || true
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<BUILDDIR>>/ruby-mail-room-0.10.0\+really0.0.24/debian/ruby-mail-room returned exit code 1
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
Note: The failure happens randomly, but more than 50% of the time here,
which I consider unsuitable for release.
If you could not 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 (within its randomness).
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-mail-room, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-ruby-extras-maintainers
mailing list