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 Rule Registry Alerts Client API Integration Tests.x-pack/test/rule_registry/security_and_spaces/tests/basic/search_strategy·ts - rules security and spaces enabled: basic ruleRegistryAlertsSearchStrategy logs should return alerts from log rules #129219

Closed
kibanamachine opened this issue Apr 1, 2022 · 13 comments · Fixed by #130393 or #145731
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Apr 1, 2022

A test failed on a tracked branch

Error: retry.try timeout: TypeError: Cannot read properties of undefined (reading 'isRunning')
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/x-pack/test/common/services/bsearch_secure.ts:109:38
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at runAttempt (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/test/common/services/retry/retry_for_success.ts:29:15)
    at retryForSuccess (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/test/common/services/retry/retry_for_success.ts:68:21)
    at RetryService.try (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/test/common/services/retry/retry.ts:31:12)
    at Object.send (test/common/services/bsearch_secure.ts:89:22)
    at Context.<anonymous> (test/rule_registry/security_and_spaces/tests/basic/search_strategy.ts:60:24)
    at Object.apply (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
    at onFailure (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/test/common/services/retry/retry_for_success.ts:59:13)
    at RetryService.try (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/test/common/services/retry/retry.ts:31:12)
    at Object.send (test/common/services/bsearch_secure.ts:89:22)
    at Context.<anonymous> (test/rule_registry/security_and_spaces/tests/basic/search_strategy.ts:60:24)
    at Object.apply (/var/lib/buildkite-agent/builds/kb-n2-4-spot-5595b18d181d1885/elastic/kibana-on-merge/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

First failure: CI Build - 8.2

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

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.2

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.2

@jbudz
Copy link
Member

jbudz commented Apr 14, 2022

/skip

@jbudz jbudz added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Apr 14, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@kibanamachine
Copy link
Contributor Author

Skipped

main: b95c4f8
8.2: 6a0427e

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine kibanamachine reopened this May 20, 2022
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@jbudz
Copy link
Member

jbudz commented May 25, 2022

/skip

@kibanamachine
Copy link
Contributor Author

Skipped

main: 4b1804a

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.3

suchcodemuchwow pushed a commit that referenced this issue May 31, 2022
(cherry picked from commit 4b1804a)
@suchcodemuchwow
Copy link
Contributor

Previous skip was only in affect on main

Skipped
8.3: e1c8b04

XavierM added a commit that referenced this issue Nov 21, 2022
## Summary

Fix: #129219 &
#144619


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 21, 2022
## Summary

Fix: elastic#129219 &
elastic#144619

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 58a3747)
kibanamachine added a commit that referenced this issue Nov 21, 2022
#145930)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[RAM] need to return the async id to avoid new request
(#145731)](#145731)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Xavier
Mouligneau","email":"xavier.mouligneau@elastic.co"},"sourceCommit":{"committedDate":"2022-11-21T20:02:06Z","message":"[RAM]
need to return the async id to avoid new request (#145731)\n\n##
Summary\r\n\r\nFix: #129219
&\r\nhttps://github.com//issues/144619\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"58a374799b41108929527a239bae68b3ac7cc346","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","impact:high","Team:ResponseOps","ci:cloud-deploy","ci:cloud-redeploy","v8.6.0","v8.7.0"],"number":145731,"url":"https://github.com/elastic/kibana/pull/145731","mergeCommit":{"message":"[RAM]
need to return the async id to avoid new request (#145731)\n\n##
Summary\r\n\r\nFix: #129219
&\r\nhttps://github.com//issues/144619\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"58a374799b41108929527a239bae68b3ac7cc346"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145731","number":145731,"mergeCommit":{"message":"[RAM]
need to return the async id to avoid new request (#145731)\n\n##
Summary\r\n\r\nFix: #129219
&\r\nhttps://github.com//issues/144619\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"58a374799b41108929527a239bae68b3ac7cc346"}}]}]
BACKPORT-->

Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
5 participants