Source: ruby-puppetlabs-spec-helper
Version: 7.0.5-1
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ruby-mocha-2

Hi,

We are trying to update ruby-mocha to version 2, currently available in 
experimental.
During a test rebuild, ruby-puppetlabs-spec-helper was found to fail to build 
in that situation.

To reproduce this locally, you need to install ruby-mocha from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>      Failure/Error: it { expect(output[0]).to match(/spec_prep/) }
> 
>        expected "rake aborted!\nGem::MissingSpecError: Could not find 'mocha' 
> (~> 1.0) among 121 total gem(s)\nChecke...gems/rake-13.2.1/exe/rake:27:in 
> `<top (required)>'\n(See full trace by running task with --trace)\n" to match 
> /spec_prep/
>        Diff:
>        @@ -1,39 +1,77 @@
>        -/spec_prep/
>        +rake aborted!
>        +Gem::MissingSpecError: Could not find 'mocha' (~> 1.0) among 121 
> total gem(s)
>        +Checked in 
> 'GEM_PATH=/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/ruby-puppetlabs-spec-helper/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0'
>  at: 
> /build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/ruby-puppetlabs-spec-helper/usr/share/rubygems-integration/all/specifications/puppetlabs_spec_helper-7.0.5.gemspec,
>  execute `gem env` for more information
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:155:in
>  `rescue in require'
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:40:in
>  `require'
>        
> +/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/spec/acceptance/fixtures/Rakefile:3:in
>  `<top (required)>'
>        +/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in 
> `<top (required)>'
>        +
>        +Caused by:
>        +Gem::MissingSpecVersionError: Could not find 'mocha' (~> 1.0) - did 
> find: [mocha-2.4.2]
>        +Checked in 
> 'GEM_PATH=/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/ruby-puppetlabs-spec-helper/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0'
>  , execute `gem env` for more information
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:155:in
>  `rescue in require'
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:40:in
>  `require'
>        
> +/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/spec/acceptance/fixtures/Rakefile:3:in
>  `<top (required)>'
>        +/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in 
> `<top (required)>'
>        +
>        +Caused by:
>        +Gem::MissingSpecError: Could not find 'mocha' (~> 1.0) among 121 
> total gem(s)
>        +Checked in 
> 'GEM_PATH=/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/ruby-puppetlabs-spec-helper/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0'
>  at: 
> /build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/ruby-puppetlabs-spec-helper/usr/share/rubygems-integration/all/specifications/puppetlabs_spec_helper-7.0.5.gemspec,
>  execute `gem env` for more information
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:155:in
>  `rescue in require'
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:40:in
>  `require'
>        
> +/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/spec/acceptance/fixtures/Rakefile:3:in
>  `<top (required)>'
>        +/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in 
> `<top (required)>'
>        +
>        +Caused by:
>        +Gem::MissingSpecVersionError: Could not find 'mocha' (~> 1.0) - did 
> find: [mocha-2.4.2]
>        +Checked in 
> 'GEM_PATH=/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/ruby-puppetlabs-spec-helper/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0'
>  , execute `gem env` for more information
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:155:in
>  `rescue in require'
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:40:in
>  `require'
>        
> +/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/spec/acceptance/fixtures/Rakefile:3:in
>  `<top (required)>'
>        +/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in 
> `<top (required)>'
>        +
>        +Caused by:
>        +LoadError: cannot load such file -- puppetlabs_spec_helper/rake_tasks
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>        
> +<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>        
> +/build/reproducible-path/ruby-puppetlabs-spec-helper-7.0.5/spec/acceptance/fixtures/Rakefile:3:in
>  `<top (required)>'
>        +/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in 
> `<top (required)>'
>        +(See full trace by running task with --trace)
>      # ./spec/acceptance/smoke_spec.rb:12:in `block (2 levels) in <top 
> (required)>'
> 
> Finished in 1.87 seconds (files took 3.75 seconds to load)
> 41 examples, 2 failures
> 
> Failed examples:
> 
> rspec ./spec/acceptance/smoke_spec.rb:13 # rake is expected to be success
> rspec ./spec/acceptance/smoke_spec.rb:12 # rake is expected to match 
> /spec_prep/
> 
> Randomized with seed 46145
> 
> /usr/bin/ruby3.1 
> -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
> ERROR: Test "ruby3.1" failed: 


The full build log is available at
https://people.debian.org/~terceiro/ruby-mocha-2/ruby-puppetlabs-spec-helper_arm64-2024-12-20T10:26:28Z.build

This bug report is being filed as severity important, but will be raised to
serious once ruby-mocha is updated in unstable.

Attachment: signature.asc
Description: PGP signature

Reply via email to