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

[7.x] [Dashboard] Fix Lens and TSVB chart tooltip positioning relative to global headers (#94247) #96578

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

nickofthyme
Copy link
Contributor

Backports the following commits to 7.x:

@nickofthyme nickofthyme enabled auto-merge (squash) April 8, 2021 14:26
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/ml_embeddables_in_dashboard·ts.machine learning embeddables anomaly charts with multi metric job can open job selection flyout

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https://github.com/elastic/kibana/issues/96202

[00:00:00]       │
[00:14:17]         └-: machine learning embeddables anomaly charts
[00:14:17]           └-> "before all" hook in "machine learning embeddables anomaly charts"
[00:14:17]           └-> "before all" hook in "machine learning embeddables anomaly charts"
[00:14:17]             │ debg creating role ft_ml_source
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_ml_source]
[00:14:17]             │ debg creating role ft_ml_source_readonly
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_ml_source_readonly]
[00:14:17]             │ debg creating role ft_ml_dest
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_ml_dest]
[00:14:17]             │ debg creating role ft_ml_dest_readonly
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_ml_dest_readonly]
[00:14:17]             │ debg creating role ft_ml_ui_extras
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_ml_ui_extras]
[00:14:17]             │ debg creating role ft_default_space_ml_all
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_default_space_ml_all]
[00:14:17]             │ debg creating role ft_default_space1_ml_all
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_default_space1_ml_all]
[00:14:17]             │ debg creating role ft_all_spaces_ml_all
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_all_spaces_ml_all]
[00:14:17]             │ debg creating role ft_default_space_ml_read
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_default_space_ml_read]
[00:14:17]             │ debg creating role ft_default_space1_ml_read
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_default_space1_ml_read]
[00:14:17]             │ debg creating role ft_all_spaces_ml_read
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_all_spaces_ml_read]
[00:14:17]             │ debg creating role ft_default_space_ml_none
[00:14:17]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added role [ft_default_space_ml_none]
[00:14:17]             │ debg creating user ft_ml_poweruser
[00:14:17]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_poweruser]
[00:14:17]             │ debg created user ft_ml_poweruser
[00:14:17]             │ debg creating user ft_ml_poweruser_spaces
[00:14:17]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_poweruser_spaces]
[00:14:17]             │ debg created user ft_ml_poweruser_spaces
[00:14:17]             │ debg creating user ft_ml_poweruser_space1
[00:14:17]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_poweruser_space1]
[00:14:17]             │ debg created user ft_ml_poweruser_space1
[00:14:17]             │ debg creating user ft_ml_poweruser_all_spaces
[00:14:17]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_poweruser_all_spaces]
[00:14:17]             │ debg created user ft_ml_poweruser_all_spaces
[00:14:17]             │ debg creating user ft_ml_viewer
[00:14:17]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_viewer]
[00:14:17]             │ debg created user ft_ml_viewer
[00:14:17]             │ debg creating user ft_ml_viewer_spaces
[00:14:18]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_viewer_spaces]
[00:14:18]             │ debg created user ft_ml_viewer_spaces
[00:14:18]             │ debg creating user ft_ml_viewer_space1
[00:14:18]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_viewer_space1]
[00:14:18]             │ debg created user ft_ml_viewer_space1
[00:14:18]             │ debg creating user ft_ml_viewer_all_spaces
[00:14:18]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_viewer_all_spaces]
[00:14:18]             │ debg created user ft_ml_viewer_all_spaces
[00:14:18]             │ debg creating user ft_ml_unauthorized
[00:14:18]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_unauthorized]
[00:14:18]             │ debg created user ft_ml_unauthorized
[00:14:18]             │ debg creating user ft_ml_unauthorized_spaces
[00:14:18]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] added user [ft_ml_unauthorized_spaces]
[00:14:18]             │ debg created user ft_ml_unauthorized_spaces
[00:14:18]             │ info [ml/farequote] Loading "mappings.json"
[00:14:18]             │ info [ml/farequote] Loading "data.json.gz"
[00:14:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [ft_farequote] creating index, cause [api], templates [], shards [1]/[1]
[00:14:18]             │ info [ml/farequote] Created index "ft_farequote"
[00:14:18]             │ debg [ml/farequote] "ft_farequote" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:14:26]             │ info [ml/farequote] Indexed 86274 docs into "ft_farequote"
[00:14:26]             │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:14:26]             │ debg  > Not found
[00:14:26]             │ debg Creating index pattern with title 'ft_farequote' and time field '@timestamp'
[00:14:26]             │ debg Waiting up to 5000ms for index-pattern with title 'ft_farequote' to exist...
[00:14:26]             │ debg Searching for 'index-pattern' with title 'ft_farequote'...
[00:14:26]             │ debg  > Found 'fcd7b0e0-987d-11eb-860b-6509b9b6296a'
[00:14:26]             │ debg  > Created with id 'fcd7b0e0-987d-11eb-860b-6509b9b6296a'
[00:14:26]             │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:14:27]             │ debg SecurityPage.forceLogout
[00:14:27]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:14:28]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:14:28]             │ debg Redirecting to /logout to force the logout
[00:14:28]             │ debg Waiting on the login form to appear
[00:14:28]             │ debg Waiting for Login Page to appear.
[00:14:28]             │ debg Waiting up to 100000ms for login page...
[00:14:28]             │ debg browser[INFO] http://localhost:6141/logout?_t=1617895246897 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:14:28]             │
[00:14:28]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:28]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:14:31]             │ debg browser[INFO] http://localhost:6141/login?msg=LOGGED_OUT 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:14:31]             │
[00:14:31]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:31]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:14:32]             │ERROR browser[SEVERE] http://localhost:6141/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:14:32]             │ debg browser[INFO] http://localhost:6141/40126/bundles/core/core.entry.js 12:151032 "Detected an unhandled Promise rejection.
[00:14:32]             │      Error: Unauthorized"
[00:14:32]             │ERROR browser[SEVERE] http://localhost:6141/40126/bundles/core/core.entry.js 5:2514 
[00:14:32]             │ERROR browser[SEVERE] http://localhost:6141/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:14:32]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:14:32]             │ debg TestSubjects.exists(loginForm)
[00:14:32]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:14:32]             │ debg Waiting for Login Form to appear.
[00:14:32]             │ debg Waiting up to 100000ms for login form...
[00:14:32]             │ debg TestSubjects.exists(loginForm)
[00:14:32]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:14:32]             │ debg TestSubjects.setValue(loginUsername, ft_ml_poweruser)
[00:14:32]             │ debg TestSubjects.click(loginUsername)
[00:14:32]             │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:32]             │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:14:33]             │ debg TestSubjects.setValue(loginPassword, mlp001)
[00:14:33]             │ debg TestSubjects.click(loginPassword)
[00:14:33]             │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:33]             │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:14:33]             │ debg TestSubjects.click(loginSubmit)
[00:14:33]             │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:33]             │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:14:33]             │ debg Waiting for login result, expected: chrome.
[00:14:33]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] .app-wrapper:not(.hidden-chrome)') with timeout=20000
[00:14:33]             │ proc [kibana]   log   [15:20:51.677] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:14:35]             │ debg browser[INFO] http://localhost:6141/app/home 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:14:35]             │
[00:14:35]             │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:35]             │ debg Finished login process currentUrl = http://localhost:6141/app/home#/
[00:14:35]             │ debg Waiting up to 20000ms for logout button visible...
[00:14:35]             │ debg TestSubjects.exists(userMenuButton)
[00:14:35]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:14:35]             │ debg TestSubjects.exists(userMenu)
[00:14:35]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:14:38]             │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:14:38]             │ debg TestSubjects.click(userMenuButton)
[00:14:38]             │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:14:38]             │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:14:38]             │ debg TestSubjects.exists(userMenu)
[00:14:38]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:14:38]             │ debg TestSubjects.exists(userMenu > logoutLink)
[00:14:38]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:14:38]           └-: with multi metric job
[00:14:38]             └-> "before all" hook for "can open job selection flyout"
[00:14:38]             └-> "before all" hook for "can open job selection flyout"
[00:14:38]               │ debg Creating anomaly detection job with id 'fq_multi_1_ae' ...
[00:14:38]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-anomalies-shared] creating index, cause [api], templates [.ml-anomalies-], shards [1]/[1]
[00:14:38]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] updating number_of_replicas to [0] for indices [.ml-anomalies-shared]
[00:14:38]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-annotations-6] creating index, cause [api], templates [], shards [1]/[1]
[00:14:38]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] updating number_of_replicas to [0] for indices [.ml-annotations-6]
[00:14:38]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-anomalies-shared/gikua_e6SIGBVrGJPKpLGg] update_mapping [_doc]
[00:14:39]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-config] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:14:39]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] updating number_of_replicas to [0] for indices [.ml-config]
[00:14:39]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-notifications-000001] creating index, cause [auto(bulk api)], templates [.ml-notifications-000001], shards [1]/[1]
[00:14:39]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] updating number_of_replicas to [0] for indices [.ml-notifications-000001]
[00:14:39]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.kibana_7.13.0_001/JqEGmAvcTia2IY2zgRFjZg] update_mapping [_doc]
[00:14:39]               │ debg Waiting up to 5000ms for 'fq_multi_1_ae' to exist...
[00:14:39]               │ debg > AD job created.
[00:14:39]               │ debg Creating datafeed with id 'datafeed-fq_multi_1_ae' ...
[00:14:40]               │ debg Waiting up to 5000ms for 'datafeed-fq_multi_1_ae' to exist...
[00:14:40]               │ debg > Datafeed created.
[00:14:40]               │ debg Opening anomaly detection job 'fq_multi_1_ae'...
[00:14:41]               │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] Opening job [fq_multi_1_ae]
[00:14:41]               │ info [o.e.x.c.m.u.MlIndexAndAlias] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] About to create first concrete index [.ml-state-000001] with alias [.ml-state-write]
[00:14:41]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-state-000001] creating index, cause [api], templates [.ml-state], shards [1]/[1]
[00:14:41]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] updating number_of_replicas to [0] for indices [.ml-state-000001]
[00:14:41]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] moving index [.ml-state-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ml-size-based-ilm-policy]
[00:14:41]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] moving index [.ml-state-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ml-size-based-ilm-policy]
[00:14:41]               │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] Loading model snapshot [N/A], job latest_record_timestamp [N/A]
[00:14:41]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] moving index [.ml-state-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ml-size-based-ilm-policy]
[00:14:41]               │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] [autodetect/125074] [CResourceMonitor.cc@77] Setting model memory limit to 20 MB
[00:14:41]               │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] Successfully set job state to [opened] for job [fq_multi_1_ae]
[00:14:41]               │ debg > AD job opened.
[00:14:41]               │ debg Starting datafeed 'datafeed-fq_multi_1_ae' with start: '0', end: '1617895259836'...
[00:14:41]               │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] Datafeed started (from: 1970-01-01T00:00:00.000Z to: 2021-04-08T15:20:59.836Z) with frequency [600000ms]
[00:14:41]               │ debg > Datafeed started.
[00:14:41]               │ debg Waiting up to 120000ms for datafeed state to be stopped...
[00:14:41]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:41]               │ debg --- retry.waitForWithTimeout error: expected job state to be stopped but got started
[00:14:41]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-anomalies-shared/gikua_e6SIGBVrGJPKpLGg] update_mapping [_doc]
[00:14:41]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 10000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:42]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:42]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:42]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 20000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:42]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:42]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:42]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 30000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:43]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:43]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 40000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:43]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:43]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 50000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:43]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:43]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:44]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:44]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:44]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 60000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:44]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 70000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:44]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:44]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:45]               │ info [o.e.x.m.j.p.DataCountsReporter] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 80000 records written to autodetect; missingFieldCount=0, invalidDateCount=0, outOfOrderCount=0
[00:14:45]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:45]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:45]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:45]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:46]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:46]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:46]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:46]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:47]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:47]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:47]               │ info [o.e.x.m.d.DatafeedJob] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] Lookback has finished
[00:14:47]               │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [no_realtime] attempt to stop datafeed [datafeed-fq_multi_1_ae] for job [fq_multi_1_ae]
[00:14:47]               │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [no_realtime] try lock [20s] to stop datafeed [datafeed-fq_multi_1_ae] for job [fq_multi_1_ae]...
[00:14:47]               │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [no_realtime] stopping datafeed [datafeed-fq_multi_1_ae] for job [fq_multi_1_ae], acquired [true]...
[00:14:47]               │ info [o.e.x.m.d.DatafeedManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [no_realtime] datafeed [datafeed-fq_multi_1_ae] for job [fq_multi_1_ae] has been stopped
[00:14:47]               │ info [o.e.x.m.j.p.a.AutodetectProcessManager] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] Closing job [fq_multi_1_ae], because [close job (api)]
[00:14:47]               │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] [autodetect/125074] [CCmdSkeleton.cc@61] Handled 86274 records
[00:14:47]               │ info [o.e.x.m.p.l.CppLogMessageHandler] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] [autodetect/125074] [CAnomalyJob.cc@1578] Pruning all models
[00:14:47]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [.ml-anomalies-shared/gikua_e6SIGBVrGJPKpLGg] update_mapping [_doc]
[00:14:47]               │ info [o.e.x.m.p.AbstractNativeProcess] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] State output finished
[00:14:47]               │ info [o.e.x.m.j.p.a.o.AutodetectResultProcessor] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] 120 buckets parsed from autodetect output
[00:14:47]               │ debg Fetching datafeed state for datafeed datafeed-fq_multi_1_ae
[00:14:47]               │ debg Waiting up to 120000ms for job state to be closed...
[00:14:47]               │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:14:47]               │ debg > AD job stats fetched.
[00:14:47]               │ debg --- retry.waitForWithTimeout error: expected job state to be closed but got closing
[00:14:48]               │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:14:48]               │ debg > AD job stats fetched.
[00:14:48]               │ debg --- retry.waitForWithTimeout failed again with the same message...
[00:14:48]               │ info [o.e.x.m.j.p.a.AutodetectCommunicator] [kibana-ci-immutable-ubuntu-16-tests-xxl-1617892015345121109] [fq_multi_1_ae] job closed
[00:14:48]               │ debg Fetching anomaly detection job stats for job fq_multi_1_ae...
[00:14:48]               │ debg > AD job stats fetched.
[00:14:48]               │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:14:48]               │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:14:49]               │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1617895267158#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:14:49]               │
[00:14:49]               │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:49]               │ debg ... sleep(700) start
[00:14:49]               │ debg ... sleep(700) end
[00:14:49]               │ debg returned from get, calling refresh
[00:14:50]               │ERROR browser[SEVERE] http://localhost:6141/40126/bundles/core/core.entry.js 12:150104 TypeError: Failed to fetch
[00:14:50]               │          at fetch_Fetch.fetchResponse (http://localhost:6141/40126/bundles/core/core.entry.js:6:26193)
[00:14:50]               │          at async http://localhost:6141/40126/bundles/core/core.entry.js:6:24090
[00:14:50]               │          at async http://localhost:6141/40126/bundles/core/core.entry.js:6:23996
[00:14:50]               │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1617895267158#/list 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:14:50]               │
[00:14:50]               │ debg browser[INFO] http://localhost:6141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:50]               │ debg currentUrl = http://localhost:6141/app/dashboards#/list
[00:14:50]               │          appUrl = http://localhost:6141/app/dashboards#/list
[00:14:50]               │ debg TestSubjects.find(kibanaChrome)
[00:14:50]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:51]               │ debg ... sleep(501) start
[00:14:51]               │ debg ... sleep(501) end
[00:14:51]               │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:51]               │ debg TestSubjects.exists(statusPageContainer)
[00:14:51]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:54]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:54]             └-> can open job selection flyout
[00:14:54]               └-> "before each" hook: global before each for "can open job selection flyout"
[00:14:54]               │ debg TestSubjects.click(createDashboardPromptButton)
[00:14:54]               │ debg Find.clickByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:14:54]               │ debg Find.findByCssSelector('[data-test-subj="createDashboardPromptButton"]') with timeout=10000
[00:14:55]               │ debg TestSubjects.exists(emptyDashboardWidget)
[00:14:55]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="emptyDashboardWidget"]') with timeout=120000
[00:14:55]               │ debg DashboardAddPanel.clickOpenAddPanel
[00:14:55]               │ debg TestSubjects.click(dashboardAddPanelButton)
[00:14:55]               │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:14:55]               │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:14:55]               │ debg TestSubjects.click(createNew)
[00:14:55]               │ debg Find.clickByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:14:55]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:15:05]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:15:05]               │      Wait timed out after 10039ms
[00:15:05]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:15:16]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:15:16]               │      Wait timed out after 10008ms
[00:15:16]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:15:26]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:15:26]               │      Wait timed out after 10060ms
[00:15:27]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:15:37]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:15:37]               │      Wait timed out after 10048ms
[00:15:37]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:15:47]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:15:47]               │      Wait timed out after 10016ms
[00:15:48]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:15:58]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:15:58]               │      Wait timed out after 10015ms
[00:15:58]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:16:08]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:16:08]               │      Wait timed out after 10037ms
[00:16:09]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:16:19]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:16:19]               │      Wait timed out after 10035ms
[00:16:19]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:16:29]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:16:29]               │      Wait timed out after 10048ms
[00:16:30]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:16:40]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:16:40]               │      Wait timed out after 10031ms
[00:16:40]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:16:50]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:16:50]               │      Wait timed out after 10045ms
[00:16:51]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:17:01]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:17:01]               │      Wait timed out after 10024ms
[00:17:01]               │ info Taking screenshot "/dev/shm/workspace/parallel/4/kibana/x-pack/test/functional/screenshots/failure/machine learning embeddables anomaly charts with multi metric job can open job selection flyout.png"
[00:17:02]               │ info Current URL is: http://localhost:6141/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!f,title:%27%27,viewMode:edit)
[00:17:02]               │ info Saving page source to: /dev/shm/workspace/parallel/4/kibana/x-pack/test/functional/failure_debug/html/machine learning embeddables anomaly charts with multi metric job can open job selection flyout.html
[00:17:02]               └- ✖ fail: machine learning embeddables anomaly charts with multi metric job can open job selection flyout
[00:17:02]               │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
[00:17:02]               │ Wait timed out after 10024ms
[00:17:02]               │     at /dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:17:02]               │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:17:02]               │       at onFailure (/dev/shm/workspace/parallel/4/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:17:02]               │       at retryForSuccess (/dev/shm/workspace/parallel/4/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:17:02]               │       at Retry.try (/dev/shm/workspace/parallel/4/kibana/test/common/services/retry/retry.ts:32:14)
[00:17:02]               │       at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/4/kibana/test/functional/services/common/find.ts:420:7)
[00:17:02]               │       at TestSubjects.click (/dev/shm/workspace/parallel/4/kibana/test/functional/services/common/test_subjects.ts:109:7)
[00:17:02]               │       at DashboardAddPanel.clickAddNewEmbeddableLink (/dev/shm/workspace/parallel/4/kibana/test/functional/services/dashboard/add_panel.ts:37:7)
[00:17:02]               │       at Context.<anonymous> (test/accessibility/apps/ml_embeddables_in_dashboard.ts:100:11)
[00:17:02]               │       at Object.apply (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:17:02]               │ 
[00:17:02]               │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createNew"])
Wait timed out after 10024ms
    at /dev/shm/workspace/parallel/4/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (/dev/shm/workspace/parallel/4/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/4/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/4/kibana/test/common/services/retry/retry.ts:32:14)
    at Proxy.clickByCssSelector (/dev/shm/workspace/parallel/4/kibana/test/functional/services/common/find.ts:420:7)
    at TestSubjects.click (/dev/shm/workspace/parallel/4/kibana/test/functional/services/common/test_subjects.ts:109:7)
    at DashboardAddPanel.clickAddNewEmbeddableLink (/dev/shm/workspace/parallel/4/kibana/test/functional/services/dashboard/add_panel.ts:37:7)
    at Context.<anonymous> (test/accessibility/apps/ml_embeddables_in_dashboard.ts:100:11)
    at Object.apply (/dev/shm/workspace/parallel/4/kibana/node_modules/@kbn/test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
lens 940.8KB 941.1KB +348.0B
visTypeTimeseries 1.6MB 1.6MB +173.0B
visTypeXy 110.7KB 110.9KB +205.0B
total +726.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 373.2KB 374.7KB +1.4KB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@nickofthyme nickofthyme merged commit d2bc43c into elastic:7.x Apr 8, 2021
@nickofthyme nickofthyme deleted the backport/7.x/pr-94247 branch April 8, 2021 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants