Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1884251

Summary: Multiple SRIOV tests failed in discovery mode
Product: OpenShift Container Platform Reporter: Nikita <nkononov>
Component: CNF Platform ValidationAssignee: Federico Paolinelli <fpaoline>
Status: CLOSED ERRATA QA Contact: Nikita <nkononov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, grajaiya
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:47:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Logs from cluster none

Description Nikita 2020-10-01 12:54:17 UTC
Created attachment 1718165 [details]
Logs from cluster

Description of problem:

Multiple SRIOV tests failed in discovery mode. 


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

Server Version: 4.6.0-fc.8
Kubernetes Version: v1.19.0+359dd79

CNF test container version: 
registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.6.0-15

How reproducible:
Run cnf tests image with focus flag sriov:
docker run -v /tmp/reports:/report -v /tmp/kubeconfig:/kubeconfig/ -e KUBECONFIG=/kubeconfig/kubeconfig -e DISCOVERY_MODE=true -e IMAGE_REGISTRY=registry-proxy.engineering.redhat.com/rh-osbs -e CNF_TESTS_IMAGE=openshift4-cnf-tests:v4.6.0-15 registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.6.0-15 /usr/bin/test-run.sh -ginkgo.focus="sriov" --report=/report --junit=/report


Steps to Reproduce:
1. Run tests
2. Wait until all tests are done
3. Collect summary. See below:

Summarizing 4 Failures:

[Fail] [sriov] operator Generic SriovNetworkNodePolicy VF flags [It] Should configure the spoofChk boolean variable 
/remote-source/app/vendor/github.com/openshift/sriov-network-operator/test/conformance/tests/sriov_operator.go:300

[Fail] [sriov] operator Generic SriovNetworkNodePolicy VF flags [It] Should configure the trust boolean variable 
/remote-source/app/vendor/github.com/openshift/sriov-network-operator/test/conformance/tests/sriov_operator.go:300

[Fail] [sriov] operator Generic SriovNetworkNodePolicy VF flags [It] Should configure the the link state variable 
/remote-source/app/vendor/github.com/openshift/sriov-network-operator/test/conformance/tests/sriov_operator.go:300

[Fail] [sriov] operator Generic SriovNetworkNodePolicy VF flags vlan and Qos vlan [It] Should configure the requested vlan and Qos vlan flags under the vf 
/remote-source/app/vendor/github.com/openshift/sriov-network-operator/test/conformance/tests/sriov_operator.go:300

Ran 11 of 74 Specs in 497.009 seconds
FAIL! -- 7 Passed | 4 Failed | 0 Pending | 63 Skipped
 

Actual results:


Expected results:
All discovery tests passed 

Additional info:
Log attached

Comment 1 Federico Paolinelli 2020-10-01 14:00:00 UTC
It's a flake.
Flag tests run a hostnetwork pod to do the verification and one test pod to ask the configuration.

It works when both happen to run on the same node, it does not if they run on different nodes.

This is an example of a bad run:

sriov-conformance-testing                          testpod-cwk87                                                                1/1     Running     0          41s     10.1.190.15    worker-0.cluster1.savanna.lab.eng.rdu2.redhat.com   <none>           <none>
sriov-conformance-testing                          testpod-whqq2                                                                1/1     Running     0          39s     10.128.3.109   worker-1.cluster1.savanna.lab.eng.rdu2.redhat.com   <none>           <none>

Comment 4 Nikita 2020-10-07 09:10:24 UTC
Tested with openshift4-cnf-tests:v4.6.0-19 registry-proxy.engineering.redhat.com/rh-osbs/openshift4-cnf-tests:v4.6.0-19
SRIOV tests looks good. Move this task to Done

Comment 6 errata-xmlrpc 2020-10-27 16:47:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196