TEST: java/net/DatagramSocket/DatagramTimeout.java TEST JDK: /var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 22.881 seconds messages: command: build DatagramTimeout reason: Named class compiled on demand started: Thu Aug 15 06:25:14 CST 2024 Test directory: compile: DatagramTimeout finished: Thu Aug 15 06:25:37 CST 2024 elapsed time (seconds): 22.881 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 22.881 seconds messages: command: compile /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket/DatagramTimeout.java reason: .class file out of date or does not exist started: Thu Aug 15 06:25:14 CST 2024 Mode: othervm finished: Thu Aug 15 06:25:37 CST 2024 elapsed time (seconds): 22.881 configuration: javac compilation environment source path: /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket class path: /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d /var/tmp/tone/run/jtreg/jtreg/lib/testng-7.3.0.jar /var/tmp/tone/run/jtreg/jtreg/lib/guice-5.1.0.jar /var/tmp/tone/run/jtreg/jtreg/lib/jcommander-1.82.jar rerun: cd /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/java/net/DatagramSocket/DatagramTimeout && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/var/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/var/tmp/tone/run/jtreg/test-images \ /var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/javac \ -J-Djdk.lang.processReaperUseDefaultStackSize=true \ -J-Dtest.wisp.socketAddress=www.alibabacloud.com \ -J-Xcomp \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xcomp -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xcomp -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dcompile.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.name=java/net/DatagramSocket/DatagramTimeout.java \ -J-Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket/DatagramTimeout.java \ -J-Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket \ -J-Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket \ -J-Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d \ -J-Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d \ -d /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d \ -sourcepath /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket \ -classpath /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d:/var/tmp/tone/run/jtreg/jtreg/lib/testng-7.3.0.jar:/var/tmp/tone/run/jtreg/jtreg/lib/guice-5.1.0.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jcommander-1.82.jar /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket/DatagramTimeout.java STDOUT: STDERR: ACTION: testng -- Error. Program `/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 480245ms). REASON: User specified action: run testng DatagramTimeout TIME: 480.246 seconds messages: command: testng DatagramTimeout reason: User specified action: run testng DatagramTimeout started: Thu Aug 15 06:25:37 CST 2024 Mode: othervm Timeout information: Running jstack on process 1766276 2024-08-15 06:33:38 Full thread dump OpenJDK 64-Bit Server VM (24 compiled mode, sharing): Threads class SMR info: _java_thread_list=0x0000ffff100023f0, length=12, elements={ 0x0000ffff8802b330, 0x0000ffff88155190, 0x0000ffff88156790, 0x0000ffff881580d0, 0x0000ffff88159730, 0x0000ffff8815acf0, 0x0000ffff8815c7a0, 0x0000ffff88165ec0, 0x0000ffff881737d0, 0x0000ffff88174d60, 0x0000ffff881b3670, 0x0000ffff10000ec0 } "main" #1 [1766279] prio=5 os_prio=0 cpu=109.82ms elapsed=480.22s tid=0x0000ffff8802b330 nid=1766279 in Object.wait() [0x0000ffff8fe4e000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait0(java.base@24/Native Method) - waiting on at java.lang.Object.wait(java.base@24/Object.java:378) at java.lang.Thread.join(java.base@24/Thread.java:2017) - locked <0x000000011a091f78> (a java.lang.Thread) at java.lang.Thread.join(java.base@24/Thread.java:2093) at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:85) "Reference Handler" #9 [1766291] daemon prio=10 os_prio=0 cpu=0.26ms elapsed=480.20s tid=0x0000ffff88155190 nid=1766291 waiting on condition [0x0000ffff49141000] java.lang.Thread.State: RUNNABLE at java.lang.ref.Reference.waitForReferencePendingList(java.base@24/Native Method) at java.lang.ref.Reference.processPendingReferences(java.base@24/Reference.java:246) at java.lang.ref.Reference$ReferenceHandler.run(java.base@24/Reference.java:208) "Finalizer" #10 [1766292] daemon prio=8 os_prio=0 cpu=0.15ms elapsed=480.20s tid=0x0000ffff88156790 nid=1766292 in Object.wait() [0x0000ffff48f42000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait0(java.base@24/Native Method) - waiting on <0x000000011a002480> (a java.lang.ref.NativeReferenceQueue$Lock) at java.lang.Object.wait(java.base@24/Object.java:378) at java.lang.Object.wait(java.base@24/Object.java:352) at java.lang.ref.NativeReferenceQueue.await(java.base@24/NativeReferenceQueue.java:48) at java.lang.ref.ReferenceQueue.remove0(java.base@24/ReferenceQueue.java:166) at java.lang.ref.NativeReferenceQueue.remove(java.base@24/NativeReferenceQueue.java:89) - locked <0x000000011a002480> (a java.lang.ref.NativeReferenceQueue$Lock) at java.lang.ref.Finalizer$FinalizerThread.run(java.base@24/Finalizer.java:173) "Signal Dispatcher" #11 [1766293] daemon prio=9 os_prio=0 cpu=0.28ms elapsed=480.20s tid=0x0000ffff881580d0 nid=1766293 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Service Thread" #12 [1766294] daemon prio=9 os_prio=0 cpu=6.20ms elapsed=480.20s tid=0x0000ffff88159730 nid=1766294 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Monitor Deflation Thread" #13 [1766296] daemon prio=9 os_prio=0 cpu=22.16ms elapsed=480.20s tid=0x0000ffff8815acf0 nid=1766296 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C2 CompilerThread0" #14 [1766297] daemon prio=9 os_prio=0 cpu=9988.07ms elapsed=480.20s tid=0x0000ffff8815c7a0 nid=1766297 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE No compile task "C1 CompilerThread0" #24 [1766299] daemon prio=9 os_prio=0 cpu=2320.44ms elapsed=480.20s tid=0x0000ffff88165ec0 nid=1766299 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE No compile task "Notification Thread" #29 [1766334] daemon prio=9 os_prio=0 cpu=0.08ms elapsed=479.65s tid=0x0000ffff881737d0 nid=1766334 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Common-Cleaner" #30 [1766336] daemon prio=8 os_prio=0 cpu=3.03ms elapsed=479.37s tid=0x0000ffff88174d60 nid=1766336 waiting on condition [0x0000ffff1aace000] java.lang.Thread.State: TIMED_WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@24/Native Method) - parking to wait for <0x000000011a015d78> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(java.base@24/LockSupport.java:271) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@24/AbstractQueuedSynchronizer.java:1857) at java.lang.ref.ReferenceQueue.await(java.base@24/ReferenceQueue.java:79) at java.lang.ref.ReferenceQueue.remove0(java.base@24/ReferenceQueue.java:151) at java.lang.ref.ReferenceQueue.remove(java.base@24/ReferenceQueue.java:229) at jdk.internal.ref.CleanerImpl.run(java.base@24/CleanerImpl.java:140) at java.lang.Thread.runWith(java.base@24/Thread.java:1588) at java.lang.Thread.run(java.base@24/Thread.java:1575) at jdk.internal.misc.InnocuousThread.run(java.base@24/InnocuousThread.java:186) "MainThread" #31 [1766342] prio=5 os_prio=0 cpu=569.36ms elapsed=477.92s tid=0x0000ffff881b3670 nid=1766342 runnable [0x0000ffff1a8cd000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.Net.poll(java.base@24/Native Method) at sun.nio.ch.DatagramChannelImpl.park(java.base@24/DatagramChannelImpl.java:511) at sun.nio.ch.SelChImpl.park(java.base@24/SelChImpl.java:116) at sun.nio.ch.DatagramChannelImpl.tryBlockingReceive(java.base@24/DatagramChannelImpl.java:767) at sun.nio.ch.DatagramChannelImpl.blockingReceive(java.base@24/DatagramChannelImpl.java:694) at sun.nio.ch.DatagramSocketAdaptor.receive(java.base@24/DatagramSocketAdaptor.java:204) at java.net.DatagramSocket.receive(java.base@24/DatagramSocket.java:718) at DatagramTimeout.lambda$testSetTimeout$1(DatagramTimeout.java:83) at DatagramTimeout$$Lambda/0x000000f00103b568.run(Unknown Source) at org.testng.Assert.expectThrows(Assert.java:1714) at org.testng.Assert.assertThrows(Assert.java:1695) at DatagramTimeout.testSetTimeout(DatagramTimeout.java:83) at java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(java.base@24/DirectMethodHandle$Holder) at java.lang.invoke.LambdaForm$MH/0x000000f00103c800.invoke(java.base@24/LambdaForm$MH) at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@24/Invokers$Holder) at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@24/DirectMethodHandleAccessor.java:154) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@24/DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke(java.base@24/Method.java:588) 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 org.testng.TestRunner$$Lambda/0x000000f0010366b0.accept(Unknown Source) at java.util.ArrayList.forEach(java.base@24/ArrayList.java:1597) 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:102) at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58) at java.lang.invoke.LambdaForm$DMH/0x000000f001002000.invokeStatic(java.base@24/LambdaForm$DMH) at java.lang.invoke.LambdaForm$MH/0x000000f001003400.invoke(java.base@24/LambdaForm$MH) at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@24/Invokers$Holder) at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@24/DirectMethodHandleAccessor.java:154) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@24/DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke(java.base@24/Method.java:588) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.lang.Thread.runWith(java.base@24/Thread.java:1588) at java.lang.Thread.run(java.base@24/Thread.java:1575) "Attach Listener" #32 [1777384] daemon prio=9 os_prio=0 cpu=0.20ms elapsed=0.10s tid=0x0000ffff10000ec0 nid=1777384 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "VM Thread" os_prio=0 cpu=6.01ms elapsed=480.21s tid=0x0000ffff8814b820 nid=1766289 runnable "VM Periodic Task Thread" os_prio=0 cpu=129.67ms elapsed=480.21s tid=0x0000ffff88138ef0 nid=1766286 waiting on condition "G1 Service" os_prio=0 cpu=10.04ms elapsed=480.22s tid=0x0000ffff88120820 nid=1766284 runnable "G1 Refine#0" os_prio=0 cpu=0.09ms elapsed=480.22s tid=0x0000ffff8811f850 nid=1766283 runnable "G1 Conc#0" os_prio=0 cpu=0.06ms elapsed=480.22s tid=0x0000ffff8806cfd0 nid=1766282 runnable "G1 Main Marker" os_prio=0 cpu=0.07ms elapsed=480.22s tid=0x0000ffff8806bfe0 nid=1766281 runnable "GC Thread#0" os_prio=0 cpu=0.08ms elapsed=480.22s tid=0x0000ffff88058390 nid=1766280 runnable JNI global refs: 26, weak refs: 0 --- Timeout information end. finished: Thu Aug 15 06:33:38 CST 2024 elapsed time (seconds): 480.246 configuration: STDOUT: config DatagramTimeout.setUp(): success test DatagramTimeout.testGetTimeout(java.net.DatagramSocket@20c803ca): success test DatagramTimeout.testGetTimeout(sun.nio.ch.DatagramSocketAdaptor@573b88ae): success test DatagramTimeout.testGetTimeout(java.net.MulticastSocket@7fefa971): success test DatagramTimeout.testSetGetAfterClose(): success test DatagramTimeout.testSetNegTimeout(java.net.DatagramSocket@20c803ca): success test DatagramTimeout.testSetNegTimeout(sun.nio.ch.DatagramSocketAdaptor@573b88ae): success test DatagramTimeout.testSetNegTimeout(java.net.MulticastSocket@7fefa971): success Timeout signalled after 480 seconds STDERR: rerun: cd /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/java/net/DatagramSocket/DatagramTimeout && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/var/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/var/tmp/tone/run/jtreg/test-images \ CLASSPATH=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d:/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket:/var/tmp/tone/run/jtreg/jtreg/lib/testng-7.3.0.jar:/var/tmp/tone/run/jtreg/jtreg/lib/guice-5.1.0.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jcommander-1.82.jar:/var/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/var/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xcomp -ea -esa' \ -Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xcomp -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dcompile.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.name=java/net/DatagramSocket/DatagramTimeout.java \ -Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket/DatagramTimeout.java \ -Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket \ -Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/java/net/DatagramSocket \ -Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d \ -Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/java/net/DatagramSocket/DatagramTimeout.d \ -Djdk.lang.processReaperUseDefaultStackSize=true \ -Dtest.wisp.socketAddress=www.alibabacloud.com \ -Xcomp \ -ea \ -esa \ -Djava.library.path=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/java/net/DatagramSocket/DatagramTimeout.d/testng.0.jta java/net/DatagramSocket/DatagramTimeout.java false DatagramTimeout TEST RESULT: Error. Program `/var/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 480245ms).