Skip to content

[7.7] [kbn/optimizer] require fsevents on macos (#67147)#67160

Merged
spalger merged 1 commit intoelastic:7.7from
spalger:backport/7.7/pr-67147
May 21, 2020
Merged

[7.7] [kbn/optimizer] require fsevents on macos (#67147)#67160
spalger merged 1 commit intoelastic:7.7from
spalger:backport/7.7/pr-67147

Conversation

@spalger
Copy link
Copy Markdown
Contributor

@spalger spalger commented May 21, 2020

Backports the following commits to 7.7:

@spalger spalger added the backport This PR is a backport of another PR label May 21, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Example plugin functional tests.test/examples/embeddables/adding_children·ts.embeddable explorer creating and adding children Can create a new child

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:33]         └-: embeddable explorer
[00:00:33]           └-> "before all" hook
[00:00:33]           └-> "before all" hook
[00:00:33]             │ debg navigating to settings url: http://localhost:6111/app/kibana#/management
[00:00:33]             │ debg navigate to: http://localhost:6111/app/kibana#/management
[00:00:33]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1590052922288257212] [.kibana] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []
[00:00:33]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1590052922288257212] [.kibana/xmUD3NBBREy30KJ9zetb9g] create_mapping [_doc]
[00:00:34]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1590052922288257212] [.kibana/xmUD3NBBREy30KJ9zetb9g] update_mapping [_doc]
[00:00:34]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1590052922288257212] [.kibana/xmUD3NBBREy30KJ9zetb9g] update_mapping [_doc]
[00:00:35]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 984:16 "Reporting application changed to undefined"
[00:00:35]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 984:16 "Reporting application changed to undefined"
[00:00:35]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 984:16 "Error Sending Metrics Report TypeError: Failed to fetch"
[00:00:35]             │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1590055142658#/management 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:00:35]             │
[00:00:35]             │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:35]             │ debg ... sleep(700) start
[00:00:35]             │ debg ... sleep(700) end
[00:00:35]             │ debg returned from get, calling refresh
[00:00:36]             │ debg browser[INFO] http://localhost:6111/app/kibana?_t=1590055142658#/management 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:00:36]             │
[00:00:36]             │ debg browser[INFO] http://localhost:6111/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:36]             │ debg currentUrl = http://localhost:6111/app/kibana#/management
[00:00:36]             │          appUrl = http://localhost:6111/app/kibana#/management
[00:00:36]             │ debg TestSubjects.find(kibanaChrome)
[00:00:36]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:38]             │ debg TestSubjects.find(kibanaChrome)
[00:00:38]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:38]             │ debg browser[INFO] http://localhost:6111/bundles/plugin/testbed/testbed.plugin.js 171:12 "Testbed plugin set up. uiProp: 'Accessible from client'"
[00:00:38]             │ debg browser[INFO] http://localhost:6111/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 380:106452 "INFO: 2020-05-21T09:59:06Z
[00:00:38]             │        Adding connection to http://localhost:6111/elasticsearch
[00:00:38]             │
[00:00:38]             │      "
[00:00:38]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 984:16 "Reporting user-agent."
[00:00:38]             │ debg browser[INFO] http://localhost:6111/bundles/plugin/testbed/testbed.plugin.js 179:12 "Testbed plugin started"
[00:00:38]             │ debg browser[DEBUG] http://localhost:6111/bundles/plugin/usageCollection/usageCollection.plugin.js 984:16 "Reporting application changed to management"
[00:00:38]             │ debg ... sleep(501) start
[00:00:38]             │ debg ... sleep(501) end
[00:00:38]             │ debg in navigateTo url = http://localhost:6111/app/kibana#/management?_g=()
[00:00:38]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:38]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:41]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:41]             │ debg click "Embeddable explorer" app link
[00:00:41]             │ debg TestSubjects.find(navDrawer)
[00:00:41]             │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:00:45]           └-: creating and adding children
[00:00:45]             └-> "before all" hook
[00:00:45]             └-> "before all" hook
[00:00:45]               │ debg TestSubjects.click(embeddablePanelExamplae)
[00:00:45]               │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelExamplae"]') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelExamplae"]') with timeout=10000
[00:00:45]             └-> Can create a new child
[00:00:45]               └-> "before each" hook: global before each
[00:00:45]               │ debg TestSubjects.click(embeddablePanelToggleMenuIcon)
[00:00:45]               │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:00:45]               │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelToggleMenuIcon"]') with timeout=10000
[00:00:46]               │ debg TestSubjects.click(embeddablePanelAction-ACTION_ADD_PANEL)
[00:00:46]               │ debg Find.clickByCssSelector('[data-test-subj="embeddablePanelAction-ACTION_ADD_PANEL"]') with timeout=10000
[00:00:46]               │ debg Find.findByCssSelector('[data-test-subj="embeddablePanelAction-ACTION_ADD_PANEL"]') with timeout=10000
[00:00:46]               │ debg TestSubjects.click(createNew)
[00:00:46]               │ debg Find.clickByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:00:46]               │ debg Find.findByCssSelector('[data-test-subj="createNew"]') with timeout=10000
[00:00:46]               │ debg TestSubjects.click(createNew-TODO_EMBEDDABLE)
[00:00:46]               │ debg Find.clickByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:00:46]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:00:56]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:00:56]               │      Wait timed out after 10037ms
[00:00:56]               │ERROR browser[SEVERE] http://localhost:6111/api/saved_objects/_find?default_search_operator=AND&fields=title&page=1&per_page=1000&search_fields=title%5E3&search_fields=description& - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:00:56]               │ debg browser[INFO] http://localhost:6111/bundles/commons.bundle.js 8254:18 "Detected an unhandled Promise rejection.
[00:00:56]               │      Error: Bad Request"
[00:00:56]               │ERROR browser[SEVERE] http://localhost:6111/bundles/commons.bundle.js 9056:12 
[00:00:57]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:01:07]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:01:07]               │      Wait timed out after 10010ms
[00:01:07]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:01:17]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:01:17]               │      Wait timed out after 10027ms
[00:01:18]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:01:28]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:01:28]               │      Wait timed out after 10048ms
[00:01:28]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:01:38]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:01:38]               │      Wait timed out after 10059ms
[00:01:39]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:01:49]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:01:49]               │      Wait timed out after 10009ms
[00:01:49]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:01:59]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:01:59]               │      Wait timed out after 10007ms
[00:02:00]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:02:10]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:02:10]               │      Wait timed out after 10046ms
[00:02:10]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:02:20]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:02:20]               │      Wait timed out after 10014ms
[00:02:21]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:02:31]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:02:31]               │      Wait timed out after 10013ms
[00:02:31]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:02:41]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:02:41]               │      Wait timed out after 10012ms
[00:02:42]               │ debg Find.findByCssSelector('[data-test-subj="createNew-TODO_EMBEDDABLE"]') with timeout=10000
[00:02:52]               │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
[00:02:52]               │      Wait timed out after 10050ms
[00:02:52]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/embeddable explorer creating and adding children Can create a new child.png"
[00:02:53]               │ info Current URL is: http://localhost:6111/app/embeddableExplorer/embeddablePanelExamplae
[00:02:53]               │ info Saving page source to: /dev/shm/workspace/kibana/test/examples/failure_debug/html/embeddable explorer creating and adding children Can create a new child.html
[00:02:53]               └- ✖ fail: "embeddable explorer creating and adding children Can create a new child"
[00:02:53]               │

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="createNew-TODO_EMBEDDABLE"])
Wait timed out after 10050ms
    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 (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

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

@spalger spalger merged commit 2863d4f into elastic:7.7 May 21, 2020
@spalger spalger deleted the backport/7.7/pr-67147 branch May 21, 2020 18:34
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