@@ -57,13 +57,19 @@ func describeQatDpdkPlugin() {
5757framework .RunKubectlOrDie (f .Namespace .Name , "--namespace" , f .Namespace .Name , "apply" , "-k" , filepath .Dir (kustomizationPath ))
5858
5959ginkgo .By ("waiting for QAT plugin's availability" )
60- if _ , err := e2epod .WaitForPodsWithLabelRunningReady (f .ClientSet , f .Namespace .Name ,
61- labels.Set {"app" : "intel-qat-plugin" }.AsSelector (), 1 /* one replica */ , 10 * time .Second ); err != nil {
60+ podList , err := e2epod .WaitForPodsWithLabelRunningReady (f .ClientSet , f .Namespace .Name ,
61+ labels.Set {"app" : "intel-qat-plugin" }.AsSelector (), 1 /* one replica */ , 10 * time .Second )
62+ if err != nil {
6263framework .DumpAllNamespaceInfo (f .ClientSet , f .Namespace .Name )
6364kubectl .LogFailedContainers (f .ClientSet , f .Namespace .Name , framework .Logf )
6465framework .Failf ("unable to wait for all pods to be running and ready: %v" , err )
6566}
6667
68+ ginkgo .By ("checking QAT plugin's securityContext" )
69+ if err := utils .TestPodsFileSystemInfo (podList .Items ); err != nil {
70+ framework .Failf ("container filesystem info checks failed: %v" , err )
71+ }
72+
6773ginkgo .By ("checking the resource is allocatable" )
6874if err := utils .WaitForNodesWithResource (f .ClientSet , "qat.intel.com/generic" , 30 * time .Second ); err != nil {
6975framework .Failf ("unable to wait for nodes to have positive allocatable resource: %v" , err )
0 commit comments