TEST: serviceability/attach/AttachAPIv2/StreamingOutputTest.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: 3.977 seconds messages: command: build StreamingOutputTest reason: Named class compiled on demand started: Mon Mar 17 00:16:53 CST 2025 Test directory: compile: StreamingOutputTest finished: Mon Mar 17 00:16:57 CST 2025 elapsed time (seconds): 3.977 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 3.977 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2/StreamingOutputTest.java reason: .class file out of date or does not exist started: Mon Mar 17 00:16:53 CST 2025 Additional options from @modules: --add-modules jdk.attach --add-exports jdk.attach/sun.tools.attach=ALL-UNNAMED Mode: othervm Process id: 1154516 finished: Mon Mar 17 00:16:57 CST 2025 elapsed time (seconds): 3.977 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/4/serviceability/attach/AttachAPIv2/StreamingOutputTest.d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/4/test/lib rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/attach/AttachAPIv2/StreamingOutputTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.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/hotspot/jtreg \ -J-Dtest.name=serviceability/attach/AttachAPIv2/StreamingOutputTest.java \ -J-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2/StreamingOutputTest.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/4/serviceability/attach/AttachAPIv2/StreamingOutputTest.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/4/serviceability/attach/AttachAPIv2/StreamingOutputTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/4/test/lib \ -J-Dtest.modules=jdk.attach/sun.tools.attach \ @/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/attach/AttachAPIv2/StreamingOutputTest.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 -Djdk.attach.allowStreamingOutput=true StreamingOutputTest TIME: 0.616 seconds messages: command: main -Djdk.attach.allowStreamingOutput=true StreamingOutputTest reason: User specified action: run main/othervm -Djdk.attach.allowStreamingOutput=true StreamingOutputTest started: Mon Mar 17 00:16:57 CST 2025 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.attach --add-exports jdk.attach/sun.tools.attach=ALL-UNNAMED Process id: 1183991 finished: Mon Mar 17 00:16:58 CST 2025 elapsed time (seconds): 0.616 configuration: Boot Layer add modules: jdk.attach add exports: jdk.attach/sun.tools.attach ALL-UNNAMED STDOUT: Testing: clientStreaming=true, vmStreaming=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 StreamingOutputTest.test(StreamingOutputTest.java:56) at StreamingOutputTest.main(StreamingOutputTest.java:48) 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.Thread.run(Thread.java:1447) Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Utils at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490) ... 8 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/StreamingOutputTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.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/hotspot_jtreg/classes/4/serviceability/attach/AttachAPIv2/StreamingOutputTest.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/4/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-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/hotspot/jtreg \ -Dtest.name=serviceability/attach/AttachAPIv2/StreamingOutputTest.java \ -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/attach/AttachAPIv2/StreamingOutputTest.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/4/serviceability/attach/AttachAPIv2/StreamingOutputTest.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/4/serviceability/attach/AttachAPIv2/StreamingOutputTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/4/test/lib \ -Dtest.modules=jdk.attach/sun.tools.attach \ --add-modules jdk.attach \ --add-exports jdk.attach/sun.tools.attach=ALL-UNNAMED \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Djdk.attach.allowStreamingOutput=true \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/attach/AttachAPIv2/StreamingOutputTest.d/main.1.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/Utils