Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44610

oc-mirror plugin e2e test opm exec format error

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      error on system Linux zcpc01 4.18.0-425.10.1.el8_7.s390x #1 SMP Wed Dec 14 15:50:25 EST 2022 s390x s390x s390x GNU/Linux : error rebuilding catalog images from file-based catalogs: error regenerating the cache for localhost.localdomain:5001/skhoury/oc-mirror-dev:test-catalog-latest: fork/exec oc-mirror-workspace/images.1913641406/catalogs/localhost.localdomain:5000/skhoury/oc-mirror-dev/test-catalog-latest/bin/opm: exec format error

      Version-Release number of selected component (if applicable):

      4.17    

      How reproducible:

          

      Steps to Reproduce:

       git clone  https://github.com/openshift/oc-mirror.git && cd oc-mirror curl -SLO https://mirror.openshift.com/pub/openshift-v4/s390x/clients/ocp/4.17.0/oc-mirror.tar.gz  tar -txf oc-mirror.tar.gz -C bin chmod +x bin/oc-mirror bin/oc-mirror version --output yaml  git checkout c9123030d5df99847cf3779856d90ff83cf64dcb podman build -f Dockerfile -t local/go-toolset:latest podman run -it -v $(pwd):/build:z --entrypoint /bin/bash local/go-toolset:latest ./test/e2e/e2e-simple.sh bin/oc-mirror result: Rendering catalog image "localhost.localdomain:5001/skhoury/oc-mirror-dev:test-catalog-latest" with file-based catalogerror: error rebuilding catalog images from file-based catalogs: error regenerating the cache for localhost.localdomain:5001/skhoury/oc-mirror-dev:test-catalog-latest: fork/exec oc-mirror-workspace/images.1913641406/catalogs/localhost.localdomain:5000/skhoury/oc-mirror-dev/test-catalog-latest/bin/opm: exec format error     

      Actual results:

      error rebuilding catalog images from file-based catalogs: error regenerating the cache for localhost.localdomain:5001/skhoury/oc-mirror-dev:test-catalog-latest: fork/exec oc-mirror-workspace/images.1913641406/catalogs/localhost.localdomain:5000/skhoury/oc-mirror-dev/test-catalog-latest/bin/opm: exec format error 

      Expected results:

      The e2e test finishes with return code 0

      Additional info:

      Seems to occur when testing other versions such as 4.16 oc mirror as well as main branch. system tested: NAME="Red Hat Enterprise Linux"VERSION="8.6 (Ootpa)"ID="rhel"ID_LIKE="fedora"VERSION_ID="8.6"PLATFORM_ID="platform:el8"PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)"ANSI_COLOR="0;31"CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"HOME_URL="https://www.redhat.com/"DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"BUG_REPORT_URL="https://bugzilla.redhat.com/"
      REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"REDHAT_BUGZILLA_PRODUCT_VERSION=8.6REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"REDHAT_SUPPORT_PRODUCT_VERSION="8.6"

              brian.rubenstein@ibm.com Brian Rubenstein
              brian.rubenstein@ibm.com Brian Rubenstein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: