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

[dpdk] VFS allocated for dpdk Validate NUMA aliment should allocate all the resources on the same NUMA node fails with lspci: -s: Invalid domain number error

XMLWordPrintable

    • No
    • CNF Network Sprint 239, CNF Network Sprint 240
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      CNF Features e2e integration tests.[dpdk] VFS allocated for dpdk Validate NUMA aliment should allocate all the resources on the same NUMA nodeĀ 

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

      registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.14.0-4

      How reproducible:

      100%

      Steps to Reproduce:

      1. Run dpdk cnf-tests
      

      Actual results:

      [FAILED] Unexpected error:
          <*fmt.wrapError | 0xc000f79500>: {
              msg: "remote command [lspci -v -nn -mm -s {\"0000:12:1c.6\":{\"generic\":{\"deviceID\":\"0000:12:1c.6\"},\"vfio\":{\"dev-mount\":\"/dev/vfio/210\",\"mount\":\"/dev/vfio/vfio\"}}}] error [command terminated with exit code 1]. output [lspci: -s: Invalid domain number\r\n]",
              err: <exec.CodeExitError>{
                  Err: <*errors.errorString | 0xc003e76400>{
                      s: "command terminated with exit code 1",
                  },
                  Code: 1,
              },
          }
          remote command [lspci -v -nn -mm -s {"0000:12:1c.6":{"generic":{"deviceID":"0000:12:1c.6"},"vfio":{"dev-mount":"/dev/vfio/210","mount":"/dev/vfio/vfio"}}}] error [command terminated with exit code 1]. output [lspci: -s: Invalid domain number
          ]
      occurred
      In [It] at: /remote-source/app/cnf-tests/testsuites/e2esuite/dpdk/dpdk.go:936 @ 06/21/23 13:09:58.228

      Expected results:

      Doesn't fail.

      Additional info:

      Inside a pod there are multiple PCIDEVICE_OPENSHIFT_IO* env vars, probably the test should filter out *INFO:
      
      /usr/src/srv $ env | grep PCIDEVICE_OPENSHIFT_IO
      PCIDEVICE_OPENSHIFT_IO_DU_FH=0000:1a:03.4
      PCIDEVICE_OPENSHIFT_IO_DU_FH_INFO={"0000:1a:03.4":{"generic":{"deviceID":"0000:1a:03.4"},"vfio":{"dev-mount":"/dev/vfio/206","mount":"/dev/vfio/vfio"}}}
      PCIDEVICE_OPENSHIFT_IO_DU_MH=0000:1a:01.7
      PCIDEVICE_OPENSHIFT_IO_DU_MH_INFO={"0000:1a:01.7":{"generic":{"deviceID":"0000:1a:01.7"},"vfio":{"dev-mount":"/dev/vfio/193","mount":"/dev/vfio/vfio"}}}

            apanatto@redhat.com Andrea Panattoni
            mcornea@redhat.com Marius Cornea
            Nikita Kononov Nikita Kononov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: