Open AWSHurneyt opened 1 year ago
With the changes made to query_level_monitor_spec.js
in PR https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/622, the second test in the list doesn't appear to be failing periodically anymore. I've scratched it off the list, but we will continue to monitor it.
Reopening issue as flaky test 5 still seems to be an issue as seen in PR https://github.com/opensearch-project/alerting-dashboards-plugin/pull/767
Hello, in the description it mentioned bucket-level monitor twice, i wonder if one of them is compositeLevelMonitor
? i got both bucket-level and composite-level failed for my PR's E2E test. https://github.com/opensearch-project/alerting-dashboards-plugin/actions/runs/6778149217/job/18423118183?pr=794#step:13:307
PR https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/953 should help address flakiness of test monitors_dashboard_spec.js
> Displays expected number of alerts
when the tests are executed in the FTR for releases.
@wang-chenxi bucket level is mentioned twice in the description because there were a few different flaky observations in that suite. Those bucket level entries have been tracked as flaky since before the release of composite monitors.
Adding another known flakey test:
Error:
1) AcknowledgeAlertsModal
"before all" hook for "Acknowledge button disabled when more than 1 trigger selected":
CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.
CI run link: https://github.com/opensearch-project/alerting-dashboards-plugin/actions/runs/11584512757/job/32251792002
List of known flaky tests
bucket_level_monitor_spec.js
>Bucket-Level Monitors
>can be created
>by visual editor
query_level_monitor_spec.js
>schedule component displays as intended
>for a cron expression schedule
This test case seems to be much less flaky when executed locally, but will occasionally fail when executed by github actions. The following error is observed when the test fails.This flaky behavior is also rarely seen impacting thequery_level_monitor_spec.js
>schedule component displays as intended
>for an interval schedule
test.bucket_level_monitor_spec.js
>Bucket-Level Monitors
>can be created
>by visual editor
seems to be flaky when executed by the 1.3 functional test repo branch. It has failed with the error below.This seems to relate to the use of{enter}
when usingcy.type()
here. Cypress fails to execute the{enter}
press.The screenshot below helps illustrate this; theenter
key press doesn't execute, so the UI doesn't detect that aTime Field
has been defined which prevents the subsequent UI from rendering.A potential solution may involve changing a.blur()
call at the end of.type()
calls that use{enter}
.cluster_metrics_monitor_spec.js
>can be created
>for the Cluster Health API
seems to occasionally fail when the API is selected from the dropdown before page finishes loading. This causes the selection to reset which causes the test to fail as it expects to see UI elements for the selection. See image screenshot belowmonitors_dashboard_spec.js
>Displays expected number of alerts
occasionally fails with the following error (example). May be related to a delay in alert ingestion.composite_level_monitor_spec.js
>can be edited
>by visual editor
occasionally fails with the following error (example). Adding a short wait after thiscy.visit
call (link) helps to alleviate the flakiness; but a more permanent solution should be implemented.