Project

General

Profile

Actions

Bug #19927

closed

TestCoverage#test_coverage_suspendable fails on ppc64le

Added by vo.x (Vit Ondruch) 7 months ago. Updated 6 months ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.3.0dev (2023-10-13 master 35edc14ee1) [powerpc64le-linux]
[ruby-core:115040]

Description

Testing on Fedora Rawhide, I am facing the following test error on ppc64le:

 94) Failure:
TestCoverage#test_coverage_suspendable [/builddir/build/BUILD/ruby-3.3.0-35edc14ee1/test/coverage/test_coverage.rb:870]:
pid 192974 exit 0.
1. [1/2] Assertion for "stdout"
   | <["{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 0, nil], :branches=>{}, :methods=>{[Object, :baz, 9, 12, 11, 15]=>0, [Object, :bar, 5, 12, 7, 15]=>1, [Object, :foo, 1, 12, 3, 15]=>0}}",
   |  "{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 1, nil], :branches=>{}, :methods=>{[Object, :baz, 9, 12, 11, 15]=>1, [Object, :bar, 5, 12, 7, 15]=>1, [Object, :foo, 1, 12, 3, 15]=>0}}"]> expected but was
   | <["{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 0, nil], :branches=>{}, :methods=>{[Object, :foo, 1, 12, 3, 15]=>0, [Object, :baz, 9, 12, 11, 15]=>0, [Object, :bar, 5, 12, 7, 15]=>1}}",
   |  "{:lines=>[0, 0, nil, nil, 0, 1, nil, nil, 0, 1, nil], :branches=>{}, :methods=>{[Object, :foo, 1, 12, 3, 15]=>0, [Object, :baz, 9, 12, 11, 15]=>1, [Object, :bar, 5, 12, 7, 15]=>1}}"]>.

Please note that the test passes on other arches just fine

Updated by vo.x (Vit Ondruch) 7 months ago

I have not looked into the code, but it seems that the :method hash display order is different.

Actions #3

Updated by jeremyevans0 (Jeremy Evans) 6 months ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0