Skip to content

[7.x] [Event log] Use Alerts client & Actions client when fetching these types of SOs (#73257)#74763

Merged
gmmorris merged 1 commit intoelastic:7.xfrom
gmmorris:backport/7.x/pr-73257
Aug 12, 2020
Merged

[7.x] [Event log] Use Alerts client & Actions client when fetching these types of SOs (#73257)#74763
gmmorris merged 1 commit intoelastic:7.xfrom
gmmorris:backport/7.x/pr-73257

Conversation

@gmmorris
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…pes of SOs (elastic#73257)

Introduces a pluggable API to Event Log which allows custom Providers for Saved Objects which is used to ensure a user is authorised to get the Saved Object referenced in the Event Log whenever the find api is called.
@gmmorris gmmorris added the backport This PR is a backport of another PR label Aug 11, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/home·ts.Kibana Home click on cloud tutorial meets a11y requirements

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:01:04]         └-: Kibana Home
[00:01:04]           └-> "before all" hook
[00:01:04]           └-> "before all" hook
[00:01:04]             │ debg navigating to home url: http://localhost:61121/app/home#/
[00:01:04]             │ debg navigate to: http://localhost:61121/app/home#/
[00:01:04]             │ debg browser[INFO] http://localhost:61121/login?next=%2Fapp%2Fhome%3F_t%3D1597156654407#/ 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:01:04]             │
[00:01:04]             │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:04]             │ debg ... sleep(700) start
[00:01:05]             │ debg ... sleep(700) end
[00:01:05]             │ debg returned from get, calling refresh
[00:01:05]             │ debg browser[INFO] http://localhost:61121/34029/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-11T14:37:35Z
[00:01:05]             │        Adding connection to http://localhost:61121/elasticsearch
[00:01:05]             │
[00:01:05]             │      "
[00:01:05]             │ debg browser[INFO] http://localhost:61121/login?next=%2Fapp%2Fhome%3F_t%3D1597156654407#/ 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:01:05]             │
[00:01:05]             │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:05]             │ debg currentUrl = http://localhost:61121/login?next=%2Fapp%2Fhome%3F_t%3D1597156654407#/
[00:01:05]             │          appUrl = http://localhost:61121/app/home#/
[00:01:05]             │ debg TestSubjects.find(kibanaChrome)
[00:01:05]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:06]             │ debg Found login page
[00:01:06]             │ debg TestSubjects.setValue(loginUsername, test_user)
[00:01:06]             │ debg TestSubjects.click(loginUsername)
[00:01:06]             │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:06]             │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:01:06]             │ debg browser[INFO] http://localhost:61121/34029/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-11T14:37:36Z
[00:01:06]             │        Adding connection to http://localhost:61121/elasticsearch
[00:01:06]             │
[00:01:06]             │      "
[00:01:06]             │ debg TestSubjects.setValue(loginPassword, changeme)
[00:01:06]             │ debg TestSubjects.click(loginPassword)
[00:01:06]             │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:06]             │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:01:07]             │ debg TestSubjects.click(loginSubmit)
[00:01:07]             │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:07]             │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:01:07]             │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:01:08]             │ debg browser[INFO] http://localhost:61121/app/home?_t=1597156654407#/ 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:01:08]             │
[00:01:08]             │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:08]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:09]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:01:09]             │ debg browser[INFO] http://localhost:61121/34029/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-11T14:37:38Z
[00:01:09]             │        Adding connection to http://localhost:61121/elasticsearch
[00:01:09]             │
[00:01:09]             │      "
[00:01:09]             │ debg browser[INFO] http://localhost:61121/app/home?_t=1597156659719#/ 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:01:09]             │
[00:01:09]             │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:10]             │ debg Finished login process currentUrl = http://localhost:61121/app/home#/
[00:01:10]             │ debg browser[INFO] http://localhost:61121/34029/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-11T14:37:40Z
[00:01:10]             │        Adding connection to http://localhost:61121/elasticsearch
[00:01:10]             │
[00:01:10]             │      "
[00:01:10]             │ debg ... sleep(501) start
[00:01:11]             │ debg ... sleep(501) end
[00:01:11]             │ debg in navigateTo url = http://localhost:61121/app/home#/
[00:01:11]             │ debg TestSubjects.exists(statusPageContainer)
[00:01:11]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:14]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:14]           └-> Kibana Home view
[00:01:14]             └-> "before each" hook: global before each
[00:01:15]             └- ✓ pass  (519ms) "Kibana Home Kibana Home view"
[00:01:15]           └-> all plugins view page meets a11y requirements
[00:01:15]             └-> "before each" hook: global before each
[00:01:15]             │ debg TestSubjects.click(allPlugins)
[00:01:15]             │ debg Find.clickByCssSelector('[data-test-subj="allPlugins"]') with timeout=10000
[00:01:15]             │ debg Find.findByCssSelector('[data-test-subj="allPlugins"]') with timeout=10000
[00:01:15]             └- ✓ pass  (439ms) "Kibana Home all plugins view page meets a11y requirements"
[00:01:15]           └-> visualize & explore details tab meets a11y requirements
[00:01:15]             └-> "before each" hook: global before each
[00:01:15]             │ debg TestSubjects.click(tab-data)
[00:01:15]             │ debg Find.clickByCssSelector('[data-test-subj="tab-data"]') with timeout=10000
[00:01:15]             │ debg Find.findByCssSelector('[data-test-subj="tab-data"]') with timeout=10000
[00:01:15]             └- ✓ pass  (334ms) "Kibana Home visualize & explore details tab meets a11y requirements"
[00:01:15]           └-> administrative detail tab meets a11y requirements
[00:01:15]             └-> "before each" hook: global before each
[00:01:15]             │ debg TestSubjects.click(tab-admin)
[00:01:15]             │ debg Find.clickByCssSelector('[data-test-subj="tab-admin"]') with timeout=10000
[00:01:15]             │ debg Find.findByCssSelector('[data-test-subj="tab-admin"]') with timeout=10000
[00:01:16]             └- ✓ pass  (264ms) "Kibana Home administrative detail tab meets a11y requirements"
[00:01:16]           └-> navigating to console app from administration tab meets a11y requirements
[00:01:16]             └-> "before each" hook: global before each
[00:01:16]             │ debg TestSubjects.click(homeSynopsisLinkconsole)
[00:01:16]             │ debg Find.clickByCssSelector('[data-test-subj="homeSynopsisLinkconsole"]') with timeout=10000
[00:01:16]             │ debg Find.findByCssSelector('[data-test-subj="homeSynopsisLinkconsole"]') with timeout=10000
[00:01:16]             │ debg Waiting up to 20000ms for switched to dev tools...
[00:01:16]             │ debg TestSubjects.getVisibleText(headerGlobalNav > breadcrumbs > ~breadcrumb & ~last)
[00:01:16]             │ debg TestSubjects.find(headerGlobalNav > breadcrumbs > ~breadcrumb & ~last)
[00:01:16]             │ debg Find.findByCssSelector('[data-test-subj="headerGlobalNav"] [data-test-subj="breadcrumbs"] [data-test-subj~="breadcrumb"][data-test-subj~="last"]') with timeout=10000
[00:01:16]             └- ✓ pass  (587ms) "Kibana Home navigating to console app from administration tab meets a11y requirements"
[00:01:16]           └-> navigating back to home page from console meets a11y requirements
[00:01:16]           └-> click on Add logs panel to open all log examples page meets a11y requirements 
[00:01:16]             └-> "before each" hook: global before each
[00:01:16]             │ debg TestSubjects.click(logo)
[00:01:16]             │ debg Find.clickByCssSelector('[data-test-subj="logo"]') with timeout=10000
[00:01:16]             │ debg Find.findByCssSelector('[data-test-subj="logo"]') with timeout=10000
[00:01:17]             │ debg TestSubjects.click(logsData)
[00:01:17]             │ debg Find.clickByCssSelector('[data-test-subj="logsData"]') with timeout=10000
[00:01:17]             │ debg Find.findByCssSelector('[data-test-subj="logsData"]') with timeout=10000
[00:01:17]             └- ✓ pass  (642ms) "Kibana Home click on Add logs panel to open all log examples page meets a11y requirements "
[00:01:17]           └-> click on ActiveMQ logs panel to open tutorial meets a11y requirements
[00:01:17]             └-> "before each" hook: global before each
[00:01:17]             │ debg TestSubjects.click(homeSynopsisLinkactivemq logs)
[00:01:17]             │ debg Find.clickByCssSelector('[data-test-subj="homeSynopsisLinkactivemq logs"]') with timeout=10000
[00:01:17]             │ debg Find.findByCssSelector('[data-test-subj="homeSynopsisLinkactivemq logs"]') with timeout=10000
[00:01:17]             │ERROR browser[SEVERE] http://localhost:61121/api/ingest_manager/settings - Failed to load resource: the server responded with a status of 404 (Not Found)
[00:01:17]             │ debg browser[INFO] http://localhost:61121/app/ingestManager#/ 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:01:17]             │
[00:01:17]             │ debg browser[INFO] http://localhost:61121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:18]             └- ✓ pass  (1.4s) "Kibana Home click on ActiveMQ logs panel to open tutorial meets a11y requirements"
[00:01:18]           └-> click on cloud tutorial meets a11y requirements
[00:01:18]             └-> "before each" hook: global before each
[00:01:18]             │ debg TestSubjects.click(onCloudTutorial)
[00:01:18]             │ debg Find.clickByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:01:18]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:01:19]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] [logs-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:01:19]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] [metrics-index_pattern_placeholder] creating index, cause [api], templates [], shards [1]/[1]
[00:01:21]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] [.kibana_2/zYr_0zLeQ-CgIOylH8lq8Q] update_mapping [_doc]
[00:01:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] [.kibana_2/zYr_0zLeQ-CgIOylH8lq8Q] update_mapping [_doc]
[00:01:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] [.kibana_2/zYr_0zLeQ-CgIOylH8lq8Q] update_mapping [_doc]
[00:01:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] [.kibana_2/zYr_0zLeQ-CgIOylH8lq8Q] update_mapping [_doc]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [metrics-endpoint.policy-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [metrics-endpoint.metrics-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [logs-endpoint.events.process-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [logs-endpoint.alerts-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [logs-endpoint.events.file-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [logs-endpoint.events.library-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [logs-endpoint.events.security-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [metrics-endpoint.metadata-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [logs-endpoint.events.network-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding component template [logs-endpoint.events.registry-mappings]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-endpoint.events.process] for index patterns [logs-endpoint.events.process-*]
[00:01:25]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-endpoint.events.file] for index patterns [logs-endpoint.events.file-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-endpoint.events.library] for index patterns [logs-endpoint.events.library-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-endpoint.events.registry] for index patterns [logs-endpoint.events.registry-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.entropy] for index patterns [metrics-system.entropy-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.network_summary] for index patterns [metrics-system.network_summary-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.process_summary] for index patterns [metrics-system.process_summary-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.service] for index patterns [metrics-system.service-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.socket] for index patterns [metrics-system.socket-*]
[00:01:26]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.users] for index patterns [metrics-system.users-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.raid] for index patterns [metrics-system.raid-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:01:27]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-16-tests-xl-1597154501060724314] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:01:28]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:01:28]             │      Wait timed out after 10042ms
[00:01:28]             │ debg browser[INFO] http://localhost:61121/34029/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-11T14:37:49Z
[00:01:28]             │        Adding connection to http://localhost:61121/elasticsearch
[00:01:28]             │
[00:01:28]             │      "
[00:01:29]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:01:39]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:01:39]             │      Wait timed out after 10205ms
[00:01:40]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:01:50]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:01:50]             │      Wait timed out after 10035ms
[00:01:50]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:02:00]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:02:00]             │      Wait timed out after 10023ms
[00:02:01]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:02:11]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:02:11]             │      Wait timed out after 10029ms
[00:02:11]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:02:21]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:02:21]             │      Wait timed out after 10028ms
[00:02:22]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:02:32]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:02:32]             │      Wait timed out after 10054ms
[00:02:32]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:02:42]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:02:42]             │      Wait timed out after 10055ms
[00:02:43]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:02:53]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:02:53]             │      Wait timed out after 10032ms
[00:02:53]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:03:03]             │ debg --- retry.try failed again with the same message...
[00:03:04]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:03:14]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:03:14]             │      Wait timed out after 10037ms
[00:03:14]             │ debg Find.findByCssSelector('[data-test-subj="onCloudTutorial"]') with timeout=10000
[00:03:24]             │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:03:24]             │      Wait timed out after 10009ms
[00:03:25]             │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Kibana Home click on cloud tutorial meets a11y requirements.png"
[00:03:25]             │ info Current URL is: http://localhost:61121/app/ingestManager#/
[00:03:25]             │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Kibana Home click on cloud tutorial meets a11y requirements.html
[00:03:25]             └- ✖ fail: Kibana Home click on cloud tutorial meets a11y requirements
[00:03:25]             │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
[00:03:25]             │ Wait timed out after 10009ms
[00:03:25]             │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:03:25]             │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:03:25]             │       at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
[00:03:25]             │       at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
[00:03:25]             │ 
[00:03:25]             │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="onCloudTutorial"])
Wait timed out after 10009ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

✅ unchanged

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

@gmmorris gmmorris merged commit a867c0f into elastic:7.x Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants