Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8291760

PipelineLeaksFD.java still fails: More or fewer pipes than expected

    XMLWordPrintable

Details

    • b13
    • x86_64, aarch64
    • linux
    • Verified

    Description

      The following test failed in the JDK20 CI:

      java/lang/ProcessBuilder/PipelineLeaksFD.java

      Here's a snippet from the log file:

      #section:testng
      ----------messages:(4/165)----------
      command: testng PipelineLeaksFD
      reason: User specified action: run testng/othervm PipelineLeaksFD
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 35.384
      ----------configuration:(0/0)----------
      ----------System.out:(44/2744)----------
      test PipelineLeaksFD.checkForLeaks(java.util.ImmutableCollections$List12@1fd37c7a): success
      Missing from pipesAfter: [0]
      Extra pipes in pipesAfter: [1]
      /proc/3140753/fd/17 : pipe:[29162414]
      test PipelineLeaksFD.checkForLeaks(java.util.ImmutableCollections$List12@76a90a33): failure
      java.lang.AssertionError: More or fewer pipes than expected
      at org.testng.Assert.fail(Assert.java:99)
      at PipelineLeaksFD.checkForLeaks(PipelineLeaksFD.java:103)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
      at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
      at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
      at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
      at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
      at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at org.testng.TestRunner.privateRun(TestRunner.java:764)
      at org.testng.TestRunner.run(TestRunner.java:585)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
      at org.testng.SuiteRunner.run(SuiteRunner.java:286)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
      at org.testng.TestNG.runSuites(TestNG.java:1069)
      at org.testng.TestNG.run(TestNG.java:1037)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1589)
      test PipelineLeaksFD.checkForLeaks(java.util.ImmutableCollections$ListN@3407b7c8): success

      ===============================================
      java/lang/ProcessBuilder/PipelineLeaksFD.java
      Total tests run: 3, Passes: 2, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(12/672)----------
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:1589)

      JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
      ----------rerun:(44/6231)*----------


      This failure occurred in jdk-20+9-485-tier6 and the fix for:

      JDK-8290885 java/lang/ProcessBuilder/PipelineLeaksFD.java fail: More or fewer pipes than expected

      is integrated in jdk-20+9-480.

      Attachments

        Issue Links

          Activity

            People

              rriggs Roger Riggs
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: