Closed sophia-guo closed 6 days ago
Will work on fixing this issue. @sophia-guo Do you have a jenkins link so I can refer? Thanks.
@LongyuZhang I don't have a public link. It could be reproduced by running any external tests other than CIRU. For example :lucene.
Also Note: With https://github.com/adoptium/aqa-tests/pull/5356 running locally will also hit the following message, which means both ADOPTOPENJDK_REPO and ADOPTOPENJDK_BRANCH need to be export. If that is the case, all README need to be updated. Wondered why we need to set ADOPTOPENJDK_REPO and ADOPTOPENJDK_BRANCH as environment variable instead of passing them in as all other parameters?
@LongyuZhang
Thanks for the info, created draft PR link to inherit USE_TESTENV_PROPERTIE
only on container tests with github_url aqa-tests. Testing it now.
Note that print_clone_project() update is not correct https://github.com/adoptium/aqa-tests/blob/master/external/dockerfile_functions.sh#L512. print_clone_project() is for git clone third party repo by github_url, not for aqa-tests specifically, which is defined in test.properties.
Currently non-containers tests will get aqa-tests repo and third party branch.
[exec] 62 | RUN git clone https://github.com/adoptium/aqa-tests.git
[exec] 63 | WORKDIR /aqa-tests/
[exec] 64 | >>> RUN git checkout LUCENE_SOLR_TAG
[exec] 65 | WORKDIR /
[exec] 66 |
Interesting auto closes doesn't work? Close it manually.
external tests got
ERROR: failed to solve: ENV must have two arguments
whenmake compile
.Related with https://github.com/adoptium/aqa-tests/pull/5356
https://github.com/adoptium/aqa-tests/blob/master/external/dockerfile_functions.sh#L509 https://github.com/adoptium/aqa-tests/blob/master/external/dockerfile_functions.sh#L661
USE_TESTENV_PROPERTIES is not visible to print_testInfo_env() hence in generated Dockerfile USE_TESTENV_PROPERTIES no value. @LongyuZhang
Also Note: With #5356 running locally will also hit the following message, which means both ADOPTOPENJDK_REPO and ADOPTOPENJDK_BRANCH need to be export. If that is the case, all README need to be updated. Wondered why we need to set ADOPTOPENJDK_REPO and ADOPTOPENJDK_BRANCH as environment variable instead of passing them in as all other parameters?