Package: ruby-parallel
Version: 1.12.1-1
Severity: serious
Hi,
The ruby-parallel package FTBFS due to the following test failure:
"""
Failures:
1) Parallel lambdas runs in threads
Failure/Error: `ruby spec/cases/with_#{thing}.rb THREADS 2>&1`.should ==
result
expected: "ITEM-1\nITEM-2\nITEM-3\n"
got:
"/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/paral...usr/lib/ruby/vendor_ruby/parallel.rb:262:in
`map'\n\tfrom spec/cases/with_queue.rb:18:in `<main>'\n" (using ==)
Diff:
@@ -1,4 +1,23 @@
-ITEM-1
-ITEM-2
-ITEM-3
+/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:207:in
`value': No live threads left. Deadlock? (fatal)
+2 threads, 2 sleeps current:0x000056125940cf40 main
thread:0x0000561258fd10d0
+* #<Thread:0x0000561259004b70 sleep_forever>
+ rb_thread_t:0x0000561258fd10d0 native:0x00007efd2c062740 int:1
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:207:in
`value'
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:207:in
`map!'
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:207:in
`in_threads'
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:335:in
`work_in_threads'
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:262:in
`map'
+ spec/cases/with_queue.rb:18:in `<main>'
+*
#<Thread:0x00005612592e8508@/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:206
sleep_forever>
+ rb_thread_t:0x000056125940cf40 native:0x00007efd2bb39700 int:0
+ depended by: tb_thread_id:0x0000561258fd10d0
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:102:in
`synchronize'
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:102:in
`next'
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:338:in
`block in work_in_threads'
+
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:206:in
`block (2 levels) in in_threads'
+ from
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:207:in
`map!'
+ from
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:207:in
`in_threads'
+ from
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:335:in
`work_in_threads'
+ from
/<<PKGBUILDDIR>>/debian/ruby-parallel/usr/lib/ruby/vendor_ruby/parallel.rb:262:in
`map'
+ from spec/cases/with_queue.rb:18:in `<main>'
# ./spec/parallel_spec.rb:574:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:8:in `block (2 levels) in <top (required)>'
Finished in 47.46 seconds (files took 0.16615 seconds to load)
120 examples, 1 failure, 9 pending
Failed examples:
rspec './spec/parallel_spec.rb[1:13:1]' # Parallel lambdas runs in threads
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format
documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-parallel
returned exit code 1
make: *** [debian/rules:5: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess
returned exit status 2
--------------------------------------------------------------------------------
"""
Thanks,
~Niels
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers