-
Bug
-
Resolution: Done
-
Major
-
OSSM 2.6.0
With the latest build of OSSM 2.6 (openshift-service-mesh-istio-operator-bundle:2.6.0-33), the TestMustGather test fails (with all SMCP's, so probably issue in operator) on:
TestMustGather/resources_cluster_scoped
smcp_must_gather_test.go:98: STEP 1: Get nodes of the cluster smcp_must_gather_test.go:102: smcp_must_gather_test.go:102: STEP 2: verify nodes files exist in cluster-scoped-resources smcp_must_gather_test.go:153: SUCCESS: /tmp/must-gather-2869712361/**/cluster-scoped-resources/core/nodes/ci-rhos-d-01-6p26z-master-0.yaml exists smcp_must_gather_test.go:153: SUCCESS: /tmp/must-gather-2869712361/**/cluster-scoped-resources/core/nodes/ci-rhos-d-01-6p26z-master-1.yaml exists smcp_must_gather_test.go:153: SUCCESS: /tmp/must-gather-2869712361/**/cluster-scoped-resources/core/nodes/ci-rhos-d-01-6p26z-master-2.yaml exists smcp_must_gather_test.go:153: SUCCESS: /tmp/must-gather-2869712361/**/cluster-scoped-resources/core/nodes/ci-rhos-d-01-6p26z-worker-0-858fs.yaml exists smcp_must_gather_test.go:153: SUCCESS: /tmp/must-gather-2869712361/**/cluster-scoped-resources/core/nodes/ci-rhos-d-01-6p26z-worker-0-q59gp.yaml exists smcp_must_gather_test.go:111: smcp_must_gather_test.go:111: STEP 3: Verify cluster-scoped-resources files exist in cluster-scoped-resources folder smcp_must_gather_test.go:153: SUCCESS: /tmp/must-gather-2869712361/**/cluster-scoped-resources/rbac.authorization.k8s.io/clusterrolebindings/istiod-internal-basic-istio-system.yaml exists smcp_must_gather_test.go:153: FATAL: Command failed: find /tmp/must-gather-2869712361/**/cluster-scoped-resources/admissionregistration.k8s.io/mutatingwebhookconfigurations/openshift-operators.servicemesh-resources.maistra.io.yaml find: ‘/tmp/must-gather-2869712361/**/cluster-scoped-resources/admissionregistration.k8s.io/mutatingwebhookconfigurations/openshift-operators.servicemesh-resources.maistra.io.yaml’: No such file or directory error: exit status 1
smcp_must_gather_test.go:39: Cleanup completed in 13.77s --- FAIL: TestMustGather (102.89s) --- PASS: TestMustGather/dump_files_and_proxy_stats_files_exist_for_pods (0.02s) --- PASS: TestMustGather/version_file (0.00s) --- FAIL: TestMustGather/resources_cluster_scoped (0.64s) --- PASS: TestMustGather/resource_for_namespaces_exist (0.01s) --- PASS: TestMustGather/cluster_service_version_files_validation (0.64s)
must-gather image doesn't work correctly with OCP 4.16 and cluster_scope resources