[DRE-maint] Bug#1143771: ruby-rspec: FTBFS: failing tests
Santiago Vila
sanvila at debian.org
Thu Aug 6 01:35:19 BST 2026
Package: src:ruby-rspec
Version: 3.13.2c6e5m8s7-1
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/202608/
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-rspec, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby3.3 from debian/ruby-tests.rb â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rspec/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-core/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-support/usr/share/rubygems-integration/all:/<<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 debian/ruby-tests.rb
PATH=/<<PKGBUILDDIR>>/rspec-core/exe:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
RUBYLIB=.:/<<PKGBUILDDIR>>/rspec-core/lib:/<<PKGBUILDDIR>>/rspec-expectations/lib:/<<PKGBUILDDIR>>/rspec-mocks/lib:/<<PKGBUILDDIR>>/rspec-support/lib
ââââââââââââââ
â rspec-core â
ââââââââââââââ
cd rspec-core
/usr/bin/ruby3.3 -S rspec spec/integration/bisect_runners_sp [too-long-redacted] b spec/rspec/core/world_spec.rb
An error occurred while loading spec_helper. - Did you mean?
rspec ./spec/spec_helper.rb
Failure/Error: require 'aruba/api'
Gem::MissingSpecError:
Could not find 'multi_test' (~> 1.1) among 136 total gem(s)
Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rspec/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-core/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-support/usr/share/rubygems-integration/all:/<<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' at: /usr/share/rubygems-integration/all/specifications/cucumber-11.1.1.gemspec, execute `gem env` for more information
# ./spec/support/aruba_support.rb:28:in `block in <module:ArubaLoader>'
# ./spec/support/aruba_support.rb:27:in `<module:ArubaLoader>'
# ./spec/support/aruba_support.rb:25:in `<top (required)>'
# ./spec/spec_helper.rb:24:in `block in <top (required)>'
# ./spec/spec_helper.rb:17:in `map'
# ./spec/spec_helper.rb:17:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
# cannot load such file -- aruba/api
# ./spec/support/aruba_support.rb:28:in `block in <module:ArubaLoader>'
No examples found.
Finished in 0.00002 seconds (files took 0.0898 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
cd -
ââââââââââââââââââââââ
â rspec-expectations â
ââââââââââââââââââââââ
cd rspec-expectations
/usr/bin/ruby3.3 -S rspec spec/rspec/expectations/block_snip [too-long-redacted] .rb spec/rspec/matchers_spec.rb
Randomized with seed 48561
.......................................................................................................................................................................................................................fatal: not a git repository (or any of the parent directories): .git
............................................................ [too-long-redacted] ...............................
Pending: (Failures listed here are expected and do not affect your suite's status)
1) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff for fuzzy matchers
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:134
2) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:106
3) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target doesn't have a key and we expect nil
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:94
4) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target does not include expected
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:86
5) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:78
6) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key fuzzily matched
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:82
7) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target does not support count constraint
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:162
8) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target works even when an entry in the hash overrides #send
# around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
# ./spec/rspec/matchers/built_in/include_spec.rb:100
22 deprecation warnings total
Finished in 1.58 seconds (files took 0.26504 seconds to load)
2441 examples, 0 failures, 8 pending
Randomized with seed 48561
cd -
âââââââââââââââ
â rspec-mocks â
âââââââââââââââ
cd rspec-mocks
/usr/bin/ruby3.3 -S rspec spec/integration/rails_support_spe [too-long-redacted] pec.rb spec/rspec/mocks_spec.rb
An error occurred while loading ./spec/integration/rails_support_spec.rb. - Did you mean?
rspec ./spec/rspec/mocks/and_wrap_original_spec.rb
Failure/Error: require 'aruba/rspec'
Gem::MissingSpecError:
Could not find 'multi_test' (~> 1.1) among 136 total gem(s)
Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rspec/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-core/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-support/usr/share/rubygems-integration/all:/<<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' at: /usr/share/rubygems-integration/all/specifications/cucumber-11.1.1.gemspec, execute `gem env` for more information
# ./spec/support/aruba.rb:2:in `<top (required)>'
# ./spec/integration/rails_support_spec.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
# cannot load such file -- aruba/rspec
# ./spec/support/aruba.rb:2:in `<top (required)>'
Run options: exclude {:ordered_and_vague_counts_unsupported=>true}
Finished in 0.00005 seconds (files took 0.29779 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
cd -
âââââââââââââââââ
â rspec-support â
âââââââââââââââââ
cd rspec-support
/usr/bin/ruby3.3 -S rspec spec/rspec/support/caller_filter_s [too-long-redacted] c.rb spec/rspec/support_spec.rb
Randomized with seed 30991
.................................fatal: not a git repository (or any of the parent directories): .git
.........*.................................*................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.............
Pending: (Failures listed here are expected and do not affect your suite's status)
1) RSpec::Support.method_handle_for(object, method_name) for a BasicObject subclass allows `method` to be proxied
# No reason given
# ./spec/rspec/support_spec.rb:110
2) RSpec::Support::ShellOut can shell out to ruby with the current load path
# Need to investigate why this is failing -- see https://travis-ci.org/rspec/rspec-core/jobs/60327106 and https://travis-ci.org/rspec/rspec-support/jobs/60296920 for examples
# ./spec/rspec/support/spec/shell_out_spec.rb:22
3) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations
# No reason given
Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
expected Exception with message matching /received: 0 times/ but nothing was raised
# ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in <top (required)>'
# ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in <top (required)>'
Finished in 0.73739 seconds (files took 0.13157 seconds to load)
587 examples, 0 failures, 3 pending
Randomized with seed 30991
cd -
Failed: rspec-core, rspec-mocks
/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:57:in `install'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/tmp returned exit code 1
make: *** [debian/rules:100: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-ruby-extras-maintainers
mailing list