TEST: jdk/jfr/jvm/TestChunkIntegrity.java TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 6.92 seconds messages: command: build jdk.jfr.jvm.TestChunkIntegrity reason: Named class compiled on demand started: Thu Dec 12 22:22:34 CST 2024 Test directory: compile: jdk.jfr.jvm.TestChunkIntegrity finished: Thu Dec 12 22:22:41 CST 2024 elapsed time (seconds): 6.92 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 6.92 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/TestChunkIntegrity.java reason: .class file out of date or does not exist started: Thu Dec 12 22:22:34 CST 2024 Additional options from @modules: --add-modules jdk.jfr Mode: othervm finished: Thu Dec 12 22:22:41 CST 2024 elapsed time (seconds): 6.92 configuration: javac compilation environment add modules: jdk.jfr source path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm /tmp/tone/run/jtreg/jdk-repo/test/lib /tmp/tone/run/jtreg/jdk-repo/test/jdk class path: /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/lib /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/jdk rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.3.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk/bin/javac \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-ea -esa' \ -J-Dtest.tool.vm.opts='-J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -J-Dtest.timeout.factor=10.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.name=jdk/jfr/jvm/TestChunkIntegrity.java \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/TestChunkIntegrity.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/jdk \ -J-Dtest.modules=jdk.jfr \ --add-modules jdk.jfr \ -d /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d \ -sourcepath /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -classpath /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/jdk /tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/TestChunkIntegrity.java STDOUT: STDERR: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Events don't match. Event number 0 REASON: User specified action: run main/othervm/timeout=300 jdk.jfr.jvm.TestChunkIntegrity TIME: 12.358 seconds messages: command: main jdk.jfr.jvm.TestChunkIntegrity reason: User specified action: run main/othervm/timeout=300 jdk.jfr.jvm.TestChunkIntegrity started: Thu Dec 12 22:22:41 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jfr finished: Thu Dec 12 22:22:53 CST 2024 elapsed time (seconds): 12.358 configuration: Boot Layer add modules: jdk.jfr STDOUT: 88 jdk.jfr.jvm.TestChunkIntegrity$StringStressor 712 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor 89 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor 627 jdk.jfr.jvm.TestChunkIntegrity$StringStressor 601 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor 451 jdk.jfr.jvm.TestChunkIntegrity$StringStressor 362 jdk.jfr.jvm.TestChunkIntegrity$StringStressor 623 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor 244 jdk.jfr.jvm.TestChunkIntegrity$StringStressor 853 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor 622 jdk.jfr.jvm.TestChunkIntegrity$StringStressor 895 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor 228 jdk.jfr.jvm.TestChunkIntegrity$StringStressor Command line: [/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk/bin/jfr disassemble --output /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled --max-chunks 1 /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/recording.jfr] [2024-12-12T14:22:49.805923311Z] Gathering output for process 3653703 [2024-12-12T14:22:50.266285533Z] Waiting for completion for process 3653703 [2024-12-12T14:22:50.266509523Z] Waiting for completion finished for process 3653703 Output and diagnostic info for process 3653703 was saved into 'pid-3653703-output.log' Examining recording /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/recording.jfr ... File consists of 21 chunks. The recording will be split into 21 files Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_00.jfr ... 287222 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_01.jfr ... 280665 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_02.jfr ... 211877 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_03.jfr ... 227231 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_04.jfr ... 217638 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_05.jfr ... 229873 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_06.jfr ... 264946 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_07.jfr ... 208521 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_08.jfr ... 219181 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_09.jfr ... 229161 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_10.jfr ... 222693 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_11.jfr ... 224121 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_12.jfr ... 219213 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_13.jfr ... 224750 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_14.jfr ... 215024 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_15.jfr ... 227450 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_16.jfr ... 224491 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_17.jfr ... 220101 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_18.jfr ... 220862 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_19.jfr ... 272926 Writing /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity/disassembled/recording_20.jfr ... 2029419 Veryfying chunk: disassembled/recording_00.jfr 0 Veryfying chunk: disassembled/recording_01.jfr 2982 Veryfying chunk: disassembled/recording_02.jfr 7640 Veryfying chunk: disassembled/recording_03.jfr 10345 Veryfying chunk: disassembled/recording_04.jfr 13252 Veryfying chunk: disassembled/recording_05.jfr 15914 Veryfying chunk: disassembled/recording_06.jfr 18687 Veryfying chunk: disassembled/recording_07.jfr 22892 Veryfying chunk: disassembled/recording_08.jfr 25454 Veryfying chunk: disassembled/recording_09.jfr 28265 One value null Value A: { type = N/A name = "bootstrap" } Value B: null Field classLoader doesn't match Value A: { type = N/A name = "bootstrap" } Value B: null Field type doesn't match Value A: { classLoader = null name = "jdk/internal/loader/ClassLoaders$AppClassLoader" package = { name = "jdk/internal/loader" module = { name = "java.base" version = "21.0.7-internal" location = "jrt:/java.base" classLoader = null } exported = true } modifiers = 10 hidden = false } Value B: { classLoader = N/A name = "jdk/internal/loader/ClassLoaders$AppClassLoader" package = { name = "jdk/internal/loader" module = { name = "java.base" version = "21.0.7-internal" location = "jrt:/java.base" classLoader = N/A } exported = true } modifiers = 10 hidden = false } Field classLoader doesn't match Value A: { type = jdk.internal.loader.ClassLoaders$AppClassLoader (classLoader = bootstrap) name = "app" } Value B: { type = jdk.internal.loader.ClassLoaders$AppClassLoader (classLoader = null) name = "app" } Field type doesn't match Value A: { classLoader = jdk.internal.loader.ClassLoaders$AppClassLoader (id = 3) name = "jdk/jfr/jvm/TestChunkIntegrity$ThreadStressor" package = { name = "jdk/jfr/jvm" module = { name = N/A version = N/A location = N/A classLoader = jdk.internal.loader.ClassLoaders$AppClassLoader (id = 3) } exported = true } modifiers = 8 hidden = false } Value B: { classLoader = jdk.internal.loader.ClassLoaders$AppClassLoader (id = 3) name = "jdk/jfr/jvm/TestChunkIntegrity$ThreadStressor" package = { name = "jdk/jfr/jvm" module = { name = N/A version = N/A location = N/A classLoader = jdk.internal.loader.ClassLoaders$AppClassLoader (id = 3) } exported = true } modifiers = 8 hidden = false } Field method doesn't match Value A: { type = jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor (classLoader = app) name = "stress" descriptor = "()V" modifiers = 4 hidden = false } Value B: { type = jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor (classLoader = app) name = "stress" descriptor = "()V" modifiers = 4 hidden = false } Array contents doesn't match Field frames doesn't match Value A: [Ljava.lang.Object;@5a340821 Value B: [Ljava.lang.Object;@bee28b6 Object A: jdk.ThreadStart { startTime = 22:22:44.802 (2024-12-12) thread = "Thread-416" (javaThreadId = 496) parentThread = "Thread-2" (javaThreadId = 40) eventThread = "Thread-416" (javaThreadId = 496) stackTrace = [ jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor.stress() line: 289 jdk.jfr.jvm.TestChunkIntegrity$StressThread.run() line: 75 ] } Object B: jdk.ThreadStart { startTime = 22:22:44.802 (2024-12-12) thread = "Thread-416" (javaThreadId = 496) parentThread = "Thread-2" (javaThreadId = 40) eventThread = "Thread-416" (javaThreadId = 496) stackTrace = [ jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor.stress() line: 289 jdk.jfr.jvm.TestChunkIntegrity$StressThread.run() line: 75 ] } STDERR: java.lang.AssertionError: Events don't match. Event number 0 at jdk.jfr.jvm.TestChunkIntegrity.assertEventEquals(TestChunkIntegrity.java:174) at jdk.jfr.jvm.TestChunkIntegrity.main(TestChunkIntegrity.java:131) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1583) JavaTest Message: Test threw exception: java.lang.AssertionError: Events don't match. Event number 0 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.AssertionError: Events don't match. Event number 0 rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.3.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d:/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/jdk:/tmp/tone/run/jtreg/jdk-repo/test/jdk:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk/bin/java \ -Dtest.vm.opts='-ea -esa' \ -Dtest.tool.vm.opts='-J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -Dtest.timeout.factor=10.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.name=jdk/jfr/jvm/TestChunkIntegrity.java \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm/TestChunkIntegrity.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/jvm:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/jdk/jfr/jvm/TestChunkIntegrity.d:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/92/test/jdk \ -Dtest.modules=jdk.jfr \ --add-modules jdk.jfr \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/jvm/TestChunkIntegrity.d/main.0.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Events don't match. Event number 0