-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
-
Test case flaky: TestTLSOrigination/mTLS_with_file_mount
Output:
{Failed === RUN TestTLSOrigination/mTLS_with_file_mount egress_gateways_tls_file_mount_test.go:87: Perform mTLS origination with an egress gateway egress_gateways_tls_file_mount_test.go:101: egress_gateways_tls_file_mount_test.go:101: STEP 1: Deploy nginx mTLS server and create secrets in the mesh namespace egress_gateways_tls_file_mount_test.go:106: Install app "nginx" in namespace "mesh-external" egress_gateways_tls_file_mount_test.go:108: egress_gateways_tls_file_mount_test.go:108: STEP 2: Patch egress gateway with File Mount configuration egress_gateways_tls_file_mount_test.go:109: FATAL: Command failed: oc -n istio-system patch deploy/istio-egressgateway --type json -p '[ { "op": "add", "path": "/spec/template/spec/containers/0/volumeMounts/0", "value": { "mountPath": "/etc/istio/nginx-client-certs", "name": "nginx-client-certs", "readOnly": true } }, { "op": "add", "path": "/spec/template/spec/volumes/0", "value": { "name": "nginx-client-certs", "secret": { "secretName": "nginx-client-certs", "optional": true } } }, { "op": "add", "path": "/spec/template/spec/containers/0/volumeMounts/1", "value": { "mountPath": "/etc/istio/nginx-ca-certs", "name": "nginx-ca-certs", "readOnly": true } }, { "op": "add", "path": "/spec/template/spec/volumes/1", "value": { "name": "nginx-ca-certs", "secret": { "secretName": "nginx-ca-certs", "optional": true } } } ]' The Deployment "istio-egressgateway" is invalid: * spec.template.spec.volumes[2].name: Duplicate value: "nginx-client-certs" * spec.template.spec.volumes[3].name: Duplicate value: "nginx-ca-certs" * spec.template.spec.containers[0].volumeMounts[2].mountPath: Invalid value: "/etc/istio/nginx-client-certs": must be unique * spec.template.spec.containers[0].volumeMounts[3].mountPath: Invalid value: "/etc/istio/nginx-ca-certs": must be unique error: exit status 1 subtest.go:23: subtest.go:25: Subtest failed in 1.06s (excluding cleanup) test.go:95: Capturing cluster state using must-gather registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel8:2.3 test.go:99: /go/src/maistra-test-tool/tests/result-20230605063812/v2.3/failures-must-gather/20230605070938-TestTLSOrigination-mTLS_with_file_mount egress_gateways_tls_file_mount_test.go:88: egress_gateways_tls_file_mount_test.go:88: Performing cleanup egress_gateways_tls_file_mount_test.go:98: SUCCESS: Pod istio-ingressgateway-767d747f77-857nd is being deleted egress_gateways_tls_file_mount_test.go:88: Cleanup completed in 6.98s --- FAIL: TestTLSOrigination/mTLS_with_file_mount (52.60s) }
- causes
-
OSSM-4058 Failure in periodic-ci-maistra-maistra-test-tool-main-servicemesh-ocp4.14-lp-interop-servicemesh-interop-aws, 06-05-2023
- Closed