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

IBI Unit test failures

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-55794. The following is the description of the original issue:

      Due to an update in nmstate, the IBI installer has unit test failures as below.

      — FAIL: TestImageBasedConfig_LoadedFromDisk (0.01s)
      — FAIL: TestImageBasedConfig_LoadedFromDisk/invalid-nmstate-config (0.00s)
      imagebased_config_test.go:138:
      Error Trace: /go/src/github.com/openshift/installer/pkg/asset/imagebased/configimage/imagebased_config_test.go:138
      Error: Error "invalid Image-based Config configuration: networkConfig: Invalid value: interfaces:\n- name: eth0\n state: invalid\n type: ethernet\n: failed to execute 'nmstatectl gc', error: [2025-05-06T19:24:04Z INFO nmstatectl] Nmstate version: 2.2.44\nProvide file is not valid NetworkState or NetworkPolicy: interfaces: unknown variant `invalid`, expected one of `up`, `down`, `absent`, `unknown`, `ignore` at line 2 column 1" does not contain "networkConfig: Invalid value: interfaces:\n- name: eth0\n state: invalid\n type: ethernet\n: failed to execute 'nmstatectl gc', error: InvalidArgument: Invalid YAML string: interfaces: unknown variant `invalid`"
      Test: TestImageBasedConfig_LoadedFromDisk/invalid-nmstate-config

              bfournie@redhat.com Robert Fournier
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: