From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 8605C1F5AE for ; Thu, 18 Jun 2020 17:13:15 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id C6D26120B32; Fri, 19 Jun 2020 02:12:47 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id ADA0C120B31 for ; Fri, 19 Jun 2020 02:12:44 +0900 (JST) Received: by filterdrecv-p3iad2-5669bb8675-8jgfw with SMTP id filterdrecv-p3iad2-5669bb8675-8jgfw-17-5EEBA0A4-A4 2020-06-18 17:13:08.891792649 +0000 UTC m=+148418.926917582 Received: from herokuapp.com (unknown) by geopod-ismtpd-1-1 (SG) with ESMTP id E28qD3ecQC-lFlV-i_oNfg for ; Thu, 18 Jun 2020 17:13:08.883 +0000 (UTC) Date: Thu, 18 Jun 2020 17:13:08 +0000 (UTC) From: v.ondruch@tiscali.cz Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 74664 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 16921 X-Redmine-Issue-Author: jaruga X-Redmine-Sender: vo.x X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?mWhqNvD1xlBozk4zn6CTHlnSPHlTKkyHJdiOH=2FzC52hz84L4egYcvUlLpuFgQu?= =?us-ascii?Q?e6nkSu+eH2j26NreJfSo1SN+TpVa8GTaXeSlk1U?= =?us-ascii?Q?jwHEpsh8o9ajAKUyK7tlBJuknq5DCRr+7tGG1y2?= =?us-ascii?Q?wKGNy5EpMNOccp7zGqUWXQgSX=2FFbf1bdn6kysv8?= =?us-ascii?Q?S9nAG487uSw+79BtMhAPDfaB+dYLY4amXM=2FJh9v?= =?us-ascii?Q?NLOwJcanxhUeTpVP4=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 98873 Subject: [ruby-core:98873] [Ruby master Bug#16921] s390x: random test failures for timeout or segmentation fault X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #16921 has been updated by vo.x (Vit Ondruch). I think there is combination of two issues. There is possibly bug in `EnvUtil.invoke_ruby` [1], which cannot properly handle failures caused by allocation in sigsev handler. I mildly remember I was trying to debug the issue, because the `TestRubyOptions#test_segv_setproctitle` error is nothing new: #13758 [1]: https://github.com/ruby/ruby/blob/adbdf11f94afd52d276c7891515e0eb808f6003f/tool/lib/envutil.rb#L125 ---------------------------------------- Bug #16921: s390x: random test failures for timeout or segmentation fault https://bugs.ruby-lang.org/issues/16921#change-86245 * Author: jaruga (Jun Aruga) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- I observed the following error related to timeout or segmentation fault on Ruby 2.7.1 s390x in Fedora builds. The tests somtimes fail. It seems the s390x machine used in CI is slow. It's great if we can change the timeout casually if it essentially comes from the length of the timeout. It might be related to #16492 . ``` 1) Failure: Fiddle::TestFunction#test_nogvl_poll [/builddir/build/BUILD/ruby-2.7.1/test/fiddle/test_function.rb:95]: slept amount of time. Expected |200 - 714| (514) to be <= 180. ``` ``` 2) Error: TestProcess#test_status_quit: Timeout::Error: execution of assert_in_out_err expired timeout (10 sec) pid 2682640 killed by SIGKILL (signal 9) |- /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_process.rb:1446:in `block in test_status_quit' /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_process.rb:37:in `block (2 levels) in with_tmpchdir' /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_process.rb:36:in `chdir' /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_process.rb:36:in `block in with_tmpchdir' /builddir/build/BUILD/ruby-2.7.1/lib/tmpdir.rb:89:in `mktmpdir' /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_process.rb:34:in `with_tmpchdir' /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_process.rb:1445:in `test_status_quit' ``` ``` 3) Error: TestRubyOptions#test_segv_test: Timeout::Error: execution of assert_in_out_err expired timeout (10 sec) pid 2683275 killed by SIGABRT (signal 6) (core dumped) ``` ``` 1) Error: TestRubyOptions#test_segv_loaded_features: Timeout::Error: execution of assert_in_out_err expired timeout (10 sec) pid 2181948 killed by SIGKILL (signal 9) |- | -e:1: [BUG] Segmentation fault at 0x00214b3c000003e8 ``` ``` 2) Error: TestRubyOptions#test_segv_setproctitle: Timeout::Error: execution of assert_in_out_err expired timeout (10 sec) pid 2181951 killed by SIGKILL (signal 9) |- | -e:1: [BUG] Segmentation fault at 0x00214b3f000003e8 ``` ``` 1) Error: TestSignal#test_ignored_interrupt: Timeout::Error: execution of assert_in_out_err expired timeout (10 sec) pid 2032663 killed by SIGKILL (signal 9) | /builddir/build/BUILD/ruby-2.7.1/test/ruby/test_signal.rb:294:in `test_ignored_interrupt' Finished tests in 564.613810s, 37.2130 tests/s, 4826.1873 assertions/s. ``` -- https://bugs.ruby-lang.org/