Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

March 2024 JDK22 Release Triage #5156

Closed
smlambert opened this issue Mar 19, 2024 · 14 comments
Closed

March 2024 JDK22 Release Triage #5156

smlambert opened this issue Mar 19, 2024 · 14 comments
Assignees

Comments

@smlambert
Copy link
Contributor

smlambert commented Mar 19, 2024

Release Summary Report for release-openjdk22-pipeline

Report generated at: Tue, 19 Mar 2024 16:57:28 GMT
to feed into overall status (here)

TRSS Build and TRSS Grid View
Jenkins Build URL https://ci.adoptium.net/job/build-scripts/job/release-openjdk22-pipeline/5/
Started by upstream project "build-scripts/utils/releaseTrigger_jdk22" build number 170 at 3/19/2024, 12:39:49 PM


✔️ results in these Tables means the activity has successfully completed.
⏳ results means that we are actively working on closing off the runs needed for this version, platform, binaryType.
⛔ means there is no build planned for that version/platform combination.
⏸️ means activity not yet started.

Platform Status Results
x86-64_mac ✔️ comment
x86-64_linux ✔️ comment
x86-64_windows ✔️ comment
aarch64_linux ✔️ comment
aarch64_mac ✔️ comment
x86-64_alpine-linux ✔️ comment
ppc64le_linux ✔️ comment
s390x_linux ✔️ comment
ppc64_aix comment
aarch64_alpine-Linux ✔️ comment
riscv64_linux ✔️ comment
@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

x86-64_linux

extended.openjdk (on test-docker-debian11-x64-1)
jdk_nio:
TEST: java/nio/file/WatchService/LotsOfCancels.java (passes on rerun)
jdk_tools:
TEST: tools/jpackage/share/RuntimeImageTest.java (fails here on test-docker-debian11-x64-1) and rerun in Grinder/9207 - passes
Grinder_20240320023103_x86-64_liinux_jdk22.tap.txt

8/9 top-level targets passing, TAP files here.

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

x86-64_mac

9/9 top-level targets completed / 7/9 passed (TAPs here)

sanity.openjdk (2 unique testcases failing, rerun in TC Grinder/4120) passes
Grinder_20240320160236_x64Mac_jdk22.tap.txt
jdk_lang
TEST: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id0
TEST: jdk/internal/misc/ThreadFlock/ThreadFlockTest.java#virtual

extended.openjdk (5 unique testcases failing, rerun in TC Grinder/4121) passes
Grinder_20240320161738_x64Mac_jdk22.tap.txt

ACTION: raise issue about not being able to pass multicast tests on Orka machines

jdk_jfr
TEST: jdk/jfr/jcmd/TestJcmdDump.java

jdk_net
TEST: java/net/DatagramSocket/DatagramSocketExample.java
TEST: java/net/DatagramSocket/DatagramSocketMulticasting.java

jdk_nio
TEST: java/nio/channels/DatagramChannel/AdaptorMulticasting.java
TEST: java/nio/channels/DatagramChannel/BasicMulticastTests.java

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

x86-64_windows

9/9 top-level targets completed, 6/9 passed (TAPs here)

sanity.openjdk
jdk_util and jdk_foreign fail in original run, failed testcases rerun in Grinder/9209 rerun
[java/util/regex/NegativeArraySize.java java/util/BitSet/HugeToString.java java/util/regex/NegativeArraySize.java java/foreign/TestStringEncodingJumbo.java java/foreign/TestStringEncodingJumbo.java] all pass except java/foreign/TestStringEncodingJumbo.java fails (rerun in Grinder/9210) passes
Grinder_20240320033736_x64Win_jdk22.tap.txt

special.functional - 1 failure, MBCS_Tests_formatter_tw_windows (and fails in same way in auto rerun)
running MBCS_Tests\\formatter\\test2.bat windows zh tw MS950 TEST_STRING; - likely requires a test update, related to #5148 - will mark this test as non-blocking, either https://github.com/adoptium/aqa-tests/blob/master/functional/MBCS_Tests/formatter/src/FormatterTest2.java or https://github.com/adoptium/aqa-tests/blob/master/functional/MBCS_Tests/formatter/data/expected_windows_zh-tw.txt needs updating
ACTION: PR needed to fix the test code, but marking as non-blocking

extended.openjdk (9 unique testcase failures, rerun in Grinder/9215) on test-ibmcloud-win2012r2-x64-1 all pass
Grinder_testList_0_20240320042800_x64Win_jdk22.tap.txt
jdk_other
TEST: com/sun/jndi/dns/ConfigTests/PortUnreachable.java
jdk_net
TEST: java/net/MulticastSocket/IPMulticastIF.java
jdk_tools
TEST: tools/jpackage/share/PerUserCfgTest.java
TEST: tools/jpackage/share/ServiceTest.java
TEST: tools/jpackage/windows/Win8282351Test.java
TEST: tools/jpackage/windows/WinLongVersionTest.java#id1
jdk_jfr
TEST: jdk/jfr/event/runtime/TestNetworkUtilizationEvent.java
TEST: jdk/jfr/jcmd/TestJcmdDump.java
jdk_io
TEST: java/io/File/createTempFile/SpecialTempFile.java

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

aarch64_linux

9/9 top-level targets completed, 8/9 passed, TAP files here

extended.openjdk (2 testcases fail)
jdk_net
TEST: java/net/httpclient/MaxStreams.java (passes in auto rerun)
jdk_tools
TEST: tools/jpackage/share/RuntimeImageTest.java (fails in original run on test-docker-centos8-armv8-1 and fails in auto rerun on test-docker-sles15-armv8l-1) - run in Grinder/9208 passes on test-docker-debain12-armv8l-1
Grinder_20240320030741_aarch64Linux_jdk22.tap.txt

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

aarch64_mac - all green after reruns

3 testcases fail in original test run (test-orka-macos14-arm64-42zt), pass on rerun (test-orka-macos14-arm64-42ztr)
jdk_jfr_1: jdk/jfr/jcmd/TestJcmdDump.java
jdk_nio_0:
TEST: java/nio/channels/DatagramChannel/BasicMulticastTests.java
TEST: java/nio/channels/DatagramChannel/AdaptorMulticasting.java

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

x86-64_alpine-linux

extended.openjdk
testList_0
TEST: java/net/httpclient/ManyRequests.java fails on test-docker-alpine314-x64-1, rerun in Grinder/9211 passes
Grinder_20240320035112_x64AlpineLinux_jdk22.tap.txt

testList_1 did not complete because of channel closing on test-docker-alpine314-x64-2, rerun in https://ci.adoptium.net/job/Test_openjdk22_hs_extended.openjdk_x86-64_alpine-linux_testList_1/3/ - rerun passes
Test_openjdk22_hs_extended.openjdk_x86-64_alpine-linux_testList_1.tap.txt

21:00:26  Cannot contact test-docker-alpine314-x64-2: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@57f596d2:test-docker-alpine314-x64-2": Remote call on test-docker-alpine314-x64-2 failed. The channel is closing down or has closed down
21:06:34  wrapper script does not seem to be touching the log file in /home/jenkins/workspace/Test_openjdk22_hs_extended.openjdk_x86-64_alpine-linux_testList_1@tmp/durable-75890917
21:06:34  (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

testList_2
jdk_build
TEST: build/AbsPathsInImage.java fails on test-docker-alpine317-x64-2, rerun in Grinder/9212 fails, rerun in TC Grinder/4123) passes
Grinder_20240320162456_x64AlpineLinux_jdk22.tap.txt

java.lang.OutOfMemoryError: Java heap space
	at java.base/java.nio.file.Files.read(Files.java:3223)
	at java.base/java.nio.file.Files.readAllBytes(Files.java:3280)
	at AbsPathsInImage.scanFile(AbsPathsInImage.java:181)
	at AbsPathsInImage$1.visitFile(AbsPathsInImage.java:173)
	at AbsPathsInImage$1.visitFile(AbsPathsInImage.java:153)
	at java.base/java.nio.file.Files.walkFileTree(Files.java:2791)
	at java.base/java.nio.file.Files.walkFileTree(Files.java:2862)
	at AbsPathsInImage.scanFiles(AbsPathsInImage.java:153)
	at AbsPathsInImage.main(AbsPathsInImage.java:119)
	at java.base/java.lang.invoke.LambdaForm$DMH/0x00000000080c0000.invokeStatic(LambdaForm$DMH)
	at java.base/java.lang.invoke.LambdaForm$MH/0x0000000008101800.invoke(LambdaForm$MH)
	at java.base/java.lang.invoke.Invokers$Holder.invokeExact_MT(Invokers$Holder)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(DirectMethodHandleAccessor.java:154)
	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:333)
	at java.base/java.lang.Thread.runWith(Thread.java:1583)
	at java.base/java.lang.Thread.run(Thread.java:1570)

8/9 top-level targets completed / passed (TAPs here)

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

ppc64le_linux

9/9 top-level targets completed / 8/9 passed (TAPs here)

extended.openjdk (3 unique testcases fail, rerun in Grinder/9221 fails, libSuspendResume1.so not found and Grinder/9220 passes
Grinder_testList_0_20240320175040_ppc64leLinux_jdk22.tap.txt
)
These pass on rerun in Grinder/9220:
jdk_beans
TEST: java/beans/Beans/TypoInBeanDescription.java
jdk_tools
TEST: tools/jpackage/share/RuntimeImageTest.java

hotspot_serviceability_jvmti
TEST: serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java#default

Could not find agent library SuspendResume1 on the library path, with error: libSuspendResume1.so: cannot open shared object file: No such file or directory

Since it does not find this native test image, rerun Grinder/9222 with SDK_RESOURCE=customized and CUSTOMIZED_SDK_URL='jdk testimage' explicitly to see if that helps unpack testimage contents in correct spot, same issue

16:45:39  command: main -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -agentlib:SuspendResume1 SuspendResume1
16:45:39  reason: User specified action: run main/othervm/native/timeout=600 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -agentlib:SuspendResume1 SuspendResume1 
16:45:39  started: Wed Mar 20 16:45:39 EDT 2024
16:45:39  Mode: othervm [/othervm specified]
16:45:39  finished: Wed Mar 20 16:45:39 EDT 2024
16:45:39  elapsed time (seconds): 0.01
16:45:39  configuration:
16:45:39  STDOUT:
16:45:39  Error occurred during initialization of VM
16:45:39  Could not find agent library SuspendResume1 on the library path, with error: libSuspendResume1.so: cannot open shared object file: No such file or directory

And verified the .so file is in the testimage.tar.gz file.

Annotations at top of test file

/*
 * @test id=default
 * @summary Test SuspendThread/ResumeThread, SuspendThreadList/ResumeThreadList
 *          for virtual threads.
 * @library /test/lib
 * @compile SuspendResume1.java
 * @run driver jdk.test.lib.FileInstaller . .
 * @run main/othervm/native/timeout=600
 *      -Djava.util.concurrent.ForkJoinPool.common.parallelism=1
 *      -agentlib:SuspendResume1
 *      SuspendResume1
 */

 /*
 * @test id=no-vmcontinuations
 * @requires vm.continuations
 * @library /test/lib
 * @compile SuspendResume1.java
 * @run driver jdk.test.lib.FileInstaller . .
 * @run main/othervm/native/timeout=600
 *      -Djava.util.concurrent.ForkJoinPool.common.parallelism=1
 *      -agentlib:SuspendResume1
 *      -XX:+UnlockExperimentalVMOptions
 *      -XX:-VMContinuations
 *      SuspendResume1
 */

This test passed on atest-skytap-ubuntu2004-ppc64le-1 on March 13, https://ci.adoptium.net/job/Test_openjdk22_hs_extended.openjdk_ppc64le_linux_rerun/6/testReport/serviceability_jvmti_vthread_SuspendResume1_SuspendResume1/java_no-vmcontinuations/SuspendResume1_no_vmcontinuations/ but when run in Grinder on that machine now, gets the error reported above.

