ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: v.ondruch@tiscali.cz
To: ruby-core@ruby-lang.org
Subject: [ruby-core:82439] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
Date: Tue, 22 Aug 2017 06:10:03 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-66247.20170822061001.e6e548b5b61c3fb9@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-13834.20170822060609@ruby-lang.org

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 : #<TCPServer:fd 21, AF_INET, 0.0.0.0, 45301>
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 22 : #<TCPServer:fd 22, AF_INET6, ::, 45301>
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 23 : #<IO:fd 23>
Leaked file descriptor: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: 24 : #<IO:fd 24>
Leaked thread: TestGemRemoteFetcher#test_do_not_allow_invalid_client_cert_auth_connection: #<Thread:0x000056191465fe40@/home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/test/rubygems/test_gem_remote_fetcher.rb:1025 sleep>
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 `<module:MakeMakefile>'
| 	from /home/hsbt/chkbuild/tmp/build/20170818T003002Z/ruby/lib/mkmf.rb:48:in `<top (required)>'
| 	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/

  parent reply	other threads:[~2017-08-22  6:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-13834.20170822060609@ruby-lang.org>
2017-08-22  6:06 ` [ruby-core:82438] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite v.ondruch
2017-08-22  6:10 ` v.ondruch [this message]
2017-08-22 10:35 ` [ruby-core:82445] " shevegen
2017-08-22 10:40 ` [ruby-core:82446] " v.ondruch
2017-09-21  9:23 ` [ruby-core:82916] " v.ondruch
2018-07-26  2:12 ` [ruby-core:88112] [Ruby trunk Bug#13834][Assigned] " hsbt
2019-03-11  7:39 ` [ruby-core:91764] [Ruby trunk Bug#13834] " hsbt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-66247.20170822061001.e6e548b5b61c3fb9@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).