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/security_and_spaces/tests/alerting/rbac_legacy·ts - alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts #86952

Closed
kibanamachine opened this issue Dec 27, 2020 · 9 comments · Fixed by #87642 or #92549
Assignees
Labels
blocker 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) triage_needed v7.12.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 27, 2020

A test failed on a tracked branch

Error: expected 409 to sort of equal 204
    at Assertion.assert (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/16/kibana/packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:89:56)
    at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:84:16) {
  actual: '409',
  expected: '204',
  showDiff: true
}

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Dec 27, 2020
@myasonik myasonik added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! triage_needed labels Jan 7, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@legrego legrego added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) and removed Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! labels Jan 7, 2021
@elasticmachine
Copy link
Contributor

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

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@mikecote mikecote removed their assignment Feb 1, 2021
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

spalger added a commit that referenced this issue Feb 1, 2021
spalger added a commit that referenced this issue Feb 1, 2021
(cherry picked from commit af6ed3f)
@spalger
Copy link
Contributor

spalger commented Feb 1, 2021

This came back with a vengeance in the last 12 hours, 36 failures across tracked branches and PRs

image

master: af6ed3f + 5416379
7.x/7.12: 8d38c5a + 920e248

spalger added a commit that referenced this issue Feb 2, 2021
spalger added a commit that referenced this issue Feb 2, 2021
(cherry picked from commit 5416379)
gmmorris added a commit to lizozom/kibana that referenced this issue Feb 2, 2021
…om/kibana into pr/89570

* 'sessions/save-all-sessions' of https://github.com/lizozom/kibana: (44 commits)
  [ML] Functional tests - skip DFA clone tests
  [Uptime] Fix synthetics detail step count (elastic#89940)
  Fixes the permissions to require cluster.manage in order to create an index and in order to update an index (elastic#89947)
  [Security Solution] [Detections] adds log info level for logging in cloud (elastic#89941)
  [Time to Visualize] Dashboard By Value Testing Lens (elastic#89581)
  [Uptime] Expand synthetic journey step thumbnail on hover (elastic#89179)
  TS project refs: Migrates snapshot_restore to a TS Project (elastic#89653)
  docs: APM 7.11 updates (elastic#89789)
  move skip to higher level (elastic#86952)
  Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)"
  Revert "Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)""
  Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)"
  [data.search] Allow search response to follow new hits format (elastic#88115)
  [Maps] Change 'create multi-layer map' title to be use-case focused (elastic#89520)
  skip flaky suite (elastic#86952)
  [Security Solution] Remove focustrap (elastic#89905)
  [Workplace Search] Add remaining i18n support for the Content Sources tree (elastic#89910)
  [esArchiver] log when migrations complete and we're done loading data (elastic#89938)
  Add --ssl flag to make resolver generator use ssl with kbn and elasticsearch clients (elastic#89873)
  TS project refs: Migrates grokdebugger (elastic#89652)
  ...
@ymao1 ymao1 self-assigned this Feb 2, 2021
@ymao1
Copy link
Contributor

ymao1 commented Feb 2, 2021

[00:04:03]                 └-: superuser at space1
[00:04:03]                   └-> "before all" hook
[00:04:03]                   └-> "before all" hook
[00:04:03]                   └-> should schedule actions on legacy alerts
[00:04:03]                     └-> "before each" hook: global before each
[00:04:04]                     │ debg --- retry.try error: expected 0 to be above 0
[00:04:04]                     │ debg --- retry.try failed again with the same message...
[00:04:05]                     │ debg --- retry.try failed again with the same message...
[00:04:05]                     │ debg --- retry.try failed again with the same message...

lots of retries

[00:06:01]                     │ debg --- retry.try failed again with the same message...
[00:06:01]                     │ debg --- retry.try failed again with the same message...
[00:06:02]                     │ debg --- retry.try failed again with the same message...
[00:06:02]                     │ debg --- retry.try failed again with the same message...
[00:06:03]                     │ debg --- retry.try failed again with the same message...
[00:06:04]                     │ debg --- retry.try failed again with the same message...
[00:06:04]                     └- ✖ fail: alerting api integration security and spaces enabled Alerts legacy alerts alerts superuser at space1 should schedule actions on legacy alerts
[00:06:04]                     │      retry.try timeout: Error: expected 0 to be above 0
[00:06:04]                     │     at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
[00:06:04]                     │     at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:317:8)
[00:06:04]                     │     at Function.greaterThan (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:531:15)
[00:06:04]                     │     at /dev/shm/workspace/parallel/3/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:196:64
[00:06:04]                     │     at runMicrotasks (<anonymous>)
[00:06:04]                     │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:06:04]                     │     at runAttempt (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:04]                     │     at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:04]                     │     at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:32:14)
[00:06:04]                     │     at ensureAlertIsRunning (/dev/shm/workspace/parallel/3/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
[00:06:04]                     │     at Context.<anonymous> (/dev/shm/workspace/parallel/3/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
[00:06:04]                     │     at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:06:04]                     │   Error: retry.try timeout: Error: expected 0 to be above 0
[00:06:04]                     │       at Assertion.assert (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:100:11)
[00:06:04]                     │       at Assertion.greaterThan.Assertion.above (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:317:8)
[00:06:04]                     │       at Function.greaterThan (/dev/shm/workspace/parallel/3/kibana/packages/kbn-expect/expect.js:531:15)
[00:06:04]                     │       at /dev/shm/workspace/parallel/3/kibana/x-pack/test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:196:64
[00:06:04]                     │       at runMicrotasks (<anonymous>)
[00:06:04]                     │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:06:04]                     │       at runAttempt (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:06:04]                     │       at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:06:04]                     │       at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:32:14)
[00:06:04]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
[00:06:04]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
[00:06:04]                     │       at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:06:04]                     │       at onFailure (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:06:04]                     │       at retryForSuccess (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:06:04]                     │       at Retry.try (/dev/shm/workspace/parallel/3/kibana/test/common/services/retry/retry.ts:32:14)
[00:06:04]                     │       at ensureAlertIsRunning (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:185:13)
[00:06:04]                     │       at Context.<anonymous> (test/alerting_api_integration/security_and_spaces/tests/alerting/rbac_legacy.ts:83:15)
[00:06:04]                     │       at Object.apply (/dev/shm/workspace/parallel/3/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment