[DRE-maint] Bug#1020435: ruby-prof: FTBFS on ppc64el

Sebastian Ramacher sramacher at debian.org
Wed Dec 28 17:05:35 GMT 2022


On 2022-12-26 17:14:23 +0100, Sebastian Ramacher wrote:
> Control: severity -1 serious
> 
> On 2022-09-25 14:06:09 -0300, Antonio Terceiro wrote:
> > Control: tag -1 + unreproducible
> > Control: severity -1 important
> > 
> > Hi,
> > 
> > On Wed, Sep 21, 2022 at 07:20:31PM +0200, Sebastian Ramacher wrote:
> > > Source: ruby-prof
> > > Version: 1.4.3-1
> > > Severity: serious
> > > Tags: ftbfs
> > > Justification: fails to build from source (but built successfully in the past)
> > > X-Debbugs-Cc: sramacher at debian.org
> > > 
> > > https://buildd.debian.org/status/fetch.php?pkg=ruby-prof&arch=ppc64el&ver=1.4.3-1%2Bb1&stamp=1663720013&raw=0
> > > 
> > >   1) Failure:
> > > PrinterGraphTest#test_graph_results_sorting [/<<PKGBUILDDIR>>/test/printer_graph_test.rb:37]:
> > > Array [0.171, 0.171, 0.167, 0.167, 0.166, 0.164, 0.004, 0.004, 0.002, 0.0, 0.0, 0.0, 0.0, 0.17, 0.17, 0.0, 0.0, 0.169, 0.169, 0.0, 0.0] is not sorted.
> > > --- expected
> > > +++ actual
> > > @@ -1 +1 @@
> > > -[0.171, 0.171, 0.167, 0.167, 0.166, 0.164, 0.004, 0.004, 0.002, 0.0, 0.0, 0.0, 0.0, 0.17, 0.17, 0.0, 0.0, 0.169, 0.169, 0.0, 0.0]
> > > +[0.171, 0.171, 0.17, 0.17, 0.169, 0.169, 0.167, 0.167, 0.166, 0.164, 0.004, 0.004, 0.002, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
> > > 
> > > 
> > > 51 runs, 687 assertions, 1 failures, 0 errors, 0 skips
> > > rake aborted!
> > > Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/abstract_printer_test.rb" "test/alias_test.rb" "test/basic_test.rb" "test/call_tree_visitor_test.rb" "test/call_trees_test.rb" "test/duplicate_names_test.rb" "test/enumerable_test.rb" "test/exceptions_test.rb" "test/exclude_methods_test.rb" "test/exclude_threads_test.rb" "test/fiber_test.rb" "test/gc_test.rb" "test/line_number_test.rb" "test/marshal_test.rb" "test/multi_printer_test.rb" "test/no_method_class_test.rb" "test/printer_call_stack_test.rb" "test/printer_call_tree_test.rb" "test/printer_flat_test.rb" "test/printer_graph_html_test.rb" "test/printer_graph_test.rb" "test/printing_recursive_graph_test.rb" "test/profile_test.rb" "test/rack_test.rb" "test/singleton_test.rb" -v]
> > > /usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
> > > Tasks: TOP => default
> > > (See full trace by running task with --trace)
> > > ERROR: Test "ruby3.0" failed. Exiting.
> > 
> > Unfortunately I could not reproduce this on the ppc64el porterbox, even
> > trying the same random seed as the original build failure. I was
> > suspecting an random test failure, but I didn't see this after trying 50
> > builds in a row. In fact, just giving back the build on the buildd made
> > it succeed. I'm not saying there is no issue, so I am keeping this open
> > and maybe we will be able to figure it out at some point.
> > 
> > I hope you don't mind me downgrading this to important.
> 
> It's happening again. Reraising the severity to serious.
> 
> https://buildd.debian.org/status/fetch.php?pkg=ruby-prof&arch=ppc64el&ver=1.4.3-2%2Bb1&stamp=1671856091&raw=0

The same issue also causes the autopkgtest to fail every other run:
https://ci.debian.net/data/autopkgtest/testing/arm64/r/ruby-prof/29757660/log.gz

Please fix or disable the flaky test.

Cheers
-- 
Sebastian Ramacher



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