From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B0FBD1F44D for ; Wed, 3 Apr 2024 04:26:41 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=ix+4JUPt; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=eR9npMai; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 9411383BAD; Wed, 3 Apr 2024 04:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1712118394; bh=ORhaLf4+9wDkAX7mC0DlfrjHqFefBi8BngRkOdBQ958=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=ix+4JUPt7EQpf0PVgbE/tsGv37T4GwP43lra28MN9CnS1Hi3kGlxlU3xP29duGw/K XCdgZqMYh0XPnnEjeHmdWF3XjP4bUg+mYk1oegvldUXiUBSOlNGvckUSc1xPRTmTMt a/mb1v293gmBE5eWhstupHstJNLAMZtVW47Nz56Q= Received: from s.wrqvtbkv.outbound-mail.sendgrid.net (s.wrqvtbkv.outbound-mail.sendgrid.net [149.72.123.24]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 6BD5A83B6F for ; Wed, 3 Apr 2024 04:26:31 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=eR9npMai; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=TlwkY1QM4U/TQkP41eqMv7U0Us3Jxtd0Cvh8C6MxIV8=; b=eR9npMaigZRGYjq/ICx2kdpNtyhzty9kKKUFKbyDPrqwKkt939C/RQ/eXFx1zcsfHqWA NOL/svOTHXQOTNh7YwnTFstX5LqLwbFbAmlhHWdf+hWfNLw2YlvH8CeTwjAZ90csyCDFzS 5U/8jCKyI3Kcq7MmBPPiZa9pWlCVR6PQCY8pAElHSQG0F8PKtOnE7byGvYmU5bycr/koe9 NRFBOVvQcbNTlNtgzmOrJ1LF5cfc/kkLzbOw1NqHkJUGc2sHU49H4QidMp2JS1+R4gGMl4 /MHE/nwWdkYjz7Y48Cp11bTtpC2zmy9T1dpQOKRe6DXISdANVUbFy6vjsfuy9vJg== Received: by filterdrecv-87f449884-vqhq9 with SMTP id filterdrecv-87f449884-vqhq9-1-660CDA76-3 2024-04-03 04:26:30.091953211 +0000 UTC m=+1324844.697005937 Received: from herokuapp.com (unknown) by geopod-ismtpd-19 (SG) with ESMTP id 6do8Rg1xT6CaMAxEDSG9vg for ; Wed, 03 Apr 2024 04:26:30.023 +0000 (UTC) Date: Wed, 03 Apr 2024 04:26:30 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 17878 X-Redmine-Issue-Author: jaruga X-Redmine-Issue-Assignee: ko1 X-Redmine-Issue-Priority: Normal X-Redmine-Sender: hsbt 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-Redmine-MailingListIntegration-Message-Ids: 94011 X-SG-EID: =?us-ascii?Q?u001=2ESNtsfy=2FRYrUmxOeGSN+Ah1new64UppKFg8YOAgra6KK6sIhqEP6LswYh4?= =?us-ascii?Q?tCf2AhAD20FCmXanLCSpdJ9Heq83FKB1eeA=2FIRz?= =?us-ascii?Q?=2FUFVHcMb3GMsaR4riD0iOSOJj5Kgl7Vb2a=2F4Na=2F?= =?us-ascii?Q?twoFAORs=2FhlUPwz7kIUY2J6vmUzeARYKhmH4Cqq?= =?us-ascii?Q?9xJ8BJGVNnROFvVDn5m1E1=2FL+vANjcpel17ZMG3?= =?us-ascii?Q?ujD7oOO=2FhS9p8QOExLO8JKItZ9NHJENSaUrnADp?= =?us-ascii?Q?KlU1ixjXguKaSon5IIyINQ+9Ww=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: OSDBV65Q2BQS7EZ6D6RQQLLCORKLEPC6 X-Message-ID-Hash: OSDBV65Q2BQS7EZ6D6RQQLLCORKLEPC6 X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117416] [Ruby master Bug#17878] bootstraptest/test_ractor.rb:224 a random failing test with "The outgoing-port is already closed (Ractor::ClosedError)" List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "hsbt (Hiroshi SHIBATA) via ruby-core" Cc: "hsbt (Hiroshi SHIBATA)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #17878 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Assigned Assignee set to ko1 (Koichi Sasada) ---------------------------------------- Bug #17878: bootstraptest/test_ractor.rb:224 a random failing test with "The outgoing-port is already closed (Ractor::ClosedError)" https://bugs.ruby-lang.org/issues/17878#change-107784 * Author: jaruga (Jun Aruga) * Status: Assigned * Assignee: ko1 (Koichi Sasada) * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- I was running Travis several times I am trying to revive based on the master commit: `50a534a1526e2b9f4ea41e44b802bd73f9cebbeb`. Then I got the following failure on Travis arm64 Ubuntu focal environment. The failure happened for the first time in around 5 times. Here is the Travis log. https://travis-ci.com/github/junaruga/ruby/jobs/506885939#L2227 ``` $ $SETARCH make -s test -o showflags TESTOPTS="${TESTOPTS=-j33 -q --tty=no}" ... test_ractor.rb ....................Fstderr output is not empty :345:in `select': The outgoing-port is already closed (Ractor::ClosedError) from bootstraptest.tmp.rb:12:in `block in test' from bootstraptest.tmp.rb:11:in `times' from bootstraptest.tmp.rb:11:in `test' from bootstraptest.tmp.rb:26:in `block in
' from bootstraptest.tmp.rb:25:in `times' from bootstraptest.tmp.rb:25:in `each' from bootstraptest.tmp.rb:25:in `map' from bootstraptest.tmp.rb:25:in `
' ``` ``` Fiber count: 10000 (skipping) #1213 test_ractor.rb:224:in `': def test n rs = (1..n).map do |i| Ractor.new(i) do |i| "r#{i}" end end as = [] all_rs = rs.dup n.times{ r, obj = Ractor.select(*rs) as << [r, obj] rs.delete(r) } if as.map{|r, o| r.object_id}.sort == all_rs.map{|r| r.object_id}.sort && as.map{|r, o| o}.sort == (1..n).map{|i| "r#{i}"}.sort 'ok' else 'ng' end end 30.times.map{|i| test i } #=> "" (expected "[\"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\", \"ok\"]") FAIL 1/1488 tests failed make: *** [uncommon.mk:768: yes-btest-ruby] Error 1 The command "$SETARCH make -s test -o showflags TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"" exited with 2. ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/