[DRE-maint] Bug#892192: ruby-celluloid-io: FTBFS and Debci failure with Ruby 2.5
Adrian Bunk
bunk at debian.org
Tue Mar 6 14:49:36 UTC 2018
Source: ruby-celluloid-io
Version: 0.16.2-5
Severity: serious
Tags: buster sid
https://ci.debian.net/packages/r/ruby-celluloid-io/unstable/amd64/
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-celluloid-io.html
...
Failures:
1) Celluloid::IO behaves like a Celluloid Actor using Fibers abort crashes the sender if we pass neither String nor Exception
Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
expected TypeError with "Exception object/String expected, but Fixnum received", got #<TypeError: Exception object/String expected, but Integer received> with backtrace:
# /usr/lib/ruby/vendor_ruby/celluloid.rb:314:in `abort'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/example_actor_class.rb:54:in `crash_with_abort_raw'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:26:in `public_send'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:26:in `dispatch'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:63:in `dispatch'
# /usr/lib/ruby/vendor_ruby/celluloid/cell.rb:60:in `block in invoke'
# /usr/lib/ruby/vendor_ruby/celluloid/cell.rb:71:in `block in task'
# /usr/lib/ruby/vendor_ruby/celluloid/actor.rb:357:in `block in task'
# /usr/lib/ruby/vendor_ruby/celluloid/tasks.rb:57:in `block in initialize'
# /usr/lib/ruby/vendor_ruby/celluloid/tasks/task_fiber.rb:15:in `block in create'
# (celluloid):0:in `remote procedure call'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:92:in `value'
# /usr/lib/ruby/vendor_ruby/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:401:in `block (4 levels) in <top (required)>'
# /usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in `handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:400:in `block (3 levels) in <top (required)>'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
# /usr/bin/rspec:4:in `<main>'
Shared Example Group: "Celluloid::Actor examples" called from /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:3
Shared Example Group: "a Celluloid Actor" called from ./spec/celluloid/io/actor_spec.rb:4
# /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in <module:Support>'
# /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in `handle_failure'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in `handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:400:in `block (3 levels) in <top (required)>'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
# /usr/bin/rspec:4:in `<main>'
2) Celluloid::IO behaves like a Celluloid Actor using Threads abort crashes the sender if we pass neither String nor Exception
Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
expected TypeError with "Exception object/String expected, but Fixnum received", got #<TypeError: Exception object/String expected, but Integer received> with backtrace:
# /usr/lib/ruby/vendor_ruby/celluloid.rb:314:in `abort'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/example_actor_class.rb:54:in `crash_with_abort_raw'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:26:in `public_send'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:26:in `dispatch'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:63:in `dispatch'
# /usr/lib/ruby/vendor_ruby/celluloid/cell.rb:60:in `block in invoke'
# /usr/lib/ruby/vendor_ruby/celluloid/cell.rb:71:in `block in task'
# /usr/lib/ruby/vendor_ruby/celluloid/actor.rb:357:in `block in task'
# /usr/lib/ruby/vendor_ruby/celluloid/tasks.rb:57:in `block in initialize'
# /usr/lib/ruby/vendor_ruby/celluloid/tasks/task_thread.rb:21:in `block in create'
# /usr/lib/ruby/vendor_ruby/celluloid/thread_handle.rb:13:in `block in initialize'
# /usr/lib/ruby/vendor_ruby/celluloid/actor_system.rb:32:in `block in get_thread'
# /usr/lib/ruby/vendor_ruby/celluloid/internal_pool.rb:130:in `block in create'
# (celluloid):0:in `remote procedure call'
# /usr/lib/ruby/vendor_ruby/celluloid/calls.rb:92:in `value'
# /usr/lib/ruby/vendor_ruby/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:401:in `block (4 levels) in <top (required)>'
# /usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in `handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:400:in `block (3 levels) in <top (required)>'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
# /usr/bin/rspec:4:in `<main>'
Shared Example Group: "Celluloid::Actor examples" called from /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:6
Shared Example Group: "a Celluloid Actor" called from ./spec/celluloid/io/actor_spec.rb:4
# /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in <module:Support>'
# /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in `handle_failure'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in `handle_matcher'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to'
# /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to'
# /usr/lib/ruby/vendor_ruby/celluloid/rspec/actor_examples.rb:400:in `block (3 levels) in <top (required)>'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for'
# /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:628:in `block in run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112:in `run_specs'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
# /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
# /usr/bin/rspec:4:in `<main>'
Deprecation Warnings:
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 /build/1st/ruby-celluloid-io-0.16.2/spec/celluloid/io/ssl_server_spec.rb:76:in `block (4 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.
1 deprecation warning total
Finished in 33.41 seconds (files took 1.67 seconds to load)
181 examples, 2 failures
Failed examples:
rspec ./spec/celluloid/io/actor_spec.rb[1:1:1:33:3] # Celluloid::IO behaves like a Celluloid Actor using Fibers abort crashes the sender if we pass neither String nor Exception
rspec ./spec/celluloid/io/actor_spec.rb[1:1:2:33:3] # Celluloid::IO behaves like a Celluloid Actor using Threads abort crashes the sender if we pass neither String nor Exception
Randomized with seed 10130
/usr/bin/ruby2.5 /usr/bin/rspec ./spec/celluloid/io/actor_spec.rb ./spec/celluloid/io/dns_resolver_spec.rb ./spec/celluloid/io/ssl_server_spec.rb ./spec/celluloid/io/ssl_socket_spec.rb ./spec/celluloid/io/tcp_server_spec.rb ./spec/celluloid/io/udp_socket_spec.rb ./spec/celluloid/io/unix_server_spec.rb ./spec/celluloid/io_spec.rb --format documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-celluloid-io-0.16.2/debian/ruby-celluloid-io returned exit code 1
make: *** [debian/rules:6: binary] Error 1
More information about the Pkg-ruby-extras-maintainers
mailing list