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: API Integration Tests.test/api_integration/apis/saved_objects_management/find·ts - apis saved objects management apis find meta attributes injected properly "before all" hook for "should inject meta attributes for searches" #132855

Closed
kibanamachine opened this issue May 24, 2022 · 8 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented May 24, 2022

A test failed on a tracked branch

Error: Forcing mocha to abort
    at Object.next (node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/run_tests.js:42:25)
    at SafeSubscriber.__tryOrUnsub (node_modules/rxjs/src/internal/Subscriber.ts:265:10)
    at SafeSubscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:207:14)
    at Subscriber._next (node_modules/rxjs/src/internal/Subscriber.ts:139:22)
    at Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:99:12)
    at RaceSubscriber.notifyNext (node_modules/rxjs/src/internal/observable/race.ts:137:22)
    at InnerSubscriber._next (node_modules/rxjs/src/internal/InnerSubscriber.ts:17:17)
    at InnerSubscriber.Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:99:12)
    at TakeSubscriber._next (node_modules/rxjs/src/internal/operators/take.ts:92:24)
    at TakeSubscriber.Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:99:12)
    at AbortSignal.handler (node_modules/rxjs/src/internal/observable/fromEvent.ts:201:20)
    at AbortSignal.[nodejs.internal.kHybridDispatch] (node:internal/event_target:647:20)
    at AbortSignal.dispatchEvent (node:internal/event_target:589:26)
    at abortSignal (node:internal/abort_controller:283:10)
    at AbortController.abort (node:internal/abort_controller:314:5)
    at onEarlyExit (node_modules/@kbn/test/target_node/functional_tests/tasks.js:112:21) {
  uncaught: true
}

First failure: CI Build - 7.17

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

Pinging @elastic/kibana-app-services (Team:AppServicesSv)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 24, 2022
@mattkime mattkime added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc and removed Team:AppServicesSv labels May 25, 2022
@elasticmachine
Copy link
Contributor

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

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@pgayvallet
Copy link
Contributor

The actual error

: meta attributes injected properly
--
  | └-> "before all" hook: beforeTestSuite.trigger for "should inject meta attributes for searches"
  | └-> "before all" hook for "should inject meta attributes for searches"
  | │ERROR [migrate saved objects] request failed (attempt=1/5): read ECONNRESET
  | │ERROR [kibana] exitted early: [kibana] exited with code 1
  | └- ✖ fail: apis saved objects management apis find meta attributes injected properly "before all" hook for "should inject meta attributes for searches"
  | │      Uncaught Error: Forcing mocha to abort
  | │       at Object.next (node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/run_tests.js:42:25)
  | │       at SafeSubscriber.__tryOrUnsub (node_modules/rxjs/src/internal/Subscriber.ts:265:10)
  | │       at SafeSubscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:207:14)
  | │       at Subscriber._next (node_modules/rxjs/src/internal/Subscriber.ts:139:22)
  | │       at Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:99:12)
  | │       at RaceSubscriber.notifyNext (node_modules/rxjs/src/internal/observable/race.ts:137:22)
  | │       at InnerSubscriber._next (node_modules/rxjs/src/internal/InnerSubscriber.ts:17:17)
  | │       at InnerSubscriber.Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:99:12)
  | │       at TakeSubscriber._next (node_modules/rxjs/src/internal/operators/take.ts:92:24)
  | │       at TakeSubscriber.Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:99:12)
  | │       at AbortSignal.handler (node_modules/rxjs/src/internal/observable/fromEvent.ts:201:20)
  | │       at AbortSignal.[nodejs.internal.kHybridDispatch] (node:internal/event_target:647:20)
  | │       at AbortSignal.dispatchEvent (node:internal/event_target:589:26)
  | │       at abortSignal (node:internal/abort_controller:283:10)
  | │       at AbortController.abort (node:internal/abort_controller:314:5)
  | │       at onEarlyExit (node_modules/@kbn/test/target_node/functional_tests/tasks.js:112:21)
  | │
  | │

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@jbudz
Copy link
Member

jbudz commented Jul 21, 2022

/skip

@kibanamachine
Copy link
Contributor Author

Skipped

7.17: ba07cfe

@exalate-issue-sync exalate-issue-sync bot added the impact:critical This issue should be addressed immediately due to a critical level of impact on the product. label Jul 28, 2022
@exalate-issue-sync exalate-issue-sync bot added the loe:small Small Level of Effort label Oct 4, 2022
@gsoldevila gsoldevila self-assigned this Aug 9, 2023
gsoldevila added a commit that referenced this issue Aug 11, 2023
…ives to reduce flakiness (#162259) (#163479)

# Backport

This will backport the following commits from `main` to `7.17`:
- [[FTR - esArchiver] Update `saved_objects_management` test archives to
reduce flakiness
(#162259)](#162259)

<!--- Backport version: 8.9.8 -->

### Related issues:
- #132855
- #130305
- #147635
- #132566
- #131871
- #131830
- #131834

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-24T08:11:39Z","message":"[FTR
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/issues/161882\r\n\r\nUpdates all
archives of
the\r\n`test/functional/fixtures/es_archiver/saved_objects_management`
test\r\nsuite:\r\n* Removing SO index definitions.\r\n* Updating
documents defined in
`data.json`.","sha":"59450f0a22bb8c34598d7156dcbf144d41752259","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","technical
debt","release_note:skip","backport:skip","FTR","v8.10.0"],"number":162259,"url":"https://github.com/elastic/kibana/pull/162259","mergeCommit":{"message":"[FTR
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/issues/161882\r\n\r\nUpdates all
archives of
the\r\n`test/functional/fixtures/es_archiver/saved_objects_management`
test\r\nsuite:\r\n* Removing SO index definitions.\r\n* Updating
documents defined in
`data.json`.","sha":"59450f0a22bb8c34598d7156dcbf144d41752259"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162259","number":162259,"mergeCommit":{"message":"[FTR
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
https://github.com/elastic/kibana/issues/161882\r\n\r\nUpdates all
archives of
the\r\n`test/functional/fixtures/es_archiver/saved_objects_management`
test\r\nsuite:\r\n* Removing SO index definitions.\r\n* Updating
documents defined in
`data.json`.","sha":"59450f0a22bb8c34598d7156dcbf144d41752259"}}]}]
BACKPORT-->
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 impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

7 participants