Skip to content

arm* debbuilds can fail to get image with specified platform #1529

Description

@scpeters

While building new Jetty packages with *gz-jetty* package aliases, I have noticed several failures with messages like

failed to get destination image "sha256:...": image with reference sha256:... was found but does not provide the specified platform (linux/arm64)

Sometimes it passes on a retry, sometimes it fails.

Example build results:

gz-math 9.2.0-2

Step 51/54 : USER $USER
 ---> Running in 79911b94e642
 ---> Removed intermediate container 79911b94e642
 ---> bbaa9177c8f6
Step 52/54 : COPY --chown=$USER:$USER . /home/jenkins/workspace/gz-math9-debbuilder/.
failed to get destination image "sha256:bbaa9177c8f6c6248720248f957766f1bc6e7f9b418c7d55a3eb18e4a9e1d76c": image with reference sha256:bbaa9177c8f6c6248720248f957766f1bc6e7f9b418c7d55a3eb18e4a9e1d76c was found but does not provide the specified platform (linux/arm64)
18:27:05 Step 51/54 : USER $USER
18:27:07  ---> Running in c67d0a9ff534
18:27:07  ---> Removed intermediate container c67d0a9ff534
18:27:07  ---> bad3971a3618
18:27:07 Step 52/54 : COPY --chown=$USER:$USER . /home/jenkins/workspace/gz-math9-debbuilder/.
18:27:07 failed to get destination image "sha256:bad3971a3618dbd98b8e0090661cb7a08a001c1842792f76ea3815e3548bb9e9": image with reference sha256:bad3971a3618dbd98b8e0090661cb7a08a001c1842792f76ea3815e3548bb9e9 was found but does not provide the specified platform (linux/arm64)

gz-tools 2.0.3-2

Step 11/52 : RUN echo "OSRF repositories configured: stable stable"
 ---> Running in 88a197280f96
OSRF repositories configured: stable stable
 ---> Removed intermediate container 88a197280f96
 ---> 1706623067f5
Step 12/52 : ADD https://api.github.com/repos/gazebo-tooling/gzdev/git/refs/heads/master version.json

failed to get destination image "sha256:1706623067f55a571594e6ffb025f78d835a58f6ac240b10968b16eb6993a5ae": image with reference sha256:1706623067f55a571594e6ffb025f78d835a58f6ac240b10968b16eb6993a5ae was found but does not provide the specified platform (linux/arm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions