adoptium / adoptium/aqa-tests

tools/launcher/VersionCheck.java in jdk_tools FAILED in Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1

Open
#4,243 1 comment 0 reactions 0 assignees View on GitHub
triage required
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

**tools/launcher/VersionCheck.java** consistently failing on all machines shown in deep history with `j2sdk-image/jdk8u362-b05/bin/servertool.debuginfo: cannot execute binary file`

Console output:
```
[2022-12-03T20:27:35.621Z] STDOUT:
[2022-12-03T20:27:35.621Z] Testing (-J-version): /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/openjdkbinary/j2sdk-image/jdk8u362-b05/bin/jar
[2022-12-03T20:27:35.621Z] Testing (-J-version): /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/openjdkbinary/j2sdk-image/jdk8u362-b05/bin/servertool.debuginfo
[2022-12-03T20:27:35.621Z] Error: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/openjdkbinary/j2sdk-image/jdk8u362-b05/bin/servertool.debuginfo fails -J-version comparison
[2022-12-03T20:27:35.621Z] Expected:
[2022-12-03T20:27:35.621Z] openjdk version "1.8.0_362"
[2022-12-03T20:27:35.621Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b05)
[2022-12-03T20:27:35.621Z] Actual:
[2022-12-03T20:27:35.621Z] /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/openjdkbinary/j2sdk-image/jdk8u362-b05/bin/servertool.debuginfo: /home/jenkins/workspace/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/openjdkbinary/j2sdk-image/jdk8u362-b05/bin/servertool.debuginfo: cannot execute binary file
```

**Test Info**
Test Name: jdk_tools_1
Test Duration: 14 min 27 sec
Machine: test-docker-ubi8-x64-2
TRSS link for the test output: https://trss.adoptium.net/output/test?id=63c21271ed0b30773ba34538

**Build Info**
Build Name: Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1
Jenkins Build start time: Jan 13 2023, 06:19 pm
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/78/
TRSS link for the build: https://trss.adoptium.net/allTestsInfo?buildId=63c21190ed0b30773ba3410b

**Java Version**
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_362-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.362-b06, mixed mode)

**This test has been failed 10 times since Jul 22 2022, 05:17 am**
**Java Version when the issue first seen**
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_342-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.342-b07, mixed mode)
Jenkins Build URL: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_linux_testList_1/50/

The test failed on machine test-docker-ubi8-x64-2 1 times
The test failed on machine test-equinix_esxi-ubuntu2204-x64-2 1 times
The test failed on machine test-docker-ubuntu2204-x64-2 1 times
The test failed on machine test-docker-ubi8-x64-1 1 times
The test failed on machine test-ibmcloud-rhel7-x64-1 2 times
The test failed on machine test-docker-fedora34-x64-2 2 times
The test failed on machine test-docker-fedora35-x64-1 1 times
The test failed on machine test-docker-ubuntu2110-x64-1 1 times

[Rerun in Grinder](https://ci.adoptopenjdk.net/job/Grinder/parambuild/?SDK_RESOURCE=upstream&TARGET=jdk_tools_1&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=Test_openjdk8_hs_extended.openjdk_x86-64_linux&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=0&VENDOR_TEST_DIRS=&EXTRA_DOCKER_ARGS=&TKG_OWNER_BRANCH=adoptium%3Amaster&OPENJ9_SYSTEMTEST_OWNER_BRANCH=eclipse%3Amaster&PLATFORM=x86-64_linux&GENERATE_JOBS=false&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&DOCKER_REGISTRY_DIR=&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faqa-tests.git&RERUN_ITERATIONS=0&DOCKER_REGISTRY_URL_CREDENTIAL_ID=&LABEL=&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=&BUILD_IDENTIFIER=&ADOPTOPENJDK_BRANCH=v0.9.6-release&LIGHT_WEIGHT_CHECKOUT=false&USE_JRE=false&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&USER_CREDENTIALS_ID=&JDK_VERSION=8&DOCKER_REGISTRY_URL=&ITERATIONS=1&VENDOR_TEST_REPOS=&JDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Fjdk8u&JCK_GIT_BRANCH=master&OPENJ9_BRANCH=master&OPENJ9_SHA=&JCK_GIT_REPO=&VENDOR_TEST_BRANCHES=&UPSTREAM_JOB_NAME=build-scripts%2Fjobs%2Frelease%2Fjobs%2Fjdk8u%2Fjdk8u-release-linux-x64-temurin&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse-openj9%2Fopenj9.git&CLOUD_PROVIDER=&CUSTOM_TARGET=&VENDOR_TEST_SHAS=&JDK_BRANCH=jdk8u362-b06_adopt&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=112&DOCKERIMAGE_TAG=&JDK_IMPL=hotspot&TEST_TIME=&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&SLACK_CHANNEL=&DYNAMIC_COMPILE=false&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=&USE_TESTENV_PROPERTIES=true&BUILD_LIST=openjdk&UPSTREAM_JOB_NUMBER=3&STF_OWNER_BRANCH=adoptium%3Amaster&TIME_LIMIT=10&JVM_OPTIONS=&PARALLEL=None)

Contributor guide

Open the contributing guide

Research direction

Start with tools/launcher/VersionCheck.java and rerun the jdk_tools_1 test using the linked Grinder configuration. Compare the -J-version handling for servertool.debuginfo with the console output; done means the test no longer reports that binary as unexecutable on the affected Linux environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.