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

[Isovalent] Reported regression in ose-tests-rhel9 for RHOCP 4.20

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.20
    • Test Framework
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Yes
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      As reported by Isovalent in support case 04320095:
      
      It was possible to filter tests using the ose-tests-rhel9 image. The same command works with v4.19 and fails with v4.20. This way of filtering is documented [1].
      docker --config /home/xxx/docker-cfg/config.json run -v /home/xxx/:/data:z -e KUBECONFIG=/data/auth/kubeconfig --rm registry.redhat.io/openshift4/ose-tests-rhel9:v4.20 sh -c "openshift-tests run openshift/network/third-party --dry-run | grep -vE 'should allow egress access to server in CIDR block|should enforce except clause while egress access to server in CIDR block|should ensure an IP overlapping both IPBlock\.CIDR and IPBlock\.Except is allowed' | openshift-tests run --timeout 20m -f -"
      does not work:
      error: couldn't retrieve test suites: failed to extract test binaries: encountered errors while extracting binaries: extracted binary at path "/root/.cache/openshift-tests/quay_io_openshift-release-dev_ocp-release_sha256_24da924c84a1dfa28525f85525356cf1ac4fbe23faec7c66d1890e0b3bcba7a0_7ffc9d3fb271/machine-api-tests-ext.gz" does not exist. the src path "/machine-api-tests-ext.gz" doesn't exist in image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1e6f70a267cdec6cb0f59cb3662d35998c748b4db262ca9021425dbf7e8075b4". note the version of origin needs to match the version of the cluster under test
      
      The same command using v4.19 as image tag works. Note: unlike what the error message says the version of the target cluster is 4.20 and not 4.19.
      $ oc version
      Client Version: 4.20.0
      Kustomize Version: v5.6.0
      Server Version: 4.20.3
      Kubernetes Version: v1.33.5
      
      Regards,
      
      Frédéric
      
      [1] https://github.com/openshift/openshift-tests?tab=readme-ov-file#how-to-run-a-specific-test-case

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

          

      How reproducible:

          every time

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

        Test binaries are not found - test cannot be run  

      Expected results:

          Test binaries should be found, extracted, and run.

      Additional info:

          

              stbenjam Stephen Benjamin
              frederic.giloux@isovalent.com Frederic Giloux
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: