** Bug watch added: Debian Bug tracker #1064786
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064786

** Also affects: jruby (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064786
   Importance: Unknown
       Status: Unknown

** 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
+ Note: the failure occurs both with Java 21

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054943

Title:
  jruby: mri-extra - flaky TestOpen3  pipe tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/2054943/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to