Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369573 - dev-ruby/rspec-2.6.0 stable request
Summary: dev-ruby/rspec-2.6.0 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: STABLEREQ
: 375241 (view as bug list)
Depends on: 348510
Blocks: 368825 380525
  Show dependency tree
 
Reported: 2011-05-31 19:39 UTC by Hans de Graaff
Modified: 2012-06-02 13:41 UTC (History)
2 users (show)

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


Attachments
build log of failing tests for ree18 (rspec_build.log,51.62 KB, text/plain)
2011-07-20 20:13 UTC, Myckel Habets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2011-05-31 19:39:41 UTC
Please mark dev-ruby/rspec-2.5.0 and its dependencies stable. This version has been in the tree for over a month and it has no open bugs. It is also required for the stabilization of dev-ruby/stomp.

Note that rspec uses itself for testing, so you may need to install the packages first and then run their tests in a second run.

=dev-ruby/rspec-1.3.1-r1
=dev-ruby/rspec-expectations-2.5.0
=dev-ruby/rspec-mocks-2.5.0
=dev-ruby/rspec-core-2.5.1
=dev-ruby/rspec-2.5.0
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-06-01 19:07:46 UTC
amd64:

all emerged ok
Comment 2 Hans de Graaff gentoo-dev Security 2011-06-05 12:16:19 UTC
It looks like the rake files still require cucumber bits, and cucumber currently isn't stable. I'll fix this shortly, but the package can't be stabled until then.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-07-10 14:23:16 UTC
Do we have any progress here? :)
Comment 4 Hans de Graaff gentoo-dev Security 2011-07-17 09:38:56 UTC
RSpec 2.6.0 fails gracefully when cucumber is not installed and it has been in the tree for well over a month without open bugs, so my proposal for this bug is to stabilize that version instead. New list:

=dev-ruby/rspec-1.3.1-r1
=dev-ruby/rspec-expectations-2.6.0
=dev-ruby/rspec-mocks-2.6.0
=dev-ruby/rspec-core-2.6.4
=dev-ruby/rspec-2.6.0
Comment 5 Myckel Habets 2011-07-20 18:07:00 UTC
On x86:

dev-ruby/rspec-1.3.1-r1 seems to fail tests with ree18

