ruby-changes:69601
From: Yusuke <ko1@a...>
Date: Fri, 5 Nov 2021 20:06:30 +0900 (JST)
Subject: [ruby-changes:69601] 56119c5245 (master): Skip TestIRB::TestInit#test_recovery_sigint on Solaris
https://git.ruby-lang.org/ruby.git/commit/?id=56119c5245 From 56119c5245ac4fa8d7c22de584a226b44082f61e Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Fri, 5 Nov 2021 20:03:11 +0900 Subject: Skip TestIRB::TestInit#test_recovery_sigint on Solaris The test randomly gets stuck on Solaris: http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20211105T060014Z.fail.html.gz ``` 1) Error: TestIRB::TestInit#test_recovery_sigint: Timeout::Error: execution of assert_in_out_err expired timeout (100.0 sec) pid 3195 killed by SIGTERM (signal 15) | Switch to inspect mode. | exit | ``` I investigated the issue but I couldn't figure it out. This random failure is noisy, which makes it difficult to track the CI. So I skip the test on Soalris. Contribution is welcome. --- test/irb/test_init.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/irb/test_init.rb b/test/irb/test_init.rb index e5417b18c3f..d8c7c79263b 100644 --- a/test/irb/test_init.rb +++ b/test/irb/test_init.rb @@ -62,6 +62,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_init.rb#L62 end def test_recovery_sigint + pend "This test gets stuck on Solaris for unknown reason; contribution is welcome" if RUBY_PLATFORM =~ /solaris/ bundle_exec = ENV.key?('BUNDLE_GEMFILE') ? ['-rbundler/setup'] : [] status = assert_in_out_err(bundle_exec + %w[-W0 -rirb -e binding.irb;loop{Process.kill("SIGINT",$$)} -- -f --], "exit\n", //, //) Process.kill("SIGKILL", status.pid) if !status.exited? && !status.stopped? && !status.signaled? -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/