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

[ML] machine learning app test throwing unhandled promise rejection #68476

Closed
liza-mae opened this issue Jun 6, 2020 · 4 comments · Fixed by #68495
Closed

[ML] machine learning app test throwing unhandled promise rejection #68476

liza-mae opened this issue Jun 6, 2020 · 4 comments · Fixed by #68495
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test :ml test-cloud

Comments

@liza-mae
Copy link
Contributor

liza-mae commented Jun 6, 2020

I am getting an Unhandled Promise rejection detected error and it is terminating the Kibana FTR, when this happens I don't get a report generated to see all the failures.

Platform: cloud
Version: master and 7.x

  1. machine learning
    data frame analytics
    outlier detection creation
    iowa house prices
    loads the source selection modal:
    Error: expected testSubject(analyticsCreateSourceIndexModal) to exist
    at TestSubjects.existOrFail (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackGrp1/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/test/functional/services/common/test_subjects.ts:62:15)

        └- ✖ fail: "machine learning data frame analytics outlier detection creation iowa house prices loads the source selection modal"
        │
      └-> selects the source data and loads the job wizard page
        └-> "before each" hook: global before each
        └- ✓ pass  (0ms) "machine learning data frame analytics outlier detection creation iowa house prices selects the source data and loads the job wizard page"
      └-> selects the job type
        └-> "before each" hook: global before each
    

Unhandled Promise rejection detected:

Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="savedObjectFinderSearchInput"])
Wait timed out after 14825ms
at /var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackGrp1/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
at process._tickCallback (internal/process/next_tick.js:68:7)
at onFailure (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackGrp1/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/test/common/services/retry/retry_for_success.ts:28:9)
at retryForSuccess (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackGrp1/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/test/common/services/retry/retry_for_success.ts:68:13)
at onFailure (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackGrp1/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/test/common/services/retry/retry_for_success.ts:28:9)
at retryForSuccess (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackGrp1/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Terminating process...

@liza-mae liza-mae added :ml failed-test A test failure on a tracked branch, potentially flaky-test test-cloud labels Jun 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 6, 2020

Failing here:

ml.jobSourceSelection.selectSourceForAnalyticsJob(testData.source);

@liza-mae
Copy link
Contributor Author

liza-mae commented Jun 6, 2020

Also here:

ml.jobSourceSelection.selectSourceForAnalyticsJob(testData.source);

ml.jobSourceSelection.selectSourceForAnalyticsJob(testData.source);

@pheyos pheyos self-assigned this Jun 8, 2020
@peteharverson peteharverson changed the title machine learning app test throwing unhandled promise rejection [ML] machine learning app test throwing unhandled promise rejection Jun 8, 2020
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 :ml test-cloud
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants