adoptium / adoptium/aqa-tests

systemtest.getDependency job is failing with 'JAVA_HOME is not defined correctly'

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

Description

From https://ci.adoptium.net/view/all/job/systemtest.getDependency/182/console:

```
+ git clone https://github.com/adoptium/STF
Cloning into 'STF'...
[Pipeline] sh
+ ant -f ./aqa-systemtest/openjdk.build/build.xml -Djava.home=/home/jenkins/workspace/systemtest.getDependency/j2sdk-image/jre -Dprereqs_root=/home/jenkins/workspace/systemtest.getDependency/systemtest_prereqs configure
Error: JAVA_HOME is not defined correctly.
We cannot execute java
```

Contributor guide

Open the contributing guide

Research direction

Start with the linked systemtest.getDependency/182 console output and the command invoking aqa-systemtest/openjdk.build/build.xml. Trace why the job's JAVA_HOME does not point to an executable Java installation, then verify that the configure step completes successfully in a fresh job run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.