Skip to content

openjdk: add vmTestbase_nsk_monitoring target#6987

Open
zzambers wants to merge 1 commit intoadoptium:masterfrom
zzambers:vmbase-nsk-monitoring
Open

openjdk: add vmTestbase_nsk_monitoring target#6987
zzambers wants to merge 1 commit intoadoptium:masterfrom
zzambers:vmbase-nsk-monitoring

Conversation

@zzambers
Copy link
Copy Markdown
Contributor

@zzambers zzambers commented Apr 1, 2026

Adds hotspot vmTestbase_nsk_monitoring target to openjdk tests.
Its part of broader effort to add VM Testbase tests to aqa.

TESTING:
jdk11: RESULTS

  • x86-64_linux, aarch64_linux, x86-64_mac, x86-64_windows, x86-32_windows: FAILURES
    vmTestbase/nsk/monitoring/stress/lowmem/lowmem*/TestDescription.java
  • ppc64_aix: ERROR

jdk17: RESULTS

  • x86-64_linux, aarch64_linux, x86-64_mac, x86-64_windows, x86-32_windows: OK
  • ppc64_aix: ERROR

jdk21: RESULTS

  • x86-64_linux,aarch64_linux,x86-64_mac,x86-64_windows: OK

jdk25: RESULTS

  • x86-64_mac, x86-64_linux, riscv64_linux: FAILURES (OOMs)
    vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters001/CollectionCounters001.java
    vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters*/TestDescription.java
  • aarch64_linux, x86-64_windows: OK

@zzambers
Copy link
Copy Markdown
Contributor Author

zzambers commented Apr 1, 2026

AIX Errors (11,17):

17:38:22  Run /home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/bin/java -version
17:38:22  =JAVA VERSION OUTPUT BEGIN=
17:38:22  Error: dl failure on line 606
17:38:22  Error: failed /home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/lib/server/libjvm.so, because 	0509-022 Cannot load module /home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/lib/server/libjvm.so.
17:38:22  	0509-150   Dependent module /usr/jdk-21.0.2+13/../lib/libc++.a(shr2_64.o) could not be loaded.
17:38:22  	0509-152   Member shr2_64.o is not found in archive 
17:38:22  	0509-022 Cannot load module /home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/lib/server/libjvm.so.
17:38:22  	0509-150   Dependent module /home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/lib/server/libjvm.so could not be loaded.
  • seems like jdk/system issue, unrelated to new tests

EDIT:
I have found this issue mentioned here: adoptium/infrastructure#3606 (comment)

@zzambers
Copy link
Copy Markdown
Contributor Author

zzambers commented Apr 1, 2026

jdk11 failures
Tests:

vmTestbase/nsk/monitoring/stress/lowmem/lowmem001/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem002/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem003/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem004/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem005/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem006/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem007/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem008/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem009/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/stress/lowmem/lowmem010/TestDescription.java.TestDescription

Error:

17:51:26  /home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/gc/GC.java:53: error: cannot find symbol
17:51:26                          LocalRandom.init();
17:51:26                                     ^
17:51:26    symbol:   method init()
17:51:26    location: class LocalRandom
17:51:26  Note: Some input files use unchecked or unsafe operations.
17:51:26  Note: Recompile with -Xlint:unchecked for details.
17:51:26  1 error
  • has upstream bug: JDK-8380583
  • should be fixed by recent JDK-8380951 backport to 11, as mentioned in above bug

@zzambers
Copy link
Copy Markdown
Contributor Author

zzambers commented Apr 1, 2026

jdk25 failures (OOMs)

Tests:

vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters001/CollectionCounters001.java.CollectionCounters001
vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters002/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters003/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters004/TestDescription.java.TestDescription
vmTestbase/nsk/monitoring/GarbageCollectorMXBean/CollectionCounters/CollectionCounters005/TestDescription.java.TestDescription

Problem:

Execution failed: `main' threw exception: java.lang.OutOfMemoryError: Java heap space 
  • has upstream bug: JDK-8370731, fixed in 27 (to be backported to 25?)

@zzambers
Copy link
Copy Markdown
Contributor Author

zzambers commented Apr 8, 2026

I have opened backport PRs for JDK-8370731 (+ follow-ups) for jdk 25, 26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants