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: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/ml/anomaly_detection/custom_urls·ts - machine learning anomaly detection custom urls adds a custom URL to Dashboard in the edit job flyout #106053

Closed
kibanamachine opened this issue Jul 18, 2021 · 13 comments · Fixed by #110785, #113096, #113223 or #113749
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test :ml skipped-test v8.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jul 18, 2021

A test failed on a tracked branch

Error: expected testSubject(mlJobEditCustomUrlLabelInput_1) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/6/kibana/test/functional/services/common/test_subjects.ts:45:13)
    at Object.assertCustomUrlLabel (test/functional/services/ml/custom_urls.ts:106:7)
    at MlJobTable.addDashboardCustomUrl (test/functional/services/ml/job_table.ts:595:7)
    at Context.<anonymous> (test/functional/apps/ml/anomaly_detection/custom_urls.ts:116:7)
    at Object.apply (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jul 18, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 18, 2021
@pheyos pheyos self-assigned this Jul 19, 2021
@pheyos pheyos added the :ml label Jul 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 19, 2021
@pheyos
Copy link
Member

pheyos commented Jul 19, 2021

In the test execution log I can see this browser console error after trying to create a dashboard link:

ERROR browser[SEVERE] http://localhost:6161/44561/bundles/plugin/ml/8.0.0/ml.chunk.5.js 16:1384573 "Error building custom URL from settings:" Error: requires type and id
  at saved_objects_client_SavedObjectsClient.get (http://localhost:6161/44561/bundles/core/core.entry.js:13:75085)
  at http://localhost:6161/44561/bundles/plugin/ml/8.0.0/ml.chunk.5.js:17:1364446
  at new Promise (<anonymous>)
  at http://localhost:6161/44561/bundles/plugin/ml/8.0.0/ml.chunk.5.js:17:1364299
  at buildCustomUrlFromSettings (http://localhost:6161/44561/bundles/plugin/ml/8.0.0/ml.chunk.5.js:17:1365449)
  at http://localhost:6161/44561/bundles/plugin/ml/8.0.0/ml.chunk.5.js:17:1384357
  at Object.m (http://localhost:6161/44561/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:1026)
  at S (http://localhost:6161/44561/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:1169)
  at http://localhost:6161/44561/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:1315
  at w (http://localhost:6161/44561/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:1401)

But I couldn't reproduce that error so far. Will keep an eye on it and see if it happens again.

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@pheyos
Copy link
Member

pheyos commented Aug 20, 2021

Same error as posted above, maybe we have some kind of race condition there, will try to find out more.

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@kibanamachine kibanamachine reopened this Sep 27, 2021
@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@kibanamachine
Copy link
Contributor Author

New failure: CI Build

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 7.x

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - master

mistic added a commit that referenced this issue Oct 11, 2021
mistic added a commit that referenced this issue Oct 11, 2021
@mistic mistic added the blocker label Oct 11, 2021
@mistic
Copy link
Member

mistic commented Oct 11, 2021

This test keeps failing and looks flaky. Skipping for now.

master/8.0: f2bfa59
7.x/7.16: e7bec30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment