ibmruntimes / Semeru-Runtimes

Issue repo for all things IBM Semeru Runtimes
14 stars 4 forks source link

Unable to pull icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi on s390x #38

Closed leochr closed 2 years ago

leochr commented 2 years ago

Our builds for Liberty images are failing while trying to build images based on icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi.

****** Building image stg.icr.io/cp/wlc/websphere-liberty:kernel-java17-openj9-ubi-s390x-inprogress...
Sending build context to Docker daemon  111.6kB
Step 1/24 : FROM icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi
open-17-jdk-ubi: Pulling from appcafe/ibm-semeru-runtimes
manifest for icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi not found

It seems that the problem is due to a mismatched digest in the manifest for the s390x image.

The actual image in icr.io has a digest value of 8b3c0bb97b90:

icr.io/appcafe/ibm-semeru-runtimes   open-17-jdk-ubi-s390x                  8b3c0bb97b90   appcafe     1 month ago   300 MB   -

But the manifest references a different digest sha256:02c95f934430f5a49dfeb54cb6cde5d07aa2330bddabbd4dd35525dc592812da

This issue is blocking the publication of Liberty images (importantly for the 22.0.0.11 version). Could you please resolve the manifest issue quickly? Thank you!

================

Entire manifest:

> ibmcloud cr manifest-inspect icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi
Inspecting manifest 'icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi'...

{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1374,
         "digest": "sha256:7b68bf28490739dcd3e311c993bedf2bc387c6bf26a089c3b25a2b802c0846bd",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1374,
         "digest": "sha256:6be51d0d4ec5989ec719fffd54919b5e4dea97ca32ca56e116e844cba65d12bf",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1374,
         "digest": "sha256:fd15b96d0f08c2786ce1c16b152d5a6c5b26039d639438d50decb9c7d43fd0cf",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1374,
         "digest": "sha256:02c95f934430f5a49dfeb54cb6cde5d07aa2330bddabbd4dd35525dc592812da",
         "platform": {
            "architecture": "s390x",
            "os": "linux"
         }
      }
   ]
}

Trying to pull the image locally also results in a manifest error:

> podman pull --platform linux/s390x icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi
Trying to pull icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi...
Error: copying system image from manifest list: determining manifest MIME type for docker://icr.io/appcafe/ibm-semeru-runtimes:open-17-jdk-ubi: reading manifest sha256:02c95f934430f5a49dfeb54cb6cde5d07aa2330bddabbd4dd35525dc592812da in icr.io/appcafe/ibm-semeru-runtimes: manifest unknown: manifest unknown
leochr commented 2 years ago

@narkedi @AdamBrousseau @mstoodle please help

narkedi commented 2 years ago

@leochr Looking at the issue.

narkedi commented 2 years ago

Closing this issue as its resolved. Thanks !!