@@ -93,7 +93,7 @@ var _ = Describe("[Install] continuousIntegration", Serial, func() {
9393
9494 cond := status .FindCondition (updatedNROObj .Status .Conditions , status .ConditionAvailable )
9595 if cond == nil {
96- klog .Warningf ("missing conditions in %v" , updatedNROObj )
96+ klog .Infof ("missing conditions in %v" , updatedNROObj )
9797 return false , err
9898 }
9999
@@ -122,7 +122,7 @@ var _ = Describe("[Install] continuousIntegration", Serial, func() {
122122 }
123123
124124 if ds .Status .NumberMisscheduled != 0 {
125- klog .Warningf (" Misscheduled: There are %d nodes that should not be running Daemon pod but are" , ds .Status .NumberMisscheduled )
125+ klog .Infof (" Misscheduled: There are %d nodes that should not be running Daemon pod but are" , ds .Status .NumberMisscheduled )
126126 return false
127127 }
128128
@@ -182,7 +182,7 @@ var _ = Describe("[Install] durability", Serial, func() {
182182
183183 cond := status .FindCondition (updatedNROObj .Status .Conditions , status .ConditionDegraded )
184184 if cond == nil {
185- klog .Warningf ("missing conditions in %v" , updatedNROObj )
185+ klog .Infof ("missing conditions in %v" , updatedNROObj )
186186 return false
187187 }
188188
@@ -219,7 +219,7 @@ var _ = Describe("[Install] durability", Serial, func() {
219219 return false , err
220220 }
221221 if len (nroObj .Status .DaemonSets ) != 1 {
222- klog .Warningf ("unsupported daemonsets (/MCP) count: %d" , len (nroObj .Status .DaemonSets ))
222+ klog .Infof ("unsupported daemonsets (/MCP) count: %d" , len (nroObj .Status .DaemonSets ))
223223 return false , nil
224224 }
225225 return true , nil
@@ -258,7 +258,7 @@ var _ = Describe("[Install] durability", Serial, func() {
258258 }
259259
260260 if ! nrowait .AreDaemonSetPodsReady (& updatedDs .Status ) {
261- klog .Warningf ("daemonset %s desired %d scheduled %d ready %d" ,
261+ klog .Infof ("daemonset %s desired %d scheduled %d ready %d" ,
262262 dsKey .String (),
263263 updatedDs .Status .DesiredNumberScheduled ,
264264 updatedDs .Status .CurrentNumberScheduled ,
@@ -268,7 +268,7 @@ var _ = Describe("[Install] durability", Serial, func() {
268268
269269 klog .Infof ("daemonset %s ready" , dsKey .String ())
270270
271- klog .Warningf ("daemonset Generation observed %v current %v" , updatedDs .Status .ObservedGeneration , ds .Generation )
271+ klog .Infof ("daemonset Generation observed %v current %v" , updatedDs .Status .ObservedGeneration , ds .Generation )
272272 isUpdated := updatedDs .Status .ObservedGeneration > ds .Generation
273273 if ! isUpdated {
274274 return false
@@ -315,7 +315,7 @@ var _ = Describe("[Install] durability", Serial, func() {
315315 key := client .ObjectKeyFromObject (obj )
316316 if err := e2eclient .Client .Get (context .TODO (), key , obj ); ! errors .IsNotFound (err ) {
317317 if err == nil {
318- klog .Warningf ("obj %s still exists" , key .String ())
318+ klog .Infof ("obj %s still exists" , key .String ())
319319 } else {
320320 klog .ErrorS (err , "obj return with error" , "key" , key .String ())
321321 }
@@ -369,7 +369,7 @@ var _ = Describe("[Install] durability", Serial, func() {
369369 Expect (err ).ToNot (HaveOccurred ())
370370
371371 if len (updatedConfigMaps .Items ) != 1 {
372- klog .Warningf ("expected exactly 1 RTE configmap, got: %d" , len (updatedConfigMaps .Items ))
372+ klog .Infof ("expected exactly 1 RTE configmap, got: %d" , len (updatedConfigMaps .Items ))
373373 return false
374374 }
375375 rteConfigMap = & updatedConfigMaps .Items [0 ]
@@ -451,7 +451,7 @@ func getDaemonSetByOwnerReference(uid types.UID) (*appsv1.DaemonSet, error) {
451451func logRTEPodsLogs (cli client.Client , k8sCli * kubernetes.Clientset , ctx context.Context , nroObj * nropv1.NUMAResourcesOperator , reason string ) {
452452 dss , err := objects .GetDaemonSetsOwnedBy (cli , nroObj .ObjectMeta )
453453 if err != nil {
454- klog .Warningf ("no DaemonSets for %s (%s)" , nroObj .Name , nroObj .GetUID ())
454+ klog .Infof ("no DaemonSets for %s (%s)" , nroObj .Name , nroObj .GetUID ())
455455 return
456456 }
457457
0 commit comments