-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: core-svc
-
generic
-
generic
The following test fails in the Valhalla CI when --enable-preview is used:
vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.java
Here's a snippet from the log file:
#section:driver
----------messages:(8/1056)----------
command: driver nsk.jdi.Accessible.modifiers.modifiers001 -verbose -arch=linux-aarch64 -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp --enable-preview"
reason: User specified action: run driver nsk.jdi.Accessible.modifiers.modifiers001 -verbose -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
started: Thu Jan 08 14:01:21.193 UTC 2026
Mode: agentvm
Agent id: 5
Process id: 1311511
finished: Thu Jan 08 14:01:23.492 UTC 2026
elapsed time (seconds): 2.299
----------configuration:(16/2570)----------
<snip>
----------System.out:(100/9347)*----------
[14:1:21.326] binder> VirtualMachineManager: version 27.0
[14:1:21.327] binder> Finding connector: default
[14:1:21.328] binder> LaunchingConnector:
[14:1:21.328] binder> name: com.sun.jdi.CommandLineLaunch
[14:1:21.328] binder> description: Launches target using Sun Java VM command line and attaches to it
[14:1:21.329] binder> transport: com.sun.tools.jdi.SunCommandLineLauncher$2@1f0272db
[14:1:21.335] binder> Connector arguments:
[14:1:21.335] binder> main=nsk.jdi.Accessible.modifiers.modifiers001a -vbs \u0000-verbose\u0000 \u0000-arch=linux-aarch64\u0000 \u0000-waittime=5\u0000 \u0000-debugee.vmkind=java\u0000 \u0000-transport.address=dynamic\u0000 \u0000-debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp --enable-preview"\u0000 \u0000-pipe.port=48733\u0000
[14:1:21.335] binder> includevirtualthreads=n
[14:1:21.335] binder> quote=\u0000
[14:1:21.336] binder> home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/linux-aarch64-debug.jdk/jdk-27/fastdebug
[14:1:21.336] binder> vmexec=java
[14:1:21.336] binder> suspend=true
[14:1:21.336] binder> options=-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp --enable-preview -classpath \u0000/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.d:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.d/vmTestbase:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.d/test/lib\u0000
[14:1:21.336] binder> Launching debugee
[14:1:21.808] binder> Waiting for VM initialized
[14:1:21.809] Initial VMStartEvent received: VMStartEvent in thread main
[14:1:21.816] ==> nsk/jdi/Accessible/modifiers/modifiers001 test LOG:
[14:1:21.816] ==> test checks the modifiers() method of Accessible interface
[14:1:21.816] of the com.sun.jdi package for ClassType, InterfaceType
[14:1:21.817] --> modifiers001: modifiers001a debugee launched
[14:1:21.866] debugee.stderr> **> modifiers001a: debugee started!
[14:1:22.416] debugee.stderr> **> modifiers001a: waiting for "quit" signal...
[14:1:22.910] --> modifiers001: debugee's "ready" signal recieved!
[14:1:22.911] --> modifiers001: checking debugee's classes by Accessible.modifiers() method...
[14:1:22.914]
[14:1:22.920] # ERROR: ##> modifiers001: UNEXPECTED modifiers() method result (0x11) for class: java.lang.Boolean(public, final)
The following stacktrace is for failure analysis.
nsk.share.TestFailure: ##> modifiers001: UNEXPECTED modifiers() method result (0x11) for class: java.lang.Boolean(public, final)
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:309)
at nsk.share.Log.complain(Log.java:280)
at nsk.jdi.Accessible.modifiers.modifiers001.runThis(modifiers001.java:193)
at nsk.jdi.Accessible.modifiers.modifiers001.run(modifiers001.java:98)
at nsk.jdi.Accessible.modifiers.modifiers001.main(modifiers001.java:84)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1516)
There are currently 42 of these failures in the Valhalla CI on
all of the Mach5 platforms. All of the failing test tasks have
"*enable-preview*" in the name.
vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.java
Here's a snippet from the log file:
#section:driver
----------messages:(8/1056)----------
command: driver nsk.jdi.Accessible.modifiers.modifiers001 -verbose -arch=linux-aarch64 -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp --enable-preview"
reason: User specified action: run driver nsk.jdi.Accessible.modifiers.modifiers001 -verbose -arch=${os.family}-${os.simpleArch} -waittime=5 -debugee.vmkind=java -transport.address=dynamic -debugee.vmkeys="${test.vm.opts} ${test.java.opts}"
started: Thu Jan 08 14:01:21.193 UTC 2026
Mode: agentvm
Agent id: 5
Process id: 1311511
finished: Thu Jan 08 14:01:23.492 UTC 2026
elapsed time (seconds): 2.299
----------configuration:(16/2570)----------
<snip>
----------System.out:(100/9347)*----------
[14:1:21.326] binder> VirtualMachineManager: version 27.0
[14:1:21.327] binder> Finding connector: default
[14:1:21.328] binder> LaunchingConnector:
[14:1:21.328] binder> name: com.sun.jdi.CommandLineLaunch
[14:1:21.328] binder> description: Launches target using Sun Java VM command line and attaches to it
[14:1:21.329] binder> transport: com.sun.tools.jdi.SunCommandLineLauncher$2@1f0272db
[14:1:21.335] binder> Connector arguments:
[14:1:21.335] binder> main=nsk.jdi.Accessible.modifiers.modifiers001a -vbs \u0000-verbose\u0000 \u0000-arch=linux-aarch64\u0000 \u0000-waittime=5\u0000 \u0000-debugee.vmkind=java\u0000 \u0000-transport.address=dynamic\u0000 \u0000-debugee.vmkeys="-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp --enable-preview"\u0000 \u0000-pipe.port=48733\u0000
[14:1:21.335] binder> includevirtualthreads=n
[14:1:21.335] binder> quote=\u0000
[14:1:21.336] binder> home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/linux-aarch64-debug.jdk/jdk-27/fastdebug
[14:1:21.336] binder> vmexec=java
[14:1:21.336] binder> suspend=true
[14:1:21.336] binder> options=-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/tmp --enable-preview -classpath \u0000/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.d:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.d/vmTestbase:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11675/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b4347805-9d4c-409e-97f1-830888c92ab0/runs/a13c444d-fbea-4457-b178-2afb185ac961/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/Accessible/modifiers/modifiers001/TestDescription.d/test/lib\u0000
[14:1:21.336] binder> Launching debugee
[14:1:21.808] binder> Waiting for VM initialized
[14:1:21.809] Initial VMStartEvent received: VMStartEvent in thread main
[14:1:21.816] ==> nsk/jdi/Accessible/modifiers/modifiers001 test LOG:
[14:1:21.816] ==> test checks the modifiers() method of Accessible interface
[14:1:21.816] of the com.sun.jdi package for ClassType, InterfaceType
[14:1:21.817] --> modifiers001: modifiers001a debugee launched
[14:1:21.866] debugee.stderr> **> modifiers001a: debugee started!
[14:1:22.416] debugee.stderr> **> modifiers001a: waiting for "quit" signal...
[14:1:22.910] --> modifiers001: debugee's "ready" signal recieved!
[14:1:22.911] --> modifiers001: checking debugee's classes by Accessible.modifiers() method...
[14:1:22.914]
[14:1:22.920] # ERROR: ##> modifiers001: UNEXPECTED modifiers() method result (0x11) for class: java.lang.Boolean(public, final)
The following stacktrace is for failure analysis.
nsk.share.TestFailure: ##> modifiers001: UNEXPECTED modifiers() method result (0x11) for class: java.lang.Boolean(public, final)
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:309)
at nsk.share.Log.complain(Log.java:280)
at nsk.jdi.Accessible.modifiers.modifiers001.runThis(modifiers001.java:193)
at nsk.jdi.Accessible.modifiers.modifiers001.run(modifiers001.java:98)
at nsk.jdi.Accessible.modifiers.modifiers001.main(modifiers001.java:84)
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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1516)
There are currently 42 of these failures in the Valhalla CI on
all of the Mach5 platforms. All of the failing test tasks have
"*enable-preview*" in the name.
- relates to
-
JDK-8375074 [lworld] vmTestbase/nsk/jdi/ModificationWatchpointEvent/valueToBe/valuetobe001/TestDescription.java fails with --enable-preview
-
- Open
-