Skip to content

openjdk: add vmTestbase_nsk_monitoring target - #6987

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

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

Conversation

@zzambers

@zzambers zzambers commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

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

zzambers commented Apr 1, 2026

Copy link
Copy Markdown
Contributor Author

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

zzambers commented Apr 1, 2026

Copy link
Copy Markdown
Contributor Author

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

zzambers commented Apr 1, 2026

Copy link
Copy Markdown
Contributor Author

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

zzambers commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

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

@zzambers

Copy link
Copy Markdown
Contributor Author

I forgot to list one other jdk25 failure in riscv64_linux run:
vmTestbase/nsk/monitoring/stress/lowmem/lowmem014/TestDescription.java.TestDescription

16:11:34  STDERR:
16:11:34  Fatal glibc error: pthread_mutex_lock.c:94 (___pthread_mutex_lock): assertion failed: mutex->__data.__owner == 0
...
16:11:34  TEST RESULT: Failed. Unexpected exit from test [exit code: 134]

has not shown up in re-run

@sophia-guo

sophia-guo commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Looks like issues hit before are all resolved (backport, infra)? https://ci.adoptium.net/job/Grinder/18011/

@sophia-guo

Copy link
Copy Markdown
Contributor
17:11:30  BUILD FAILED
17:11:30  /Users/runner/agent/workspace/Grinder/aqa-tests/TKG/scripts/build_test.xml:66: The following error occurred while executing this line:
17:11:30  /Users/runner/agent/workspace/Grinder/aqa-tests/openjdk/build.xml:28: Problem: failed to create task or type if
17:11:30  Cause: The name is undefined.
17:11:30  Action: Check the spelling.

Need to rebase see adoptium/TKG@6b228db and #7116 @zzambers

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.

3 participants