-
-
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
Unexpected tar error while un tarring jdk17 binary in ppc64le and arm32 ubuntu 2404 docker image #3547
Comments
The binaries untar without error on my local machine |
Interesting ... yeah I can replicate that on one of my arm32 systems. |
Thought I'd already added this comment (Edit: yes I did but at #3501 (comment)) but running an emulated ppc64le container on another 24.04 host system did not show a problem, which works suggest there isn't a fundamentally problem with the base container and it potentially is related to the kernel being used |
This is a situation where having QPC updated with latest images would help. |
JDK11 Special.openjdk, Extended.system, and Special.functional all have appear to have a similar-looking issue unpacking the build with a tar command: 22:43:12 Uncompressing file: OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.24_7-ea.tar.gz ... All three happen on a 24.04 docker host. |
At the moment the 2 problem machines are test-docker-ubuntu2404-armv7-2 and test-docker-ubuntu2404-ppc64le-1. Another ubuntu2404 arm32 node is test-docker-ubuntu2404-armv7-1 and this problem does not occur on this machine. Same tar versions
|
This happened again on test-docker-ubuntu2404-armv7-2 on 2024/11/20 |
Interesting - that's an Ubuntu 24 container on an Ubuntu 22 host. |
I can replicate this. All of the offending files appear to be symbolic links to files in
Based on the above this is almost certainly due to running a later version of Ubuntu (which has glibc/kernel interdependencies that are too new) on an older kernel. The other possibility (which I shall aim to check tomorrow) is whether restarting docker resolves it (potentially if it has been upgraded) and also whether there are any pending docker package updates on the host that we might apply which might affect this. |
Restarting docker made no difference. Restarting the machine made no difference. Solution here is to deactivate test-docker-ubuntu2404-armv7l-2 which I've done. |
FYI @Haroon-Khel we probably want to just decommission this particular machine now. |
@Haroon-Khel If you're happy with the analysis above can you add this to your list for this iteration please? |
Did a bit more digging on this. Looks like its a bug in ubuntu2404 or docker which prevents the container from running the If I run the ubuntu 2404 docker container with ocaml/infrastructure#121 (comment) suggests Docker >= 25.0.3 and libseccomp2 >= 2.5.5 solves this, so its a matter of upgrading those packages on the problem dockerhosts
|
To do:
|
I would test with the latest available if it doesn't have 2.5.5 in the repositories. Ubuntu (and other LTS distribution providers) will often backport important patches so even if they're showing something earlier than 2.5.5 it may be ok. |
Upgraded docker on dockerhost-osuosl-ubuntu2404-ppc64le-1 to v27
I was able to untar a jdk binary on a ubuntu 2404 container on it without the permissions error. Looks good |
On the arm64 dockerhosts, it looks like the tar error on arm32 ubuntu 2404 containers cleared itself up? Docker or libseccomp2 may have upgraded during an automated patch. I cant seem to recreate the tar error on a arm32 ubuntu2404 container on any of the arm64 docker nodes |
dockerhost-skytap-ubuntu2004-ppc64le-1 is the remaining problem machine. As per #3588 I am going to upgrade it to Ubuntu 2404, so I will upgrade docker on the machine after the OS upgrade (if ill still need to) |
I am starting the dockerhost-skytap-ubuntu2004-ppc64le-1 OS upgrade right now |
The upgrade terminated midway due to a lack of diskspace, presumably on /
|
Reiterating #3588 (comment) Ive upgraded dockerhost-skytap-ubuntu2004-ppc64le-1 to ubuntu 22.04, disk space issues on /boot are preventing an upgrade to ubuntu 24.04 but I am comfortable keeping it on 22 since its still supported. Its ubuntu2404 container, which has long been offline due to the untarring issue, is now able to run grinders because Docker on the host system has been upgraded to v26 |
ref #3501 (comment)
Hitting a tar error while building arm32 and ppc64le ubuntu 24.04 docker static containers
The text was updated successfully, but these errors were encountered: