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

two java/nio/channels/DatagramChannel tests failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 17
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x_10.15

      Description

      The following two tests failed in the JDK17 CI:

      java/nio/channels/DatagramChannel/ManySourcesAndTargets.java
      java/nio/channels/DatagramChannel/InterruptibleOrNot.java

      I'm filing a single bug for these two failures because the test
      executions overlapped in this sighting.

      DatagramChannel/ManySourcesAndTargets.java failed due to a
      timeout and here's a snippet from the log file:

      #section:main
      ----------messages:(8/233)----------
      command: main ManySourcesAndTargets
      reason: User specified action: run main ManySourcesAndTargets
      Mode: agentvm
      Agent id: 10
      Timeout refired 480 times
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 493.26
      ----------configuration:(11/1341)----------
      Boot Layer
        class path: /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar
                    /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar
                    /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/junit.jar
                    /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/testng.jar
        patch: java.base /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/patches/java.base

      Test Layer
        class path: /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/1/java/nio/channels/DatagramChannel/ManySourcesAndTargets.d
                    /Volumes/Mesos/mesos/work_dir/jib-master/install/jdk-17+16-1275/src.full/open/test/jdk/java/nio/channels/DatagramChannel

      ----------rerun:(30/5101)*----------

      <snip>

      ----------System.out:(71/5120)----------

      -- 2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0 --
      send /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139 -> /[2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0]:50138
      received datagram from /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139
      send /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139 -> /[2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0]:50138
      received datagram from /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139
      send /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139 -> /[2606:b400:418:3240:84ba:88c8:33c5:f9b9%en0]:50138
      received datagram from /[2606:b400:418:3240:84ba:88c8:33c5:f9b9]:50139

      <snip>

      -- fe80:0:0:0:1097:6f27:df0d:95e8%en0 --
      send /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148 -> /[fe80:0:0:0:1097:6f27:df0d:95e8%en0]:50138
      received datagram from /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148
      send /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148 -> /[fe80:0:0:0:1097:6f27:df0d:95e8%en0]:50138
      received datagram from /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148
      send /[fe80:0:0:0:1097:6f27:df0d:95e8%4]:50148 -> /[fe80:0:0:0:1097:6f27:df0d:95e8%e
      result: Error. Agent error: java.lang.Exception: Agent 10 timed out with a timeout of 480 seconds; check console log for any additional details


      DatagramChannel/InterruptibleOrNot.java failed because an
      exception wasn't thrown as quickly as expected. Here's a snippet
      from the log file:

      #section:testng
      ----------messages:(6/228)----------
      command: testng InterruptibleOrNot
      reason: User specified action: run testng InterruptibleOrNot
      Mode: agentvm
      Agent id: 16
      Additional exports to unnamed modules from @modules: java.base/sun.nio.ch
      elapsed time (seconds): 7.714
      ----------configuration:(12/1390)----------
      Boot Layer
        class path: /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar
                    /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar
                    /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/junit.jar
                    /Volumes/Mesos/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/testng.jar
        patch: java.base /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/patches/java.base

      Test Layer
        add exports: java.base/sun.nio.ch ALL-UNNAMED
        class path: /Volumes/Mesos/mesos/work_dir/slaves/28992c6d-c35d-42fa-8099-898223bf183b-S46754/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/65971c20-9e15-4e9b-8872-4febc7de64ed/runs/229b9715-25f2-48c9-ab82-b51da9801be5/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/DatagramChannel/InterruptibleOrNot.d
                     /Volumes/Mesos/mesos/work_dir/jib-master/install/jdk-17+16-1275/src.full/open/test/jdk/java/nio/channels/DatagramChannel

      ----------rerun:(31/5345)*----------

      <snip>

      ----------System.out:(48/3129)----------
      [TestNG] Running:
        java/nio/channels/DatagramChannel/InterruptibleOrNot.java

      test InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(): success
      test InterruptibleOrNot.testInterruptBeforeInterruptibleSend(): success
      test InterruptibleOrNot.testInterruptBeforeUninterruptibleReceive(): failure
      java.lang.AssertionError: Expected AsynchronousCloseException to be thrown, but nothing was thrown
      at org.testng.Assert.expectThrows(Assert.java:1018)
      at org.testng.Assert.assertThrows(Assert.java:989)
      at InterruptibleOrNot.testInterruptBeforeReceive(InterruptibleOrNot.java:91)
      at InterruptibleOrNot.testInterruptBeforeUninterruptibleReceive(InterruptibleOrNot.java:64)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:831)
      test InterruptibleOrNot.testInterruptBeforeUninterruptibleSend(): success
      test InterruptibleOrNot.testInterruptDuringInterruptibleReceive(): success
      test InterruptibleOrNot.testInterruptDuringUninterruptibleReceive(): success

      ===============================================
      java/nio/channels/DatagramChannel/InterruptibleOrNot.java
      Total tests run: 6, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(12/714)----------
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:831)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: