Description of problem:
oc-mirror crane export fails with latest docker registry/2 on s390x
Version-Release number of selected component (if applicable):
How reproducible:
Everytime
Steps to Reproduce:
1.git clone https://github.com/openshift/oc-mirror/ 2.cd oc-mirror 3. mkdir -p bin 4.curl -o bin/oc-mirror.tar.gz https://mirror.openshift.com/pub/openshift-v4/s390x/clients/ocp/4.16.0-rc.2/oc-mirror.tar.gz 5.cd bin 6.tar xvf oc-mirror.tar.gz oc-mirror 7.chmod +x oc-mirror 8.cd .. 9.podman build -f Dockerfile -t local/go-toolset:latest 10.podman run -it -v $(pwd):/build:z --env ENV_CATALOGORG="powercloud" --env ENV_CATALOGNAMESPACE="powercloud/oc-mirror-dev-s390x" --env ENV_CATALOG_ID="17282f4c" --env ENV_OCI_REGISTRY_NAMESPACE="powercloud" --entrypoint /bin/bash local/go-toolset:latest ./test/e2e/e2e-simple.sh bin/oc-mirror 2>&1 | tee ../out.log
Actual results:
/build/test/e2e/operator-test.18664 /build % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 ---- ---- ---- 0 100 52.1M 100 52.1M 0 0 779k 0 0:01:08 0:01:08 ---- 301k go: downloading github.com/google/go-containerregistry v0.19.1 go: downloading github.com/docker/cli v24.0.0+incompatible go: downloading github.com/spf13/cobra v1.7.0 go: downloading github.com/opencontainers/image-spec v1.1.0-rc3 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading golang.org/x/sync v0.2.0 go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading github.com/docker/distribution v2.8.2+incompatible go: downloading github.com/containerd/stargz-snapshotter/estargz v0.14.3 go: downloading github.com/google/go-cmp v0.5.9 go: downloading github.com/klauspost/compress v1.16.5 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/vbatts/tar-split v0.11.3 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/docker/docker v24.0.0+incompatible go: downloading golang.org/x/sys v0.15.0 go: downloading github.com/sirupsen/logrus v1.9.1 go: downloading github.com/docker/docker-credential-helpers v0.7.0 Error: pulling Image s390x/registry:2: no child with platform linux/amd64 in index s390x/registry:2 /build/test/e2e/lib/util.sh: line 17: PID_DISCONN: unbound variable
Expected results:
Should not give any error
Additional info: