[DRE-maint] Bug#996346: ruby-parallel: FTBFS with ruby3.0: ERROR: Test "ruby2.7" failed: Failure/Error: out.should == "0, 1\nOK"

Antonio Terceiro terceiro at debian.org
Wed Oct 13 12:46:26 BST 2021


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

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-parallel was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>      Failure/Error: out.should == "0,1\nOK"
> 
>        expected: "0,1\nOK"
>             got: "0,1\nFAIL: before:40 -- after:36" (using ==)
>        Diff:
>        @@ -1,3 +1,3 @@
>         0,1
>        -OK
>        +FAIL: before:40 -- after:36
>      # ./spec/parallel_spec.rb:478:in `block (3 levels) in <top (required)>'
>      # ./spec/spec_helper.rb:9:in `block (2 levels) in <top (required)>'
> 
> Finished in 1 minute 24.97 seconds (files took 0.12723 seconds to load)
> 129 examples, 6 failures
> 
> Failed examples:
> 
> rspec ./spec/parallel_spec.rb:96 # Parallel.in_processes kills the processes when the main process gets killed through ctrl+c
> rspec ./spec/parallel_spec.rb:103 # Parallel.in_processes kills the processes when the main process gets killed through a custom interrupt
> rspec ./spec/parallel_spec.rb:109 # Parallel.in_processes kills the threads when the main process gets killed through ctrl+c
> rspec ./spec/parallel_spec.rb:116 # Parallel.in_processes does not kill processes when the main process gets sent an interrupt besides the custom interrupt
> rspec ./spec/parallel_spec.rb:125 # Parallel.in_processes does not kill threads when the main process gets sent an interrupt besides the custom interrupt
> rspec ./spec/parallel_spec.rb:475 # Parallel.map sets Parallel.worker_number when run with isolation
> 
> /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.7" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-parallel/ruby-parallel_1.21.0-1+rebuild1633390474_amd64.build.txt
-------------- 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/20211013/dbbd06fb/attachment.sig>


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