Skip to content
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

[ci-stats] retry calls to ci-stats slower #110845

Merged
merged 2 commits into from
Sep 1, 2021

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Sep 1, 2021

We're seeing some momentary Cloud Run failures leading to requests to ci-stats failing. The client already does retries but they're currently relatively fast, and we're seeing these issues last about a minute, so this slows down the retries. Additionally I've added the error message to the logs.

@spalger spalger added Team:Operations Team label for Operations Team v7.14.0 v7.15.0 v7.16.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Sep 1, 2021
@spalger spalger requested a review from brianseeders September 1, 2021 17:05
@spalger spalger marked this pull request as ready for review September 1, 2021 17:05
@spalger spalger requested a review from a team as a code owner September 1, 2021 17:05
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger enabled auto-merge (squash) September 1, 2021 17:07
@spalger spalger added the auto-backport Deprecated - use backport:version if exact versions are needed label Sep 1, 2021
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list·ts.Actions and Triggers app alerts list should delete all selection

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: Actions and Triggers app
[00:00:00]           └-> "before all" hook in "Actions and Triggers app"
[00:00:30]           └-: alerts list
[00:00:30]             └-> "before all" hook for "should display alerts in alphabetical order"
[00:00:30]             └-> "before all" hook for "should display alerts in alphabetical order"
[00:00:30]               │ debg navigating to triggersActions url: http://localhost:61121/app/management/insightsAndAlerting/triggersActions
[00:00:30]               │ debg navigate to: http://localhost:61121/app/management/insightsAndAlerting/triggersActions
[00:00:30]               │ debg browser[INFO] http://localhost:61121/app/management/insightsAndAlerting/triggersActions?_t=1630521497335 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:30]               │
[00:00:30]               │ debg browser[INFO] http://localhost:61121/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:30]               │ debg ... sleep(700) start
[00:00:31]               │ debg ... sleep(700) end
[00:00:31]               │ debg returned from get, calling refresh
[00:00:31]               │ debg browser[INFO] http://localhost:61121/app/management/insightsAndAlerting/triggersActions?_t=1630521497335 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:31]               │
[00:00:31]               │ debg browser[INFO] http://localhost:61121/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:31]               │ debg currentUrl = http://localhost:61121/app/management/insightsAndAlerting/triggersActions
[00:00:31]               │          appUrl = http://localhost:61121/app/management/insightsAndAlerting/triggersActions
[00:00:31]               │ debg TestSubjects.find(kibanaChrome)
[00:00:31]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:33]               │ debg ... sleep(501) start
[00:00:33]               │ debg ... sleep(501) end
[00:00:33]               │ debg in navigateTo url = http://localhost:61121/app/management/insightsAndAlerting/triggersActions/rules
[00:00:33]               │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:00:34]               │ debg ... sleep(501) start
[00:00:34]               │ debg ... sleep(501) end
[00:00:34]               │ debg in navigateTo url = http://localhost:61121/app/management/insightsAndAlerting/triggersActions/rules
[00:00:34]               │ debg TestSubjects.click(rulesTab)
[00:00:34]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:34]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:34]             └-> should display alerts in alphabetical order
[00:00:34]               └-> "before each" hook: global before each for "should display alerts in alphabetical order"
[00:00:41]               │ debg TestSubjects.click(rulesTab)
[00:00:41]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:41]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:41]               │ debg TestSubjects.find(alertSearchField)
[00:00:41]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:00:42]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:00:42]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:00:42]               └- ✓ pass  (7.8s) "Actions and Triggers app alerts list should display alerts in alphabetical order"
[00:00:42]             └-> "after each" hook for "should display alerts in alphabetical order"
[00:00:44]             └-> should search for alert
[00:00:44]               └-> "before each" hook: global before each for "should search for alert"
[00:00:47]               │ debg TestSubjects.click(rulesTab)
[00:00:47]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:47]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:47]               │ debg TestSubjects.find(alertSearchField)
[00:00:47]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:00:48]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:00:48]               └- ✓ pass  (4.3s) "Actions and Triggers app alerts list should search for alert"
[00:00:48]             └-> "after each" hook for "should search for alert"
[00:00:48]               │ proc [kibana]   log   [18:38:35.599] [warning][alerting][plugins] Unable to execute rule "ce439750-0b53-11ec-a815-eff86a154e65" in the "default" space because Saved object [alert/ce439750-0b53-11ec-a815-eff86a154e65] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:00:48]               │ proc [kibana]   log   [18:38:35.599] [error][plugins][taskManager] Task alerting:test.noop "cf749d40-0b53-11ec-a815-eff86a154e65" failed: Error: Saved object [alert/ce439750-0b53-11ec-a815-eff86a154e65] not found
[00:00:50]             └-> should update alert list on the search clear button click
[00:00:50]               └-> "before each" hook: global before each for "should update alert list on the search clear button click"
[00:00:55]               │ debg TestSubjects.click(rulesTab)
[00:00:55]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:00:55]               │ debg TestSubjects.find(alertSearchField)
[00:00:55]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:00:56]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:00:56]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:00:56]               │ debg Find.findByCssSelector('.euiFormControlLayoutClearButton') with timeout=10000
[00:00:56]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:00:56]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:00:56]               └- ✓ pass  (6.5s) "Actions and Triggers app alerts list should update alert list on the search clear button click"
[00:00:56]             └-> "after each" hook for "should update alert list on the search clear button click"
[00:00:58]             └-> should search for tags
[00:00:58]               └-> "before each" hook: global before each for "should search for tags"
[00:01:00]               │ debg TestSubjects.click(rulesTab)
[00:01:00]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:00]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:00]               │ debg TestSubjects.find(alertSearchField)
[00:01:00]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:01]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:01]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:01]               └- ✓ pass  (3.1s) "Actions and Triggers app alerts list should search for tags"
[00:01:01]             └-> "after each" hook for "should search for tags"
[00:01:03]             └-> should display an empty list when search did not return any alerts
[00:01:03]               └-> "before each" hook: global before each for "should display an empty list when search did not return any alerts"
[00:01:05]               │ debg TestSubjects.click(rulesTab)
[00:01:05]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:05]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:05]               │ debg TestSubjects.find(alertSearchField)
[00:01:05]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:06]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:06]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:06]               └- ✓ pass  (3.2s) "Actions and Triggers app alerts list should display an empty list when search did not return any alerts"
[00:01:06]             └-> "after each" hook for "should display an empty list when search did not return any alerts"
[00:01:06]               │ proc [kibana]   log   [18:38:53.629] [warning][alerting][plugins] Unable to execute rule "d9b32470-0b53-11ec-a815-eff86a154e65" in the "default" space because Saved object [alert/d9b32470-0b53-11ec-a815-eff86a154e65] not found - this rule will not be rescheduled. To restart rule execution, try disabling and re-enabling this rule.
[00:01:06]               │ proc [kibana]   log   [18:38:53.630] [error][plugins][taskManager] Task alerting:test.noop "da4b6cd0-0b53-11ec-a815-eff86a154e65" failed: Error: Saved object [alert/d9b32470-0b53-11ec-a815-eff86a154e65] not found
[00:01:08]             └-> should disable single alert
[00:01:08]               └-> "before each" hook: global before each for "should disable single alert"
[00:01:10]               │ debg TestSubjects.click(rulesTab)
[00:01:10]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:10]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:10]               │ debg TestSubjects.find(alertSearchField)
[00:01:10]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:11]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:11]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:11]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:11]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:11]               │ debg TestSubjects.click(disableButton)
[00:01:11]               │ debg Find.clickByCssSelector('[data-test-subj="disableButton"]') with timeout=10000
[00:01:11]               │ debg Find.findByCssSelector('[data-test-subj="disableButton"]') with timeout=10000
[00:01:11]               │ debg TestSubjects.find(alertSearchField)
[00:01:11]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:12]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:12]               │ debg TestSubjects.find(enableSwitch)
[00:01:12]               │ debg Find.findByCssSelector('[data-test-subj="enableSwitch"]') with timeout=10000
[00:01:12]               └- ✓ pass  (3.7s) "Actions and Triggers app alerts list should disable single alert"
[00:01:12]             └-> "after each" hook for "should disable single alert"
[00:01:12]             └-> should re-enable single alert
[00:01:12]               └-> "before each" hook: global before each for "should re-enable single alert"
[00:01:15]               │ proc [kibana]   log   [18:39:02.634] [error][alerting][plugins] Executing Alert default:test.noop:df1ccb00-0b53-11ec-a815-eff86a154e65 has resulted in Error: security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_security/user/_has_privileges], caused by: ""
[00:01:16]               │ debg TestSubjects.click(rulesTab)
[00:01:16]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:16]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:16]               │ debg TestSubjects.find(alertSearchField)
[00:01:16]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:17]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:17]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:17]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:17]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:17]               │ debg TestSubjects.click(disableButton)
[00:01:17]               │ debg Find.clickByCssSelector('[data-test-subj="disableButton"]') with timeout=10000
[00:01:17]               │ debg Find.findByCssSelector('[data-test-subj="disableButton"]') with timeout=10000
[00:01:17]               │ debg TestSubjects.find(alertSearchField)
[00:01:17]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:18]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:18]               │ debg TestSubjects.find(enableSwitch)
[00:01:18]               │ debg Find.findByCssSelector('[data-test-subj="enableSwitch"]') with timeout=10000
[00:01:18]               └- ✓ pass  (5.8s) "Actions and Triggers app alerts list should re-enable single alert"
[00:01:18]             └-> "after each" hook for "should re-enable single alert"
[00:01:18]               │ERROR browser[SEVERE] http://localhost:61121/api/alerting/rule/df1ccb00-0b53-11ec-a815-eff86a154e65/_enable - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:18]               │ debg browser[INFO] http://localhost:61121/45903/bundles/core/core.entry.js 12:151634 "Detected an unhandled Promise rejection.
[00:01:18]               │      Error: Not Found"
[00:01:18]               │ERROR browser[SEVERE] http://localhost:61121/45903/bundles/core/core.entry.js 5:2752 
[00:01:18]             └-> should mute single alert
[00:01:18]               └-> "before each" hook: global before each for "should mute single alert"
[00:01:20]               │ debg TestSubjects.click(rulesTab)
[00:01:20]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:20]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:20]               │ debg TestSubjects.find(alertSearchField)
[00:01:20]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:21]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:21]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:21]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:21]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:21]               │ debg TestSubjects.click(muteButton)
[00:01:21]               │ debg Find.clickByCssSelector('[data-test-subj="muteButton"]') with timeout=10000
[00:01:21]               │ debg Find.findByCssSelector('[data-test-subj="muteButton"]') with timeout=10000
[00:01:22]               │ debg TestSubjects.find(alertSearchField)
[00:01:22]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:22]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:22]               │ debg TestSubjects.find(mutedActionsBadge)
[00:01:22]               │ debg Find.findByCssSelector('[data-test-subj="mutedActionsBadge"]') with timeout=10000
[00:01:22]               └- ✓ pass  (4.4s) "Actions and Triggers app alerts list should mute single alert"
[00:01:22]             └-> "after each" hook for "should mute single alert"
[00:01:24]             └-> should unmute single alert
[00:01:24]               └-> "before each" hook: global before each for "should unmute single alert"
[00:01:27]               │ debg TestSubjects.click(rulesTab)
[00:01:27]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:27]               │ debg TestSubjects.find(alertSearchField)
[00:01:27]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:28]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:28]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:28]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:28]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:28]               │ debg TestSubjects.click(muteButton)
[00:01:28]               │ debg Find.clickByCssSelector('[data-test-subj="muteButton"]') with timeout=10000
[00:01:28]               │ debg Find.findByCssSelector('[data-test-subj="muteButton"]') with timeout=10000
[00:01:29]               │ debg TestSubjects.find(alertSearchField)
[00:01:29]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:29]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:29]               │ debg TestSubjects.missingOrFail(mutedActionsBadge)
[00:01:29]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mutedActionsBadge"]') with timeout=2500
[00:01:30]               └- ✓ pass  (5.9s) "Actions and Triggers app alerts list should unmute single alert"
[00:01:30]             └-> "after each" hook for "should unmute single alert"
[00:01:31]             └-> should delete single alert
[00:01:31]               └-> "before each" hook: global before each for "should delete single alert"
[00:01:35]               │ debg TestSubjects.click(rulesTab)
[00:01:35]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:35]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:35]               │ debg TestSubjects.find(alertSearchField)
[00:01:35]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:36]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:36]               │ debg TestSubjects.click(collapsedItemActions)
[00:01:36]               │ debg Find.clickByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:36]               │ debg Find.findByCssSelector('[data-test-subj="collapsedItemActions"]') with timeout=10000
[00:01:37]               │ debg TestSubjects.click(deleteAlert)
[00:01:37]               │ debg Find.clickByCssSelector('[data-test-subj="deleteAlert"]') with timeout=10000
[00:01:37]               │ debg Find.findByCssSelector('[data-test-subj="deleteAlert"]') with timeout=10000
[00:01:37]               │ debg TestSubjects.exists(deleteIdsConfirmation)
[00:01:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=120000
[00:01:37]               │ debg TestSubjects.click(deleteIdsConfirmation > confirmModalConfirmButton)
[00:01:37]               │ debg Find.clickByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:01:37]               │ debg Find.findByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:01:37]               │ debg TestSubjects.missingOrFail(deleteIdsConfirmation)
[00:01:37]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=2500
[00:01:37]               │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:01:39]               │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:01:39]               │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:39]               │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:01:39]               │ debg TestSubjects.find(alertSearchField)
[00:01:39]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:39]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:39]               │ debg Find.findByCssSelector('[data-test-subj="alertsList"] table') with timeout=10000
[00:01:39]               └- ✓ pass  (7.8s) "Actions and Triggers app alerts list should delete single alert"
[00:01:39]             └-> "after each" hook for "should delete single alert"
[00:01:40]             └-> should mute all selection
[00:01:40]               └-> "before each" hook: global before each for "should mute all selection"
[00:01:42]               │ debg TestSubjects.click(rulesTab)
[00:01:42]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:42]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:42]               │ debg TestSubjects.find(alertSearchField)
[00:01:42]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:43]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:43]               │ debg TestSubjects.click(checkboxSelectRow-effcb570-0b53-11ec-a815-eff86a154e65)
[00:01:43]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-effcb570-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:01:43]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-effcb570-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:01:44]               │ debg TestSubjects.click(bulkAction)
[00:01:44]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:01:44]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:01:44]               │ debg TestSubjects.click(muteAll)
[00:01:44]               │ debg Find.clickByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:01:44]               │ debg Find.findByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:01:44]               │ debg TestSubjects.exists(unmuteAll)
[00:01:44]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="unmuteAll"]') with timeout=120000
[00:01:45]               │ debg TestSubjects.find(alertSearchField)
[00:01:45]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:45]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:45]               │ debg TestSubjects.find(alertSearchField)
[00:01:45]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:45]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:45]               │ debg TestSubjects.find(mutedActionsBadge)
[00:01:45]               │ debg Find.findByCssSelector('[data-test-subj="mutedActionsBadge"]') with timeout=10000
[00:01:46]               └- ✓ pass  (5.2s) "Actions and Triggers app alerts list should mute all selection"
[00:01:46]             └-> "after each" hook for "should mute all selection"
[00:01:47]             └-> should unmute all selection
[00:01:47]               └-> "before each" hook: global before each for "should unmute all selection"
[00:01:49]               │ debg TestSubjects.click(rulesTab)
[00:01:49]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:49]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:49]               │ debg TestSubjects.find(alertSearchField)
[00:01:49]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:50]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:51]               │ debg TestSubjects.click(checkboxSelectRow-f430c230-0b53-11ec-a815-eff86a154e65)
[00:01:51]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-f430c230-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:01:51]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-f430c230-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:01:51]               │ debg TestSubjects.click(bulkAction)
[00:01:51]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:01:51]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:01:51]               │ debg TestSubjects.click(muteAll)
[00:01:51]               │ debg Find.clickByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:01:51]               │ debg Find.findByCssSelector('[data-test-subj="muteAll"]') with timeout=10000
[00:01:51]               │ debg TestSubjects.click(unmuteAll)
[00:01:51]               │ debg Find.clickByCssSelector('[data-test-subj="unmuteAll"]') with timeout=10000
[00:01:51]               │ debg Find.findByCssSelector('[data-test-subj="unmuteAll"]') with timeout=10000
[00:01:52]               │ debg TestSubjects.exists(muteAll)
[00:01:52]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="muteAll"]') with timeout=120000
[00:01:53]               │ debg TestSubjects.find(alertSearchField)
[00:01:53]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:53]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:53]               │ debg TestSubjects.missingOrFail(mutedActionsBadge)
[00:01:53]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mutedActionsBadge"]') with timeout=2500
[00:01:54]               └- ✓ pass  (6.3s) "Actions and Triggers app alerts list should unmute all selection"
[00:01:54]             └-> "after each" hook for "should unmute all selection"
[00:01:55]             └-> should disable all selection
[00:01:55]               └-> "before each" hook: global before each for "should disable all selection"
[00:01:58]               │ debg TestSubjects.click(rulesTab)
[00:01:58]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:58]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:01:58]               │ debg TestSubjects.find(alertSearchField)
[00:01:58]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:01:58]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:01:59]               │ debg TestSubjects.click(checkboxSelectRow-f901f950-0b53-11ec-a815-eff86a154e65)
[00:01:59]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-f901f950-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:01:59]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-f901f950-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:01:59]               │ debg TestSubjects.click(bulkAction)
[00:01:59]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:01:59]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:01:59]               │ debg TestSubjects.click(disableAll)
[00:01:59]               │ debg Find.clickByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:01:59]               │ debg Find.findByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:01:59]               │ debg TestSubjects.exists(enableAll)
[00:01:59]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="enableAll"]') with timeout=120000
[00:02:01]               │ debg TestSubjects.find(alertSearchField)
[00:02:01]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:01]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:01]               │ debg TestSubjects.find(enableSwitch)
[00:02:01]               │ debg Find.findByCssSelector('[data-test-subj="enableSwitch"]') with timeout=10000
[00:02:01]               └- ✓ pass  (5.9s) "Actions and Triggers app alerts list should disable all selection"
[00:02:01]             └-> "after each" hook for "should disable all selection"
[00:02:02]             └-> should enable all selection
[00:02:02]               └-> "before each" hook: global before each for "should enable all selection"
[00:02:04]               │ debg TestSubjects.click(rulesTab)
[00:02:04]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:02:04]               │ debg TestSubjects.find(alertSearchField)
[00:02:04]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:04]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:05]               │ debg TestSubjects.click(checkboxSelectRow-fc9e59f0-0b53-11ec-a815-eff86a154e65)
[00:02:05]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-fc9e59f0-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-fc9e59f0-0b53-11ec-a815-eff86a154e65"]') with timeout=10000
[00:02:05]               │ debg TestSubjects.click(bulkAction)
[00:02:05]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:05]               │ debg TestSubjects.click(disableAll)
[00:02:05]               │ debg Find.clickByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="disableAll"]') with timeout=10000
[00:02:05]               │ debg TestSubjects.click(enableAll)
[00:02:05]               │ debg Find.clickByCssSelector('[data-test-subj="enableAll"]') with timeout=10000
[00:02:05]               │ debg Find.findByCssSelector('[data-test-subj="enableAll"]') with timeout=10000
[00:02:07]               │ debg TestSubjects.exists(disableAll)
[00:02:07]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="disableAll"]') with timeout=120000
[00:02:09]               │ debg --- retry.tryForTime error: [data-test-subj="disableAll"] is not displayed
[00:02:10]               │ debg TestSubjects.find(alertSearchField)
[00:02:10]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:10]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:10]               │ debg TestSubjects.find(enableSwitch)
[00:02:10]               │ debg Find.findByCssSelector('[data-test-subj="enableSwitch"]') with timeout=10000
[00:02:10]               └- ✓ pass  (8.9s) "Actions and Triggers app alerts list should enable all selection"
[00:02:10]             └-> "after each" hook for "should enable all selection"
[00:02:12]             └-> should delete all selection
[00:02:12]               └-> "before each" hook: global before each for "should delete all selection"
[00:02:14]               │ debg TestSubjects.click(rulesTab)
[00:02:14]               │ debg Find.clickByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:02:14]               │ debg Find.findByCssSelector('[data-test-subj="rulesTab"]') with timeout=10000
[00:02:14]               │ debg TestSubjects.find(alertSearchField)
[00:02:14]               │ debg Find.findByCssSelector('[data-test-subj="alertSearchField"]') with timeout=10000
[00:02:14]               │ debg Find.findByCssSelector('.euiBasicTable[data-test-subj="alertsList"]:not(.euiBasicTable-loading)') with timeout=10000
[00:02:15]               │ debg TestSubjects.click(checkboxSelectRow-02a15a50-0b54-11ec-a815-eff86a154e65)
[00:02:15]               │ debg Find.clickByCssSelector('[data-test-subj="checkboxSelectRow-02a15a50-0b54-11ec-a815-eff86a154e65"]') with timeout=10000
[00:02:15]               │ debg Find.findByCssSelector('[data-test-subj="checkboxSelectRow-02a15a50-0b54-11ec-a815-eff86a154e65"]') with timeout=10000
[00:02:15]               │ debg TestSubjects.click(bulkAction)
[00:02:15]               │ debg Find.clickByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:15]               │ debg Find.findByCssSelector('[data-test-subj="bulkAction"]') with timeout=10000
[00:02:15]               │ debg TestSubjects.click(deleteAll)
[00:02:15]               │ debg Find.clickByCssSelector('[data-test-subj="deleteAll"]') with timeout=10000
[00:02:15]               │ debg Find.findByCssSelector('[data-test-subj="deleteAll"]') with timeout=10000
[00:02:15]               │ debg TestSubjects.exists(deleteIdsConfirmation)
[00:02:15]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=120000
[00:02:15]               │ debg TestSubjects.click(deleteIdsConfirmation > confirmModalConfirmButton)
[00:02:15]               │ debg Find.clickByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:15]               │ debg Find.findByCssSelector('[data-test-subj="deleteIdsConfirmation"] [data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:02:15]               │ debg TestSubjects.missingOrFail(deleteIdsConfirmation)
[00:02:15]               │ debg Find.waitForDeletedByCssSelector('[data-test-subj="deleteIdsConfirmation"]') with timeout=2500
[00:02:16]               │ERROR browser[SEVERE] http://localhost:61121/api/alerting/rule/02a15a50-0b54-11ec-a815-eff86a154e65 - Failed to load resource: the server responded with a status of 409 (Conflict)
[00:02:16]               │ debg browser[INFO] http://localhost:61121/45903/bundles/core/core.entry.js 12:151634 "Detected an unhandled Promise rejection.
[00:02:16]               │      TypeError: Found non-callable @@iterator"
[00:02:16]               │ERROR browser[SEVERE] http://localhost:61121/45903/bundles/plugin/triggersActionsUi/kibana/triggersActionsUi.chunk.1.js 2:44048 Uncaught TypeError: Found non-callable @@iterator
[00:02:16]               │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:03:17]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:03:17]               │      Wait timed out after 61134ms
[00:03:17]               │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:04:19]               │ debg --- retry.try error: Waiting for element to be located By(css selector, .euiToast)
[00:04:19]               │      Wait timed out after 61194ms
[00:04:19]               │ info Taking screenshot "/dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/screenshots/failure/Actions and Triggers app alerts list should delete all selection.png"
[00:04:19]               │ info Current URL is: http://localhost:61121/app/management/insightsAndAlerting/triggersActions/rules
[00:04:19]               │ info Saving page source to: /dev/shm/workspace/parallel/12/kibana/x-pack/test/functional/failure_debug/html/Actions and Triggers app alerts list should delete all selection.html
[00:04:19]               └- ✖ fail: Actions and Triggers app alerts list should delete all selection
[00:04:19]               │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiToast)
[00:04:19]               │ Wait timed out after 61194ms
[00:04:19]               │     at /dev/shm/workspace/parallel/12/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:04:19]               │     at runMicrotasks (<anonymous>)
[00:04:19]               │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:04:19]               │       at onFailure (/dev/shm/workspace/parallel/12/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:04:19]               │       at retryForSuccess (/dev/shm/workspace/parallel/12/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:04:19]               │       at RetryService.try (/dev/shm/workspace/parallel/12/kibana/test/common/services/retry/retry.ts:31:12)
[00:04:19]               │       at Context.<anonymous> (test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts:364:7)
[00:04:19]               │       at Object.apply (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:04:19]               │ 
[00:04:19]               │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, .euiToast)
Wait timed out after 61194ms
    at /dev/shm/workspace/parallel/12/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (/dev/shm/workspace/parallel/12/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/12/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/12/kibana/test/common/services/retry/retry.ts:31:12)
    at Context.<anonymous> (test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list.ts:364:7)
    at Object.apply (/dev/shm/workspace/parallel/12/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger spalger merged commit 8c56762 into elastic:master Sep 1, 2021
@spalger spalger deleted the implement/ci-stats-slower-retries branch September 1, 2021 19:41
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 1, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 1, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 1, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.14
7.15
7.x

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Sep 1, 2021
Co-authored-by: spalger <[email protected]>

Co-authored-by: Spencer <[email protected]>
Co-authored-by: spalger <[email protected]>
kibanamachine added a commit that referenced this pull request Sep 1, 2021
Co-authored-by: spalger <[email protected]>

Co-authored-by: Spencer <[email protected]>
Co-authored-by: spalger <[email protected]>
kibanamachine added a commit that referenced this pull request Sep 1, 2021
Co-authored-by: spalger <[email protected]>

Co-authored-by: Spencer <[email protected]>
Co-authored-by: spalger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.14.0 v7.15.0 v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants