[DRE-maint] Bug#849510: ruby-parallel: FTBFS (failing tests)
Santiago Vila
sanvila at debian.org
Wed Dec 28 01:14:40 UTC 2016
Package: src:ruby-parallel
Version: 1.9.0-1
Severity: serious
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Parallel.in_processes kills the processes when the main process gets killed through ctrl+c
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:85
2) Parallel.in_processes kills the processes when the main process gets killed through a custom interrupt
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:92
3) Parallel.in_processes kills the threads when the main process gets killed through ctrl+c
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:98
4) Parallel.in_processes does not kill processes when the main process gets sent an interrupt besides the custom interrupt
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:105
5) Parallel.in_processes does not kill threads when the main process gets sent an interrupt besides the custom interrupt
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:114
6) Parallel.in_processes does not kill anything on ctrl+c when everything has finished
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:123
7) Parallel.in_processes preserves original intrrupts
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:135
8) Parallel.in_processes does not open unnecessary pipes
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:174
9) Parallel.map can be killed instantly
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:370
Failures:
1) Parallel.map saves time
Failure/Error:
time_taken{
`ruby spec/cases/parallel_map_sleeping.rb`
}.should <= 3.5
expected: <= 3.5
got: 4.040697336196899
# ./spec/parallel_spec.rb:205:in `block (3 levels) in <top (required)>'
2) Parallel.map starts new process imediatly when old exists
Failure/Error:
time_taken{
`ruby spec/cases/parallel_map_uneven.rb`
}.should <= 3.5
expected: <= 3.5
got: 4.034336805343628
# ./spec/parallel_spec.rb:219:in `block (3 levels) in <top (required)>'
Finished in 45.2 seconds (files took 0.07625 seconds to load)
112 examples, 2 failures, 9 pending
Failed examples:
rspec ./spec/parallel_spec.rb:202 # Parallel.map saves time
rspec ./spec/parallel_spec.rb:216 # Parallel.map starts new process imediatly when old exists
/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-parallel returned exit code 1
debian/rules:15: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------
The build was made in a QEMU/KVM virtual machine with a single CPU, using sbuild.
To be sure, I repeated the build several times.
I tried 11 times in total, in 6 different machines, and it always failed.
I've put the build logs here:
https://people.debian.org/~sanvila/ruby-parallel/
Maybe the author did not try this at all in a single CPU machine, or maybe
he/she believes all CPUs have the same speed.
Thanks.
More information about the Pkg-ruby-extras-maintainers
mailing list