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

Failing test: X-Pack Alerting API Integration Tests.x-pack/test/alerting_api_integration/spaces_only/tests/actions/enqueue·ts - alerting api integration spaces only Actions enqueue should never leaved a failed task, even if max attempts is reached #111812

Closed
kibanamachine opened this issue Sep 9, 2021 · 13 comments · Fixed by #112434
Assignees
Labels
blocker estimate:needs-research Estimated as too large and requires research to break down into workable issues failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.16.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 9, 2021

A test failed on a tracked branch

Error: retry.try timeout: Error: expected 0 to sort of equal 1
    at Assertion.assert (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at /dev/shm/workspace/parallel/24/kibana/x-pack/test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:182:91
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at runAttempt (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at RetryService.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:31:12)
    at Context.<anonymous> (test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:160:7)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
    at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:31:12)
    at Context.<anonymous> (test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:160:7)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 9, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 9, 2021
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@dmlemeshko dmlemeshko added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Sep 10, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 10, 2021
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@brianseeders
Copy link
Contributor

Skipped

7.x: 4cdb445

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

tylersmalley pushed a commit that referenced this issue Sep 15, 2021
@tylersmalley
Copy link
Contributor

Skipped

master: f2a546a

@mikecote
Copy link
Contributor

should never leaved a failed task, even if max attempts is reached
[00:01:07]                 └-> "before each" hook: global before each for "should never leaved a failed task, even if max attempts is reached"
[00:01:09]                 │ debg --- retry.try error: expected 0 to sort of equal 1
[00:01:09]                 │ debg --- retry.try failed again with the same message...
[00:01:10]                 │ debg --- retry.try failed again with the same message...
[00:01:10]                 │ debg --- retry.try failed again with the same message...
[00:01:11]                 │ proc [kibana]   log   [02:43:11.235] [info][eventLog][plugins] event logged: {"@timestamp":"2021-09-15T02:43:11.234Z","event":{"provider":"actions","action":"execute-start","start":"2021-09-15T02:43:11.233Z"},"kibana":{"task":{"scheduled":"2021-09-15T02:43:09.432Z","schedule_delay":1801000000},"saved_objects":[{"rel":"primary","type":"action","id":"a8783820-15ce-11ec-aceb-ada8d4e436b2","type_id":"test.no-attempts-rate-limit","namespace":"space1"}],"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"message":"action started: test.no-attempts-rate-limit:a8783820-15ce-11ec-aceb-ada8d4e436b2: My action","ecs":{"version":"1.8.0"}}
[00:01:11]                 │ proc [kibana]   log   [02:43:11.404] [warning][actions][plugins] action execution failure: test.no-attempts-rate-limit:a8783820-15ce-11ec-aceb-ada8d4e436b2: My action: unknown error running action; retry at 2021-09-15T02:43:07.546Z
[00:01:11]                 │ proc [kibana]   log   [02:43:11.406] [info][eventLog][plugins] event logged: {"@timestamp":"2021-09-15T02:43:11.405Z","event":{"provider":"actions","action":"execute","start":"2021-09-15T02:43:11.233Z","end":"2021-09-15T02:43:11.404Z","duration":171000000,"outcome":"failure"},"kibana":{"task":{"scheduled":"2021-09-15T02:43:09.432Z","schedule_delay":1801000000},"saved_objects":[{"rel":"primary","type":"action","id":"a8783820-15ce-11ec-aceb-ada8d4e436b2","type_id":"test.no-attempts-rate-limit","namespace":"space1"}],"server_uuid":"5b2de169-2785-441b-ae8c-186a1936b17d","version":"8.0.0"},"message":"action execution failure: test.no-attempts-rate-limit:a8783820-15ce-11ec-aceb-ada8d4e436b2: My action","error":{"message":"unknown error running action; retry at 2021-09-15T02:43:07.546Z"},"ecs":{"version":"1.8.0"}}
[00:01:11]                 │ proc [kibana]   log   [02:43:11.406] [error][actions][plugins] Action 'a8783820-15ce-11ec-aceb-ada8d4e436b2' failed and will not retry: undefined
[00:01:11]                 │ debg --- retry.try failed again with the same message...
[00:01:11]                 │ debg --- retry.try failed again with the same message...
[00:01:12]                 │ debg --- retry.try failed again with the same message...
[00:01:12]                 │ debg --- retry.try failed again with the same message...
[00:01:13]                 │ debg --- retry.try failed again with the same message...
[00:01:13]                 │ debg --- retry.try failed again with the same message...
[00:01:14]                 │ debg --- retry.try failed again with the same message...
[00:01:14]                 │ debg --- retry.try failed again with the same message...
[00:01:15]                 │ debg --- retry.try failed again with the same message...
[00:01:15]                 │ debg --- retry.try failed again with the same message...
[00:01:16]                 │ debg --- retry.try failed again with the same message...
[00:01:16]                 │ debg --- retry.try failed again with the same message...
[00:01:17]                 │ debg --- retry.try failed again with the same message...
[00:01:17]                 │ debg --- retry.try failed again with the same message...
[00:01:18]                 │ debg --- retry.try failed again with the same message...
[00:01:19]                 │ debg --- retry.try failed again with the same message...
[00:01:19]                 │ debg --- retry.try failed again with the same message...
[00:01:20]                 │ debg --- retry.try failed again with the same message...
[00:01:20]                 │ debg --- retry.try failed again with the same message...
[00:01:21]                 │ debg --- retry.try failed again with the same message...
[00:01:21]                 │ debg --- retry.try failed again with the same message...
[00:01:22]                 │ debg --- retry.try failed again with the same message...
[00:01:22]                 │ debg --- retry.try failed again with the same message...
[00:01:23]                 │ debg --- retry.try failed again with the same message...
[00:01:23]                 │ debg --- retry.try failed again with the same message...
[00:01:24]                 │ debg --- retry.try failed again with the same message...
[00:01:24]                 │ debg --- retry.try failed again with the same message...
[00:01:25]                 │ debg --- retry.try failed again with the same message...
[00:01:25]                 │ debg --- retry.try failed again with the same message...
[00:01:26]                 │ debg --- retry.try failed again with the same message...
[00:01:26]                 │ debg --- retry.try failed again with the same message...
[00:01:27]                 │ debg --- retry.try failed again with the same message...
[00:01:27]                 │ debg --- retry.try failed again with the same message...
[00:01:28]                 │ debg --- retry.try failed again with the same message...
[00:01:28]                 │ debg --- retry.try failed again with the same message...
[00:01:29]                 │ debg --- retry.try failed again with the same message...
[00:01:29]                 │ debg --- retry.try failed again with the same message...
[00:01:30]                 │ debg --- retry.try failed again with the same message...
[00:01:30]                 │ debg --- retry.try failed again with the same message...
[00:01:31]                 │ debg --- retry.try failed again with the same message...
[00:01:31]                 │ debg --- retry.try failed again with the same message...
[00:01:32]                 │ debg --- retry.try failed again with the same message...
[00:01:32]                 │ debg --- retry.try failed again with the same message...
[00:01:33]                 │ debg --- retry.try failed again with the same message...
[00:01:33]                 │ debg --- retry.try failed again with the same message...
[00:01:34]                 │ debg --- retry.try failed again with the same message...
[00:01:34]                 │ debg --- retry.try failed again with the same message...
[00:01:35]                 │ debg --- retry.try failed again with the same message...
[00:01:35]                 │ debg --- retry.try failed again with the same message...
[00:01:36]                 │ debg --- retry.try failed again with the same message...
[00:01:36]                 │ debg --- retry.try failed again with the same message...
[00:01:37]                 │ debg --- retry.try failed again with the same message...
[00:01:37]                 │ debg --- retry.try failed again with the same message...
[00:01:38]                 │ debg --- retry.try failed again with the same message...
[00:01:38]                 │ debg --- retry.try failed again with the same message...
[00:01:39]                 │ debg --- retry.try failed again with the same message...
[00:01:39]                 │ debg --- retry.try failed again with the same message...
[00:01:40]                 │ debg --- retry.try failed again with the same message...
[00:01:40]                 │ debg --- retry.try failed again with the same message...
[00:01:41]                 │ debg --- retry.try failed again with the same message...
[00:01:41]                 │ debg --- retry.try failed again with the same message...
[00:01:42]                 │ debg --- retry.try failed again with the same message...
[00:01:42]                 │ debg --- retry.try failed again with the same message...
[00:01:43]                 │ debg --- retry.try failed again with the same message...
[00:01:43]                 │ debg --- retry.try failed again with the same message...
[00:01:44]                 │ debg --- retry.try failed again with the same message...
[00:01:44]                 │ debg --- retry.try failed again with the same message...
[00:01:45]                 │ debg --- retry.try failed again with the same message...
[00:01:45]                 │ debg --- retry.try failed again with the same message...
[00:01:46]                 │ debg --- retry.try failed again with the same message...
[00:01:46]                 │ debg --- retry.try failed again with the same message...
[00:01:47]                 │ debg --- retry.try failed again with the same message...
[00:01:47]                 │ debg --- retry.try failed again with the same message...
[00:01:48]                 │ debg --- retry.try failed again with the same message...
[00:01:48]                 │ debg --- retry.try failed again with the same message...
[00:01:49]                 │ debg --- retry.try failed again with the same message...
[00:01:50]                 │ debg --- retry.try failed again with the same message...
[00:01:50]                 │ debg --- retry.try failed again with the same message...
[00:01:51]                 │ debg --- retry.try failed again with the same message...
[00:01:51]                 │ debg --- retry.try failed again with the same message...
[00:01:52]                 │ debg --- retry.try failed again with the same message...
[00:01:52]                 │ debg --- retry.try failed again with the same message...
[00:01:53]                 │ debg --- retry.try failed again with the same message...
[00:01:53]                 │ debg --- retry.try failed again with the same message...
[00:01:54]                 │ debg --- retry.try failed again with the same message...
[00:01:54]                 │ debg --- retry.try failed again with the same message...
[00:01:55]                 │ debg --- retry.try failed again with the same message...
[00:01:55]                 │ debg --- retry.try failed again with the same message...
[00:01:56]                 │ debg --- retry.try failed again with the same message...
[00:01:56]                 │ debg --- retry.try failed again with the same message...
[00:01:57]                 │ debg --- retry.try failed again with the same message...
[00:01:57]                 │ debg --- retry.try failed again with the same message...
[00:01:58]                 │ debg --- retry.try failed again with the same message...
[00:01:58]                 │ debg --- retry.try failed again with the same message...
[00:01:59]                 │ debg --- retry.try failed again with the same message...
[00:01:59]                 │ debg --- retry.try failed again with the same message...
[00:02:00]                 │ debg --- retry.try failed again with the same message...
[00:02:00]                 │ debg --- retry.try failed again with the same message...
[00:02:01]                 │ debg --- retry.try failed again with the same message...
[00:02:01]                 │ debg --- retry.try failed again with the same message...
[00:02:02]                 │ debg --- retry.try failed again with the same message...
[00:02:02]                 │ debg --- retry.try failed again with the same message...
[00:02:03]                 │ debg --- retry.try failed again with the same message...
[00:02:03]                 │ debg --- retry.try failed again with the same message...
[00:02:04]                 │ debg --- retry.try failed again with the same message...
[00:02:04]                 │ debg --- retry.try failed again with the same message...
[00:02:05]                 │ debg --- retry.try failed again with the same message...
[00:02:05]                 │ debg --- retry.try failed again with the same message...
[00:02:06]                 │ debg --- retry.try failed again with the same message...
[00:02:06]                 │ debg --- retry.try failed again with the same message...
[00:02:07]                 │ debg --- retry.try failed again with the same message...
[00:02:07]                 │ debg --- retry.try failed again with the same message...
[00:02:08]                 │ debg --- retry.try failed again with the same message...
[00:02:08]                 │ debg --- retry.try failed again with the same message...
[00:02:09]                 │ debg --- retry.try failed again with the same message...
[00:02:09]                 │ debg --- retry.try failed again with the same message...
[00:02:10]                 │ debg --- retry.try failed again with the same message...
[00:02:10]                 │ debg --- retry.try failed again with the same message...
[00:02:11]                 │ debg --- retry.try failed again with the same message...
[00:02:11]                 │ debg --- retry.try failed again with the same message...
[00:02:12]                 │ debg --- retry.try failed again with the same message...
[00:02:12]                 │ debg --- retry.try failed again with the same message...
[00:02:13]                 │ debg --- retry.try failed again with the same message...
[00:02:13]                 │ debg --- retry.try failed again with the same message...
[00:02:14]                 │ debg --- retry.try failed again with the same message...
[00:02:14]                 │ debg --- retry.try failed again with the same message...
[00:02:15]                 │ debg --- retry.try failed again with the same message...
[00:02:15]                 │ debg --- retry.try failed again with the same message...
[00:02:16]                 │ debg --- retry.try failed again with the same message...
[00:02:16]                 │ debg --- retry.try failed again with the same message...
[00:02:17]                 │ debg --- retry.try failed again with the same message...
[00:02:17]                 │ debg --- retry.try failed again with the same message...
[00:02:18]                 │ debg --- retry.try failed again with the same message...
[00:02:18]                 │ debg --- retry.try failed again with the same message...
[00:02:19]                 │ debg --- retry.try failed again with the same message...
[00:02:19]                 │ debg --- retry.try failed again with the same message...
[00:02:20]                 │ debg --- retry.try failed again with the same message...
[00:02:21]                 │ debg --- retry.try failed again with the same message...
[00:02:21]                 │ debg --- retry.try failed again with the same message...
[00:02:22]                 │ debg --- retry.try failed again with the same message...
[00:02:22]                 │ debg --- retry.try failed again with the same message...
[00:02:23]                 │ debg --- retry.try failed again with the same message...
[00:02:23]                 │ debg --- retry.try failed again with the same message...
[00:02:24]                 │ debg --- retry.try failed again with the same message...
[00:02:24]                 │ debg --- retry.try failed again with the same message...
[00:02:25]                 │ debg --- retry.try failed again with the same message...
[00:02:25]                 │ debg --- retry.try failed again with the same message...
[00:02:26]                 │ debg --- retry.try failed again with the same message...
[00:02:26]                 │ debg --- retry.try failed again with the same message...
[00:02:27]                 │ debg --- retry.try failed again with the same message...
[00:02:27]                 │ debg --- retry.try failed again with the same message...
[00:02:28]                 │ debg --- retry.try failed again with the same message...
[00:02:28]                 │ debg --- retry.try failed again with the same message...
[00:02:29]                 │ debg --- retry.try failed again with the same message...
[00:02:29]                 │ debg --- retry.try failed again with the same message...
[00:02:30]                 │ debg --- retry.try failed again with the same message...
[00:02:30]                 │ debg --- retry.try failed again with the same message...
[00:02:31]                 │ debg --- retry.try failed again with the same message...
[00:02:31]                 │ debg --- retry.try failed again with the same message...
[00:02:32]                 │ debg --- retry.try failed again with the same message...
[00:02:32]                 │ debg --- retry.try failed again with the same message...
[00:02:33]                 │ debg --- retry.try failed again with the same message...
[00:02:33]                 │ debg --- retry.try failed again with the same message...
[00:02:34]                 │ debg --- retry.try failed again with the same message...
[00:02:34]                 │ debg --- retry.try failed again with the same message...
[00:02:35]                 │ debg --- retry.try failed again with the same message...
[00:02:35]                 │ debg --- retry.try failed again with the same message...
[00:02:36]                 │ debg --- retry.try failed again with the same message...
[00:02:36]                 │ debg --- retry.try failed again with the same message...
[00:02:37]                 │ debg --- retry.try failed again with the same message...
[00:02:37]                 │ debg --- retry.try failed again with the same message...
[00:02:38]                 │ debg --- retry.try failed again with the same message...
[00:02:38]                 │ debg --- retry.try failed again with the same message...
[00:02:39]                 │ debg --- retry.try failed again with the same message...
[00:02:39]                 │ debg --- retry.try failed again with the same message...
[00:02:40]                 │ debg --- retry.try failed again with the same message...
[00:02:40]                 │ debg --- retry.try failed again with the same message...
[00:02:41]                 │ debg --- retry.try failed again with the same message...
[00:02:41]                 │ debg --- retry.try failed again with the same message...
[00:02:42]                 │ debg --- retry.try failed again with the same message...
[00:02:42]                 │ debg --- retry.try failed again with the same message...
[00:02:43]                 │ debg --- retry.try failed again with the same message...
[00:02:43]                 │ debg --- retry.try failed again with the same message...
[00:02:44]                 │ debg --- retry.try failed again with the same message...
[00:02:44]                 │ debg --- retry.try failed again with the same message...
[00:02:45]                 │ debg --- retry.try failed again with the same message...
[00:02:45]                 │ debg --- retry.try failed again with the same message...
[00:02:46]                 │ debg --- retry.try failed again with the same message...
[00:02:46]                 │ debg --- retry.try failed again with the same message...
[00:02:47]                 │ debg --- retry.try failed again with the same message...
[00:02:47]                 │ debg --- retry.try failed again with the same message...
[00:02:48]                 │ debg --- retry.try failed again with the same message...
[00:02:48]                 │ debg --- retry.try failed again with the same message...
[00:02:49]                 │ debg --- retry.try failed again with the same message...
[00:02:49]                 │ debg --- retry.try failed again with the same message...
[00:02:50]                 │ debg --- retry.try failed again with the same message...
[00:02:50]                 │ debg --- retry.try failed again with the same message...
[00:02:51]                 │ debg --- retry.try failed again with the same message...
[00:02:51]                 │ debg --- retry.try failed again with the same message...
[00:02:52]                 │ debg --- retry.try failed again with the same message...
[00:02:52]                 │ debg --- retry.try failed again with the same message...
[00:02:53]                 │ debg --- retry.try failed again with the same message...
[00:02:54]                 │ debg --- retry.try failed again with the same message...
[00:02:54]                 │ debg --- retry.try failed again with the same message...
[00:02:55]                 │ debg --- retry.try failed again with the same message...
[00:02:55]                 │ debg --- retry.try failed again with the same message...
[00:02:56]                 │ debg --- retry.try failed again with the same message...
[00:02:56]                 │ debg --- retry.try failed again with the same message...
[00:02:57]                 │ debg --- retry.try failed again with the same message...
[00:02:57]                 │ debg --- retry.try failed again with the same message...
[00:02:58]                 │ debg --- retry.try failed again with the same message...
[00:02:58]                 │ debg --- retry.try failed again with the same message...
[00:02:59]                 │ debg --- retry.try failed again with the same message...
[00:02:59]                 │ debg --- retry.try failed again with the same message...
[00:03:00]                 │ debg --- retry.try failed again with the same message...
[00:03:00]                 │ debg --- retry.try failed again with the same message...
[00:03:01]                 │ debg --- retry.try failed again with the same message...
[00:03:01]                 │ debg --- retry.try failed again with the same message...
[00:03:02]                 │ debg --- retry.try failed again with the same message...
[00:03:02]                 │ debg --- retry.try failed again with the same message...
[00:03:03]                 │ debg --- retry.try failed again with the same message...
[00:03:03]                 │ debg --- retry.try failed again with the same message...
[00:03:04]                 │ debg --- retry.try failed again with the same message...
[00:03:04]                 │ debg --- retry.try failed again with the same message...
[00:03:05]                 │ debg --- retry.try failed again with the same message...
[00:03:05]                 │ debg --- retry.try failed again with the same message...
[00:03:06]                 │ debg --- retry.try failed again with the same message...
[00:03:06]                 │ debg --- retry.try failed again with the same message...
[00:03:07]                 │ debg --- retry.try failed again with the same message...
[00:03:07]                 │ debg --- retry.try failed again with the same message...
[00:03:08]                 │ debg --- retry.try failed again with the same message...
[00:03:08]                 │ debg --- retry.try failed again with the same message...
[00:03:09]                 │ debg --- retry.try failed again with the same message...
[00:03:09]                 └- ✖ fail: alerting api integration spaces only Actions enqueue should never leaved a failed task, even if max attempts is reached
[00:03:09]                 │      retry.try timeout: Error: expected 0 to sort of equal 1
[00:03:09]                 │     at Assertion.assert (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:03:09]                 │     at Assertion.eql (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:03:09]                 │     at /dev/shm/workspace/parallel/6/kibana/x-pack/test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:182:91
[00:03:09]                 │     at runMicrotasks (<anonymous>)
[00:03:09]                 │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:03:09]                 │     at runAttempt (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]                 │     at retryForSuccess (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]                 │     at RetryService.try (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry.ts:31:12)
[00:03:09]                 │     at Context.<anonymous> (/dev/shm/workspace/parallel/6/kibana/x-pack/test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:160:7)
[00:03:09]                 │     at Object.apply (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:03:09]                 │   Error: retry.try timeout: Error: expected 0 to sort of equal 1
[00:03:09]                 │       at Assertion.assert (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:03:09]                 │       at Assertion.eql (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:03:09]                 │       at /dev/shm/workspace/parallel/6/kibana/x-pack/test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:182:91
[00:03:09]                 │       at runMicrotasks (<anonymous>)
[00:03:09]                 │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:03:09]                 │       at runAttempt (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:03:09]                 │       at retryForSuccess (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:03:09]                 │       at RetryService.try (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry.ts:31:12)
[00:03:09]                 │       at Context.<anonymous> (test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:160:7)
[00:03:09]                 │       at Object.apply (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:03:09]                 │       at onFailure (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:03:09]                 │       at retryForSuccess (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:03:09]                 │       at RetryService.try (/dev/shm/workspace/parallel/6/kibana/test/common/services/retry/retry.ts:31:12)
[00:03:09]                 │       at Context.<anonymous> (test/alerting_api_integration/spaces_only/tests/actions/enqueue.ts:160:7)
[00:03:09]                 │       at Object.apply (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:03:09]                 │ 
[00:03:09]                 │ 

@chrisronline
Copy link
Contributor

I added this test recently in #109655. Looks like it's a not great test and should be reworked.

@chrisronline chrisronline self-assigned this Sep 15, 2021
@gmmorris gmmorris added estimate:small Small Estimated Level of Effort estimate:needs-research Estimated as too large and requires research to break down into workable issues and removed estimate:small Small Estimated Level of Effort labels Sep 20, 2021
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker estimate:needs-research Estimated as too large and requires research to break down into workable issues failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.16.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants