ruby-changes:69585
From: Yusuke <ko1@a...>
Date: Fri, 5 Nov 2021 00:54:19 +0900 (JST)
Subject: [ruby-changes:69585] 8821a0de0e (master): test/ruby/test_gc_compact.rb: Do not run on s390x
https://git.ruby-lang.org/ruby.git/commit/?id=8821a0de0e From 8821a0de0eb412dd61066ca6e5fea0eb331ae546 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Thu, 4 Nov 2021 14:14:52 +0900 Subject: test/ruby/test_gc_compact.rb: Do not run on s390x The compaction tests get stuck randomly on s390x for unknown reason. http://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20211104T030003Z.fail.html.gz ``` [13715/21145] TestGCCompact#test_gc_compact_statstimeout: output interval exceeds 1800.0 seconds. ``` We spent some time to investigate this issue, but we can't figure out why, and it is unlikely that we'll be able to fix it anytime soon. This random failure makes the CI unuseful, so tentatively we suppress this test for a while. A contribution from those who are familiar with s390x is welcome. --- test/ruby/test_gc_compact.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index 46683d0ed57..753c02db31f 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -3,6 +3,11 @@ require 'test/unit' https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc_compact.rb#L3 require 'fiddle' require 'etc' +if RUBY_PLATFORM =~ /s390x/ + puts "Currently, it is known that the compaction does not work well on s390x; contribution is welcome https://github.com/ruby/ruby/pull/XXXX" + return +end + class TestGCCompact < Test::Unit::TestCase module SupportsCompact def setup -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/