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: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/saved_objects_management/feature_controls/saved_objects_management_security·ts - Saved objects management feature controls saved objects management global saved object management read privileges listing shows all saved objects #89953

Closed
kibanamachine opened this issue Feb 2, 2021 · 7 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 2, 2021

A test failed on a tracked branch

Error: expected [ 'Advanced Settings [8.0.0-SNAPSHOT]',
  'Advanced Settings [6.0.0]',
  'A Dashboard',
  'logstash-*',
  'A Pie' ] to sort of equal [ 'Advanced Settings [6.0.0]',
  'Advanced Settings [8.0.0-SNAPSHOT]',
  'A Dashboard',
  'logstash-*',
  'A Pie' ]
    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/functional/apps/saved_objects_management/feature_controls/saved_objects_management_security.ts:189:30)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.apply (/dev/shm/workspace/parallel/16/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16) {
  actual: '[\n' +
    '  "Advanced Settings [8.0.0-SNAPSHOT]"\n' +
    '  "Advanced Settings [6.0.0]"\n' +
    '  "A Dashboard"\n' +
    '  "logstash-*"\n' +
    '  "A Pie"\n' +
    ']',
  expected: '[\n' +
    '  "Advanced Settings [6.0.0]"\n' +
    '  "Advanced Settings [8.0.0-SNAPSHOT]"\n' +
    '  "A Dashboard"\n' +
    '  "logstash-*"\n' +
    '  "A Pie"\n' +
    ']',
  showDiff: true
}

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Feb 2, 2021
@spalger spalger added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Feb 2, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@spalger
Copy link
Contributor

spalger commented Feb 2, 2021

Has been failing pretty consistently in TeamCity builds of #85778 and then started happening on PRs and now master a lot once it was merged

image

This PR was reverted but just FYI @rudolf

rudolf added a commit to rudolf/kibana that referenced this issue Feb 2, 2021
rudolf added a commit that referenced this issue Feb 6, 2021
…upport (#85778)" (#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
rudolf added a commit to rudolf/kibana that referenced this issue Feb 9, 2021
…upport (elastic#85778)" (elastic#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test elastic#89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
rudolf added a commit that referenced this issue Feb 16, 2021
…iver support (#85778)" (#89992) (#90839)

* Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f979580.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fix visualize fixture after backport

* Disable monitoring plugin email notifications in functional tests

* Disabling monitoring emails doesnt disable it, configure instead

* Fix monitoring test

* Remove debug logging from FTR config

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.x

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.x

@rudolf rudolf removed their assignment Oct 18, 2021
@pgayvallet
Copy link
Contributor

Caused by the order of the "Advanced Settings [6.0.0]" and "Advanced Settings [8.0.0-SNAPSHOT]" items.

Using a sort before the compare should do the trick.

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.16

@afharo
Copy link
Member

afharo commented Aug 24, 2023

Solved by #163319

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:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

6 participants