[DRE-maint] Bug#1019614: ruby-celluloid: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: expected Timeout::Error, got #<NoMethodError: undefined method `timeout' for Kernel:Module

Antonio Terceiro terceiro at debian.org
Tue Sep 13 01:09:38 BST 2022


Source: ruby-celluloid
Version: 0.17.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-celluloid with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
>        expected Timeout::Error, got #<NoMethodError: undefined method `timeout' for Kernel:Module
> 
>                Kernel.send(:timeout, timeout_interval) do
>                      ^^^^^> with backtrace:
>          # ./spec/celluloid/mailbox/evented_spec.rb:19:in `block (3 levels) in <top (required)>'
>          # ./spec/celluloid/mailbox/evented_spec.rb:18:in `block (2 levels) in <top (required)>'
>          # ./spec/support/configure_rspec.rb:37:in `block (4 levels) in <top (required)>'
>          # ./spec/support/configure_rspec.rb:37:in `block (3 levels) in <top (required)>'
>          # ./spec/support/reset_class_variables.rb:9:in `reset_class_variables'
>          # ./spec/support/configure_rspec.rb:36:in `block (2 levels) in <top (required)>'
>      # ./spec/celluloid/mailbox/evented_spec.rb:18:in `block (2 levels) in <top (required)>'
>      # ./spec/support/configure_rspec.rb:37:in `block (4 levels) in <top (required)>'
>      # ./spec/support/configure_rspec.rb:37:in `block (3 levels) in <top (required)>'
>      # ./spec/support/reset_class_variables.rb:9:in `reset_class_variables'
>      # ./spec/support/configure_rspec.rb:36:in `block (2 levels) in <top (required)>'
> 
> Top 3 slowest examples (8.17 seconds, 46.4% of total time):
>   Celluloid::Actor timers run every(t) task several times
>     5.51 seconds ./spec/celluloid/timer_spec.rb:29
>   Celluloid behaves like a Celluloid Actor timers schedules recurring timers which fire in the future
>     1.66 seconds ./spec/shared/actor_examples.rb:964
>   Celluloid::Condition times out inside Tasks
>     1.01 seconds ./spec/celluloid/condition_spec.rb:80
> 
> Top 3 slowest example groups:
>   Celluloid::Actor timers
>     5.51 seconds average (5.51 seconds / 1 example) ./spec/celluloid/timer_spec.rb:28
>   Celluloid::Condition
>     0.29208 seconds average (2.04 seconds / 7 examples) ./spec/celluloid/condition_spec.rb:1
>   Deprecated Celluloid::Future
>     0.26575 seconds average (1.33 seconds / 5 examples) ./spec/deprecate/future_spec.rb:1
> 
> Finished in 17.63 seconds (files took 0.23316 seconds to load)
> 201 examples, 1 failure, 7 pending
> 
> Failed examples:
> 
> rspec ./spec/celluloid/mailbox/evented_spec.rb:15 # Celluloid::Mailbox::Evented recovers from timeout exceeded to process mailbox message
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-celluloid/ruby-celluloid_0.17.3-1+rebuild1663007422_amd64-2022-09-12T18:30:22Z.build

To reproduce this, you need ruby-all-dev >= 1:3.0+2.  Depending on when you
read this, this might mean installing ruby-all-dev from experimental, or ir the
transition has alraedy started in unstable, a normal build on unstable should
do it.  If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220912/ddb2aea6/attachment.sig>


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