ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50729] [Ruby trunk Bug#15465] Tests failed on i386-cygwin
       [not found] <redmine.issue-15465.20181225160704@ruby-lang.org>
@ 2018-12-25 16:07 ` booleanlabel
  2018-12-26  2:27 ` [ruby-dev:50730] [Ruby trunk Bug#15465][Feedback] " mame
  2019-01-09  7:55 ` [ruby-dev:50754] [Ruby trunk Bug#15465] " booleanlabel
  2 siblings, 0 replies; 3+ messages in thread
From: booleanlabel @ 2018-12-25 16:07 UTC (permalink / raw)
  To: ruby-dev

Issue #15465 has been reported by fd0 (Daisuke Fujimura).

----------------------------------------
Bug #15465: Tests failed on i386-cygwin
https://bugs.ruby-lang.org/issues/15465

* Author: fd0 (Daisuke Fujimura)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [i386-cygwin]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Several tests failed on i386-cygwin

Steps:
~~~
$ ./configure
$ make
$ make test |& tee test.log
~~~

Failed tests:
~~~
$ grep # test.log
#651 test_io.rb:87:in `block in <top (required)>':
       #File.open("megasrc", "w") {|f| f << megacontent }
  #=> killed by SIGKILL (signal 9) (timeout)  megacontent-copy_stream
#920 test_massign.rb:165:in `<top (required)>': core dumped  [ruby-dev:32581]
#1376 test_thread.rb:301:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1377 test_thread.rb:305:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1378 test_thread.rb:310:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1379 test_thread.rb:315:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1380 test_thread.rb:320:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1381 test_thread.rb:325:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1382 test_thread.rb:330:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
~~~



---Files--------------------------------
test.log (14.5 KB)


-- 
https://bugs.ruby-lang.org/

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

* [ruby-dev:50730] [Ruby trunk Bug#15465][Feedback] Tests failed on i386-cygwin
       [not found] <redmine.issue-15465.20181225160704@ruby-lang.org>
  2018-12-25 16:07 ` [ruby-dev:50729] [Ruby trunk Bug#15465] Tests failed on i386-cygwin booleanlabel
@ 2018-12-26  2:27 ` mame
  2019-01-09  7:55 ` [ruby-dev:50754] [Ruby trunk Bug#15465] " booleanlabel
  2 siblings, 0 replies; 3+ messages in thread
From: mame @ 2018-12-26  2:27 UTC (permalink / raw)
  To: ruby-dev

Issue #15465 has been updated by mame (Yusuke Endoh).

Status changed from Open to Feedback

As far as I know, there is no active Ruby maintainer for cygwin environment.  And there is [no CI for cygwin](https://rubyci.org/).  Contribution is welcome.

----------------------------------------
Bug #15465: Tests failed on i386-cygwin
https://bugs.ruby-lang.org/issues/15465#change-75903

* Author: fd0 (Daisuke Fujimura)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [i386-cygwin]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Several tests failed on i386-cygwin

Steps:
~~~
$ ./configure
$ make
$ make test |& tee test.log
~~~

Failed tests:
~~~
$ grep # test.log
#651 test_io.rb:87:in `block in <top (required)>':
       #File.open("megasrc", "w") {|f| f << megacontent }
  #=> killed by SIGKILL (signal 9) (timeout)  megacontent-copy_stream
#920 test_massign.rb:165:in `<top (required)>': core dumped  [ruby-dev:32581]
#1376 test_thread.rb:301:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1377 test_thread.rb:305:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1378 test_thread.rb:310:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1379 test_thread.rb:315:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1380 test_thread.rb:320:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1381 test_thread.rb:325:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1382 test_thread.rb:330:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
~~~



---Files--------------------------------
test.log (14.5 KB)


-- 
https://bugs.ruby-lang.org/

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

* [ruby-dev:50754] [Ruby trunk Bug#15465] Tests failed on i386-cygwin
       [not found] <redmine.issue-15465.20181225160704@ruby-lang.org>
  2018-12-25 16:07 ` [ruby-dev:50729] [Ruby trunk Bug#15465] Tests failed on i386-cygwin booleanlabel
  2018-12-26  2:27 ` [ruby-dev:50730] [Ruby trunk Bug#15465][Feedback] " mame
@ 2019-01-09  7:55 ` booleanlabel
  2 siblings, 0 replies; 3+ messages in thread
From: booleanlabel @ 2019-01-09  7:55 UTC (permalink / raw)
  To: ruby-dev

Issue #15465 has been updated by fd0 (Daisuke Fujimura).


In case of `make btest`,  test_massign.rb and test_thread.rb succeeded.

The cause of failures is environment variable `RUBY_FIBER_MACHINE_STACK_SIZE=1` in tools/runruby.rb.

The workaround (not beautiful) is as follows:

```diff
--- origsrc/ruby-2.6.0/tool/runruby.rb  2018-07-10 02:49:21.000000000 +0900
+++ src/ruby-2.6.0/tool/runruby.rb      2019-01-09 16:39:30.366472100 +0900
@@ -99,6 +99,7 @@ env = {
   'RUBY_THREAD_MACHINE_STACK_SIZE' => '1',
   'RUBY_FIBER_MACHINE_STACK_SIZE' => '1',
 }
+env = {} if /i386-cygwin/ =~ RUBY_PLATFORM

 runner = File.join(abs_archdir, "exe/ruby#{config['EXEEXT']}")
 runner = nil unless File.exist?(runner)
```

----------------------------------------
Bug #15465: Tests failed on i386-cygwin
https://bugs.ruby-lang.org/issues/15465#change-76141

* Author: fd0 (Daisuke Fujimura)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [i386-cygwin]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Several tests failed on i386-cygwin

Steps:
~~~
$ ./configure
$ make
$ make test |& tee test.log
~~~

Failed tests:
~~~
$ grep # test.log
#651 test_io.rb:87:in `block in <top (required)>':
       #File.open("megasrc", "w") {|f| f << megacontent }
  #=> killed by SIGKILL (signal 9) (timeout)  megacontent-copy_stream
#920 test_massign.rb:165:in `<top (required)>': core dumped  [ruby-dev:32581]
#1376 test_thread.rb:301:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1377 test_thread.rb:305:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1378 test_thread.rb:310:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1379 test_thread.rb:315:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1380 test_thread.rb:320:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1381 test_thread.rb:325:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
#1382 test_thread.rb:330:in `<top (required)>':
  #=> killed by SIGIOT (signal 6)
~~~



---Files--------------------------------
test.log (14.5 KB)


-- 
https://bugs.ruby-lang.org/

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

end of thread, other threads:[~2019-01-09  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-15465.20181225160704@ruby-lang.org>
2018-12-25 16:07 ` [ruby-dev:50729] [Ruby trunk Bug#15465] Tests failed on i386-cygwin booleanlabel
2018-12-26  2:27 ` [ruby-dev:50730] [Ruby trunk Bug#15465][Feedback] " mame
2019-01-09  7:55 ` [ruby-dev:50754] [Ruby trunk Bug#15465] " booleanlabel

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