Skip to content

[7.x] [EPM] Change PACKAGES_SAVED_OBJECT_TYPE id (#62818)#63140

Merged
neptunian merged 1 commit intoelastic:7.xfrom
neptunian:backport/7.x/pr-62818
Apr 9, 2020
Merged

[7.x] [EPM] Change PACKAGES_SAVED_OBJECT_TYPE id (#62818)#63140
neptunian merged 1 commit intoelastic:7.xfrom
neptunian:backport/7.x/pr-62818

Conversation

@neptunian
Copy link
Contributor

Backports the following commits to 7.x:

* changed PACKAGES_SAVED_OBJECT_TYPE id from packageName-version to packageName

* change references to keys to package and version

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@neptunian neptunian added the backport This PR is a backport of another PR label Apr 9, 2020
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/canvas/custom_elements·ts.Canvas app custom elements saves custom element modifications

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:01:28]         └-: Canvas app
[00:01:28]           └-> "before all" hook
[00:02:19]           └-: custom elements
[00:02:19]             └-> "before all" hook
[00:02:19]             └-> "before all" hook
[00:02:19]               │ info [logstash_functional] Loading "mappings.json"
[00:02:19]               │ info [logstash_functional] Loading "data.json.gz"
[00:02:19]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:02:19]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:02:19]               │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:02:20]               │ info [canvas/default] Loading "mappings.json"
[00:02:20]               │ info [canvas/default] Loading "data.json.gz"
[00:02:20]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] [.kibana_2/9iOC_WYaRXa32gR35trDpg] deleting index
[00:02:20]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] [.kibana_1/WrfvHFq-R0yuI-0PxmKUNw] deleting index
[00:02:20]               │ info [canvas/default] Deleted existing index [".kibana_2",".kibana_1"]
[00:02:20]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] applying create index request using v1 templates []
[00:02:20]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:20]               │ info [canvas/default] Created index ".kibana_1"
[00:02:20]               │ debg [canvas/default] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:02:20]               │ info [canvas/default] Indexed 3 docs into ".kibana_1"
[00:02:20]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] [.kibana_1/mEHoY3DJRHG_z9_kQaT7qQ] update_mapping [_doc]
[00:02:20]               │ debg Migrating saved objects
[00:02:21]               │ proc [kibana]   log   [16:39:33.339] [info][savedobjects-service] Creating index .kibana_2.
[00:02:21]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] applying create index request using v1 templates []
[00:02:21]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:02:21]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] updating number_of_replicas to [0] for indices [.kibana_2]
[00:02:21]               │ proc [kibana]   log   [16:39:33.463] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:02:21]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] [.kibana_2/CJBRRSVWQ72vT1CDHBzkyA] update_mapping [_doc]
[00:02:21]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xl-1586447478547111643] [.kibana_2/CJBRRSVWQ72vT1CDHBzkyA] update_mapping [_doc]
[00:02:21]               │ proc [kibana]   log   [16:39:33.620] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:02:21]               │ proc [kibana]   log   [16:39:33.701] [info][savedobjects-service] Finished in 364ms.
[00:02:21]               │ debg navigating to canvas url: http://localhost:6121/app/canvas#/
[00:02:21]               │ debg navigate to: http://localhost:6121/app/canvas#/
[00:02:22]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586450373707#/ 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:02:22]               │
[00:02:22]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:22]               │ debg ... sleep(700) start
[00:02:22]               │ debg ... sleep(700) end
[00:02:22]               │ debg returned from get, calling refresh
[00:02:23]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586450373707#/ 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:02:23]               │
[00:02:23]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:23]               │ debg currentUrl = http://localhost:6121/app/canvas#/
[00:02:23]               │          appUrl = http://localhost:6121/app/canvas#/
[00:02:23]               │ debg TestSubjects.find(kibanaChrome)
[00:02:23]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:27]               │ debg browser[INFO] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-09T16:39:38Z
[00:02:27]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:27]               │
[00:02:27]               │      "
[00:02:27]               │ debg ... sleep(501) start
[00:02:28]               │ debg ... sleep(501) end
[00:02:28]               │ debg in navigateTo url = http://localhost:6121/app/canvas#/
[00:02:28]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:28]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:30]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:31]               │ debg navigating to canvas url: http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:31]               │ debg navigate to: http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:31]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586450383243#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1 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:02:31]               │
[00:02:31]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:31]               │ debg ... sleep(700) start
[00:02:32]               │ debg ... sleep(700) end
[00:02:32]               │ debg returned from get, calling refresh
[00:02:33]               │ debg browser[INFO] http://localhost:6121/app/canvas?_t=1586450383243#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1 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:02:33]               │
[00:02:33]               │ debg browser[INFO] http://localhost:6121/bundles/app/canvas/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:33]               │ debg currentUrl = http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:33]               │          appUrl = http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:33]               │ debg TestSubjects.find(kibanaChrome)
[00:02:33]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:02:37]               │ debg browser[INFO] http://localhost:6121/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106115 "INFO: 2020-04-09T16:39:48Z
[00:02:37]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:37]               │
[00:02:37]               │      "
[00:02:37]               │ debg ... sleep(501) start
[00:02:37]               │ debg ... sleep(501) end
[00:02:37]               │ debg in navigateTo url = http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:37]               │ debg TestSubjects.exists(statusPageContainer)
[00:02:37]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:02:40]               │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:02:40]             └-> creates a custom element from an element when prompted
[00:02:40]               └-> "before each" hook: global before each
[00:02:40]               │ debg TestSubjects.click(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:40]               │ debg Find.clickByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=20000
[00:02:40]               │ debg Find.findByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=20000
[00:02:40]               │ debg Find.clickByCssSelector('[aria-label="Save as new element"]') with timeout=20000
[00:02:40]               │ debg Find.findByCssSelector('[aria-label="Save as new element"]') with timeout=20000
[00:02:41]               │ debg TestSubjects.setValue(canvasCustomElementForm-name, My New Element)
[00:02:41]               │ debg TestSubjects.click(canvasCustomElementForm-name)
[00:02:41]               │ debg Find.clickByCssSelector('[data-test-subj="canvasCustomElementForm-name"]') with timeout=10000
[00:02:41]               │ debg Find.findByCssSelector('[data-test-subj="canvasCustomElementForm-name"]') with timeout=10000
[00:02:41]               │ debg TestSubjects.setValue(canvasCustomElementForm-description, An excellent new element)
[00:02:41]               │ debg TestSubjects.click(canvasCustomElementForm-description)
[00:02:41]               │ debg Find.clickByCssSelector('[data-test-subj="canvasCustomElementForm-description"]') with timeout=10000
[00:02:41]               │ debg Find.findByCssSelector('[data-test-subj="canvasCustomElementForm-description"]') with timeout=10000
[00:02:41]               │ debg TestSubjects.click(canvasCustomElementForm-submit)
[00:02:41]               │ debg Find.clickByCssSelector('[data-test-subj="canvasCustomElementForm-submit"]') with timeout=10000
[00:02:41]               │ debg Find.findByCssSelector('[data-test-subj="canvasCustomElementForm-submit"]') with timeout=10000
[00:02:41]               │ debg TestSubjects.exists(canvasCustomElementCreate-success)
[00:02:41]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="canvasCustomElementCreate-success"]') with timeout=30000
[00:02:42]               └- ✓ pass  (2.0s) "Canvas app custom elements creates a custom element from an element when prompted"
[00:02:42]             └-> adds the custom element to the workpad when prompted
[00:02:42]               └-> "before each" hook: global before each
[00:02:42]               │ debg TestSubjects.click(add-element-button)
[00:02:42]               │ debg Find.clickByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:42]               │ debg Find.findByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:42]               │ debg Find.clickByCssSelector('#customElements') with timeout=20000
[00:02:42]               │ debg Find.findByCssSelector('#customElements') with timeout=20000
[00:02:42]               │ debg Find.findByCssSelector('[aria-labelledby="customElements"] .canvasElementCard__wrapper') with timeout=10000
[00:02:43]               │ debg TestSubjects.findAll(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:43]               │ debg Find.allByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=10000
[00:02:43]               │ debg --- retry.try error: expected [ { _webElement: { driver_: [Object], id_: {} },
[00:02:43]               │          locator: null,
[00:02:43]               │          webDriver: 
[00:02:43]               │           { driver: [Object],
[00:02:43]               │             By: 
[00:02:43]               │              [Function: name(name) {
[00:02:43]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │                }],
[00:02:43]               │             until: [Object],
[00:02:43]               │             browserType: 'chrome',
[00:02:43]               │             'consoleLog$': [Object] },
[00:02:43]               │          timeout: 10000,
[00:02:43]               │          fixedHeaderHeight: 50,
[00:02:43]               │          logger: 
[00:02:43]               │           { identWidth: 14,
[00:02:43]               │             writers: [Object],
[00:02:43]               │             'written$': [Object] },
[00:02:43]               │          browserType: 'chrome',
[00:02:43]               │          By: 
[00:02:43]               │           [Function: name(name) {
[00:02:43]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │             }],
[00:02:43]               │          driver: 
[00:02:43]               │           { session_: {},
[00:02:43]               │             executor_: [Object],
[00:02:43]               │             fileDetector_: null,
[00:02:43]               │             onQuit_: [Function: onQuit] },
[00:02:43]               │          Keys: 
[00:02:43]               │           { NULL: '',
[00:02:43]               │             CANCEL: '',
[00:02:43]               │             HELP: '',
[00:02:43]               │             BACK_SPACE: '',
[00:02:43]               │             TAB: '',
[00:02:43]               │             CLEAR: '',
[00:02:43]               │             RETURN: '',
[00:02:43]               │             ENTER: '',
[00:02:43]               │             SHIFT: '',
[00:02:43]               │             CONTROL: '',
[00:02:43]               │             ALT: '',
[00:02:43]               │             PAUSE: '',
[00:02:43]               │             ESCAPE: '',
[00:02:43]               │             SPACE: '',
[00:02:43]               │             PAGE_UP: '',
[00:02:43]               │             PAGE_DOWN: '',
[00:02:43]               │             END: '',
[00:02:43]               │             HOME: '',
[00:02:43]               │             ARROW_LEFT: '',
[00:02:43]               │             LEFT: '',
[00:02:43]               │             ARROW_UP: '',
[00:02:43]               │             UP: '',
[00:02:43]               │             ARROW_RIGHT: '',
[00:02:43]               │             RIGHT: '',
[00:02:43]               │             ARROW_DOWN: '',
[00:02:43]               │             DOWN: '',
[00:02:43]               │             INSERT: '',
[00:02:43]               │             DELETE: '',
[00:02:43]               │             SEMICOLON: '',
[00:02:43]               │             EQUALS: '',
[00:02:43]               │             NUMPAD0: '',
[00:02:43]               │             NUMPAD1: '',
[00:02:43]               │             NUMPAD2: '',
[00:02:43]               │             NUMPAD3: '',
[00:02:43]               │             NUMPAD4: '',
[00:02:43]               │             NUMPAD5: '',
[00:02:43]               │             NUMPAD6: '',
[00:02:43]               │             NUMPAD7: '',
[00:02:43]               │             NUMPAD8: '',
[00:02:43]               │             NUMPAD9: '',
[00:02:43]               │             MULTIPLY: '',
[00:02:43]               │             ADD: '',
[00:02:43]               │             SEPARATOR: '',
[00:02:43]               │             SUBTRACT: '',
[00:02:43]               │             DECIMAL: '',
[00:02:43]               │             DIVIDE: '',
[00:02:43]               │             F1: '',
[00:02:43]               │             F2: '',
[00:02:43]               │             F3: '',
[00:02:43]               │             F4: '',
[00:02:43]               │             F5: '',
[00:02:43]               │             F6: '',
[00:02:43]               │             F7: '',
[00:02:43]               │             F8: '',
[00:02:43]               │             F9: '',
[00:02:43]               │             F10: '',
[00:02:43]               │             F11: '',
[00:02:43]               │             F12: '',
[00:02:43]               │             COMMAND: '',
[00:02:43]               │             META: '',
[00:02:43]               │             ZENKAKU_HANKAKU: '',
[00:02:43]               │             chord: [Function] },
[00:02:43]               │          isW3CEnabled: true,
[00:02:43]               │          isChromium: true },
[00:02:43]               │        { _webElement: { driver_: [Object], id_: {} },
[00:02:43]               │          locator: null,
[00:02:43]               │          webDriver: 
[00:02:43]               │           { driver: [Object],
[00:02:43]               │             By: 
[00:02:43]               │              [Function: name(name) {
[00:02:43]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │                }],
[00:02:43]               │             until: [Object],
[00:02:43]               │             browserType: 'chrome',
[00:02:43]               │             'consoleLog$': [Object] },
[00:02:43]               │          timeout: 10000,
[00:02:43]               │          fixedHeaderHeight: 50,
[00:02:43]               │          logger: 
[00:02:43]               │           { identWidth: 14,
[00:02:43]               │             writers: [Object],
[00:02:43]               │             'written$': [Object] },
[00:02:43]               │          browserType: 'chrome',
[00:02:43]               │          By: 
[00:02:43]               │           [Function: name(name) {
[00:02:43]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │             }],
[00:02:43]               │          driver: 
[00:02:43]               │           { session_: {},
[00:02:43]               │             executor_: [Object],
[00:02:43]               │             fileDetector_: null,
[00:02:43]               │             onQuit_: [Function: onQuit] },
[00:02:43]               │          Keys: 
[00:02:43]               │           { NULL: '',
[00:02:43]               │             CANCEL: '',
[00:02:43]               │             HELP: '',
[00:02:43]               │             BACK_SPACE: '',
[00:02:43]               │             TAB: '',
[00:02:43]               │             CLEAR: '',
[00:02:43]               │             RETURN: '',
[00:02:43]               │             ENTER: '',
[00:02:43]               │             SHIFT: '',
[00:02:43]               │             CONTROL: '',
[00:02:43]               │             ALT: '',
[00:02:43]               │             PAUSE: '',
[00:02:43]               │             ESCAPE: '',
[00:02:43]               │             SPACE: '',
[00:02:43]               │             PAGE_UP: '',
[00:02:43]               │             PAGE_DOWN: '',
[00:02:43]               │             END: '',
[00:02:43]               │             HOME: '',
[00:02:43]               │             ARROW_LEFT: '',
[00:02:43]               │             LEFT: '',
[00:02:43]               │             ARROW_UP: '',
[00:02:43]               │             UP: '',
[00:02:43]               │             ARROW_RIGHT: '',
[00:02:43]               │             RIGHT: '',
[00:02:43]               │             ARROW_DOWN: '',
[00:02:43]               │             DOWN: '',
[00:02:43]               │             INSERT: '',
[00:02:43]               │             DELETE: '',
[00:02:43]               │             SEMICOLON: '',
[00:02:43]               │             EQUALS: '',
[00:02:43]               │             NUMPAD0: '',
[00:02:43]               │             NUMPAD1: '',
[00:02:43]               │             NUMPAD2: '',
[00:02:43]               │             NUMPAD3: '',
[00:02:43]               │             NUMPAD4: '',
[00:02:43]               │             NUMPAD5: '',
[00:02:43]               │             NUMPAD6: '',
[00:02:43]               │             NUMPAD7: '',
[00:02:43]               │             NUMPAD8: '',
[00:02:43]               │             NUMPAD9: '',
[00:02:43]               │             MULTIPLY: '',
[00:02:43]               │             ADD: '',
[00:02:43]               │             SEPARATOR: '',
[00:02:43]               │             SUBTRACT: '',
[00:02:43]               │             DECIMAL: '',
[00:02:43]               │             DIVIDE: '',
[00:02:43]               │             F1: '',
[00:02:43]               │             F2: '',
[00:02:43]               │             F3: '',
[00:02:43]               │             F4: '',
[00:02:43]               │             F5: '',
[00:02:43]               │             F6: '',
[00:02:43]               │             F7: '',
[00:02:43]               │             F8: '',
[00:02:43]               │             F9: '',
[00:02:43]               │             F10: '',
[00:02:43]               │             F11: '',
[00:02:43]               │             F12: '',
[00:02:43]               │             COMMAND: '',
[00:02:43]               │             META: '',
[00:02:43]               │             ZENKAKU_HANKAKU: '',
[00:02:43]               │             chord: [Function] },
[00:02:43]               │          isW3CEnabled: true,
[00:02:43]               │          isChromium: true },
[00:02:43]               │        { _webElement: { driver_: [Object], id_: {} },
[00:02:43]               │          locator: null,
[00:02:43]               │          webDriver: 
[00:02:43]               │           { driver: [Object],
[00:02:43]               │             By: 
[00:02:43]               │              [Function: name(name) {
[00:02:43]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │                }],
[00:02:43]               │             until: [Object],
[00:02:43]               │             browserType: 'chrome',
[00:02:43]               │             'consoleLog$': [Object] },
[00:02:43]               │          timeout: 10000,
[00:02:43]               │          fixedHeaderHeight: 50,
[00:02:43]               │          logger: 
[00:02:43]               │           { identWidth: 14,
[00:02:43]               │             writers: [Object],
[00:02:43]               │             'written$': [Object] },
[00:02:43]               │          browserType: 'chrome',
[00:02:43]               │          By: 
[00:02:43]               │           [Function: name(name) {
[00:02:43]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │             }],
[00:02:43]               │          driver: 
[00:02:43]               │           { session_: {},
[00:02:43]               │             executor_: [Object],
[00:02:43]               │             fileDetector_: null,
[00:02:43]               │             onQuit_: [Function: onQuit] },
[00:02:43]               │          Keys: 
[00:02:43]               │           { NULL: '',
[00:02:43]               │             CANCEL: '',
[00:02:43]               │             HELP: '',
[00:02:43]               │             BACK_SPACE: '',
[00:02:43]               │             TAB: '',
[00:02:43]               │             CLEAR: '',
[00:02:43]               │             RETURN: '',
[00:02:43]               │             ENTER: '',
[00:02:43]               │             SHIFT: '',
[00:02:43]               │             CONTROL: '',
[00:02:43]               │             ALT: '',
[00:02:43]               │             PAUSE: '',
[00:02:43]               │             ESCAPE: '',
[00:02:43]               │             SPACE: '',
[00:02:43]               │             PAGE_UP: '',
[00:02:43]               │             PAGE_DOWN: '',
[00:02:43]               │             END: '',
[00:02:43]               │             HOME: '',
[00:02:43]               │             ARROW_LEFT: '',
[00:02:43]               │             LEFT: '',
[00:02:43]               │             ARROW_UP: '',
[00:02:43]               │             UP: '',
[00:02:43]               │             ARROW_RIGHT: '',
[00:02:43]               │             RIGHT: '',
[00:02:43]               │             ARROW_DOWN: '',
[00:02:43]               │             DOWN: '',
[00:02:43]               │             INSERT: '',
[00:02:43]               │             DELETE: '',
[00:02:43]               │             SEMICOLON: '',
[00:02:43]               │             EQUALS: '',
[00:02:43]               │             NUMPAD0: '',
[00:02:43]               │             NUMPAD1: '',
[00:02:43]               │             NUMPAD2: '',
[00:02:43]               │             NUMPAD3: '',
[00:02:43]               │             NUMPAD4: '',
[00:02:43]               │             NUMPAD5: '',
[00:02:43]               │             NUMPAD6: '',
[00:02:43]               │             NUMPAD7: '',
[00:02:43]               │             NUMPAD8: '',
[00:02:43]               │             NUMPAD9: '',
[00:02:43]               │             MULTIPLY: '',
[00:02:43]               │             ADD: '',
[00:02:43]               │             SEPARATOR: '',
[00:02:43]               │             SUBTRACT: '',
[00:02:43]               │             DECIMAL: '',
[00:02:43]               │             DIVIDE: '',
[00:02:43]               │             F1: '',
[00:02:43]               │             F2: '',
[00:02:43]               │             F3: '',
[00:02:43]               │             F4: '',
[00:02:43]               │             F5: '',
[00:02:43]               │             F6: '',
[00:02:43]               │             F7: '',
[00:02:43]               │             F8: '',
[00:02:43]               │             F9: '',
[00:02:43]               │             F10: '',
[00:02:43]               │             F11: '',
[00:02:43]               │             F12: '',
[00:02:43]               │             COMMAND: '',
[00:02:43]               │             META: '',
[00:02:43]               │             ZENKAKU_HANKAKU: '',
[00:02:43]               │             chord: [Function] },
[00:02:43]               │          isW3CEnabled: true,
[00:02:43]               │          isChromium: true },
[00:02:43]               │        { _webElement: { driver_: [Object], id_: {} },
[00:02:43]               │          locator: null,
[00:02:43]               │          webDriver: 
[00:02:43]               │           { driver: [Object],
[00:02:43]               │             By: 
[00:02:43]               │              [Function: name(name) {
[00:02:43]               │                  return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │                }],
[00:02:43]               │             until: [Object],
[00:02:43]               │             browserType: 'chrome',
[00:02:43]               │             'consoleLog$': [Object] },
[00:02:43]               │          timeout: 10000,
[00:02:43]               │          fixedHeaderHeight: 50,
[00:02:43]               │          logger: 
[00:02:43]               │           { identWidth: 14,
[00:02:43]               │             writers: [Object],
[00:02:43]               │             'written$': [Object] },
[00:02:43]               │          browserType: 'chrome',
[00:02:43]               │          By: 
[00:02:43]               │           [Function: name(name) {
[00:02:43]               │               return By.css('*[name="' + escapeCss(name) + '"]');
[00:02:43]               │             }],
[00:02:43]               │          driver: 
[00:02:43]               │           { session_: {},
[00:02:43]               │             executor_: [Object],
[00:02:43]               │             fileDetector_: null,
[00:02:43]               │             onQuit_: [Function: onQuit] },
[00:02:43]               │          Keys: 
[00:02:43]               │           { NULL: '',
[00:02:43]               │             CANCEL: '',
[00:02:43]               │             HELP: '',
[00:02:43]               │             BACK_SPACE: '',
[00:02:43]               │             TAB: '',
[00:02:43]               │             CLEAR: '',
[00:02:43]               │             RETURN: '',
[00:02:43]               │             ENTER: '',
[00:02:43]               │             SHIFT: '',
[00:02:43]               │             CONTROL: '',
[00:02:43]               │             ALT: '',
[00:02:43]               │             PAUSE: '',
[00:02:43]               │             ESCAPE: '',
[00:02:43]               │             SPACE: '',
[00:02:43]               │             PAGE_UP: '',
[00:02:43]               │             PAGE_DOWN: '',
[00:02:43]               │             END: '',
[00:02:43]               │             HOME: '',
[00:02:43]               │             ARROW_LEFT: '',
[00:02:43]               │             LEFT: '',
[00:02:43]               │             ARROW_UP: '',
[00:02:43]               │             UP: '',
[00:02:43]               │             ARROW_RIGHT: '',
[00:02:43]               │             RIGHT: '',
[00:02:43]               │             ARROW_DOWN: '',
[00:02:43]               │             DOWN: '',
[00:02:43]               │             INSERT: '',
[00:02:43]               │             DELETE: '',
[00:02:43]               │             SEMICOLON: '',
[00:02:43]               │             EQUALS: '',
[00:02:43]               │             NUMPAD0: '',
[00:02:43]               │             NUMPAD1: '',
[00:02:43]               │             NUMPAD2: '',
[00:02:43]               │             NUMPAD3: '',
[00:02:43]               │             NUMPAD4: '',
[00:02:43]               │             NUMPAD5: '',
[00:02:43]               │             NUMPAD6: '',
[00:02:43]               │             NUMPAD7: '',
[00:02:43]               │             NUMPAD8: '',
[00:02:43]               │             NUMPAD9: '',
[00:02:43]               │             MULTIPLY: '',
[00:02:43]               │             ADD: '',
[00:02:43]               │             SEPARATOR: '',
[00:02:43]               │             SUBTRACT: '',
[00:02:43]               │             DECIMAL: '',
[00:02:43]               │             DIVIDE: '',
[00:02:43]               │             F1: '',
[00:02:43]               │             F2: '',
[00:02:43]               │             F3: '',
[00:02:43]               │             F4: '',
[00:02:43]               │             F5: '',
[00:02:43]               │             F6: '',
[00:02:43]               │             F7: '',
[00:02:43]               │             F8: '',
[00:02:43]               │             F9: '',
[00:02:43]               │             F10: '',
[00:02:43]               │             F11: '',
[00:02:43]               │             F12: '',
[00:02:43]               │             COMMAND: '',
[00:02:43]               │             META: '',
[00:02:43]               │             ZENKAKU_HANKAKU: '',
[00:02:43]               │             chord: [Function] },
[00:02:43]               │          isW3CEnabled: true,
[00:02:43]               │          isChromium: true } ] to have a length of 5 but got 4
[00:02:44]               │ debg TestSubjects.findAll(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:44]               │ debg Find.allByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=10000
[00:02:44]               │ debg TestSubjects.findAll(canvasWorkpadPage > canvasWorkpadPageElementContent)
[00:02:44]               │ debg Find.allByCssSelector('[data-test-subj="canvasWorkpadPage"] [data-test-subj="canvasWorkpadPageElementContent"]') with timeout=10000
[00:02:44]               └- ✓ pass  (2.1s) "Canvas app custom elements adds the custom element to the workpad when prompted"
[00:02:44]             └-> saves custom element modifications
[00:02:44]               └-> "before each" hook: global before each
[00:02:44]               │ debg TestSubjects.click(add-element-button)
[00:02:44]               │ debg Find.clickByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:44]               │ debg Find.findByCssSelector('[data-test-subj="add-element-button"]') with timeout=10000
[00:02:44]               │ debg Find.clickByCssSelector('#customElements') with timeout=20000
[00:02:44]               │ debg Find.findByCssSelector('#customElements') with timeout=20000
[00:02:44]               │ debg Find.findByCssSelector('[aria-labelledby="customElements"]') with timeout=10000
[00:02:55]               │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Canvas app custom elements saves custom element modifications.png"
[00:02:55]               │ info Current URL is: http://localhost:6121/app/canvas#/workpad/workpad-1705f884-6224-47de-ba49-ca224fe6ec31/page/1
[00:02:55]               │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Canvas app custom elements saves custom element modifications.html
[00:02:55]               └- ✖ fail: "Canvas app custom elements saves custom element modifications"
[00:02:55]               │

Stack Trace

{ TimeoutError: Waiting for element to be located By(css selector, [aria-labelledby="customElements"])
Wait timed out after 10060ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError', remoteStacktrace: '' }

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

@neptunian neptunian merged commit e34cf6c into elastic:7.x Apr 9, 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