From: v.ondruch@... Date: 2017-08-22T06:06:11+00:00 Subject: [ruby-core:82438] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite Issue #13834 has been reported by vo.x (Vit Ondruch). ---------------------------------------- Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite https://bugs.ruby-lang.org/issues/13834 * 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/ Unsubscribe: