-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing ES Promotion: alerting api integration security and spaces enabled Alerts update no_kibana_privileges at space1 should handle updates to an alert schedule by rescheduling the underlying task #71558
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
#71558 Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
#71558 Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Confirmed this failure, along with those linked above, were introduced in elastic/elasticsearch@a28ce1e |
Here's the code for this failing test: kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/update.ts Lines 415 to 432 in 683fb42
Here's the
At first glance, I'm pretty confused by the error message. It's helpful to add commas to the numbers in question:
and for completeness:
I didn't realize they were off by a factor of 10x, so thought we could just change that So it would be perfectly explainable if the |
Repro with the following: Remove the kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/update.ts Line 33 in 683fb42
# FTS
$ cd x-pack
$ KBN_ES_SNAPSHOT_USE_UNVERIFIED=1 node scripts/functional_tests_server.js --config=test/alerting_api_integration/security_and_spaces/config.ts
...
# FTR
$ cd x-pack
$ node ../scripts/functional_test_runner.js --grep "Alerts.update" --config=test/alerting_api_integration/security_and_spaces/config.ts
... The env var prefix on FTS is supposed to use latest ES. I'm seeing this error in the FTS log, which seems like it's the latest ES, with the issue with unnamed granted API keys:
Here's where it chokes on the test:
It appears the "close, but off by 10x" for the numbers 180437 and 1790000 is a happy decimally coincidence! |
That's as far as I got, but here's a guess: API key failure leaving the alert in a weird state where it's doing an error retry, hence the smaller diff in the runat date. The initial runat diff reported above is about 5 minutes, is that our error retry interval? $ node -p "298973 / 1000 / 60"
4.9828833333333336 |
This failure is preventing the promotion of the current Elasticsearch nightly snapshot.
main/8.0.0: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1077/execution/node/381/log/
7x/7.9: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/1076/execution/node/386/log/
For more information on the Elasticsearch snapshot promotion process: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html
The text was updated successfully, but these errors were encountered: