From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id DE344208CD for ; Tue, 22 Aug 2017 06:10:09 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 2A867120852; Tue, 22 Aug 2017 15:10:08 +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 6B32B120812 for ; Tue, 22 Aug 2017 15:10:06 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=FVbEwDcL6GiDo6ig2b47YF7+Uxw=; b=a3jd+KsZynaQH3vvHn ehQ7+TDxQjiM6nv/yNn9acLyV7XLd3KQkJPPy7xTSOqYFgJ/nUi7kuJ/+7yKabYm UMp5POUfOEGvvLz++KjFuGm6byTocEFC8NazkhmGIO+GjTeazXuuO4GcHhECT90v qHxFruVG2Sac65XolXRZkMm9I= Received: by filter0015p3mdw1.sendgrid.net with SMTP id filter0015p3mdw1-16830-599BCABA-3B 2017-08-22 06:10:02.753939988 +0000 UTC Received: from herokuapp.com (ec2-54-242-71-17.compute-1.amazonaws.com [54.242.71.17]) by ismtpd0031p1mdw1.sendgrid.net (SG) with ESMTP id reAUgRPQTMS_anZhIwWmzA for ; Tue, 22 Aug 2017 06:10:02.610 +0000 (UTC) Date: Tue, 22 Aug 2017 06:10:03 +0000 (UTC) From: v.ondruch@tiscali.cz To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 57496 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13834 X-Redmine-Issue-Author: vo.x 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: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7Fx2Sb1sAtZQwvY/EUorAYhj2Jx+8NKcqOvf kW9ZHt2U6G7ldyfgenH0MVdig7Z5KmKuCfSrB1lzCsw4kWQ2ZsQcL4Z6BHzgd7g4auyr21EujwCnx+ LmI5AZMdODeNuLtc2CE9Vduta3gWPcUSoaRg9cDDcrQLXdt1rDLkx4KeZA== X-ML-Name: ruby-core X-Mail-Count: 82439 Subject: [ruby-core:82439] [Ruby trunk Bug#13834] 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 vo.x (Vit Ondruch). I also opened RubyGems ticket: https://github.com/rubygems/rubygems/issues/1991 ---------------------------------------- Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite https://bugs.ruby-lang.org/issues/13834#change-66247 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * Assignee: * 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/