https://ci.adoptium.net/job/Grinder/9232 - sap

There is a (likely test framework) issue when running the SuspendResume1 testcase as a standalone run (which we will have to investigate), in the meantime, rerun the entire serviceability target and see it passing in Grinder/9234
Grinder_20240321165650_ppc64le_jdk22.tap.txt

https://ci.adoptium.net/job/Grinder/9234/testReport/serviceability_jvmti_vthread_SuspendResume1_SuspendResume1/

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

s390x_linux

9/9 top-level targets completed, 6/9 passed (TAPs here)

special.functional - 2 targets failing, MBCS_Tests_formatter_zh_TW_linux and MBCS_Tests_i18n_ko_KR_linux - these are now reported in #5148, they can be marked as non-blocking (considered a test bug) as the test material itself needs assessment/updating.

MBCS_Tests_i18n_ko_KR_linux_0 Start Time: Tue Mar 19 12:34:27 2024 Epoch Time (ms): 1710869667703
        variation: NoOptions
        JVM_OPTIONS:  
        
        TEST SETUP:
        Nothing to be done for setup.
        
        TESTING:
        1..3
        # linux_ko_KR.UTF-8
        base /home/jenkins/workspace/Test_openjdk22_hs_special.functional_s390x_linux/jvmtest/functional/MBCS_Tests/i18n/
        ok 1 - showlocale test
        ok 2 - BreakIteratorTest test
        not ok 3 - DateFormatTest
        #   Failed test 'DateFormatTest'
        #   at /home/jenkins/workspace/Test_openjdk22_hs_special.functional_s390x_linux/aqa-tests/TKG/../../jvmtest/functional/MBCS_Tests/i18n/test.pl line 121.
        # Looks like you failed 1 test of 3.
        -----------------------------------
        MBCS_Tests_i18n_ko_KR_linux_0_FAILED

sanity.openjdk (rerun in Grinder/9227) - passes on test-docker-sles15-s390x-1
Grinder_20240321034448_s390x_jdk22.tap.txt
jdk_util
TEST: java/util/HashMap/WhiteBoxResizeTest.java
jdk_foreign
TEST: java/foreign/TestLargeSegmentCopy.java
TEST: java/foreign/TestStringEncodingJumbo.java

extended.openjdk - hundreds of issues (try rerun in Grinder/9225 passes on test-marist-rhel8-s390x-2
Grinder_20240321034212_s390x_jdk22.tap.txt
and Grinder/9226 50 compiler testcases fail with no route to host issues on test-marist-sles12-s390x-2) - rerun again on a non-sles machine in Grinder/9239 - passes
Grinder_20240321175939_s390x_jdk22.tap.txt

23:47:16  STDERR:
23:47:16   stdout: [CompileCommand: compileonly *Klass*.* bool compileonly = true
23:47:16  INFO: Client connection port = 37917
23:47:16  ];
23:47:16   stderr: [Exception in thread "main" java.lang.Error: Error on performing network operation
23:47:16  	at compiler.compilercontrol.share.actions.BaseAction.communicate(BaseAction.java:105)
23:47:16  	at compiler.compilercontrol.share.actions.BaseAction.main(BaseAction.java:59)
23:47:16  Caused by: java.net.NoRouteToHostException: No route to host
23:47:16  	at java.base/sun.nio.ch.Net.connect0(Native Method)
23:47:16  	at java.base/sun.nio.ch.Net.connect(Net.java:589)
23:47:16  	at java.base/sun.nio.ch.Net.connect(Net.java:578)
23:47:16  	at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
23:47:16  	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
23:47:16  	at java.base/java.net.Socket.connect(Socket.java:752)
23:47:16  	at java.base/java.net.Socket.connect(Socket.java:687)
23:47:16  	at java.base/java.net.Socket.<init>(Socket.java:556)
23:47:16  	at java.base/java.net.Socket.<init>(Socket.java:357)
23:47:16  	at compiler.compilercontrol.share.actions.BaseAction.communicate(BaseAction.java:90)
23:47:16  	... 1 more
23:47:16  ]
23:47:16   exitValue = 1
23:47:16  
23:47:16  java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
23:47:16  	at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:513)
23:47:16  	at compiler.compilercontrol.share.scenario.Scenario.execute(Scenario.java:118)
23:47:16  	at compiler.compilercontrol.share.SingleCommand.test(SingleCommand.java:54)
23:47:16  	at compiler.compilercontrol.commandfile.CompileOnlyTest.main(CompileOnlyTest.java:45)
23:47:16  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
23:47:16  	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
23:47:16  	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
23:47:16  	at java.base/java.lang.Thread.run(Thread.java:1570)
23:47:16  
23:47:16  JavaTest Message: Test threw exception: java.lang.RuntimeException
23:47:16  JavaTest Message: shutting down test

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

ppc64_aix

9/9 top-level targets completed / 7/9 passed (TAPs here)

sanity.openjdk
jdk_foreign 2 testcase failures (rerun in Grinder/9213) fails, Deep history shows these tests passing on test-osuosl-aix72-ppc64-6, so run them there in Grinder/9217 - same failures below, TestAsyncStackWalk crashes

TEST: java/foreign/TestUpcallAsync.java (crashes)

13:10:04  STDOUT:
13:10:04  NativeTestHelper::DEFAULT_RANDOM.seed = -1973767948
13:10:04  Re-run with '-DNativeTestHelper.DEFAULT_RANDOM.seed=-1973767948' to reproduce
13:10:04  #
13:10:04  # A fatal error has been detected by the Java Runtime Environment:
13:10:04  #
13:10:04  #  SIGSEGV (0xb) at pc=0x0900000012ab2f48, pid=7078170, tid=10281
13:10:04  #
13:10:04  # JRE version: OpenJDK Runtime Environment Temurin-22+36 (22.0+36) (build 22+36)
13:10:04  # Java VM: OpenJDK 64-Bit Server VM Temurin-22+36 (22+36, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, aix-ppc64)
13:10:04  # Problematic frame:
13:10:04  # V  [libjvm.so+0xba1f48]  __srterm__0@AF67_2+0x8
13:10:04  #
13:10:04  # Core dump will be written. Default location: /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/scratch/core or core.7078170
13:10:04  #
13:10:04  # An error report file with more information is saved as:
13:10:04  # /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/scratch/hs_err_pid7078170.log
13:10:04  #
13:10:04  # If you would like to submit a bug report, please visit:
13:10:04  #   https://github.com/adoptium/adoptium-support/issues
13:10:04  # The crash happened outside the Java Virtual Machine in native code.
13:10:04  # See problematic frame for where to report the bug.
13:10:04  #
13:10:04  STDERR:
13:10:04  rerun:
13:10:04  cd /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/scratch && \
13:10:04  DISPLAY=unix:0 \
13:10:04  HOME=/home/jenkins \
13:10:04  LANG=en_US \
13:10:04  PATH=/bin:/usr/bin:/usr/sbin \
13:10:04  TZ=Etc/UTC \
13:10:04  CLASSPATH=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/classes/java/foreign/TestUpcallAsync.d:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/foreign:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/testng-7.3.0.jar:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/guice-5.1.0.jar:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/jcommander-1.82.jar:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/jtreg.jar \
13:10:04      /home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/bin/java \
13:10:04          -Dtest.vm.opts='-ea -esa -Xmx512m' \
13:10:04          -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
13:10:04          -Dtest.compiler.opts= \
13:10:04          -Dtest.java.opts= \
13:10:04          -Dtest.jdk=/home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image \
13:10:04          -Dcompile.jdk=/home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image \
13:10:04          -Dtest.timeout.factor=8.0 \
13:10:04          -Dtest.nativepath=/home/jenkins/workspace/Grinder/jdkbinary/openjdk-test-image/jdk/jtreg/native \
13:10:04          -Dtest.root=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/jdk \
13:10:04          -Dtest.name=java/foreign/TestUpcallAsync.java \
13:10:04          -Dtest.file=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/foreign/TestUpcallAsync.java \
13:10:04          -Dtest.src=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/foreign \
13:10:04          -Dtest.src.path=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/foreign \
13:10:04          -Dtest.classes=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/classes/java/foreign/TestUpcallAsync.d \
13:10:04          -Dtest.class.path=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/classes/java/foreign/TestUpcallAsync.d \
13:10:04          -Dtest.class.path.prefix=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/classes/java/foreign/TestUpcallAsync.d:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/foreign \
13:10:04          -Dtest.modules=java.base/jdk.internal.foreign \
13:10:04          --add-modules java.base \
13:10:04          --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
13:10:04          -ea \
13:10:04          -esa \
13:10:04          -Xmx512m \
13:10:04          -Djava.library.path=/home/jenkins/workspace/Grinder/jdkbinary/openjdk-test-image/jdk/jtreg/native \
13:10:04          -XX:+IgnoreUnrecognizedVMOptions \
13:10:04          -XX:-VerifyDependencies \
13:10:04          --enable-native-access=ALL-UNNAMED \
13:10:04          -Dgenerator.sample.factor=17 \
13:10:04          com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109545727976/jdk_custom_0/work/java/foreign/TestUpcallAsync.d/testng.0.jta java/foreign/TestUpcallAsync.java false TestUpcallAsync
13:10:04  
13:10:04  TEST RESULT: Failed. Unexpected exit from test [exit code: 134]

TEST: java/foreign/stackwalk/TestAsyncStackWalk.java#default_gc (crashes)

[WhiteBox::VerifyFrames] Walking Frames
Native frame (sp=0x0000000115e75230 unextended sp=0x0000000115e75230, fp=0x0000000115e752f0, real_fp=0x0000000115e752f0, pc=0x0a00010007be32f4)
Compiled frame (sp=0x0000000115e752f0 unextended sp=0x0000000115e752f0, fp=0x0000000115e75360, real_fp=0x0000000115e75360, pc=0x0a000100001d345c)
Compiled frame (sp=0x0000000115e75360 unextended sp=0x0000000115e75360, fp=0x0000000115e753d0, real_fp=0x0000000115e753d0, pc=0x0a000100001d2e14)
Compiled frame (sp=0x0000000115e753d0 unextended sp=0x0000000115e753d0, fp=0x0000000115e75410, real_fp=0x0000000115e75410, pc=0x0a00010007be2174)
Compiled frame (sp=0x0000000115e75410 unextended sp=0x0000000115e75410, fp=0x0000000115e75480, real_fp=0x0000000115e75480, pc=0x0a000100001d2610)
Compiled frame (sp=0x0000000115e75480 unextended sp=0x0000000115e75480, fp=0x0000000115e754d0, real_fp=0x0000000115e754d0, pc=0x0a00010007be19c8)
C frame (sp=0x0000000115e754d0 unextended sp=0x0000000115e754d0, fp=0x0000000115e75690, real_fp=0x0000000115e75690, pc=0x0a00010007583b3c)
[WhiteBox::VerifyFrames] Done
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0900000012e5ff48, pid=30409102, tid=4884
#
# JRE version: OpenJDK Runtime Environment Temurin-22+36 (22.0+36) (build 22+36)
# Java VM: OpenJDK 64-Bit Server VM Temurin-22+36 (22+36, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, aix-ppc64)
# Problematic frame:
# V  [libjvm.so+0xba1f48]  __srterm__0@AF67_2+0x8
#
# Core dump will be written. Default location: /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109075623225/jdk_custom_0/work/scratch/core or core.30409102
#
Unsupported internal testing APIs have been used.

# An error report file with more information is saved as:
# /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17109075623225/jdk_custom_0/work/scratch/hs_err_pid30409102.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Deep history shows the 2 jdk_foreign test cases were last passing 10/16/2023 and first seen failing 11/06/2023 (ACTION: check what commits were introduced in between those dates).
Screenshot 2024-03-22 at 8 10 03 AM

