[DRE-maint] Bug#785170: update to new upstream/port tests to rspec 3

Pirate Praveen praveen at debian.org
Wed May 13 04:48:11 UTC 2015


package: ruby-celluloid
version: 0.15.2-2

0.16.0 tests have following failures. This version is needed for
ruby-sidetiq 0.6.3.

Running tests for ruby2.1 using debian/ruby-tests.rake ...
/usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}
.F...F.......F.F......FF.........F.............FFFF....F..FF........F....FF......F...F.......F.F......FF.........F.............FFFF....F..FF........F....FF.......................FFFFFFF....F......................F.FF............F.................F.................*..*.....................

Pending: (Failures listed here are expected and do not affect your
suite's status)

  1) Celluloid::StackDump#threads should include threads that are not actors
     # flaky
     Failure/Error: expect(subject.threads.size).to eq(3)

       expected: 3
            got: 2

       (compared using ==)
     # ./spec/celluloid/stack_dump_spec.rb:49:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  2) Celluloid::StackDump#threads should have the correct roles
     # flaky
     Failure/Error: expect(subject.threads.map(&:role)).to include(nil,
:other_thing, :task)
       expected [:other_thing, :task] to include nil, :other_thing, and
:task
       Diff:
       @@ -1,2 +1,2 @@
       -[nil, :other_thing, :task]
       +[:other_thing, :task]
     # ./spec/celluloid/stack_dump_spec.rb:61:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

Failures:

  1) Celluloid behaves like a Celluloid Actor using Fibers compares with
the actor's class in a case statement
     Failure/Error: case actor_class.new("Troy McClure")
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:23:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  2) Celluloid behaves like a Celluloid Actor using Fibers supports
synchronous calls with blocks
     Failure/Error: block_executed.should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:52:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  3) Celluloid behaves like a Celluloid Actor using Fibers detects recursion
     Failure/Error: actor1.recursion_test.should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:138:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  4) Celluloid behaves like a Celluloid Actor using Fibers properly
handles respond_to with include_private
     Failure/Error: actor.respond_to?(:zomg_private).should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:150:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  5) Celluloid behaves like a Celluloid Actor using Fibers allows an
actor to call private methods asynchronously
     Failure/Error: actor.private_called.should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:218:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  6) Celluloid behaves like a Celluloid Actor using Fibers knows if it's
inside actor scope
     Failure/Error: actor.run do
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:224:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  7) Celluloid behaves like a Celluloid Actor using Fibers exceptions
includes both sender and receiver in exception traces
     Failure/Error: ex.backtrace.grep(/`sender_method'/).should be_true
       expected [] to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:364:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  8) Celluloid behaves like a Celluloid Actor using Fibers linking links
to other actors
     Failure/Error: @kevin.monitoring?(@charlie).should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:512:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  9) Celluloid behaves like a Celluloid Actor using Fibers linking
unlinks from other actors
     Failure/Error: @kevin.monitoring?(@charlie).should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:522:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  10) Celluloid behaves like a Celluloid Actor using Fibers linking
monitors other actors unidirectionally
     Failure/Error: @kevin.monitoring?(@charlie).should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:531:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  11) Celluloid behaves like a Celluloid Actor using Fibers linking
unmonitors other actors
     Failure/Error: @kevin.monitoring?(@charlie).should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:541:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  12) Celluloid behaves like a Celluloid Actor using Fibers signaling
sends values along with signals
     Failure/Error: obj.send_signal(:foobar).should be_true
       expected [] to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:638:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  13) Celluloid behaves like a Celluloid Actor using Fibers exclusive
knows when it's in exclusive mode
     Failure/Error: subject.check_not_exclusive.should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:701:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  14) Celluloid behaves like a Celluloid Actor using Fibers exclusive
remains in exclusive mode inside nested blocks
     Failure/Error: subject.nested_exclusive_example.should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:706:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  15) Celluloid behaves like a Celluloid Actor using Fibers timers
allows delays from outside the actor
     Failure/Error: fired.should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:876:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  16) Celluloid behaves like a Celluloid Actor using Fibers proxy_class
uses user-specified proxy
     Failure/Error: subject.new.should be_subclass_proxy
       expected #<#<Class:0x00000004cb6ca0>:0x00000004cb5cb0> to respond
to `subclass_proxy?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:985:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  17) Celluloid behaves like a Celluloid Actor using Fibers proxy_class
retains custom proxy when subclassed
     Failure/Error: subclass.new.should be_subclass_proxy
       expected #<#<Class:0x007f802c028600>:0x007f802c028588> to respond
to `subclass_proxy?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:3
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:990:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  18) Celluloid behaves like a Celluloid Actor using Threads compares
with the actor's class in a case statement
     Failure/Error: case actor_class.new("Troy McClure")
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:23:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  19) Celluloid behaves like a Celluloid Actor using Threads supports
synchronous calls with blocks
     Failure/Error: block_executed.should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:52:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  20) Celluloid behaves like a Celluloid Actor using Threads detects
recursion
     Failure/Error: actor1.recursion_test.should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:138:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  21) Celluloid behaves like a Celluloid Actor using Threads properly
handles respond_to with include_private
     Failure/Error: actor.respond_to?(:zomg_private).should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:150:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  22) Celluloid behaves like a Celluloid Actor using Threads allows an
actor to call private methods asynchronously
     Failure/Error: actor.private_called.should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:218:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  23) Celluloid behaves like a Celluloid Actor using Threads knows if
it's inside actor scope
     Failure/Error: actor.run do
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:224:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  24) Celluloid behaves like a Celluloid Actor using Threads exceptions
includes both sender and receiver in exception traces
     Failure/Error: ex.backtrace.grep(/`sender_method'/).should be_true
       expected [] to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:364:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  25) Celluloid behaves like a Celluloid Actor using Threads linking
links to other actors
     Failure/Error: @kevin.monitoring?(@charlie).should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:512:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  26) Celluloid behaves like a Celluloid Actor using Threads linking
unlinks from other actors
     Failure/Error: @kevin.monitoring?(@charlie).should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:522:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  27) Celluloid behaves like a Celluloid Actor using Threads linking
monitors other actors unidirectionally
     Failure/Error: @kevin.monitoring?(@charlie).should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:531:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  28) Celluloid behaves like a Celluloid Actor using Threads linking
unmonitors other actors
     Failure/Error: @kevin.monitoring?(@charlie).should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:541:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  29) Celluloid behaves like a Celluloid Actor using Threads signaling
sends values along with signals
     Failure/Error: obj.send_signal(:foobar).should be_true
       expected [] to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:638:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  30) Celluloid behaves like a Celluloid Actor using Threads exclusive
knows when it's in exclusive mode
     Failure/Error: subject.check_not_exclusive.should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:701:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  31) Celluloid behaves like a Celluloid Actor using Threads exclusive
remains in exclusive mode inside nested blocks
     Failure/Error: subject.nested_exclusive_example.should be_true
       expected true to respond to `true?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:706:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  32) Celluloid behaves like a Celluloid Actor using Threads timers
allows delays from outside the actor
     Failure/Error: fired.should be_false
       expected false to respond to `false?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:876:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  33) Celluloid behaves like a Celluloid Actor using Threads proxy_class
uses user-specified proxy
     Failure/Error: subject.new.should be_subclass_proxy
       expected #<#<Class:0x007f801c1cf770>:0x007f801c1cdf60> to respond
to `subclass_proxy?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:985:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  34) Celluloid behaves like a Celluloid Actor using Threads proxy_class
retains custom proxy when subclassed
     Failure/Error: subclass.new.should be_subclass_proxy
       expected #<#<Class:0x007f800408f3c8>:0x007f800408f350> to respond
to `subclass_proxy?`
     Shared Example Group: "Celluloid::Actor examples" called from
./lib/celluloid/rspec/actor_examples.rb:6
     Shared Example Group: "a Celluloid Actor" called from
./spec/celluloid/actor_spec.rb:4
     # ./lib/celluloid/rspec/actor_examples.rb:990:in `block (3 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:34:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  35) Celluloid::CPUCounter cores from valid env value
     Failure/Error: described_class.stub(:`) { fail 'backtick stub called' }
     TypeError:
       can't define singleton
     # ./spec/celluloid/cpu_counter_spec.rb:10:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  36) Celluloid::CPUCounter cores from invalid env value
     Failure/Error: described_class.stub(:`) { fail 'backtick stub called' }
     TypeError:
       can't define singleton
     # ./spec/celluloid/cpu_counter_spec.rb:10:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  37) Celluloid::CPUCounter cores with no env value when
/sys/devices/system/cpu/present exists
     Failure/Error: described_class.stub(:`) { fail 'backtick stub called' }
     TypeError:
       can't define singleton
     # ./spec/celluloid/cpu_counter_spec.rb:10:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  38) Celluloid::CPUCounter cores with no env value when
/sys/devices/system/cpu/present does NOT exist when
/sys/devices/system/cpu/cpu* files exist
     Failure/Error: described_class.stub(:`) { fail 'backtick stub called' }
     TypeError:
       can't define singleton
     # ./spec/celluloid/cpu_counter_spec.rb:10:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  39) Celluloid::CPUCounter cores with no env value when
/sys/devices/system/cpu/present does NOT exist when
/sys/devices/system/cpu/cpu* files DO NOT exist when sysctl blows up
     Failure/Error: described_class.stub(:`) { fail 'backtick stub called' }
     TypeError:
       can't define singleton
     # ./spec/celluloid/cpu_counter_spec.rb:10:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  40) Celluloid::CPUCounter cores with no env value when
/sys/devices/system/cpu/present does NOT exist when
/sys/devices/system/cpu/cpu* files DO NOT exist when sysctl fails
     Failure/Error: described_class.stub(:`) { fail 'backtick stub called' }
     TypeError:
       can't define singleton
     # ./spec/celluloid/cpu_counter_spec.rb:10:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  41) Celluloid::CPUCounter cores with no env value when
/sys/devices/system/cpu/present does NOT exist when
/sys/devices/system/cpu/cpu* files DO NOT exist when sysctl succeeds
     Failure/Error: described_class.stub(:`) { fail 'backtick stub called' }
     TypeError:
       can't define singleton
     # ./spec/celluloid/cpu_counter_spec.rb:10:in `block (3 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  42) Celluloid::EventedMailbox behaves like a Celluloid Mailbox has a size
     Failure/Error: subject.should have(2).entries
     NoMethodError:
       undefined method `have' for
#<RSpec::ExampleGroups::CelluloidEventedMailbox::BehavesLikeACelluloidMailbox:0x000000047ed070>
     Shared Example Group: "a Celluloid Mailbox" called from
./spec/celluloid/evented_mailbox_spec.rb:33
     # ./lib/celluloid/rspec/mailbox_examples.rb:54:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  43) Celluloid::InternalPool doesn't leak dead threads
     Failure/Error: subject.to_a.should have(0).items
     NoMethodError:
       undefined method `have' for
#<RSpec::ExampleGroups::CelluloidInternalPool:0x007f801c3a0450>
     # ./spec/celluloid/internal_pool_spec.rb:50:in `block (2 levels) in
<top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  44) Celluloid::Links adds actors by their mailbox address
     Failure/Error: subject.include?(first_actor).should be_false
       expected false to respond to `false?`
     # ./spec/celluloid/links_spec.rb:28:in `block (2 levels) in <top
(required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  45) Celluloid::Links removes actors by their mailbox address
     Failure/Error: subject.include?(first_actor).should be_true
       expected true to respond to `true?`
     # ./spec/celluloid/links_spec.rb:35:in `block (2 levels) in <top
(required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  46) Celluloid::Mailbox behaves like a Celluloid Mailbox has a size
     Failure/Error: subject.should have(2).entries
     NoMethodError:
       undefined method `have' for
#<RSpec::ExampleGroups::CelluloidMailbox::BehavesLikeACelluloidMailbox:0x00000004ad6890>
     Shared Example Group: "a Celluloid Mailbox" called from
./spec/celluloid/mailbox_spec.rb:4
     # ./lib/celluloid/rspec/mailbox_examples.rb:54:in `block (2 levels)
in <top (required)>'
     # ./spec/spec_helper.rb:29:in `block (2 levels) in <top (required)>'

  47) Celluloid.pool #size= should adjust the pool size up FIXED
     Expected pending 'flaky' to fail. No Error was raised.
     # ./spec/celluloid/pool_spec.rb:75

Deprecation Warnings:

Using `should_receive` from rspec-mocks' old `:should` syntax without
explicitly enabling the syntax is deprecated. Use the new `:expect`
syntax or explicitly enable `:should` instead. Called from
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-celluloid/lib/celluloid/rspec/actor_examples.rb:164:in
`block (2 levels) in <top (required)>'.

Using `should` from rspec-expectations' old `:should` syntax without
explicitly enabling the syntax is deprecated. Use the new `:expect`
syntax or explicitly enable `:should` with `config.expect_with(:rspec) {
|c| c.syntax = :should }` instead. Called from
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-celluloid/lib/celluloid/rspec/actor_examples.rb:19:in
`block (2 levels) in <top (required)>'.


