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

arm_linux build fails "Failed to run adoptopenjdk/ubuntu1604_build_image" #574

Closed
smlambert opened this issue Jan 14, 2023 · 1 comment · Fixed by #583
Closed

arm_linux build fails "Failed to run adoptopenjdk/ubuntu1604_build_image" #574

smlambert opened this issue Jan 14, 2023 · 1 comment · Fixed by #583
Labels
arm buildbreak High priority issues that cause build breaks in jenkins or build scripts docker linux

Comments

@smlambert
Copy link
Contributor

Raising this issue here, though it may end up being in temurin-build or infrastructure.

arm_linux build fails with java.io.IOException: Failed to run image 'adoptopenjdk/ubuntu1604_build_image'. Error: docker: invalid reference format: repository name must be lowercase.

Problem description:

console output:

[Pipeline] withDockerContainer
[2023-01-13T22:15:49.275Z] dockerhost-equinix-ubuntu2004-armv8-1 does not seem to be running inside a container
[2023-01-13T22:15:56.846Z] $ docker run -t -d -u 1000:116 --platform linux/arm/v7-e BUILDIMAGESHA=adoptopenjdk/ubuntu1604_build_image@sha256:5f64497cf462ec4b7ea1aecf94e44aed567ab3f1553e5ea734cf2620d43130a7
[2023-01-13T22:15:56.846Z]  -w /home/jenkins/workspace/build-scripts/jobs/release/jobs/jdk17u/jdk17u-release-linux-arm-temurin -v /home/jenkins/workspace/build-scripts/jobs/release/jobs/jdk17u/jdk17u-release-linux-arm-temurin:/home/jenkins/workspace/build-scripts/jobs/release/jobs/jdk17u/jdk17u-release-linux-arm-temurin:rw,z -v /home/jenkins/workspace/build-scripts/jobs/release/jobs/jdk17u/jdk17u-release-linux-arm-temurin@tmp:/home/jenkins/workspace/build-scripts/jobs/release/jobs/jdk17u/jdk17u-release-linux-arm-temurin@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** adoptopenjdk/ubuntu1604_build_image cat
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] echo
[2023-01-13T22:16:01.943Z] Execution error: java.io.IOException: Failed to run image 'adoptopenjdk/ubuntu1604_build_image'. Error: docker: invalid reference format: repository name must be lowercase.
[2023-01-13T22:16:01.943Z] See 'docker run --help'.
[Pipeline] echo
[2023-01-13T22:16:01.946Z] java.io.IOException: Failed to run image 'adoptopenjdk/ubuntu1604_build_image'. Error: docker: invalid reference format: repository name must be lowercase.
@zdtsw
Copy link
Contributor

zdtsw commented Jan 16, 2023

thanks @andrew-m-leonard for the fix

I can see why this did not get caught in the pr-tests.
because only arm32linux has the dockerArgs: "--platform linux/arm/v7" but we did not test on arm32 in pr-tests previously

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm buildbreak High priority issues that cause build breaks in jenkins or build scripts docker linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants