AppLauncherSubstTest FAILED in Test_openjdk25_hs_extended.openjdk_x86-64_mac
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
**Failing Test Info**
Test Name: tools/jpackage/share/AppLauncherSubstTest.java
Test Duration: 16-21 minutes
Machine it fails on: Orka nodes
Machines it passes on (if intermittent): Orka nodes (no apparent pattern)
**Jenkins Test Job Info**
Jenkins Test Job Name: (Example: Test_openjdk8_hs_extended.openjdk_arm_linux_testList_0)
Jenkins Test Job URL: https://ci.adoptium.net/job/Test_openjdk25_hs_extended.openjdk_x86-64_mac_testList_2/46/
TRSS link for the build (if available): [Link](https://trss.adoptium.net/allTestsInfo?buildId=69de0d2fd6baa2006eb34a80&limit=1&hasChildren=true) (Currently no data available)
**Deep History Link from TRSS (if available)** Not available
** Rerun in Grinder Link (if available) or Steps to Reproduce**
[Grinder rerun link](https://ci.adoptium.net/job/Grinder/parambuild/?SDK_RESOURCE=upstream&TARGET=jdk_custom&BASE_DOCKER_REGISTRY_CREDENTIAL_ID=&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=Test_openjdk25_hs_extended.openjdk_x86-64_mac&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=5&VENDOR_TEST_DIRS=&EXTRA_DOCKER_ARGS=&TKG_OWNER_BRANCH=adoptium%3Amaster&OPENJ9_SYSTEMTEST_OWNER_BRANCH=eclipse%3Amaster&PLATFORM=x86-64_mac&GENERATE_JOBS=true&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&DOCKER_REGISTRY_DIR=&RERUN_ITERATIONS=0&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faqa-tests.git&SETUP_JCK_RUN=false&DOCKER_REGISTRY_URL_CREDENTIAL_ID=&LABEL=&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=&BUILD_IDENTIFIER=&JENKINS_KEY=&ADOPTOPENJDK_BRANCH=v1.0.13-release&LIGHT_WEIGHT_CHECKOUT=false&USE_JRE=false&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&USER_CREDENTIALS_ID=&JDK_VERSION=25&DOCKER_REGISTRY_URL=&ITERATIONS=1&VENDOR_TEST_REPOS=&JDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Fjdk25u&JCK_GIT_BRANCH=master&OPENJ9_BRANCH=master&OPENJ9_SHA=&JCK_GIT_REPO=&VENDOR_TEST_BRANCHES=&UPSTREAM_JOB_NAME=build-scripts%2Fjobs%2Frelease%2Fjobs%2Fjdk25u%2Fjdk25u-release-mac-x64-temurin&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse-openj9%2Fopenj9.git&CLOUD_PROVIDER=&CUSTOM_TARGET=tools%2Fjpackage%2Fshare%2FAppLauncherSubstTest.java&VENDOR_TEST_SHAS=&JDK_BRANCH=jdk-25.0.3%2B8_adopt&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=53&DOCKERIMAGE_TAG=&TEST_TIME=&JDK_IMPL=hotspot&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&SLACK_CHANNEL=aqavit-bot&DYNAMIC_COMPILE=false&RELATED_NODES=&ADOPTOPENJDK_SYSTEMTEST_OWNER_BRANCH=adoptium%3Amaster&APPLICATION_OPTIONS=&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=eclipse_temurin_bot_email_and_token&ARCHIVE_TEST_RESULTS=false&NUM_MACHINES=&OPENJDK_SHA=&TRSS_URL=&RERUN_FAILURE=false&USE_TESTENV_PROPERTIES=true&BUILD_LIST=openjdk&ADDITIONAL_ARTIFACTS_REQUIRED=&UPSTREAM_JOB_NUMBER=10&STF_OWNER_BRANCH=adoptium%3Amaster&TIME_LIMIT=25&JVM_OPTIONS=&PARALLEL=None)
**Java Version output (from console output)**
```
00:13:33 openjdk version "25.0.3" 2026-04-21 LTS
00:13:33 OpenJDK Runtime Environment Temurin-25.0.3+8 (build 25.0.3+8-LTS)
00:13:33 OpenJDK 64-Bit Server VM Temurin-25.0.3+8 (build 25.0.3+8-LTS, mixed mode)
```
**Relevant Console Output (showing exceptions/errors/crashes)**
```
03:47:01 ACTION: main -- Error. Program `/Users/admin/workspace/workspace/Test_openjdk25_hs_extended.openjdk_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../bin/java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 961264ms).
03:47:01 REASON: User specified action: run main/othervm -Xmx512m jdk.jpackage.test.Main --jpt-run=AppLauncherSubstTest
03:47:01 TIME: 961.308 seconds
```
**Attach or link to relevant artifacts**
[AppLauncherSubstTest.jtr.txt](https://github.com/user-attachments/files/26742404/AppLauncherSubstTest.jtr.txt)
**Details**
Only seen so far on jdk_tools_1. jdk_tools_0 has several instances of passing, even when the overall test duration exceeds that of a failing test. [Example](https://ci.adoptium.net/job/Test_openjdk25_hs_extended.openjdk_x86-64_mac_testList_1/46/).
_0: -XX:+UseCompressedOops
_1: -XX:-UseCompressedOops
No indication of an upstream failure, or any Adoptium issues for this test. The test is almost a year old.
jdk_tools_1 sometimes passes: https://ci.adoptium.net/job/Test_openjdk25_hs_extended.openjdk_x86-64_mac_testList_1/45/consoleFull
Running in a 10x grinder: https://ci.adoptium.net/job/Grinder/16955/
Raising an issue upstream: https://bugs.openjdk.org/browse/JDK-8382218
This issue is raised to detail the problem and cover the exclusion of the test if warranted.
Update: When run in isolation, the test passes 80% of the time. The upstream bug has requested input from the Hotspot team in regards to the CR aspect.
One possibility is that since CRs reduce the memory load, the CR-disabled run of the test is generating and using so many uncompressed refs that we reach the timeout before the GC can catch up.
Either way, I think an exclusion is warranted. Creating the PR and cherry-picking into the release branch.
For JDK26, the only 2 runs on record ([link](https://ci.adoptium.net/job/Test_openjdk26_hs_extended.openjdk_x86-64_mac_testList_2/13/testReport/tools_jpackage_share_AppLauncherSubstTest/java/), [link](https://ci.adoptium.net/job/Test_openjdk26_hs_extended.openjdk_x86-64_mac_testList_1/14/testReport/tools_jpackage_share_AppLauncherSubstTest/java/)) passed, so this issue may be limited to jdk25.
JDK26 grinder to see if it happens there too: https://ci.adoptium.net/job/Grinder/17027/ - aborted as we cannot allocate Orka nodes right now. Issue raised: https://github.com/adoptium/infrastructure/issues/4316
Update: Orka issue may be resolved. Grinder jobs can use nodes generated by other jobs, so we have a working jdk26 grinder running here: https://ci.adoptium.net/job/Grinder/17044/
- finished, passed. Issue does not appear to happen on JDK26.
Contributor guide
Research direction
Start with tools/jpackage/share/AppLauncherSubstTest.java and the linked AppLauncherSubstTest.jtr.txt artifact, then rerun the test in isolation or through the provided Grinder job on JDK25 macOS. Review how this test is selected or excluded in aqa-tests; done means the warranted JDK25 exclusion is recorded and verified on the affected test job.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100