From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.0 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.1 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 658ED1F597 for ; Thu, 26 Jul 2018 02:12:21 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 7E228120A57; Thu, 26 Jul 2018 11:12:17 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id F2DCC120A56 for ; Thu, 26 Jul 2018 11:12:14 +0900 (JST) Received: by filter0038p3las1.sendgrid.net with SMTP id filter0038p3las1-3007-5B592DFB-6 2018-07-26 02:12:11.12030541 +0000 UTC m=+14051.390118424 Received: from herokuapp.com (ec2-54-196-226-223.compute-1.amazonaws.com [54.196.226.223]) by ismtpd0043p1mdw1.sendgrid.net (SG) with ESMTP id -TyIpE5lS2Gmc4Ce-lKEaA for ; Thu, 26 Jul 2018 02:12:10.957 +0000 (UTC) Date: Thu, 26 Jul 2018 02:12:11 +0000 (UTC) From: hsbt@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 63490 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13834 X-Redmine-Issue-Author: vo.x X-Redmine-Issue-Assignee: hsbt 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-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7HgvpI3qbRYq9zt8ArqxhCYAPkwVK/uZe05/ 2naMh5fqw6+kcKHX4NeipCgxAJiNmzT5fqq6k+HshQ8/XbE4xGwdbdbu6SH4rDopBOTIrcSb7ZULeE Ljm7ioCzbNkcOC3YDouAKj96ttmgEe+aaZBbXjn0T478g2vNtNLZDg7kqg== X-ML-Name: ruby-core X-Mail-Count: 88112 Subject: [ruby-core:88112] [Ruby trunk Bug#13834][Assigned] RubyGems test suite occasionally changes working directory and breaks the rest of test suite 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 #13834 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Assigned Assignee set to hsbt (Hiroshi SHIBATA) ---------------------------------------- Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite https://bugs.ruby-lang.org/issues/13834#change-73133 * Author: vo.x (Vit Ondruch) * Status: Assigned * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: * ruby -v: ruby 2.5.0dev (2017-08-18 trunk 59616) [x86_64-linux] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: REQUIRED ---------------------------------------- >From time to time, RubyGems test suite changes working directory, which breaks rest of Ruby tests suite. It all starts like this: ~~~ [ 7096/17125] TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection = 0.01 sLeaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 21 : # Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 22 : # Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 23 : # Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 24 : # Leaked thread: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: # Environment variable changed: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection : "GEM_PRIVATE_KEY_PASSPHRASE" added Environment variable changed: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection : "GEM_SPEC_CACHE" added Environment variable changed: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection : "HOME" changed : "/home/hsbt" -> "/home/hsbt/chkbuild/tmp/build/20170818T003002Z/tmp/test_rubygems_29019/userhome" ~~~ and results in errors such as: ~~~ 2) Failure: TestMkmf::TestConfig#test_dir_config [/home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/test/mkmf/test_config.rb:12]: assert_separately failed with error message pid 2383 exit 1 | /home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/lib/mkmf.rb:228:in `expand_path': No such file or directory - getcwd (Errno::ENOENT) | from /home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/lib/mkmf.rb:228:in `' | from /home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/lib/mkmf.rb:48:in `' | from -:1:in `require' ~~~ You can find the full log rubyci.org [1]. [1]: http://rubyci.s3.amazonaws.com/fedora26/ruby-trunk/log/20170818T003002Z.log.html.gz -- https://bugs.ruby-lang.org/