TEST: jdk/jfr/api/consumer/recordingstream/TestClose.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: 0.871 seconds messages: command: build jdk.jfr.api.consumer.recordingstream.TestClose reason: Named class compiled on demand started: Tue Aug 06 21:30:52 CST 2024 Test directory: compile: jdk.jfr.api.consumer.recordingstream.TestClose finished: Tue Aug 06 21:30:53 CST 2024 elapsed time (seconds): 0.871 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 0.871 seconds messages: command: compile /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java reason: .class file out of date or does not exist started: Tue Aug 06 21:30:52 CST 2024 Additional options from @modules: --add-modules jdk.jfr,java.management Mode: othervm finished: Tue Aug 06 21:30:53 CST 2024 elapsed time (seconds): 0.871 configuration: javac compilation environment add modules: jdk.jfr java.management source path: /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream /var/tmp/tone/run/jtreg/jdk-repo/test/lib /var/tmp/tone/run/jtreg/jdk-repo/test/jdk class path: /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/jdk/jfr/api/consumer/recordingstream/TestClose.d /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/lib /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/jdk rerun: cd /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/api/consumer/recordingstream/TestClose && \ 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-Xmixed \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xmixed -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xmixed -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=jdk/jfr/api/consumer/recordingstream/TestClose.java \ -J-Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java \ -J-Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream \ -J-Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -J-Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/jdk/jfr/api/consumer/recordingstream/TestClose.d \ -J-Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/jdk/jfr/api/consumer/recordingstream/TestClose.d:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/lib:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/jdk \ -J-Dtest.modules='jdk.jfr java.management' \ --add-modules jdk.jfr,java.management \ -d /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/jdk/jfr/api/consumer/recordingstream/TestClose.d \ -sourcepath /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -classpath /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/jdk/jfr/api/consumer/recordingstream/TestClose.d:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/lib:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/jdk /var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java STDOUT: STDERR: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Missing object ID 1 in pool jdk.types.ClassLoader. All IDs should reference an object REASON: User specified action: run main/othervm -Xlog:jfr+streaming+system=trace jdk.jfr.api.consumer.recordingstream.TestClose TIME: 3.324 seconds messages: command: main -Xlog:jfr+streaming+system=trace jdk.jfr.api.consumer.recordingstream.TestClose reason: User specified action: run main/othervm -Xlog:jfr+streaming+system=trace jdk.jfr.api.consumer.recordingstream.TestClose started: Tue Aug 06 21:30:53 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jfr,java.management finished: Tue Aug 06 21:30:57 CST 2024 elapsed time (seconds): 3.324 configuration: Boot Layer add modules: jdk.jfr java.management STDOUT: testCloseUnstarted() [0.302s][debug][jfr,system,streaming] Error actions: 0 Meta actions: 0 Flush actions: 0 Close actions: 0 Event dispatchers: 0 Dispatch lookup size: 1 testCloseStarted() [0.325s][debug][jfr,system,streaming] Error actions: 0 Meta actions: 0 Flush actions: 0 Close actions: 0 Event dispatchers: 0 Dispatch lookup size: 1 [0.326s][debug][jfr,system,streaming] New file found: /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_54.jfr Entering testCloseTwice() [0.328s][debug][jfr,system,streaming] Exception during repository file scan /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_54.jfr [0.328s][debug][jfr,system,streaming] Error actions: 0 Meta actions: 0 Flush actions: 0 Close actions: 0 Event dispatchers: 0 Dispatch lookup size: 1 [0.328s][debug][jfr,system,streaming] New file found: /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_54_01.jfr [0.329s][debug][jfr,system,streaming] Execution of stream ended. Entering testCloseStreaming() [0.339s][debug][jfr,system,streaming] Execution of stream ended. [0.389s][debug][jfr,system,streaming] Error actions: 0 Meta actions: 0 Flush actions: 0 Close actions: 0 Event dispatchers: 1 Dispatch lookup size: 1 [0.389s][debug][jfr,system,streaming] New file found: /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_54_02.jfr [1.284s][trace][jfr,system,streaming] Return path /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_54_02.jfr for start time nanos 1722951054166574368 testCloseMySelf() [1.318s][debug][jfr,system,streaming] Execution of stream ended. [1.321s][debug][jfr,system,streaming] Error actions: 0 Meta actions: 0 Flush actions: 0 Close actions: 0 Event dispatchers: 1 Dispatch lookup size: 1 [1.322s][debug][jfr,system,streaming] New file found: /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_55.jfr [2.290s][trace][jfr,system,streaming] Return path /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_55.jfr for start time nanos 1722951055147284225 [2.300s][debug][jfr,system,streaming] Execution of stream ended. testCloseNoEvents() [2.303s][debug][jfr,system,streaming] Error actions: 0 Meta actions: 0 Flush actions: 1 Close actions: 0 Event dispatchers: 0 Dispatch lookup size: 1 [2.303s][debug][jfr,system,streaming] New file found: /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_56.jfr [3.283s][trace][jfr,system,streaming] Return path /tmp/2024_08_06_21_30_54_1732346/2024_08_06_21_30_56.jfr for start time nanos 0 [3.290s][debug][jfr,system,streaming] Execution of stream ended. STDERR: java.lang.AssertionError: Missing object ID 1 in pool jdk.types.ClassLoader. All IDs should reference an object at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.get(ConstantMap.java:80) at jdk.jfr/jdk.jfr.internal.consumer.Reference.resolve(Reference.java:38) at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.resolve(ConstantMap.java:119) at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.resolve(ConstantMap.java:125) at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.get(ConstantMap.java:100) at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.lambda$resolve$0(ConstantMap.java:133) at jdk.jfr/jdk.jfr.internal.LongMap.forEachKey(LongMap.java:237) at jdk.jfr/jdk.jfr.internal.consumer.ConstantMap.resolve(ConstantMap.java:133) at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.lambda$new$2(ChunkParser.java:143) at jdk.jfr/jdk.jfr.internal.LongMap.forEach(LongMap.java:246) at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.(ChunkParser.java:143) at jdk.jfr/jdk.jfr.internal.consumer.ChunkParser.(ChunkParser.java:109) at jdk.jfr/jdk.jfr.internal.consumer.EventDirectoryStream.processRecursionSafe(EventDirectoryStream.java:158) at jdk.jfr/jdk.jfr.internal.consumer.EventDirectoryStream.process(EventDirectoryStream.java:131) at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream.execute(AbstractEventStream.java:261) at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream$1.run(AbstractEventStream.java:284) at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream$1.run(AbstractEventStream.java:281) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream.run(AbstractEventStream.java:281) at jdk.jfr/jdk.jfr.internal.consumer.AbstractEventStream.lambda$startAsync$1(AbstractEventStream.java:224) at java.base/java.lang.Thread.run(Thread.java:1575) STATUS:Failed.`main' threw exception: java.lang.AssertionError: Missing object ID 1 in pool jdk.types.ClassLoader. All IDs should reference an object rerun: cd /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/api/consumer/recordingstream/TestClose && \ 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/jdk/jfr/api/consumer/recordingstream/TestClose.d:/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/jdk:/var/tmp/tone/run/jtreg/jdk-repo/test/jdk:/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 -Xmixed -ea -esa' \ -Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xmixed -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=jdk/jfr/api/consumer/recordingstream/TestClose.java \ -Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java \ -Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream \ -Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/jdk/jdk/jfr/api/consumer/recordingstream:/var/tmp/tone/run/jtreg/jdk-repo/test/lib:/var/tmp/tone/run/jtreg/jdk-repo/test/jdk \ -Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/jdk/jfr/api/consumer/recordingstream/TestClose.d \ -Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/jdk/jfr/api/consumer/recordingstream/TestClose.d:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/lib:/var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/classes/39/test/jdk \ -Dtest.modules='jdk.jfr java.management' \ --add-modules jdk.jfr,java.management \ -Djdk.lang.processReaperUseDefaultStackSize=true \ -Dtest.wisp.socketAddress=www.alibabacloud.com \ -Xmixed \ -ea \ -esa \ -Djava.library.path=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Xlog:jfr+streaming+system=trace \ com.sun.javatest.regtest.agent.MainWrapper /var/tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/jdk/jfr/api/consumer/recordingstream/TestClose.d/main.0.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Missing object ID 1 in pool jdk.types.ClassLoader. All IDs should reference an object