Details
-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Description
The Test case T29 is failing several times when the test tool is executed:
time="2023-01-20T14:43:35Z" level=info msg="Running command kubectl get po -n bookinfo -l app=env -o yaml | grep \"annotation-from-smcp\"" time="2023-01-20T14:43:35Z" level=info msg="Command error: exit status 1" smcp_annotation.go:97: Failed to get annotations: test1.annotation-from-smcp: test1 smcp_annotation.go:100: Failed to get annotations: test2.annotation-from-smcp: '[test2]' smcp_annotation.go:103: Failed to get annotations: test3.annotation-from-smcp: '{test3}'
Seems to be that sometimes is not able to get the pod annotations.
Tested against OSSM 2.1 and 2.2 and on both cases the result is the same (flaky results)
Example two executions
- https://master-jenkins-csb-servicemesh.apps.ocp-c1.prod.psi.redhat.com/job/maistra/job/maistra/job/maistra-test-tool/job/maistra-2.1/720/testReport/junit/(root)/tests/T29_smcp_test_annotation_quote_injection/
- https://master-jenkins-csb-servicemesh.apps.ocp-c1.prod.psi.redhat.com/job/maistra/job/maistra/job/maistra-test-tool/job/maistra-2.1/721/testReport/