• Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.5.z
    • rhel-9.5
    • podman
    • None
    • podman-5.2.2-6.el9_5
    • No
    • Low
    • 2
    • rhel-sst-container-tools
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • RUN 260, RUN 261
    • None

      podman gating tests need to ensure that both CNI and netavark work.

       

      This is the patch that's needed

       

      From 67dc20afc6acc44d93c4e44e491fe67805031a60 Mon Sep 17 00:00:00 2001
      From: Ed Santiago <santiago@redhat.com>
      Date: Tue, 1 Oct 2024 10:50:52 -0600
      Subject: [PATCH] Gating: set CI_DESIRED_NETWORK

      ...because CNI is still supported on RHEL. We also have
      to test netavark, so this doubles the test load.

      Signed-off-by: Ed Santiago <santiago@redhat.com>

       tests/tests.yml | 23 +++++++++++++++++++++--
       1 file changed, 21 insertions, 2 deletions

      diff --git a/tests/tests.yml b/tests/tests.yml
      index e8f5124e..1f0a1104 100644
      — a/tests/tests.yml
      +++ b/tests/tests.yml
      @@ -8,16 +8,35 @@
         - role: rootless_user
         - role: run_bats_tests
           tests:

      •    - name:    podman root
        +    - name:    podman root netavark
               package: podman
               environment:
        +        CI_DESIRED_NETWORK: netavark
                 PODMAN: /usr/bin/podman
                 QUADLET: /usr/libexec/podman/quadlet
                 PODMAN_TESTING: /usr/bin/podman-testing
         
      •    - name:    podman rootless
        +    - name:    podman rootless netavark
               package: podman
               environment:
        +        CI_DESIRED_NETWORK: netavark
        +        PODMAN: /usr/bin/podman
        +        QUADLET: /usr/libexec/podman/quadlet
        +        PODMAN_TESTING: /usr/bin/podman-testing
        +      become:  true
        +
        +    - name:    podman root cni
        +      package: podman
        +      environment:
        +        CI_DESIRED_NETWORK: cni
        +        PODMAN: /usr/bin/podman
        +        QUADLET: /usr/libexec/podman/quadlet
        +        PODMAN_TESTING: /usr/bin/podman-testing
        +
        +    - name:    podman rootless cni
        +      package: podman
        +      environment:
        +        CI_DESIRED_NETWORK: cni
                 PODMAN: /usr/bin/podman
                 QUADLET: /usr/libexec/podman/quadlet
                 PODMAN_TESTING: /usr/bin/podman-testing
        -- 
        2.46.2

       

              rhn-support-jnovy Jindrich Novy
              edsantiago Eduardo Santiago
              Container Runtime Eng Bot Container Runtime Eng Bot
              Yuhui Jiang Yuhui Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: