Description of problem: Console CI is flaky because of on issue that the sidebar component is not shown. The following tests are failing sometimes and runs successfully after some retries. From the CI error log: Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ... │ ✖ crud/resource-crud.spec.ts 18:52 174 168 6 - - │ │ ... 1) Kubernetes resource CRUD operations Ingress creates the resource instance: AssertionError: Timed out retrying after 30000ms: Expected to find element: `[data-test="resource-sidebar"]`, but never found it. at Context.eval (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:48977:49) 2) Kubernetes resource CRUD operations Ingress displays detail view for newly created resource instance: AssertionError: Timed out retrying after 30000ms: expected 'https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/k8s/ns/test-tibiy/ingresses/~new' to include '/test-tibiy-ingress' at Context.eval (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:48991:26) 3) Kubernetes resource CRUD operations Ingress displays a list view for the resource: AssertionError: Timed out retrying after 30000ms: Expected to find element: `[data-test-rows="resource-row"`, but never found it. at Object.shouldBeLoaded (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:49238:54) at Context.eval (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:49012:80) 4) Kubernetes resource CRUD operations Ingress search view displays created resource instance: AssertionError: Timed out retrying after 30000ms: Expected to find element: `[data-test-rows="resource-row"]`, but never found it. at Object.shouldExist (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:49265:43) at Context.eval (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:49020:80) 5) Kubernetes resource CRUD operations Ingress edits the resource instance: AssertionError: Timed out retrying after 30000ms: Expected to find element: `[data-test-rows="resource-row"]`, but never found it. at Object.clickKebabAction (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:49251:16) at Context.eval (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:49029:80) 6) Kubernetes resource CRUD operations Ingress deletes the resource instance: AssertionError: Timed out retrying after 30000ms: Expected to find element: `[data-test="name-filter-input"]`, but never found it. at Context.eval (https://console-openshift-console.apps.ci-op-9r3pvl5g-75d12.**********************/__cypress/tests?p=tests/crud/resource-crud.spec.ts:48836:8) [mochawesome] Report JSON saved to /go/src/github.com/openshift/console/frontend/gui_test_screenshots/cypress_report_010.json (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 174 │ │ Passing: 168 │ │ Failing: 6 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 12 │ │ Video: true │ │ Duration: 18 minutes, 52 seconds │ │ Spec Ran: crud/resource-crud.spec.ts │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ Version-Release number of selected component (if applicable): 4.9 How reproducible: Sometimes Steps to Reproduce: Affects only the CI build Actual results: Sometimes broken with false positives (?) Expected results: More stable CI builds Additional info: None
Created attachment 1813228 [details] 1_Kubernetes resource CRUD operations -- Ingress -- creates the resource instance (failed).png
*** This bug has been marked as a duplicate of bug 1990577 ***