[ruby-core:115040] [Ruby master Bug#19927] TestCoverage#test_coverage_suspendable fails on ppc64le

Issue #19927 has been reported by vo.x (Vit Ondruch). ---------------------------------------- Bug #19927: TestCoverage#test_coverage_suspendable fails on ppc64le https://bugs.ruby-lang.org/issues/19927 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * ruby -v: ruby 3.3.0dev (2023-10-13 master 35edc14ee1) [powerpc64le-linux] * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- 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 -- https://bugs.ruby-lang.org/

Issue #19927 has been updated by vo.x (Vit Ondruch). I have not looked into the code, but it seems that the `:method` hash display order is different. ---------------------------------------- Bug #19927: TestCoverage#test_coverage_suspendable fails on ppc64le https://bugs.ruby-lang.org/issues/19927#change-104915 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * ruby -v: ruby 3.3.0dev (2023-10-13 master 35edc14ee1) [powerpc64le-linux] * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- 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 -- https://bugs.ruby-lang.org/

Issue #19927 has been updated by vo.x (Vit Ondruch). This is likely resolved by https://github.com/ruby/ruby/pull/8670 ---------------------------------------- Bug #19927: TestCoverage#test_coverage_suspendable fails on ppc64le https://bugs.ruby-lang.org/issues/19927#change-105074 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * ruby -v: ruby 3.3.0dev (2023-10-13 master 35edc14ee1) [powerpc64le-linux] * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- 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 -- https://bugs.ruby-lang.org/
participants (1)
-
vo.x (Vit Ondruch)