Description of problem: Our CI tests fail sometimes with a cypress ace/a11y/accessibility error in the crud/other-routes.spec.ts which is not related to the change our devs have done. This happens because of some race conditions between the test and the prometheus data shown on the admin dashboard. Version-Release number of selected component (if applicable): 4.10 (did not test old branches) How reproducible: Sometimes Steps to Reproduce: 1. Run a CI test Actual results: CI tests fails sometimes with this error: Running: crud/other-routes.spec.ts (10 of 18) Visiting other routes Logging in as kubeadmin 1 accessibility violation was detected for [object Object] page ┌─────────┬───────────────┬────────────┬─────────────────────────────────────────┬───────┐ │ (index) │ id │ impact │ description │ nodes │ ├─────────┼───────────────┼────────────┼─────────────────────────────────────────┼───────┤ │ 0 │ 'button-name' │ 'critical' │ 'Ensures buttons have discernible text' │ 4 │ └─────────┴───────────────┴────────────┴─────────────────────────────────────────┴───────┘ 1 accessibility violation was detected for [object Object] page ┌─────────┬───────────────┬────────────┬─────────────────────────────────────────┬───────┐ │ (index) │ id │ impact │ description │ nodes │ ├─────────┼───────────────┼────────────┼─────────────────────────────────────────┼───────┤ │ 0 │ 'button-name' │ 'critical' │ 'Ensures buttons have discernible text' │ 4 │ └─────────┴───────────────┴────────────┴─────────────────────────────────────────┴───────┘ 1) successfully displays view for route: ✓ successfully displays view for route: k8s cluster clusterroles view (2342ms) ✓ successfully displays view for route: k8s cluster nodes (2970ms) ✓ successfully displays view for route: k8s all-namespaces events (3383ms) ✓ successfully displays view for route: k8s all-namespaces import (3290ms) ✓ successfully displays view for route: api-explorer (7525ms) ✓ successfully displays view for route: api-resource ns default core~v1~Pod (1105ms) ✓ successfully displays view for route: api-resource ns default core~v1~Pod schema (2335ms) ✓ successfully displays view for route: api-resource ns default core~v1~Pod instances (2292ms) ✓ successfully displays view for route: api-resource ns default core~v1~Pod access (2540ms) ✓ successfully displays view for route: k8s cluster user.openshift.io~v1~User (1058ms) ✓ successfully displays view for route: k8s ns openshift-machine-api machine.openshift.io~v1beta1~Machine (2649ms) ✓ successfully displays view for route: k8s ns openshift-machine-api machine.openshift.io~v1beta1~MachineSet (2798ms) ✓ successfully displays view for route: k8s ns openshift-machine-api autoscaling.openshift.io~v1beta1~MachineAutoscaler (2391ms) ✓ successfully displays view for route: k8s ns openshift-machine-api machine.openshift.io~v1beta1~MachineHealthCheck (2501ms) ✓ successfully displays view for route: k8s cluster machineconfiguration.openshift.io~v1~MachineConfig (2962ms) ✓ successfully displays view for route: k8s cluster machineconfiguration.openshift.io~v1~MachineConfigPool (2441ms) ✓ successfully displays view for route: k8s all-namespaces monitoring.coreos.com~v1~Alertmanager (2491ms) ✓ successfully displays view for route: k8s ns openshift-monitoring monitoring.coreos.com~v1~Alertmanager main (2692ms) ✓ successfully displays view for route: settings cluster (2474ms) ✓ successfully displays view for route: monitoring query-browser (2436ms) Logging out ✓ successfully displays view for route: search all-namespaces?kind=config.openshift.io~v1~Console (2557ms) Test perspective query parameters Logging in as kubeadmin ✓ tests Developer query parameter (10366ms) Logging out ✓ tests Administrator query parameter (5320ms) 23 passing (2m) 1 failing 1) Visiting other routes successfully displays view for route: : AssertionError: 1 accessibility violation was detected: expected 1 to equal 0 at Context.eval (https://console-openshift-console.apps.ci-op-xk7cycyk-75d12.**********************/__cypress/tests?p=tests/crud/other-routes.spec.ts:10178:20) Expected results: At least if the PR doesn't break something this cypress test should pass. Additional info:
This change only affects the CI test stability and could not be tested on a cluster. Set this as verified and will continuously watch the CI failure rate.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:0056