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

java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java failed with ThreadTimeoutException

XMLWordPrintable

    • x86_64
    • os_x

      The following test failed in the JDK16 CI:

      java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java

      Here's a snippet from the log file:

      launchWithDatagramChannel
      Waiting for the service to connect
      Waiting for the service to report test result
      Cleaning up
      Examine test result
      done

      [2020-10-27T04:18:01.879135Z] Waiting for completion for process 67810
      [2020-10-27T04:18:01.879211Z] Waiting for completion finished for process 67810
      test InheritedChannelTest.test("StateTest run with /mesos/work_dir/jib-master/install/jdk-16+22-1288/src.full/open/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.pass", java.util.ImmutableCollections$ListN@3a3185ab): success
      DYLD_LIBRARY_PATH=/mesos/work_dir/jib-master/install/jdk-16+22-1288/macosx-x64.test/jdk/jtreg/native
      Command line: [/mesos/work_dir/jib-master/install/jdk-16+22-1288/macosx-x64.jdk/jdk-16.jdk/Contents/Home/bin/java -Xmx512m -XX:MaxRAMPercentage=3 -Djava.io.tmpdir=/mesos/work_dir/slaves/47535081-0322-4d83-bb78-f7e11abb86d0-S33394/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/08cf138b-a0be-4cc6-b74f-e0f21704359b/runs/2b96955c-23d9-4cad-a1ac-07a376468668/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp -ea -esa --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED StateTest -expectFail -Djava.security.manager -Djava.security.policy=/mesos/work_dir/jib-master/install/jdk-16+22-1288/src.full/open/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.fail]
      [2020-10-27T04:18:01.892645Z] Gathering output for process 67814
      test InheritedChannelTest.test("StateTest run with /mesos/work_dir/jib-master/install/jdk-16+22-1288/src.full/open/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.fail", java.util.ImmutableCollections$ListN@642816cc): failure
      org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.test() didn't finish within the time-out 30000
      at java.base@16-ea/java.lang.ProcessHandleImpl.destroy0(Native Method)
      at java.base@16-ea/java.lang.ProcessHandleImpl.destroyProcess(ProcessHandleImpl.java:347)
      at java.base@16-ea/java.lang.ProcessImpl.destroy(ProcessImpl.java:477)
      at java.base@16-ea/java.lang.ProcessImpl.destroyForcibly(ProcessImpl.java:530)
      at app//jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:462)
      at app//jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:417)
      at app//jdk.test.lib.process.ProcessTools.executeProcess(ProcessTools.java:404)
      at app//jdk.test.lib.process.ProcessTools.executeCommand(ProcessTools.java:553)
      at app//InheritedChannelTest.test(InheritedChannelTest.java:120)
      at java.base@16-ea/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base@16-ea/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base@16-ea/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base@16-ea/java.lang.reflect.Method.invoke(Method.java:564)
      at app//org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at app//org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
      at app//org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
      at java.base@16-ea/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      at java.base@16-ea/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base@16-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
      at java.base@16-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
      at java.base@16-ea/java.lang.Thread.run(Thread.java:832)

      ===============================================
      java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java
      Total tests run: 7, Failures: 1, Skips: 0
      ===============================================

      executeProcess() failed: java.lang.InterruptedException
      [2020-10-27T04:19:11.089712Z] Waiting for completion for process 67814
      [2020-10-27T04:19:11.089846Z] Waiting for completion finished for process 67814
      ----------System.err:(32/2100)----------

        There are no Sub-Tasks for this issue.

            michaelm Michael McMahon
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: