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: Plugin Functional Tests.test/plugin_functional/test_suites/saved_objects_hidden_type/resolve_import_errors·ts - Saved objects with hidden type export "before all" hook for "resolves objects with importableAndExportable types" #132566

Closed
kibanamachine opened this issue May 19, 2022 · 7 comments
Assignees
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 May 19, 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 19, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label May 19, 2022
@stratoula stratoula added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label May 23, 2022
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 23, 2022
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.17

mistic added a commit that referenced this issue Nov 7, 2022
@mistic
Copy link
Member

mistic commented Nov 7, 2022

Skipped.

7.17: 61a1593

@afharo
Copy link
Member

afharo commented Nov 8, 2022

The last failure was caused in the before step, during esArchiver.load:

└-> "before all" hook for "resolves objects with importableAndExportable types"
           │ERROR [migrate saved objects] request failed (attempt=1/5): read ECONNRESET
           │ERROR [kibana] exitted early: [kibana] exited with code 1

Reassigning to @elastic/kibana-operations since they own esArchiver.

@afharo afharo added Team:Operations Team label for Operations Team and removed Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Nov 8, 2022
@spalger
Copy link
Contributor

spalger commented Nov 8, 2022

See response in #144750 (comment)

@spalger spalger added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc and removed Team:Operations Team label for Operations Team labels Nov 8, 2022
@gsoldevila gsoldevila self-assigned this Aug 10, 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":"gerard.soldevila@elastic.co"},"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
#161882 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":"#162259
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
#161882 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":"#162259
- esArchiver] Update `saved_objects_management` test archives to reduce
flakiness (#162259)\n\n## Summary\r\n\r\nPart of
#161882 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 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