-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Docker build task fails on CentOS 8 ARM CI workers #71138
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
Comments
Pinging @elastic/es-delivery (Team:Delivery) |
@pugnascotia There's something obvious I'm missing, right? |
I already checked to see if possibly the templated
Running |
Uh...that's weird. I guess if |
Right, and wouldn't it also blow up on the ubuntu arm machine as well? |
You'd think so. I also just build the image on my Mac M1 and it was fine. |
Ok, it's not due to the command missing on the host. Changing My guess is the whole copying from rootfs stuff isn't behaving the way we want. Comparing
So CentOS is using XFS whereas Ubuntu extfs. |
The
That's all that's there. Should be loads more. I'm wondering if there is weird symlink stuff happening implicitly that we're relying on. |
Aha!
Are we downloading the wrong busybox? This is typically the error you get when you try to run x86 on aarch64 or vice versa. Investingating... |
Yeah, so something is busted with their public build on CentOS 8. CentOS is a much older kernel than ubuntu, so maybe that's the incompatibility? Interestingly enough, I can run the |
I'm seeing a very strange thing. Building our Docker images on the new CentOS ARM workers is failing due to a missing command, specifically
addgroup
. Sure enough, this utility doesn't exist on those machines. My question is, why does it matter? This command is being executed inside the container so why would the setup on the host machine make any difference? Building the image on an Ubuntu host whereaddgroup
exists works just fine. Am I missing something here?https://gradle-enterprise.elastic.co/s/ee3bnyz42wxei/console-log?task=:distribution:docker:buildAarch64DockerImage#L8552
The text was updated successfully, but these errors were encountered: