Public bug reported:

This recently happened only on jammy.

$ cat 
jtreg-test-output/hotspot/JTwork/serviceability/attach/AttachNegativePidTest.jtr
#Test Results (version 2)
#Thu Jul 23 16:16:11 UTC 2026
#-----testdescription-----
$file=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
$root=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg
keywords=bug8229957 driver
library=/test/lib
modules=jdk.attach/com.sun.tools.attach
requires=os.family \!\= "windows"
run=USER_SPECIFIED driver AttachNegativePidTest\n
source=AttachNegativePidTest.java
title=\

#-----environment-----

#-----testresult-----
description=file\:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
elapsed=1014 0\:00\:01.014
end=Thu Jul 23 16\:16\:11 UTC 2026
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: 
java.lang.NoClassDefFoundError\: jdk/test/lib/Utils
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
hostname=bos03-arm64-007.buildd
javatestOS=Linux 6.8.0-136-generic (arm)
javatestVersion=6.0-ea+b22-1970-01-03-${BUILT_FROM_COMMIT}
jtregVersion=jtreg 7.5.2 src 1
modules=jdk.attach/com.sun.tools.attach
script=com.sun.javatest.regtest.exec.RegressionScript
sections=script_messages build driver
start=Thu Jul 23 16\:16\:10 UTC 2026
test=serviceability/attach/AttachNegativePidTest.java
testJDK=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
testJDK_OS=[name\:Linux,arch\:arm,version\:6.8.0-136-generic,family\:linux,simple_arch\:arm,simple_version\:6.8,processors\:8,maxMemory\:33581830144,maxSwap\:8589930496]
testJDK_os.arch=arm
testJDK_os.name=Linux
testJDK_os.version=6.8.0-136-generic
totalTime=1018
user.name=buildd
work=/tmp/hotspot/JTwork/serviceability/attach

#section:script_messages
----------messages:(7/434)----------
JDK under test: 
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
openjdk version "21.0.12" 2026-07-21
OpenJDK Runtime Environment (build 21.0.12+8-1-22.04-Ubuntu)
OpenJDK Server VM (build 21.0.12+8-1-22.04-Ubuntu, mixed mode, sharing)
Library /test/lib; kind: packages
   source directory: /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
   class directory: /tmp/hotspot/JTwork/classes/1/test/lib

#section:build
----------messages:(5/181)----------
command: build AttachNegativePidTest
reason: Named class compiled on demand
started: Thu Jul 23 16:16:10 UTC 2026
finished: Thu Jul 23 16:16:10 UTC 2026
elapsed time (seconds): 0.0
result: Passed. All files up to date

#section:driver
----------messages:(9/341)----------
command: driver AttachNegativePidTest
reason: User specified action: run driver AttachNegativePidTest
started: Thu Jul 23 16:16:10 UTC 2026
Mode: agentvm
Agent id: 3
Process id: 1395187
Additional exports to unnamed modules from @modules: 
jdk.attach/com.sun.tools.attach
finished: Thu Jul 23 16:16:11 UTC 2026
elapsed time (seconds): 1.012
----------configuration:(18/882)----------
Boot Layer
  class path: /usr/share/jtreg/lib/javatest.jar
              /usr/share/jtreg/lib/jtreg.jar
              /usr/share/jtreg/lib/junit-platform-console-standalone.jar
              /usr/share/jtreg/lib/testng.jar
              /usr/share/jtreg/lib/guice.jar
              /usr/share/jtreg/lib/jcommander.jar
              /usr/share/jtreg/lib/slf4j-simple.jar
              /usr/share/jtreg/lib/slf4j-api.jar
  patch:      java.base /tmp/hotspot/JTwork/patches/java.base

Test Layer
  add exports: jdk.attach/com.sun.tools.attach ALL-UNNAMED
  class path:  
/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d
               
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach
               /tmp/hotspot/JTwork/classes/1/test/lib
               /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib

----------rerun:(27/2582)*----------
cd /tmp/hotspot/JTwork/scratch/1 && \\
HOME=/sbuild-nonexistent \\
JTREG_OPTIONS= \\
NSS_DEFAULT_DB_TYPE=sql \\
PATH=/bin:/usr/bin:/usr/sbin \\
    
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk/bin/java
 \\
        -Dtest.vm.opts='-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-XX:MaxRAMPercentage=25 -Duser.home=/tmp/ -Djava.io.tmpdir=/tmp/' \\
        
-Dtest.tool.vm.opts='-J-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-J-XX:MaxRAMPercentage=25 -J-Duser.home=/tmp/ -J-Djava.io.tmpdir=/tmp/' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts= \\
        
-Dtest.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
        
-Dcompile.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
        -Dtest.timeout.factor=10.0 \\
        
-Dtest.nativepath=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/images/test/hotspot/jtreg/native
 \\
        
-Dtest.root=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg \\
        -Dtest.name=serviceability/attach/AttachNegativePidTest.java \\
        -Dtest.verbose=Verbose[p=SUMMARY,f=SUMMARY,e=SUMMARY,t=false,m=false] \\
        
-Dtest.file=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
 \\
        -Dtest.main.class=AttachNegativePidTest \\
        
-Dtest.src=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach
 \\
        
-Dtest.src.path=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
 \\
        
-Dtest.classes=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d
 \\
        
-Dtest.class.path=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/tmp/hotspot/JTwork/classes/1/test/lib
 \\
        
-Dtest.class.path.prefix=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/tmp/hotspot/JTwork/classes/1/test/lib
 \\
        -Dtest.modules=jdk.attach/com.sun.tools.attach \\
        -classpath 
/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/tmp/hotspot/JTwork/classes/1/test/lib:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib:/usr/share/jtreg/lib/javatest.jar:/usr/share/jtreg/lib/jtreg.jar
 \\
        AttachNegativePidTest
----------stdout:(0/0)----------
----------stderr:(0/0)----------
----------System.err:(17/959)----------
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 AttachNegativePidTest.main(AttachNegativePidTest.java:45)
        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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Utils
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
        ... 7 more

JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception:
java.lang.NoClassDefFoundError: jdk/test/lib/Utils

test result: Failed. Execution failed: `main' threw exception:
java.lang.NoClassDefFoundError: jdk/test/lib/Utils

** Affects: openjdk-21 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  This recently happened only on jammy.
  
- cat 
jtreg-test-output/hotspot/JTwork/serviceability/attach/AttachNegativePidTest.jtr
+ $ cat 
jtreg-test-output/hotspot/JTwork/serviceability/attach/AttachNegativePidTest.jtr
  #Test Results (version 2)
  #Thu Jul 23 16:16:11 UTC 2026
  #-----testdescription-----
  
$file=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
  $root=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg
  keywords=bug8229957 driver
  library=/test/lib
  modules=jdk.attach/com.sun.tools.attach
  requires=os.family \!\= "windows"
  run=USER_SPECIFIED driver AttachNegativePidTest\n
  source=AttachNegativePidTest.java
  title=\
  
  #-----environment-----
  
  #-----testresult-----
  
description=file\:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
  elapsed=1014 0\:00\:01.014
  end=Thu Jul 23 16\:16\:11 UTC 2026
  environment=regtest
  execStatus=Failed. Execution failed\: `main' threw exception\: 
java.lang.NoClassDefFoundError\: jdk/test/lib/Utils
  harnessLoaderMode=Classpath Loader
  harnessVariety=Full Bundle
  hostname=bos03-arm64-007.buildd
  javatestOS=Linux 6.8.0-136-generic (arm)
  javatestVersion=6.0-ea+b22-1970-01-03-${BUILT_FROM_COMMIT}
  jtregVersion=jtreg 7.5.2 src 1
  modules=jdk.attach/com.sun.tools.attach
  script=com.sun.javatest.regtest.exec.RegressionScript
  sections=script_messages build driver
  start=Thu Jul 23 16\:16\:10 UTC 2026
  test=serviceability/attach/AttachNegativePidTest.java
  
testJDK=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
  
testJDK_OS=[name\:Linux,arch\:arm,version\:6.8.0-136-generic,family\:linux,simple_arch\:arm,simple_version\:6.8,processors\:8,maxMemory\:33581830144,maxSwap\:8589930496]
  testJDK_os.arch=arm
  testJDK_os.name=Linux
  testJDK_os.version=6.8.0-136-generic
  totalTime=1018
  user.name=buildd
  work=/tmp/hotspot/JTwork/serviceability/attach
  
  #section:script_messages
  ----------messages:(7/434)----------
  JDK under test: 
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
  openjdk version "21.0.12" 2026-07-21
  OpenJDK Runtime Environment (build 21.0.12+8-1-22.04-Ubuntu)
  OpenJDK Server VM (build 21.0.12+8-1-22.04-Ubuntu, mixed mode, sharing)
  Library /test/lib; kind: packages
-    source directory: /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
-    class directory: /tmp/hotspot/JTwork/classes/1/test/lib
+    source directory: /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
+    class directory: /tmp/hotspot/JTwork/classes/1/test/lib
  
  #section:build
  ----------messages:(5/181)----------
  command: build AttachNegativePidTest
  reason: Named class compiled on demand
  started: Thu Jul 23 16:16:10 UTC 2026
  finished: Thu Jul 23 16:16:10 UTC 2026
  elapsed time (seconds): 0.0
  result: Passed. All files up to date
  
  #section:driver
  ----------messages:(9/341)----------
  command: driver AttachNegativePidTest
  reason: User specified action: run driver AttachNegativePidTest
  started: Thu Jul 23 16:16:10 UTC 2026
  Mode: agentvm
  Agent id: 3
  Process id: 1395187
  Additional exports to unnamed modules from @modules: 
jdk.attach/com.sun.tools.attach
  finished: Thu Jul 23 16:16:11 UTC 2026
  elapsed time (seconds): 1.012
  ----------configuration:(18/882)----------
  Boot Layer
-   class path: /usr/share/jtreg/lib/javatest.jar
-               /usr/share/jtreg/lib/jtreg.jar
-               /usr/share/jtreg/lib/junit-platform-console-standalone.jar
-               /usr/share/jtreg/lib/testng.jar
-               /usr/share/jtreg/lib/guice.jar
-               /usr/share/jtreg/lib/jcommander.jar
-               /usr/share/jtreg/lib/slf4j-simple.jar
-               /usr/share/jtreg/lib/slf4j-api.jar
-   patch:      java.base /tmp/hotspot/JTwork/patches/java.base
+   class path: /usr/share/jtreg/lib/javatest.jar
+               /usr/share/jtreg/lib/jtreg.jar
+               /usr/share/jtreg/lib/junit-platform-console-standalone.jar
+               /usr/share/jtreg/lib/testng.jar
+               /usr/share/jtreg/lib/guice.jar
+               /usr/share/jtreg/lib/jcommander.jar
+               /usr/share/jtreg/lib/slf4j-simple.jar
+               /usr/share/jtreg/lib/slf4j-api.jar
+   patch:      java.base /tmp/hotspot/JTwork/patches/java.base
  
  Test Layer
-   add exports: jdk.attach/com.sun.tools.attach ALL-UNNAMED
-   class path:  
/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d
-                
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach
-                /tmp/hotspot/JTwork/classes/1/test/lib
-                /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
+   add exports: jdk.attach/com.sun.tools.attach ALL-UNNAMED
+   class path:  
/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d
+                
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach
+                /tmp/hotspot/JTwork/classes/1/test/lib
+                /build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
  
  ----------rerun:(27/2582)*----------
  cd /tmp/hotspot/JTwork/scratch/1 && \\
  HOME=/sbuild-nonexistent \\
  JTREG_OPTIONS= \\
  NSS_DEFAULT_DB_TYPE=sql \\
  PATH=/bin:/usr/bin:/usr/sbin \\
-     
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk/bin/java
 \\
-         -Dtest.vm.opts='-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-XX:MaxRAMPercentage=25 -Duser.home=/tmp/ -Djava.io.tmpdir=/tmp/' \\
-         
-Dtest.tool.vm.opts='-J-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-J-XX:MaxRAMPercentage=25 -J-Duser.home=/tmp/ -J-Djava.io.tmpdir=/tmp/' \\
-         -Dtest.compiler.opts= \\
-         -Dtest.java.opts= \\
-         
-Dtest.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
-         
-Dcompile.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
-         -Dtest.timeout.factor=10.0 \\
-         
-Dtest.nativepath=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/images/test/hotspot/jtreg/native
 \\
-         
-Dtest.root=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg \\
-         -Dtest.name=serviceability/attach/AttachNegativePidTest.java \\
-         -Dtest.verbose=Verbose[p=SUMMARY,f=SUMMARY,e=SUMMARY,t=false,m=false] 
\\
-         
-Dtest.file=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
 \\
-         -Dtest.main.class=AttachNegativePidTest \\
-         
-Dtest.src=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach
 \\
-         
-Dtest.src.path=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
 \\
-         
-Dtest.classes=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d
 \\
-         
-Dtest.class.path=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/tmp/hotspot/JTwork/classes/1/test/lib
 \\
-         
-Dtest.class.path.prefix=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/tmp/hotspot/JTwork/classes/1/test/lib
 \\
-         -Dtest.modules=jdk.attach/com.sun.tools.attach \\
-         -classpath 
/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/tmp/hotspot/JTwork/classes/1/test/lib:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib:/usr/share/jtreg/lib/javatest.jar:/usr/share/jtreg/lib/jtreg.jar
 \\
-         AttachNegativePidTest
+     
/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk/bin/java
 \\
+         -Dtest.vm.opts='-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-XX:MaxRAMPercentage=25 -Duser.home=/tmp/ -Djava.io.tmpdir=/tmp/' \\
+         
-Dtest.tool.vm.opts='-J-Dtest.boot.jdk=/usr/lib/jvm/java-21-openjdk-armhf 
-J-XX:MaxRAMPercentage=25 -J-Duser.home=/tmp/ -J-Djava.io.tmpdir=/tmp/' \\
+         -Dtest.compiler.opts= \\
+         -Dtest.java.opts= \\
+         
-Dtest.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
+         
-Dcompile.jdk=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/bootcycle-build/images/jdk
 \\
+         -Dtest.timeout.factor=10.0 \\
+         
-Dtest.nativepath=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/build/images/test/hotspot/jtreg/native
 \\
+         
-Dtest.root=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg \\
+         -Dtest.name=serviceability/attach/AttachNegativePidTest.java \\
+         -Dtest.verbose=Verbose[p=SUMMARY,f=SUMMARY,e=SUMMARY,t=false,m=false] 
\\
+         
-Dtest.file=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
 \\
+         -Dtest.main.class=AttachNegativePidTest \\
+         
-Dtest.src=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach
 \\
+         
-Dtest.src.path=/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib
 \\
+         
-Dtest.classes=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d
 \\
+         
-Dtest.class.path=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/tmp/hotspot/JTwork/classes/1/test/lib
 \\
+         
-Dtest.class.path.prefix=/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/tmp/hotspot/JTwork/classes/1/test/lib
 \\
+         -Dtest.modules=jdk.attach/com.sun.tools.attach \\
+         -classpath 
/tmp/hotspot/JTwork/classes/1/serviceability/attach/AttachNegativePidTest.d:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/hotspot/jtreg/serviceability/attach:/tmp/hotspot/JTwork/classes/1/test/lib:/build/openjdk-21-jwG4SD/openjdk-21-21.0.12+8/test/lib:/usr/share/jtreg/lib/javatest.jar:/usr/share/jtreg/lib/jtreg.jar
 \\
+         AttachNegativePidTest
  ----------stdout:(0/0)----------
  ----------stderr:(0/0)----------
  ----------System.err:(17/959)----------
  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 AttachNegativePidTest.main(AttachNegativePidTest.java:45)
-         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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
-         at java.base/java.lang.Thread.run(Thread.java:1583)
+         at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:495)
+         at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:507)
+         at AttachNegativePidTest.main(AttachNegativePidTest.java:45)
+         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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
+         at java.base/java.lang.Thread.run(Thread.java:1583)
  Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Utils
-         at 
java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
-         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
-         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
-         ... 7 more
+         at 
java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
+         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593)
+         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
+         ... 7 more
  
  JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError
  JavaTest Message: shutting down test
  
  result: Failed. Execution failed: `main' threw exception:
  java.lang.NoClassDefFoundError: jdk/test/lib/Utils
  
- 
- test result: Failed. Execution failed: `main' threw exception: 
java.lang.NoClassDefFoundError: jdk/test/lib/Utils
+ test result: Failed. Execution failed: `main' threw exception:
+ java.lang.NoClassDefFoundError: jdk/test/lib/Utils

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161989

Title:
  JTREG failure on armhf:
  serviceability/attach/AttachNegativePidTest.java

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2161989/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to