-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
JDK11 tests fail on Alpine 314 machine using JDK21 as the default java #3529
Comments
At the moment all of our Alpine static docker containers use JDK21 as their default java |
Just a thought - I'm nervous that this means it's doing something like picking up a JDK21 |
Fails on Alpine 320 aswell https://ci.adoptium.net/job/Test_openjdk11_hs_extended.functional_x86-64_alpine-linux/310/console running on https://ci.adoptium.net/computer/test-docker-alpine320-x64-1/
|
Any remaining x64 alpine machines that were not using JDK11 as their default java are now using JDK11. This is to prevent JDK11 test failures during the release period while this issue remains unsolved |
Related: adoptium/aqa-tests#5425 |
Related: Sophia's comment #2934 (comment) and comment in code:
Maybe unsetting |
This looks like the same issue as before - LD_LIBRARY_PATH is being set by the JDK which is impacting other JDks which are spawned. Test case:
As per @jiekang's comment in a recent call I'm suspicious that the fix in https://github.com/adoptium/aqa-tests/pull/5430/files hasn't taken effect as expected based on the presence of the LD_LIBRARY_PATH variable in the test log |
I've made a review comment on Haroon's PR - there are three instances of that code in the JenkinsfileBase and only one has been changed. Adding the same fix for the others resolves the problem. Noting that the presence of the LD_LIBRARY_PATH in the log is presumably because it's doing that at https://github.com/adoptium/aqa-tests/blob/b02fb821e5cef4f9b309311a06b95cd94ff0a297/buildenv/jenkins/JenkinsfileBase#L177 and will therefore not be subject to the LD_LIBRARY_PATH squashing done specifically when executing other |
Ignore the maybe part. The JDK code will set LD_LIBRARY_PATH to something that works by itself, along with any user supplied path appended to it. |
The default jdk on our x64 alpine boxes has been changed back to 21 to test the fix at adoptium/aqa-tests#5430 |
Can be closed now that adoptium/aqa-tests#5430 is merged |
@Haroon-Khel FYI in the future if your PR has one of the keywords mentioned in [1] it will auto-close the issue for you. [1] |
All of the tests kicked off in https://ci.adoptium.net/view/Test_grinder/job/AQA_Test_Pipeline/235/console on test-docker-alpine314-x64-1 fail with the following error
Changing the default JDK to JDK11 fixes this issue. First noticed in the JDK11 aqa triage of the April 2024 release adoptium/aqa-tests#5232 (comment)
The text was updated successfully, but these errors were encountered: