elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Failing test: Execution Context Functional Tests.x-pack/test/functional_execution_context/tests/browser·ts - Execution context Browser apps "after all" hook in "Browser apps" #112103

Closed kibanamachine closed 3 days ago

kibanamachine commented 3 years ago

A test failed on a tracked branch

Error: retry.tryForTime timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="removeSampleDataSetflights"])
Wait timed out after 10040ms
    at /dev/shm/workspace/parallel/21/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.tryForTime (/dev/shm/workspace/parallel/21/kibana/test/common/services/retry/retry.ts:22:12)
    at TestSubjects.waitForEnabled (/dev/shm/workspace/parallel/21/kibana/test/functional/services/common/test_subjects.ts:305:5)
    at HomePageObject.removeSampleDataSet (/dev/shm/workspace/parallel/21/kibana/test/functional/page_objects/home_page.ts:55:5)
    at Context.<anonymous> (test/functional_execution_context/tests/browser.ts:29:7)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

First failure: Jenkins Build

kibanamachine commented 3 years ago

New failure: Jenkins Build

kibanamachine commented 3 years ago

New failure: Jenkins Build

kibanamachine commented 3 years ago

New failure: Jenkins Build

lukeelmers commented 3 years ago

closing for now as we haven't seen any activity on this in ~60 days.

kibanamachine commented 10 months ago

New failure: CI Build - main

elasticmachine commented 10 months ago

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

kibanamachine commented 9 months ago

New failure: CI Build - main

kibanamachine commented 9 months ago

New failure: CI Build - main

mistic commented 9 months ago

Skipped.

main: e404798

gsoldevila commented 8 months ago

I think I found the explanation to the flaky behavior: Pay close attention to the screen capture below (running locally, animations disabled):

https://github.com/elastic/kibana/assets/25349407/117dfec0-165e-4ffb-a9c0-5ab89d89b750

Notice how, after clicking the Remove link, the UI shows the Removing + spinner and then, for a fraction of second, we have the Remove button again. Looking at the trace of the failing test:

gsoldevila commented 8 months ago

Here are the entry points to the failing line:

elasticmachine commented 8 months ago

Pinging @elastic/appex-sharedux (Team:SharedUX)

bhavyarm commented 8 months ago

@gsoldevila I removed your assignment because you assigned shared-ux team. Cheers!

kibanamachine commented 2 months ago

New failure: kibana-on-merge - main

afharo commented 2 months ago

Wow! An error in the afterAll trying to clean up the installed data samples 😢

afharo commented 2 months ago

it looks like CI has been flaky due to external factors this week. Let's close and wait for the next occurrence.

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

eokoneyo commented 1 month ago

it's happened again :( ... taking a look, for what it's worth the test passed on the second run

eokoneyo commented 3 days ago

This was resolved in https://github.com/elastic/kibana/pull/199005