This commit seems 'suspect' openjdk/jdk@3885dc5

Created #5169 to perform further investigation and to pinpoint if the suspect introduced the problem.


extended.openjdk (2 testcases failing, these have been excluded and marked as non-blocking, so consider extended.openjdk as ✔️ )
jdk_tools
TEST: tools/launcher/JliLaunchTest.java
jdk_jdi
TEST: com/sun/jdi/ThreadMemoryLeakTest.java

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

aarch64_alpine-Linux

Pending: extended.openjdk
some targets (jdk_jfr, jdk_jdi, jdk_nio) fail on test-docker-alpine319-armv8-2 but pass on rerun test-docker-alpine314-armv8-3
jdk_build with 2 testcases fail (in both original test on test-docker-alpine319-armv8-1 and rerun on test-docker-alpine314-armv8-3)
build/AbsPathsInImage.java.AbsPathsInImage (see out of bounds typo comment in #4714 (comment)) - consider non-blocking #3988 (comment)

java.lang.OutOfMemoryError: Java heap space
	at java.base/java.nio.file.Files.read(Files.java:3223)
	at java.base/java.nio.file.Files.readAllBytes(Files.java:3280)
	at AbsPathsInImage.scanFile(AbsPathsInImage.java:181)
	at AbsPathsInImage$1.visitFile(AbsPathsInImage.java:173)
	at AbsPathsInImage$1.visitFile(AbsPathsInImage.java:153)
	at java.base/java.nio.file.Files.walkFileTree(Files.java:2791)
	at java.base/java.nio.file.Files.walkFileTree(Files.java:2862)
	at AbsPathsInImage.scanFiles(AbsPathsInImage.java:153)
	at AbsPathsInImage.main(AbsPathsInImage.java:119)
	at java.base/java.lang.invoke.LambdaForm$DMH/0x00000000220c0000.invokeStatic(LambdaForm$DMH)
	at java.base/java.lang.invoke.LambdaForm$MH/0x0000000022101800.invoke(LambdaForm$MH)
	at java.base/java.lang.invoke.Invokers$Holder.invokeExact_MT(Invokers$Holder)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(DirectMethodHandleAccessor.java:154)
	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:333)
	at java.base/java.lang.Thread.runWith(Thread.java:1583)
	at java.base/java.lang.Thread.run(Thread.java:1570)

java/nio/file/DirectoryStream/SecureDS.java.SecureDS fails on test-docker-alpine319-armv8-1- rerun in Grinder/9216 but considering its reporting as 'not supported' assume this test should be excluded against this platform (need to check upstream code and confirm) - curiously passes in Grinder on test-docker-alpine314-armv8-3
Grinder_20240320132120_aarch64AlpineLinux_jdk22.tap.txt

ACTION: check if intermittent or machine related

java.lang.AssertionError: SecureDirectoryStream not supported.
	at SecureDS.main(SecureDS.java:49)
	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:333)
	at java.base/java.lang.Thread.run(Thread.java:1570)

8/9 top-level targets completed / passed (TAPs here)

@smlambert
Copy link
Contributor Author

smlambert commented Mar 19, 2024

riscv64_linux

9/9 top-level targets completed / 6/9 passed (TAPs here)

sanity.system
TestJlmRemoteMemoryAuth_1 fails on test-rise-debian12-riscv64-8 rerun in Grinder/9214 passes
Grinder_20240320041811_riscv_jdk22.tap.txt

sanity.openjdk (2 testcases fail, rerun on !test-rise-debian12-riscv64-7 in Grinder/9218) passes
Grinder_20240320174221_riscv_jdk22.tap.txt
jdk_lang
TEST: java/lang/Thread/ThreadSleepEvent.java
jdk_util
TEST: java/util/stream/test/org/openjdk/tests/java/util/stream/DistinctOpTest.java

extended.openjdk (6 testcase failures, rerun in Grinder/9223 results at Grinder_20240321032401_riscv_jdk22.tap.txt and Grinder/9224 on test-rise-debian12-riscv64-2)

hotspot_serviceability_jvmti - rerun in TC Grinder/4134 fails (can not find file) - rerun full test target in TC Grinder/4138
TEST: serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java#default

jdk_security3 passes in Grinder/9223
TEST: sun/security/tools/keytool/ReadJar.java
jdk_jfr passes in Grinder/9223
TEST: jdk/jfr/event/runtime/TestMetaspaceAllocationFailure.java
TEST: jdk/jfr/jcmd/TestJcmdDump.java

jdk_jdi fails in Grinder/9223 fails with OutOfMemoryError
TEST: com/sun/jdi/FinalizerTest.java

23:28:39  STDERR:
23:28:39  [6ms] run args: [FinalizerTarg]
23:28:39  [2294ms] Breakpoint at finalize:68 (0)
23:28:39  [2322ms] Try a stepOverLine()...
23:28:39  [2361ms] Step Complete at finalize:70 (4)
23:28:39  [4677ms] Note: Unexpected Debuggee Exception: java.lang.OutOfMemoryError at line 145
23:28:39  [4772ms] detailMessage = "Java heap space"
23:28:39  java.lang.RuntimeException: Invalid debuggee exitValue: 1
23:28:39  	at TestScaffold.waitForVMDisconnect(TestScaffold.java:787)
23:28:39  	at TestScaffold.resumeToVMDisconnect(TestScaffold.java:1015)
23:28:39  	at TestScaffold.listenUntilVMDisconnect(TestScaffold.java:743)
23:28:39  	at FinalizerTest.runTests(FinalizerTest.java:186)
23:28:39  	at TestScaffold.startTests(TestScaffold.java:468)
23:28:39  	at FinalizerTest.main(FinalizerTest.java:121)
23:28:39  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
23:28:39  	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
23:28:39  	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
23:28:39  	at java.base/java.lang.Thread.run(Thread.java:1570)
23:28:39  
23:28:39  JavaTest Message: Test threw exception: java.lang.RuntimeException
23:28:39  JavaTest Message: shutting down test
23:28:39  
23:28:39  STDOUT:
23:28:39  vmOpts: '-ea -esa -Xmx512m -Djava.awt.headless=true'
23:28:39  javaOpts: ''
23:28:39  JVM version:22
23:28:39  JDI version: 22.0
23:28:39  JVM description: Java Debug Interface (Reference Implementation) version 22.0 
23:28:39  Java Debug Wire Protocol (Reference Implementation) version 22.0
23:28:39  JVM Debug Interface version 22.0
23:28:39  JVM version 22 (OpenJDK 64-Bit Server VM, mixed mode, sharing)
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Allocated 10000000
23:28:39  Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
23:28:39  	at java.base/java.lang.ref.Finalizer.runFinalization(Finalizer.java:145)
23:28:39  	at java.base/java.lang.ref.Reference$1.runFinalization(Reference.java:331)
23:28:39  	at java.base/java.lang.Runtime.runFinalization(Runtime.java:788)
23:28:39  	at java.base/java.lang.System.runFinalization(System.java:1987)
23:28:39  	at FinalizerTarg.waitForAFinalizer(FinalizerTest.java:100)
23:28:39  	at FinalizerTarg.main(FinalizerTest.java:111)
23:28:39  
23:28:39  TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Invalid debuggee exitValue: 1
23:28:39  --------------------------------------------------
23:31:17  Test results: passed: 3; failed: 1

From Slack msg:
Re-runs of hotspot_serviceability_jvmti (5 iterations, to keep the machines busy overnight!):
Scaleway TH1520
Rise TH1520
VF2 JH7110
PLCT Unmatched - passes regularly

SuspendResume1 failure seems to be machine specific. Marking them as intermittent/non-blocking. This platform is ready to be released.

@smlambert
Copy link
Contributor Author

smlambert commented Mar 28, 2024

Summary of post-release actions:

@smlambert
Copy link
Contributor Author

@smlambert
Copy link
Contributor Author

Screenshot 2024-04-03 at 8 29 01 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant