TEST: gc/shenandoah/TestRegionSamplingLogging.java#generational-rotation TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 0.918 seconds messages: command: build TestRegionSamplingLogging reason: Named class compiled on demand started: Thu Dec 05 23:58:45 CST 2024 Test directory: compile: TestRegionSamplingLogging finished: Thu Dec 05 23:58:46 CST 2024 elapsed time (seconds): 0.918 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 0.918 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah/TestRegionSamplingLogging.java reason: .class file out of date or does not exist started: Thu Dec 05 23:58:45 CST 2024 Mode: othervm finished: Thu Dec 05 23:58:46 CST 2024 elapsed time (seconds): 0.918 configuration: javac compilation environment source path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah class path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/gc/shenandoah/TestRegionSamplingLogging_generational-rotation && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.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-release/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-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.name=gc/shenandoah/TestRegionSamplingLogging.java#generational-rotation \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah/TestRegionSamplingLogging.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d \ -d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d \ -sourcepath /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah \ -classpath /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah/TestRegionSamplingLogging.java STDOUT: STDERR: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Did not find expected snapshot log file. REASON: User specified action: run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling -XX:+ShenandoahRegionSampling -Xlog:gc+region=trace:region-snapshots-%p.log::filesize=100,filecount=3 -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational TestRegionSamplingLogging TIME: 1.835 seconds messages: command: main -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling -XX:+ShenandoahRegionSampling -Xlog:gc+region=trace:region-snapshots-%p.log::filesize=100,filecount=3 -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational TestRegionSamplingLogging reason: User specified action: run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+ShenandoahRegionSampling -XX:+ShenandoahRegionSampling -Xlog:gc+region=trace:region-snapshots-%p.log::filesize=100,filecount=3 -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational TestRegionSamplingLogging started: Thu Dec 05 23:58:46 CST 2024 Mode: othervm [/othervm specified] finished: Thu Dec 05 23:58:47 CST 2024 elapsed time (seconds): 1.835 configuration: STDOUT: [] STDERR: java.lang.IllegalStateException: Did not find expected snapshot log file. at TestRegionSamplingLogging.main(TestRegionSamplingLogging.java:65) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.VirtualThread.run(VirtualThread.java:466) JavaTest Message: Test threw exception: java.lang.IllegalStateException: Did not find expected snapshot log file. JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Did not find expected snapshot log file. rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/gc/shenandoah/TestRegionSamplingLogging_generational-rotation && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.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/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah:/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-release/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-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=gc/shenandoah/TestRegionSamplingLogging.java#generational-rotation \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah/TestRegionSamplingLogging.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/9/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d \ -Djtreg.test.thread.factory=Virtual \ -Djtreg.test.thread.factory.path=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/test/jtreg_test_thread_factory/jtregTestThreadFactory.jar \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Xmx1g \ -Xms1g \ -XX:+UnlockDiagnosticVMOptions \ -XX:+UnlockExperimentalVMOptions \ -XX:+ShenandoahRegionSampling \ -XX:+ShenandoahRegionSampling \ -Xlog:gc+region=trace:region-snapshots-%p.log::filesize=100,filecount=3 \ -XX:+UseShenandoahGC \ -XX:ShenandoahGCHeuristics=adaptive \ -XX:ShenandoahGCMode=generational \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/gc/shenandoah/TestRegionSamplingLogging_generational-rotation.d/main.0.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Did not find expected snapshot log file.