TEST: serviceability/attach/AttachAPIv2/CompatTest.java TEST JDK: /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: 1.155 seconds messages: command: build CompatTest reason: Named class compiled on demand started: Sun Oct 27 02:31:14 CST 2024 Test directory: compile: CompatTest finished: Sun Oct 27 02:31:15 CST 2024 elapsed time (seconds): 1.155 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 1.155 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2/CompatTest.java reason: .class file out of date or does not exist started: Sun Oct 27 02:31:14 CST 2024 Additional options from @modules: --add-modules jdk.attach --add-exports jdk.attach/sun.tools.attach=ALL-UNNAMED Mode: othervm finished: Sun Oct 27 02:31:15 CST 2024 elapsed time (seconds): 1.155 configuration: javac compilation environment add modules: jdk.attach add exports: jdk.attach/sun.tools.attach ALL-UNNAMED source path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2 /tmp/tone/run/jtreg/jdk-repo/test/lib class path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2 /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/serviceability/attach/AttachAPIv2/CompatTest.d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/test/lib rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/attach/AttachAPIv2/CompatTest && \ 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-aarch64-server-release/images/jdk/bin/javac \ -J-Djdk.lang.processReaperUseDefaultStackSize=true \ -J-Dtest.wisp.socketAddress=www.alibabacloud.com \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-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=serviceability/attach/AttachAPIv2/CompatTest.java \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2/CompatTest.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2 \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/serviceability/attach/AttachAPIv2/CompatTest.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/serviceability/attach/AttachAPIv2/CompatTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/test/lib \ -J-Dtest.modules=jdk.attach/sun.tools.attach \ @/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/attach/AttachAPIv2/CompatTest.d/compile.0.jta STDOUT: STDERR: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/Utils REASON: User specified action: run main/othervm -Xlog:attach=trace CompatTest TIME: 0.201 seconds messages: command: main -Xlog:attach=trace CompatTest reason: User specified action: run main/othervm -Xlog:attach=trace CompatTest started: Sun Oct 27 02:31:15 CST 2024 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.attach --add-exports jdk.attach/sun.tools.attach=ALL-UNNAMED finished: Sun Oct 27 02:31:15 CST 2024 elapsed time (seconds): 0.201 configuration: Boot Layer add modules: jdk.attach add exports: jdk.attach/sun.tools.attach ALL-UNNAMED STDOUT: Client is in compat mode: false STDERR: java.lang.NoClassDefFoundError: jdk/test/lib/Utils at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:495) at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:507) at CompatTest.main(CompatTest.java:52) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:573) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1576) Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Utils at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:528) ... 7 more JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/Utils JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/Utils rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/attach/AttachAPIv2/CompatTest && \ 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/20/serviceability/attach/AttachAPIv2/CompatTest.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /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 -ea -esa' \ -Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-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=serviceability/attach/AttachAPIv2/CompatTest.java \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2/CompatTest.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2 \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/serviceability/attach/AttachAPIv2/CompatTest.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/serviceability/attach/AttachAPIv2/CompatTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/20/test/lib \ -Dtest.modules=jdk.attach/sun.tools.attach \ --add-modules jdk.attach \ --add-exports jdk.attach/sun.tools.attach=ALL-UNNAMED \ -Djdk.lang.processReaperUseDefaultStackSize=true \ -Dtest.wisp.socketAddress=www.alibabacloud.com \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Xlog:attach=trace \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/attach/AttachAPIv2/CompatTest.d/main.1.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/Utils