Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933982

Summary: dev-ruby/maxitest-5.4.0 fails tests: in `materialize': Could not find mutex_m-0.1.1 in locally installed gems (Bundler::GemNotFound)
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=932701
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info

Description matoro archtester 2024-06-09 20:49:35 UTC
Created attachment 895487 [details]
build.log and emerge --info

I think this *might* be related to directly calling "ruby" command?  Cannot tell for sure though.

Failures:
 
  1) Maxitest mtest runs a single file
     Failure/Error: raise "#{options[:fail] ? "SUCCESS" : "FAIL"} #{command}\n#{stdout}" if status.success? == !!options[:fail]
     
     RuntimeError:
       FAIL /usr/bin/ruby31 -S bin/mtest spec/cases/mtest/a_test.rb
       ruby -rbundler/setup ./spec/cases/mtest/a_test.rb
     
       /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:540:in `materialize': Could not find mutex_m-0.1.1 in locally installed gems (Bundler::GemNotFound)
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:200:in `specs'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:266:in `specs_for'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/runtime.rb:18:in `setup'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler.rb:162:in `setup'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/setup.rb:23:in `block in <top (required)>'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/ui/shell.rb:159:in `with_level'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/ui/shell.rb:111:in `silence'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/setup.rb:23:in `<top (required)>'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:40:in `require'
       <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require': cannot load such file -- bundler/setup (LoadError)
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
     # ./spec/maxitest_spec.rb:332:in `run_cmd'
     # ./spec/maxitest_spec.rb:262:in `block (3 levels) in <top (required)>'
 
  2) Maxitest mtest runs a folder
     Failure/Error: raise "#{options[:fail] ? "SUCCESS" : "FAIL"} #{command}\n#{stdout}" if status.success? == !!options[:fail]
     
     RuntimeError:
       FAIL /usr/bin/ruby31 -S bin/mtest spec/cases/mtest
       ruby -rbundler/setup -r./spec/cases/mtest/a_test.rb -r./spec/cases/mtest/b_test.rb -e 
     
       /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:540:in `materialize': Could not find mutex_m-0.1.1 in locally installed gems (Bundler::GemNotFound)
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:200:in `specs'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:266:in `specs_for'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/runtime.rb:18:in `setup'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler.rb:162:in `setup'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/setup.rb:23:in `block in <top (required)>'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/ui/shell.rb:159:in `with_level'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/ui/shell.rb:111:in `silence'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/setup.rb:23:in `<top (required)>'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:40:in `require'
       <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require': cannot load such file -- bundler/setup (LoadError)
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
     # ./spec/maxitest_spec.rb:332:in `run_cmd'
     # ./spec/maxitest_spec.rb:266:in `block (3 levels) in <top (required)>'
 
  3) Maxitest mtest runs multiple files
     Failure/Error: raise "#{options[:fail] ? "SUCCESS" : "FAIL"} #{command}\n#{stdout}" if status.success? == !!options[:fail]
     
     RuntimeError:
       FAIL /usr/bin/ruby31 -S bin/mtest spec/cases/mtest/a_test.rb spec/cases/mtest/c.rb
       ruby -rbundler/setup -r./spec/cases/mtest/a_test.rb -r./spec/cases/mtest/c.rb -e 
     
       /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:540:in `materialize': Could not find mutex_m-0.1.1 in locally installed gems (Bundler::GemNotFound)
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:200:in `specs'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/definition.rb:266:in `specs_for'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/runtime.rb:18:in `setup'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler.rb:162:in `setup'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/setup.rb:23:in `block in <top (required)>'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/ui/shell.rb:159:in `with_level'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/ui/shell.rb:111:in `silence'
        from /usr/lib64/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/setup.rb:23:in `<top (required)>'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:40:in `require'
       <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require': cannot load such file -- bundler/setup (LoadError)
        from <internal:/usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
     # ./spec/maxitest_spec.rb:332:in `run_cmd'
     # ./spec/maxitest_spec.rb:270:in `block (3 levels) in <top (required)>'
 
Finished in 9.97 seconds (files took 0.10348 seconds to load)
46 examples, 3 failures, 11 pending
 
Failed examples:
 
rspec ./spec/maxitest_spec.rb:261 # Maxitest mtest runs a single file
rspec ./spec/maxitest_spec.rb:265 # Maxitest mtest runs a folder
rspec ./spec/maxitest_spec.rb:269 # Maxitest mtest runs multiple files