If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

2 deprecation warnings total

Finished in 30.84 seconds (files took 0.71056 seconds to load)
289 examples, 47 failures, 2 pending

Failed examples:

rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers compares with the actor's class in a case
statement
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers supports synchronous calls with blocks
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers detects recursion
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers properly handles respond_to with
include_private
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers allows an actor to call private methods
asynchronously
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers knows if it's inside actor scope
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers exceptions includes both sender and
receiver in exception traces
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers linking links to other actors
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers linking unlinks from other actors
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers linking monitors other actors unidirectionally
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers linking unmonitors other actors
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers signaling sends values along with signals
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers exclusive knows when it's in exclusive mode
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers exclusive remains in exclusive mode inside
nested blocks
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers timers allows delays from outside the actor
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers proxy_class uses user-specified proxy
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Fibers proxy_class retains custom proxy when
subclassed
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads compares with the actor's class in a case
statement
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads supports synchronous calls with blocks
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads detects recursion
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads properly handles respond_to with
include_private
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads allows an actor to call private methods
asynchronously
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads knows if it's inside actor scope
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads exceptions includes both sender and
receiver in exception traces
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads linking links to other actors
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads linking unlinks from other actors
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads linking monitors other actors unidirectionally
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads linking unmonitors other actors
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads signaling sends values along with signals
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads exclusive knows when it's in exclusive mode
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads exclusive remains in exclusive mode inside
nested blocks
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads timers allows delays from outside the actor
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads proxy_class uses user-specified proxy
rspec ./spec/celluloid/actor_spec.rb:4 # Celluloid behaves like a
Celluloid Actor using Threads proxy_class retains custom proxy when
subclassed
rspec ./spec/celluloid/cpu_counter_spec.rb:19 # Celluloid::CPUCounter
cores from valid env value
rspec ./spec/celluloid/cpu_counter_spec.rb:24 # Celluloid::CPUCounter
cores from invalid env value
rspec ./spec/celluloid/cpu_counter_spec.rb:35 # Celluloid::CPUCounter
cores with no env value when /sys/devices/system/cpu/present exists
rspec ./spec/celluloid/cpu_counter_spec.rb:51 # Celluloid::CPUCounter
cores with no env value when /sys/devices/system/cpu/present does NOT
exist when /sys/devices/system/cpu/cpu* files exist
rspec ./spec/celluloid/cpu_counter_spec.rb:62 # Celluloid::CPUCounter
cores with no env value when /sys/devices/system/cpu/present does NOT
exist when /sys/devices/system/cpu/cpu* files DO NOT exist when sysctl
blows up
rspec ./spec/celluloid/cpu_counter_spec.rb:67 # Celluloid::CPUCounter
cores with no env value when /sys/devices/system/cpu/present does NOT
exist when /sys/devices/system/cpu/cpu* files DO NOT exist when sysctl
fails
rspec ./spec/celluloid/cpu_counter_spec.rb:76 # Celluloid::CPUCounter
cores with no env value when /sys/devices/system/cpu/present does NOT
exist when /sys/devices/system/cpu/cpu* files DO NOT exist when sysctl
succeeds
rspec ./spec/celluloid/evented_mailbox_spec.rb:33 #
Celluloid::EventedMailbox behaves like a Celluloid Mailbox has a size
rspec ./spec/celluloid/internal_pool_spec.rb:44 #
Celluloid::InternalPool doesn't leak dead threads
rspec ./spec/celluloid/links_spec.rb:27 # Celluloid::Links adds actors
by their mailbox address
rspec ./spec/celluloid/links_spec.rb:33 # Celluloid::Links removes
actors by their mailbox address
rspec ./spec/celluloid/mailbox_spec.rb:4 # Celluloid::Mailbox behaves
like a Celluloid Mailbox has a size
rspec ./spec/celluloid/pool_spec.rb:75 # Celluloid.pool #size= should
adjust the pool size up

/usr/bin/ruby2.1 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.1" failed. Exiting.
dh_auto_install: dh_ruby --install
/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-celluloid/debian/ruby-celluloid
returned exit code 1
debian/rules:18: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory
'/home/pravi/forge/debian/git/pkg-ruby-extras/ruby-celluloid'
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
gbp:error: 'debuild -i -I -k0x4512c22a' failed: it exited with 29

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150513/c12e20ad/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list