Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673082 - dev-util/cucumber-3.0.2-r1: fails test, cucumber features/docs/raketask.feature:38
Summary: dev-util/cucumber-3.0.2-r1: fails test, cucumber features/docs/raketask.featu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-12-13 18:09 UTC by ernsteiswuerfel
Modified: 2018-12-23 19:17 UTC (History)
0 users

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


Attachments
build.log (cucumber-3.0.2-r1:20181213-174953.log,22.78 KB, text/plain)
2018-12-13 18:09 UTC, ernsteiswuerfel
Details
emerge --info (file_673082.txt,5.88 KB, text/plain)
2018-12-13 18:09 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-12-13 18:09:17 UTC
Created attachment 557736 [details]
build.log

(::) failed steps (::)

Exit status was 1 but expected it to be 0. Output:

bundler: failed to load command: rake (/usr/bin/rake)
Bundler::GemNotFound: Could not find gem 'json (~> 1.8.6)' in any of the gem sources listed in your Gemfile.
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:289:in `block in verify_gemfile_dependencies_are_found!'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `each'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:257:in `verify_gemfile_dependencies_are_found!'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:48:in `start'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/resolver.rb:22:in `resolve'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in definition_method'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
  /usr/lib64/ruby/gems/2.4.0/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<top (required)>'
  /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:59:in `require'

 (RSpec::Expectations::ExpectationNotMetError)
features/docs/raketask.feature:40:in `Then the exit status should be 0'

Failing Scenarios:
cucumber features/docs/raketask.feature:38 # Scenario: Passing feature

202 scenarios (1 failed, 201 passed)
1191 steps (1 failed, 1190 passed)


dev-ruby/rake-12.3.1 and dev-ruby/json-2.1.0:2::gentoo are installed with RUBY_TARGETS="ruby23 ruby24 -ruby25".
Comment 1 ernsteiswuerfel archtester 2018-12-13 18:09:53 UTC
Created attachment 557738 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2018-12-23 19:17:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cbc61892b850f84fd63d0e29f343bc144c34395

commit 7cbc61892b850f84fd63d0e29f343bc144c34395
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-12-23 19:16:18 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-12-23 19:16:36 +0000

    dev-util/cucumber: fix json test dep
    
    Limit the dev-ruby/json dependency to slot 0 to match the gemspec which
    is used in the tests.
    
    Fixes: https://bugs.gentoo.org/673082
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-util/cucumber/cucumber-3.0.2-r1.ebuild | 2 +-
 dev-util/cucumber/cucumber-3.1.2.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)