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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b04
    • OS:
      linux

      Backports

        Description

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

        observed this test failed intermittently:

        ----------System.out:(75/6174)----------
        [TestNG] Running:
          java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java

        LD_LIBRARY_PATH=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.test/jdk/jtreg/native
        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.jdk/jdk-12/bin/java -XX:MaxRAMPercentage=8 -ea -esa -Xmx512m --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED StateTest]
        All tests passed.

        test InheritedChannelTest.test("StateTest", [StateTest]): success
        LD_LIBRARY_PATH=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.test/jdk/jtreg/native
        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.jdk/jdk-12/bin/java -XX:MaxRAMPercentage=8 -ea -esa -Xmx512m --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED EchoTest]
        TCP echo test passed.
        java.net.SocketTimeoutException
        at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:196)
        at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:210)
        at EchoTest.UDPEchoTest(EchoTest.java:148)
        at EchoTest.main(EchoTest.java:170)
        java.net.SocketTimeoutException
        Exception in thread "main" java.lang.RuntimeException: Test failed - see log for details
        at EchoTest.main(EchoTest.java:179)

        test InheritedChannelTest.test("EchoTest", [EchoTest]): failure
        java.lang.RuntimeException: Expected to get exit value of [0]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
        at InheritedChannelTest.test(InheritedChannelTest.java:116)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        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 com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:834)
        LD_LIBRARY_PATH=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.test/jdk/jtreg/native
        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.jdk/jdk-12/bin/java -XX:MaxRAMPercentage=8 -ea -esa -Xmx512m --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED CloseTest]
        Test passed - service closed connection.

        test InheritedChannelTest.test("CloseTest", [CloseTest]): success
        LD_LIBRARY_PATH=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.test/jdk/jtreg/native
        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.jdk/jdk-12/bin/java -XX:MaxRAMPercentage=8 -ea -esa -Xmx512m --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED StateTest -Djava.security.manager -Djava.security.policy=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/src.full/open/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.pass]
        All tests passed.

        test InheritedChannelTest.test("StateTest run with /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/src.full/open/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.pass", java.util.ImmutableCollections$ListN@b6e596e): success
        LD_LIBRARY_PATH=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.test/jdk/jtreg/native
        Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/linux-x64.jdk/jdk-12/bin/java -XX:MaxRAMPercentage=8 -ea -esa -Xmx512m --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=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/src.full/open/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.fail]
        All tests passed.

        test InheritedChannelTest.test("StateTest run with /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.66/src.full/open/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.fail", java.util.ImmutableCollections$ListN@26cc06a5): success

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

        ----------System.err:(27/1366)----------
         stdout: [TCP echo test passed.
        ];
         stderr: [java.net.SocketTimeoutException
        at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:196)
        at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:210)
        at EchoTest.UDPEchoTest(EchoTest.java:148)
        at EchoTest.main(EchoTest.java:170)
        java.net.SocketTimeoutException
        Exception in thread "main" java.lang.RuntimeException: Test failed - see log for details
        at EchoTest.main(EchoTest.java:179)
        ]
         exitValue = 1

        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.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:834)

        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

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mli Hamlin Li
                Reporter:
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: