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-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 A965A1F463 for ; Wed, 8 Jan 2020 22:07:06 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 9A936120A10; Thu, 9 Jan 2020 07:06:47 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id A69C2120A0F for ; Thu, 9 Jan 2020 07:06:44 +0900 (JST) Received: by filterdrecv-p3iad2-57f487d66-fs626 with SMTP id filterdrecv-p3iad2-57f487d66-fs626-20-5E165279-1A 2020-01-08 22:06:49.126765809 +0000 UTC m=+515944.898862692 Received: from herokuapp.com (unknown [54.90.251.170]) by ismtpd0079p1mdw1.sendgrid.net (SG) with ESMTP id lyBKP_iESCGKEWI2M9tjGA for ; Wed, 08 Jan 2020 22:06:48.994 +0000 (UTC) Date: Wed, 08 Jan 2020 22:06:49 +0000 (UTC) From: mame@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 72380 X-Redmine-Project: ruby-master X-Redmine-Issue-Id: 16361 X-Redmine-Issue-Author: vo.x X-Redmine-Sender: mame 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?EJh2gqwnyqXtd++xo=2FinyA1V0bXouTB4FkWnzNiKb49NjvkGKKG+G9+MtC=2FH1d?= =?us-ascii?Q?eBMtX6qQEXETlJ1sQJODNFLSGCSk=2F8O9iyTCgkh?= =?us-ascii?Q?QrEGclI68ISYGloOdMAHuNEw4=2F0Zl1hJnpU7ytc?= =?us-ascii?Q?I6Hv8ccrMqfWadWV7Icm+ssG1jL361wEKMcPmBe?= =?us-ascii?Q?yeZKjpmOapKApsiuuy3Sb2SWuAa8t9B2jxhLwlP?= =?us-ascii?Q?GnAccBDSKcJh7gNfg=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 96717 Subject: [ruby-core:96717] [Ruby master Bug#16361] TestEnv#test_fetch failure 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 #16361 has been updated by mame (Yusuke Endoh). Status changed from Open to Closed Okay, thanks! ---------------------------------------- Bug #16361: TestEnv#test_fetch failure https://bugs.ruby-lang.org/issues/16361#change-83707 * Author: vo.x (Vit Ondruch) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.7.0dev (2019-11-22 master f9d20a1bf1) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- I am facing following test suite error: ~~~ 1) Failure: TestEnv#test_fetch [/builddir/build/BUILD/ruby-2.7.0-f9d20a1bf1/test/ruby/test_env.rb:123]: [ruby-core:56062] [Feature #8649]. Expected Exception(KeyError) was raised, but the message doesn't match. <"key not found: \"test\""> expected but was <"key not found: \"test\"\n" + "Did you mean? \"TESTS\"">. ~~~ Trying to execute this test independently, it passes just fine. So it seems that the did_you_mean gem is loaded unexpectedly on this place. I just tried: ~~~ mv test/optparse/test_did_you_mean.rb{,.bak} ~~~ since this is the latest addition IMO and the test suite passes just fine. I am not really sure why it should fail on my setup and it probably does not fail in any other CI. Neither I am sure what would be the best option to fix this. The assertion could be updated to accept this message by simple sed: ~~~ sed -i "/'key not found: \"test\"'/ s/'/\//g" test/ruby/test_env.rb ~~~ -- https://bugs.ruby-lang.org/