Skip to content
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

Smoke test failing due to missing library on test-docker-sles12-s390x-1 #3026

Closed
Haroon-Khel opened this issue Apr 13, 2023 · 15 comments
Closed

Comments

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Apr 13, 2023

JDK8 s390x Linux smoke test is failing on test-docker-sles12-s390x-1 due to a missing library

15:38:03  Run /home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-linux-s390x-temurin_SmokeTests/openjdkbinary/j2sdk-image/bin/java -version
15:38:03  =JAVA VERSION OUTPUT BEGIN=
15:38:03  Error: dl failure on line 894
15:38:03  Error: failed /home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-linux-s390x-temurin_SmokeTests/openjdkbinary/j2sdk-image/jre/lib/s390x/server/libjvm.so, because libffi.so.6: cannot open shared object file: No such file or directory

Latest failure https://ci.adoptium.net/view/Failing%20Temurin%20jobs/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-s390x-temurin/262/console

@sxa
Copy link
Member

sxa commented Apr 13, 2023

@Haroon-Khel I believe this is the machine that was removed this week under #3022 - it was one of the old machines that were replaced as part of #2673 but was seemingly left live (To be honest I'm amazed it was still there...)
If this works on the other SLES12 systems (may need to be temporarily re-enabled) then we can consider this to not be a problem.

@Haroon-Khel
Copy link
Contributor Author

Are you sure? The one removed in #3022 is test-marist, this is test-docker which is a static docker container hosted on dockerhost-marist-ubuntu2204-s390x-1

@sxa
Copy link
Member

sxa commented Apr 13, 2023

Yes you're right - ignore me I'm talking nonsense ;-)

@sxa
Copy link
Member

sxa commented Apr 13, 2023

That's going to need the symlink from libffi 4 to 6 that I think we put in place in the playbooks but I guess isn't in the static docker files.

@Haroon-Khel
Copy link
Contributor Author

@Haroon-Khel
Copy link
Contributor Author

Looks good. Will add the solution to the Sles 12 dockerfile. Thanks

@adamfarley
Copy link
Contributor

@Haroon-Khel - Could you please apply the fix to test-docker-sles15-s390x-1? Appears to be the same issue. Link.

19:51:21  =JAVA VERSION OUTPUT BEGIN=
19:51:21  Error: dl failure on line 894
19:51:21  Error: failed /long_path_goes_here/libjvm.so, because libffi.so.6: cannot open shared object file: No such file or directory

@Haroon-Khel
Copy link
Contributor Author

made the link from libffi.so.6 to libffi.so.7 as 4 is not present
/usr/lib64/libffi.so.6 -> libffi.so.7

rebuilt job
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-s390x-temurin_SmokeTests/212/console

@Haroon-Khel
Copy link
Contributor Author

/home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-linux-s390x-temurin_SmokeTests@tmp/durable-9eb8412b/script.sh: line 1: awk: command not found

installing awk and rerunning
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-s390x-temurin_SmokeTests/213/console

@adamfarley
Copy link
Contributor

Thanks Haroon! 😃

@sxa
Copy link
Member

sxa commented Jun 13, 2023

Please ensure this is added to the SLES15 dockerstatic image - unusual not to have awk installed by default but if it's not on SLES we should have it in the dockerfile.

@sxa
Copy link
Member

sxa commented Jun 13, 2023

@adamfarley Ref the original problem with libffi - was that only occurring on JDK8 on this machine (i.e. the one we're switching off)?

@adamfarley
Copy link
Contributor

It was only seen on JDK8, yes.

However, I did a search, and it appears that (other than the JDK21 run that failed with the awk issue) no other smoke tests ever ran on test-docker-sles15-s390x-1 (passed or failed).

@adamfarley
Copy link
Contributor

Assuming you mean my original issue there. The one on test-docker-sles15-s390x-1.

The original problem for which this issue was raised was Haroon's issue on test-docker-sles12-s390x-1, which has had three recent smoke test runs on non-JDK8 Temurin builds, and they all passed.

@Haroon-Khel
Copy link
Contributor Author

Can be closed since #3109 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants