ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:82438] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
       [not found] <redmine.issue-13834.20170822060609@ruby-lang.org>
@ 2017-08-22  6:06 ` v.ondruch
  2017-08-22  6:10 ` [ruby-core:82439] " v.ondruch
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: v.ondruch @ 2017-08-22  6:06 UTC (permalink / raw)
  To: ruby-core

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 : #<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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:82439] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
       [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
  2017-08-22 10:35 ` [ruby-core:82445] " shevegen
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: v.ondruch @ 2017-08-22  6:10 UTC (permalink / raw)
  To: 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 : #<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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:82445] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
       [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 ` [ruby-core:82439] " v.ondruch
@ 2017-08-22 10:35 ` shevegen
  2017-08-22 10:40 ` [ruby-core:82446] " v.ondruch
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: shevegen @ 2017-08-22 10:35 UTC (permalink / raw)
  To: ruby-core

Issue #13834 has been updated by shevegen (Robert A. Heiler).


I think the github "ticket" is not as useful as the issue track here; I may mistakingly remember
but I think that some of the ruby core team said so. Where github may help of course are 
patches and pull requests attached to.

The error "No such file or directory - getcwd (Errno::ENOENT)" may have come from some operation
removing a directory so perhaps the logic in the build-up chain is incorrect. BTW I also see
this on ruby-gnome sometimes, with paths such as "/home/hsbt/chkbuild/tmp/build/" (or ruby-gnome,
it's kou though, not hsbt) - is this general that this path information is included somewhere? It
may be easier to instead use some ENV variable or something, since it is strange that other users
get to see such paths in general. (I just noticed it in ruby-gnome a while ago, now I notice it
here.)

----------------------------------------
Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
https://bugs.ruby-lang.org/issues/13834#change-66256

* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:82446] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
       [not found] <redmine.issue-13834.20170822060609@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2017-08-22 10:35 ` [ruby-core:82445] " shevegen
@ 2017-08-22 10:40 ` v.ondruch
  2017-09-21  9:23 ` [ruby-core:82916] " v.ondruch
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: v.ondruch @ 2017-08-22 10:40 UTC (permalink / raw)
  To: ruby-core

Issue #13834 has been updated by vo.x (Vit Ondruch).


So far, I think the test never reaches this [1] line for some reason. Or if it reaches it, it is not executed properly. Then the temporary directory is cleaned up and the test suite starts to fail.

[1]: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/test_case.rb#L391

----------------------------------------
Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
https://bugs.ruby-lang.org/issues/13834#change-66257

* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:82916] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
       [not found] <redmine.issue-13834.20170822060609@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2017-08-22 10:40 ` [ruby-core:82446] " v.ondruch
@ 2017-09-21  9:23 ` 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
  6 siblings, 0 replies; 7+ messages in thread
From: v.ondruch @ 2017-09-21  9:23 UTC (permalink / raw)
  To: ruby-core

Issue #13834 has been updated by vo.x (Vit Ondruch).


Another instance of this bug:

http://rubyci.s3.amazonaws.com/fedora26/ruby-trunk/log/20170919T063002Z.log.html.gz

----------------------------------------
Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
https://bugs.ruby-lang.org/issues/13834#change-66815

* 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:88112] [Ruby trunk Bug#13834][Assigned] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
       [not found] <redmine.issue-13834.20170822060609@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2017-09-21  9:23 ` [ruby-core:82916] " v.ondruch
@ 2018-07-26  2:12 ` hsbt
  2019-03-11  7:39 ` [ruby-core:91764] [Ruby trunk Bug#13834] " hsbt
  6 siblings, 0 replies; 7+ messages in thread
From: hsbt @ 2018-07-26  2:12 UTC (permalink / raw)
  To: 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 : #<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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:91764] [Ruby trunk Bug#13834] RubyGems test suite occasionally changes working directory and breaks the rest of test suite
       [not found] <redmine.issue-13834.20170822060609@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2018-07-26  2:12 ` [ruby-core:88112] [Ruby trunk Bug#13834][Assigned] " hsbt
@ 2019-03-11  7:39 ` hsbt
  6 siblings, 0 replies; 7+ messages in thread
From: hsbt @ 2019-03-11  7:39 UTC (permalink / raw)
  To: ruby-core

Issue #13834 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Assigned to Feedback

@vo.x 

Do you still have this issue? I couldn't reproduce this on Fedora 27 and 28 of RubyCI.

----------------------------------------
Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
https://bugs.ruby-lang.org/issues/13834#change-77040

* Author: vo.x (Vit Ondruch)
* Status: Feedback
* 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 : #<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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-11  7:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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 ` [ruby-core:82439] " v.ondruch
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

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).