Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616370 - dev-ruby/rake-12.0.0: test failure
Summary: dev-ruby/rake-12.0.0: test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL: https://github.com/ruby/rake/pull/186
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-04-23 09:15 UTC by Harri Nieminen (Moiman)
Modified: 2017-09-12 18:18 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info2,17.72 KB, text/plain)
2017-04-23 09:16 UTC, Harri Nieminen (Moiman)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harri Nieminen (Moiman) 2017-04-23 09:15:45 UTC
[ebuild   R    ] dev-ruby/rake-12.0.0::gentoo  USE="{test*} -doc" RUBY_TARGETS="ruby24 (-ruby20) -ruby21 -ruby22 -ruby23" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-ruby/rake-12.0.0::gentoo
 * rake-12.0.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                  [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking rake-12.0.0.tar.gz to /var/tmp/portage/dev-ruby/rake-12.0.0/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/rake-12.0.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rake-12.0.0/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby24 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rake-12.0.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rake-12.0.0/work ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase: dev-ruby/rake-12.0.0
 * Running test phase for ruby24 ...
Run options: --seed 23151

# Running:

.......................................F.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Finished in 12.120651s, 47.2747 runs/s, 130.2735 assertions/s.

  1) Failure:
TestRakeApplication#test_display_exception_details_cause_loop [/var/tmp/portage/dev-ruby/rake-12.0.0/work/ruby24/rake-12.0.0/test/test_rake_application.rb:100]:
Expected /cause\ b/ to match "rake aborted!\ncause a\n/var/tmp/portage/dev-ruby/rake-12.0.0/work/ruby24/rake-12.0.0/test/test_rake_application.rb:82:in `test_display_exception_details_cause_loop'\n(See full trace by running task with --trace)\n".

573 runs, 1579 assertions, 1 failures, 0 errors, 0 skips
 * ERROR: dev-ruby/rake-12.0.0::gentoo failed (test phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_test
 *   environment, line 4509:  Called ruby-ng_src_test
 *   environment, line 4221:  Called _ruby_each_implementation 'each_ruby_test'
 *   environment, line  502:  Called _ruby_invoke_environment 'ruby24' 'each_ruby_test'
 *   environment, line  608:  Called each_ruby_test
 *   environment, line  935:  Called die
 * The specific snippet of code:
 *       ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>5.8"; require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/rake-12.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rake-12.0.0::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =rake-12.0.0
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rake-12.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rake-12.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rake-12.0.0/work/ruby24/rake-12.0.0'
 * S: '/var/tmp/portage/dev-ruby/rake-12.0.0/work/ruby24/rake-12.0.0'

Reproducible: Always
Comment 1 Harri Nieminen (Moiman) 2017-04-23 09:16:19 UTC
Created attachment 470710 [details]
emerge --info
Comment 2 Hans de Graaff gentoo-dev Security 2017-04-27 06:16:27 UTC
This looks to be fixed upstream.
Comment 3 Harri Nieminen (Moiman) 2017-09-12 18:18:48 UTC
Fixed in dev-ruby/rake-12.1.0