dev-ruby/rspec-core-2.6.4 seems to fail always (I guess this might be the problem):
(in /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4)
unable to load cucumber, some tasks unavailable
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- nokogiri (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/spec/rspec/core/formatters/html_formatter_spec.rb:3
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load_spec_files'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `map'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load_spec_files'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/command_line.rb:18:in `run'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'
        from /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `autorun'
        from bin/rspec:4
rake aborted!
Comment 6 Hans de Graaff gentoo-dev Security 2011-07-20 19:17:19 UTC
(In reply to comment #5)
> On x86:
> 
> dev-ruby/rspec-1.3.1-r1 seems to fail tests with ree18

In what way?
Comment 7 Myckel Habets 2011-07-20 20:13:32 UTC
Created attachment 280489 [details]
build log of failing tests for ree18

Here is the build log of failing tests for ree18.
Comment 8 Hans de Graaff gentoo-dev Security 2011-07-22 08:02:18 UTC
(In reply to comment #7)
> Created attachment 280489 [details]
> build log of failing tests for ree18
> 
> Here is the build log of failing tests for ree18.

What USE flags do you use for ruby-enterprise?
Comment 9 Hans de Graaff gentoo-dev Security 2011-07-22 08:11:09 UTC
(In reply to comment #5)

> dev-ruby/rspec-core-2.6.4 seems to fail always (I guess this might be the
> problem):
> (in /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4)
> unable to load cucumber, some tasks unavailable
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- nokogiri (LoadError)

A missing dependency. This is now fixed in CVS. The nokogiri stabilization is handled in bug 348510.
Comment 10 Myckel Habets 2011-07-22 09:11:41 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Created attachment 280489 [details]
> > build log of failing tests for ree18
> > 
> > Here is the build log of failing tests for ree18.
> 
> What USE flags do you use for ruby-enterprise?

[ebuild   R    ] dev-lang/ruby-enterprise-1.8.7.2010.02-r1  USE="berkdb gdbm ipv6 ncurses readline ssl threads -debug -doc -examples (-fastthreading) -libedit -rubytests -tcmalloc -tk -xemacs"
Comment 11 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-07-23 14:38:02 UTC
ppc stable
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2011-08-02 16:38:24 UTC
amd64 done. Thank you all
Comment 13 Myckel Habets 2011-08-25 07:52:50 UTC
(In reply to comment #9)
> (In reply to comment #5)
> 
> > dev-ruby/rspec-core-2.6.4 seems to fail always (I guess this might be the
> > problem):
> > (in /var/tmp/portage/dev-ruby/rspec-core-2.6.4/work/ruby18/rspec-core-2.6.4)
> > unable to load cucumber, some tasks unavailable
> > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > `gem_original_require': no such file to load -- nokogiri (LoadError)
> 
> A missing dependency. This is now fixed in CVS. The nokogiri stabilization is
> handled in bug 348510.

Yet no dependency in the rspec-core ebuild for this. rspec-core doesn't pull nokogiri in, rspec-core ebuild fails.
Comment 14 Myckel Habets 2011-08-25 08:35:38 UTC
(In reply to comment #10)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > Created attachment 280489 [details]
> > > build log of failing tests for ree18
> > > 
> > > Here is the build log of failing tests for ree18.
> > 
> > What USE flags do you use for ruby-enterprise?
> 
> [ebuild   R    ] dev-lang/ruby-enterprise-1.8.7.2010.02-r1  USE="berkdb gdbm
> ipv6 ncurses readline ssl threads -debug -doc -examples (-fastthreading)
> -libedit -rubytests -tcmalloc -tk -xemacs"

Coming back on this: this is an example of the type of errors I get in the build log:

^[[31m in 'ExampleGroup with test/unit/interop with passing examples should output 0 failures'
execution expired^[[0m
/usr/lib/rubyee/1.8/timeout.rb:60:in `ruby'
./spec/spec/interop/test/unit/spec_spec.rb:8:
/usr/lib/rubyee/1.8/timeout.rb:62:in `timeout'

All 16 errors are caused by this 'timeout'.
Comment 15 Hans de Graaff gentoo-dev Security 2011-08-25 13:31:54 UTC
(In reply to comment #13)

> Yet no dependency in the rspec-core ebuild for this. rspec-core doesn't pull
> nokogiri in, rspec-core ebuild fails.

Bah, I never committed this fix, it seems. It should now be in CVS. Really!
Comment 16 Fabian Groffen gentoo-dev 2011-08-27 09:46:38 UTC
*** Bug 375241 has been marked as a duplicate of this bug. ***
Comment 17 Markus Meier gentoo-dev 2011-09-03 11:56:46 UTC
dev-ruby/rspec-1.3.1-r1 hangs in ree18 src_test here (and fails some tests):


>>> Emerging (1 of 8) dev-ruby/rspec-1.3.1-r1
 * rspec-1.3.1.gem RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                                                       [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                                                                                                                                            [ ok ]
 * Uncompressing metadata ...                                                                                                                                                                                                                                            [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                                                                                                                                             [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/rspec-1.3.1-r1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rspec-1.3.1-r1/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby18 ...
 * Running source copy phase for ree18 ...
 * Running source copy phase for jruby ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rspec-1.3.1-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rspec-1.3.1-r1/work ...
 * Running compile phase for all ...
>>> Source compiled.
 * Running test phase for ruby18 ...
(in /var/tmp/portage/dev-ruby/rspec-1.3.1-r1/work/ruby18/rspec-1.3.1)
You need cucumber installed to run cucumber tasks
nokogiri not loaded -- skipping TextMateFormatter specs
nokogiri not loaded -- skipping HtmlFormatter specs
Profiling enabled.
................................................................................................................................................................................*.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................


Top 10 slowest examples:
0.7954160 HeckleRunner should heckle all methods in all classes in a module
0.7488560 ExampleGroup with test/unit/interop with passing examples should output 0 failures
0.5234130 Test::Unit::TestCase with failing test case should return an exit code of 256
0.4753930 Test::Unit::TestCase with test case that raises an error should return an exit code of 256
0.4750960 Test::Unit::TestCase with passing test case should return an exit code of 0
0.3714300 ExampleGroup with test/unit/interop with failing examples should return an exit code of 256
0.3533370 ExampleGroup with test/unit/interop with example that raises an error should output 1 failure
0.3324690 Test::Unit::TestCase with test case that raises an error should output 1 failure
0.3034850 Test::Unit::TestCase with failing test case should output 1 failure
0.2938340 TestSuiteAdapter should pass

Pending:

mock failure should tell you when it receives the right message with the wrong args if you stub the method (fix bug 15719)
./spec/spec/mocks/bug_report_15719_spec.rb:16

Finished in 12.409144 seconds

1570 examples, 0 failures, 1 pending
 * Running test phase for ree18 ...
(in /var/tmp/portage/dev-ruby/rspec-1.3.1-r1/work/ree18/rspec-1.3.1)
You need cucumber installed to run cucumber tasks
nokogiri not loaded -- skipping TextMateFormatter specs
nokogiri not loaded -- skipping HtmlFormatter specs
Profiling enabled.
................................................................................................................................................................................*.......................................................................................................................................................................................................................F..F.F....FF......................................................................................................................................................................................................................................................................................................................................................................................................................



dev-lang/ruby-enterprise-1.8.7.2010.02-r1  USE="berkdb examples gdbm ipv6 ncurses readline ssl threads -debug -doc (-fastthreading) -libedit -rubytests -tcmalloc -tk -xemacs"
Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2011-09-15 04:52:38 UTC
Should be Stable for HPPA.
Comment 19 Markus Meier gentoo-dev 2011-09-19 21:51:54 UTC
x86 stable
Comment 20 Raúl Porcel (RETIRED) gentoo-dev 2011-10-02 17:08:03 UTC
ia64/sparc stable, closing
Comment 21 Raúl Porcel (RETIRED) gentoo-dev 2011-10-02 17:08:35 UTC
closing
Comment 22 Hans de Graaff gentoo-dev Security 2012-04-30 08:43:41 UTC
Reopening this bug for ppc64, not sure why you were not added in the first place. Note that there is currently a broken dependency tree since you stabled dev-ruby/pg without a stable rspec:2.
Comment 23 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-06 15:22:35 UTC
ppc64 stable, last arch closing