Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-1557

Fix extension test cases

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • 0

      Currently extension test cases only check that the rpms are installed (rpm -q $package).

      Unfortunately that it is not enough to correctly verify that the extensions have been correctly deployed and issues like this one can happen without being caught https://issues.redhat.com/browse/OCPBUGS-49675

      We need to modify the extensions test cases so that this kind of issues are caught.

      Suggestions:
      1. Check that all the files in the rpm were correctly deployed in all the test cases using extensions

      rpm -V --nomtime crun-wasm kata-containers kernel-devel kernel-headers krb5-workstation libkadm5 libreswan NetworkManager-libreswan sysstat usbguard

      2. Usbguard test case should make sure that the usbguard service can run. To make the usbguard service run we need to execute this command after installing the extension:

      sh-5.1# systemctl enable --now usbguard

              rh-ee-ptalgulk Prachiti Talgulkar
              sregidor@redhat.com Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: