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 Saved Object Tagging Functional Tests.x-pack/test/saved_object_tagging/functional/tests/listing·ts - saved objects tagging - functional tests table listing "before all" hook in "table listing" #90578

Closed
kibanamachine opened this issue Feb 8, 2021 · 11 comments · Fixed by #135679 or #163696
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 Feb 8, 2021

A test failed on a tracked branch

Error: retry.tryForTime timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 60000ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry.ts:32:14)
    at /dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/common_page.ts:227:23
    at runAttempt (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at Retry.tryForTime (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry.ts:23:14)
    at CommonPage.navigateToApp (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/common_page.ts:226:7)
    at SettingsPage.navigateTo (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/settings_page.ts:100:7)
    at TagManagementPage.navigateTo (test/functional/page_objects/tag_management_page.ts:235:7)
    at Context.<anonymous> (test/saved_object_tagging/functional/tests/listing.ts:20:7)
    at Object.apply (/dev/shm/workspace/parallel/20/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
    at onFailure (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.tryForTime (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry.ts:23:14)
    at CommonPage.navigateToApp (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/common_page.ts:226:7)
    at SettingsPage.navigateTo (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/settings_page.ts:100:7)
    at TagManagementPage.navigateTo (test/functional/page_objects/tag_management_page.ts:235:7)
    at Context.<anonymous> (test/saved_object_tagging/functional/tests/listing.ts:20:7)
    at Object.apply (/dev/shm/workspace/parallel/20/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

First failure: Jenkins Build

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

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

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.3

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@spalger
Copy link
Contributor

spalger commented Jun 13, 2022

13 failures in the last month, across tracked branches and PRs
image

@spalger
Copy link
Contributor

spalger commented Jun 13, 2022

/skip

@kibanamachine
Copy link
Contributor Author

Skipped

8.3: 3d0348d
main: c1915ea

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Aug 7, 2023

Skipped.

main: ec3c7a4

bryce-b pushed a commit to bryce-b/kibana that referenced this issue Aug 9, 2023
@afharo afharo self-assigned this Aug 11, 2023
afharo added a commit to afharo/kibana that referenced this issue Aug 11, 2023
@afharo
Copy link
Member

afharo commented Aug 22, 2023

It looks like the error is caused by an unhandled promise rejection:

warn browser[SEVERE] http://localhost:5620/api/core/capabilities - Failed to load resource: the server responded with a status of 400 (Bad Request)
warn browser[SEVERE] http://localhost:5620/65697/bundles/core/core.entry.js 0:276919 Error: Bad Request
         at fetch_Fetch.fetchResponse (http://localhost:5620/65697/bundles/core/core.entry.js:1:283335)
         at async http://localhost:5620/65697/bundles/core/core.entry.js:1:281311
         at async http://localhost:5620/65697/bundles/core/core.entry.js:1:281268
debg browser[INFO] http://localhost:5620/65697/bundles/core/core.entry.js 0:277639 "Detected an unhandled Promise rejection.
     Error: Bad Request"

That request occurs in

const capabilities = await http.post<Capabilities>('/api/core/capabilities', {

I need to figure out why it fails.

@Dosant
Copy link
Contributor

Dosant commented Aug 23, 2023

Note: Both this and #163816 are the first test suite in a test config. So there is some flakiness when the test config starts.

afharo added a commit that referenced this issue Aug 24, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Aug 24, 2023
Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit ba84388)
kibanamachine added a commit that referenced this issue Aug 24, 2023
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Flaky test #90578] Unskip test
(#163696)](#163696)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-24T13:02:34Z","message":"[Flaky
test #90578] Unskip test (#163696)\n\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"ba843882a7bb35aa3062efd6562ed85d5db157f4","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","technical
debt","release_note:skip","Team:SharedUX","backport:prev-minor","v8.11.0"],"number":163696,"url":"https://github.com/elastic/kibana/pull/163696","mergeCommit":{"message":"[Flaky
test #90578] Unskip test (#163696)\n\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"ba843882a7bb35aa3062efd6562ed85d5db157f4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163696","number":163696,"mergeCommit":{"message":"[Flaky
test #90578] Unskip test (#163696)\n\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"ba843882a7bb35aa3062efd6562ed85d5db157f4"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <[email protected]>
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
6 participants