Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728598 - dev-ruby/rspec-support-3.8.2 fails tests
Summary: dev-ruby/rspec-support-3.8.2 fails tests
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-06-17 23:52 UTC by Jonathan Lovelace
Modified: 2024-02-08 10:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,7.61 KB, text/plain)
2020-06-17 23:52 UTC, Jonathan Lovelace
Details
dev-ruby:rspec-support-3.8.2:20200617-225407.log (dev-ruby:rspec-support-3.8.2:20200617-225407.log,9.86 KB, text/plain)
2020-06-17 23:53 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2020-06-17 23:52:44 UTC
Created attachment 645122 [details]
emerge-info.txt

When rebuilding due to RUBY_TARGETS changes, =dev-ruby/rspec-support-3.8.2 failed its test phase, specifically the tests "RSpec::Support::ShellOut shells out and returns stdout and stderr" and "RSpec::Support::ShellOut returns the exit status as the third argument":

-----
Failures:

  1) RSpec::Support::ShellOut shells out and returns stdout and stderr
     Failure/Error: expect(stdout).to eq("yes")

       expected: "yes"
            got: ""

       (compared using ==)
     # ./spec/rspec/support/spec/shell_out_spec.rb:8:in `block (2 levels) in <top (required)>'

  2) RSpec::Support::ShellOut returns the exit status as the third argument
     Failure/Error: expect(good_status.exitstatus).to eq(0)

       expected: 0
            got: 1

       (compared using ==)
     # ./spec/rspec/support/spec/shell_out_spec.rb:14:in `block (2 levels) in <top (required)>'

Finished in 0.72728 seconds (files took 0.36542 seconds to load)
486 examples, 2 failures, 3 pending

Failed examples:

rspec ./spec/rspec/support/spec/shell_out_spec.rb:6 # RSpec::Support::ShellOut shells out and returns stdout and stderr
rspec ./spec/rspec/support/spec/shell_out_spec.rb:12 # RSpec::Support::ShellOut returns the exit status as the third argument
Comment 1 Jonathan Lovelace 2020-06-17 23:53:25 UTC
Created attachment 645124 [details]
dev-ruby:rspec-support-3.8.2:20200617-225407.log
Comment 2 Hans de Graaff gentoo-dev Security 2020-06-26 08:39:12 UTC
Hmm, similar to your #728698 this calls out to "ruby". Perhaps that is broken on your system in some way?
Comment 3 Kevin Lyles 2020-08-15 21:56:51 UTC
I switched to ruby25 instead of ruby24, and that fixed this issue for me.
Comment 4 Hans de Graaff gentoo-dev Security 2024-02-08 10:54:09 UTC
I'm closing this since no new information is available. Please re-open if this is still an issue.