[Bug 2054943] [NEW] jruby: mri-extra - flaky TestOpen3 pipe tests
Vladimir Petko
2054943 at bugs.launchpad.net
Sun Feb 25 21:45:46 UTC 2024
Public bug reported:
The autopkgtests for jruby fail `mri-extra` with the following errors:
1) Failure:
TestOpen3#test_pipeline_start [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:303]:
Failed assertion, no message given.
2) Failure:
TestOpen3#test_pipeline_w [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:288]:
<true> expected but was
<false>.
3) Failure:
TestOpen3#test_capture3_flip [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:190]:
The minimal reproducer of those:
----
require 'open3'
RUBY = 'jruby'
Open3.pipeline_r([RUBY, '-e', 'print "1"'],
[RUBY, '-e', 'print STDIN.read + "2"']) {|o,ts|
print(o.read)
}
---
executing the above sample results in the following output:
# jruby test.rb
12# jruby test.rb
12# jruby test.rb
12# jruby test.rb
12# jruby test.rb
2# jruby test.rb
12# jruby test.rb
2# jruby test.rb
12# jruby test.rb
2# jruby test.rb
2# jruby test.rb
2# jruby test.rb
2# jruby test.rb
12# jruby test.rb
12# jruby test.rb
2Errno::EPIPE: Broken pipe - <STDOUT>
write at org/jruby/RubyIO.java:1569
write at org/jruby/RubyIO.java:1458
write at org/jruby/RubyIO.java:2829
print at org/jruby/RubyIO.java:1831
print at org/jruby/RubyKernel.java:649
<main> at -e:1
Note: the failure occurs both with Java 17 and Java 21
** Affects: java-common (Ubuntu)
Importance: Undecided
Status: New
** Affects: jruby (Ubuntu)
Importance: Undecided
Status: New
** Tags: update-excuse
** Description changed:
- The autopkgtests for jruby fail with the following errors:
+ The autopkgtests for jruby fail `mri-extra` with the following errors:
-
- 1) Failure:
+ 1) Failure:
TestOpen3#test_pipeline_start [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:303]:
Failed assertion, no message given.
- 2) Failure:
+ 2) Failure:
TestOpen3#test_pipeline_w [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:288]:
<true> expected but was
<false>.
- 3) Failure:
+ 3) Failure:
TestOpen3#test_capture3_flip [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:190]:
The minimal reproducer of those:
----
require 'open3'
RUBY = 'jruby'
Open3.pipeline_r([RUBY, '-e', 'print "1"'],
- [RUBY, '-e', 'print STDIN.read + "2"']) {|o,ts|
- print(o.read)
- }
+ [RUBY, '-e', 'print STDIN.read + "2"']) {|o,ts|
+ print(o.read)
+ }
---
executing the above sample results in the following output:
- # jruby test.rb
- 12# jruby test.rb
- 12# jruby test.rb
- 12# jruby test.rb
- 12# jruby test.rb
- 2# jruby test.rb
- 12# jruby test.rb
- 2# jruby test.rb
- 12# jruby test.rb
- 2# jruby test.rb
- 2# jruby test.rb
- 2# jruby test.rb
- 2# jruby test.rb
- 12# jruby test.rb
- 12# jruby test.rb
+ # jruby test.rb
+ 12# jruby test.rb
+ 12# jruby test.rb
+ 12# jruby test.rb
+ 12# jruby test.rb
+ 2# jruby test.rb
+ 12# jruby test.rb
+ 2# jruby test.rb
+ 12# jruby test.rb
+ 2# jruby test.rb
+ 2# jruby test.rb
+ 2# jruby test.rb
+ 2# jruby test.rb
+ 12# jruby test.rb
+ 12# jruby test.rb
2Errno::EPIPE: Broken pipe - <STDOUT>
- write at org/jruby/RubyIO.java:1569
- write at org/jruby/RubyIO.java:1458
- write at org/jruby/RubyIO.java:2829
- print at org/jruby/RubyIO.java:1831
- print at org/jruby/RubyKernel.java:649
- <main> at -e:1
+ write at org/jruby/RubyIO.java:1569
+ write at org/jruby/RubyIO.java:1458
+ write at org/jruby/RubyIO.java:2829
+ print at org/jruby/RubyIO.java:1831
+ print at org/jruby/RubyKernel.java:649
+ <main> at -e:1
** Also affects: java-common (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- flaky jruby TestOpen3 pipe tests
+ jruby: mri-extra - flaky TestOpen3 pipe tests
** Tags added: update-excusse
** Tags removed: update-excusse
** Tags added: update-excuse
** Description changed:
The autopkgtests for jruby fail `mri-extra` with the following errors:
1) Failure:
TestOpen3#test_pipeline_start [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:303]:
Failed assertion, no message given.
2) Failure:
TestOpen3#test_pipeline_w [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:288]:
<true> expected but was
<false>.
3) Failure:
TestOpen3#test_capture3_flip [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:190]:
The minimal reproducer of those:
----
require 'open3'
RUBY = 'jruby'
Open3.pipeline_r([RUBY, '-e', 'print "1"'],
[RUBY, '-e', 'print STDIN.read + "2"']) {|o,ts|
print(o.read)
}
---
executing the above sample results in the following output:
# jruby test.rb
12# jruby test.rb
12# jruby test.rb
12# jruby test.rb
12# jruby test.rb
2# jruby test.rb
12# jruby test.rb
2# jruby test.rb
12# jruby test.rb
2# jruby test.rb
2# jruby test.rb
2# jruby test.rb
2# jruby test.rb
12# jruby test.rb
12# jruby test.rb
2Errno::EPIPE: Broken pipe - <STDOUT>
write at org/jruby/RubyIO.java:1569
write at org/jruby/RubyIO.java:1458
write at org/jruby/RubyIO.java:2829
print at org/jruby/RubyIO.java:1831
print at org/jruby/RubyKernel.java:649
<main> at -e:1
+
+ Note: the failure occurs both with Java 17 and Java 21
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to java-common in Ubuntu.
https://bugs.launchpad.net/bugs/2054943
Title:
jruby: mri-extra - flaky TestOpen3 pipe tests
Status in java-common package in Ubuntu:
New
Status in jruby package in Ubuntu:
New
Bug description:
The autopkgtests for jruby fail `mri-extra` with the following
errors:
1) Failure:
TestOpen3#test_pipeline_start [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:303]:
Failed assertion, no message given.
2) Failure:
TestOpen3#test_pipeline_w [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:288]:
<true> expected but was
<false>.
3) Failure:
TestOpen3#test_capture3_flip [/tmp/autopkgtest.Dz4xQk/autopkgtest_tmp/test/mri/test_open3.rb:190]:
The minimal reproducer of those:
----
require 'open3'
RUBY = 'jruby'
Open3.pipeline_r([RUBY, '-e', 'print "1"'],
[RUBY, '-e', 'print STDIN.read + "2"']) {|o,ts|
print(o.read)
}
---
executing the above sample results in the following output:
# jruby test.rb
12# jruby test.rb
12# jruby test.rb
12# jruby test.rb
12# jruby test.rb
2# jruby test.rb
12# jruby test.rb
2# jruby test.rb
12# jruby test.rb
2# jruby test.rb
2# jruby test.rb
2# jruby test.rb
2# jruby test.rb
12# jruby test.rb
12# jruby test.rb
2Errno::EPIPE: Broken pipe - <STDOUT>
write at org/jruby/RubyIO.java:1569
write at org/jruby/RubyIO.java:1458
write at org/jruby/RubyIO.java:2829
print at org/jruby/RubyIO.java:1831
print at org/jruby/RubyKernel.java:649
<main> at -e:1
Note: the failure occurs both with Java 17 and Java 21
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/2054943/+subscriptions
More information about the foundations-bugs
mailing list