Uploaded image for project: 'OCP Technical Release Team'
  1. OCP Technical Release Team
  2. TRT-2026

Origin doesn't error when cluster's test image doesn't have an extension binary

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • None
    • False

      The user is running openshift-tests from git against a much older cluster, the tests image won't have k8s-tests-ext, but it doesn't error until we try to run it.

      Looks like there's no check the image extraction was successful.

       

      INFO[0002] Run image extract for release image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:143e5aa28ec8a2345e934373b7bfe234f50a825691c67286aecc031424c38c43" and src "/usr/bin/k8s-tests-ext.gz" 
      INFO[0013] Completed image extract for release image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:143e5aa28ec8a2345e934373b7bfe234f50a825691c67286aecc031424c38c43" in 11.020672636s 
      Suite run returned error: encountered errors while extracting binaries: failed to decompress external binary "/usr/bin/k8s-tests-ext.gz": failed to open gzip file: open /home/shmoran/.cache/openshift-tests/quay_io_openshift-release-dev_ocp-release_sha256_bada2d7626c8652e0fb68d3237195cb37f425e960347fbdd747beb17f671cf13_0cfab9de1754/k8s-tests-ext.gz: no such file or directory
      error running options: encountered errors while extracting binaries: failed to decompress external binary "/usr/bin/k8s-tests-ext.gz": failed to open gzip file: open /home/shmoran/.cache/openshift-tests/quay_io_openshift-release-dev_ocp-release_sha256_bada2d7626c8652e0fb68d3237195cb37f425e960347fbdd747beb17f671cf13_0cfab9de1754/k8s-tests-ext.gz: no such file or directoryerror: encountered errors while extracting binaries: failed to decompress external binary "/usr/bin/k8s-tests-ext.gz": failed to open gzip file: open /home/shmoran/.cache/openshift-tests/quay_io_openshift-release-dev_ocp-release_sha256_bada2d7626c8652e0fb68d3237195cb37f425e960347fbdd747beb17f671cf13_0cfab9de1754/k8s-tests-ext.gz: no such file or directory 

              sgoeddel@redhat.com Stephen Goeddel
              stbenjam Stephen Benjamin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: