Merge pull request #88721 from Deepthidharwar/sriov-tm-bug

FIX SRIOV detection logic not to error out if device not present on the system
This commit is contained in:
Kubernetes Prow Robot 2020-03-05 02:58:50 -08:00 committed by GitHub
commit 67c6767b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,9 +170,8 @@ func findNUMANodeWithoutSRIOVDevicesFromSysfs(numaNodes int) (int, bool) {
}
if len(pciPerNuma) == 0 {
// if we got this far we already passed a rough check that SRIOV devices
// are available in the box, so something is seriously wrong
framework.Failf("failed to find any VF devices from %v", pciDevs)
framework.Logf("failed to find any VF device from %v", pciDevs)
return -1, false
}
for nodeNum := 0; nodeNum < numaNodes; nodeNum++ {