Skip to content

[7.15] [DX] Upgrade prettier to v2.4.0#112525

Closed
tylersmalley wants to merge 5 commits intoelastic:7.15from
tylersmalley:bump-prettier-7.15
Closed

[7.15] [DX] Upgrade prettier to v2.4.0#112525
tylersmalley wants to merge 5 commits intoelastic:7.15from
tylersmalley:bump-prettier-7.15

Conversation

@tylersmalley
Copy link
Copy Markdown
Member

Backports the following commits to 7.15:

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
@tylersmalley
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

expected head sha didn’t match current head ref.

@tylersmalley tylersmalley changed the title [7.15] [kbn/optimizer] mangle variables in optimizer bundles (#112435) [7.15] [DX] Upgrade prettier to v2.4.0 Sep 19, 2021
@kibanamachine
Copy link
Copy Markdown
Contributor

kibanamachine commented Sep 19, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / X-Pack Accessibility Tests.x-pack/test/accessibility/apps/remote_clusters·ts.Remote Clusters Edit remote cluster (proxy mode) renders remote cluster details flyout (proxy mode)

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:16:30]         └-: Remote Clusters
[00:16:31]           └-> "before all" hook in "Remote Clusters"
[00:17:00]           └-: Edit remote cluster (proxy mode)
[00:17:00]             └-> "before all" hook for "renders the list view with remote clusters"
[00:17:00]             └-> "before all" hook for "renders the list view with remote clusters"
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.mode] from [SNIFF] to [proxy]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.proxy_address] from [] to [127.0.0.1:9302]
[00:17:00]               │ info [o.e.c.s.ClusterSettings] [node-01] updating [cluster.remote.clusterProxyMode.server_name] from [] to [test_server]
[00:17:00]             └-> renders the list view with remote clusters
[00:17:00]               └-> "before each" hook: global before each for "renders the list view with remote clusters"
[00:17:00]               └-> "before each" hook for "renders the list view with remote clusters"
[00:17:00]                 │ debg navigating to remoteClusters url: http://localhost:61241/app/management/data/remote_clusters
[00:17:00]                 │ debg navigate to: http://localhost:61241/app/management/data/remote_clusters
[00:17:01]                 │ debg browser[INFO] http://localhost:61241/app/management/data/remote_clusters?_t=1632072800517 281 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:17:01]                 │
[00:17:01]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:01]                 │ debg ... sleep(700) start
[00:17:01]                 │ debg ... sleep(700) end
[00:17:01]                 │ debg returned from get, calling refresh
[00:17:02]                 │ debg browser[INFO] http://localhost:61241/app/management/data/remote_clusters?_t=1632072800517 281 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:17:02]                 │
[00:17:02]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:02]                 │ debg currentUrl = http://localhost:61241/app/management/data/remote_clusters
[00:17:02]                 │          appUrl = http://localhost:61241/app/management/data/remote_clusters
[00:17:02]                 │ debg TestSubjects.find(kibanaChrome)
[00:17:02]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:17:03]                 │ debg ... sleep(501) start
[00:17:03]                 │ debg ... sleep(501) end
[00:17:03]                 │ debg in navigateTo url = http://localhost:61241/app/management/data/remote_clusters
[00:17:03]               │ debg Waiting up to 20000ms for remote clusters list to be rendered...
[00:17:03]               │ debg TestSubjects.isDisplayed(remoteClustersTableListClusterLink)
[00:17:03]               │ debg TestSubjects.find(remoteClustersTableListClusterLink)
[00:17:03]               │ debg Find.findByCssSelector('[data-test-subj="remoteClustersTableListClusterLink"]') with timeout=10000
[00:17:04]               └- ✓ pass  (625ms) "Remote Clusters Edit remote cluster (proxy mode) renders the list view with remote clusters"
[00:17:04]             └-> renders remote cluster details flyout (proxy mode)
[00:17:04]               └-> "before each" hook: global before each for "renders remote cluster details flyout (proxy mode)"
[00:17:04]               └-> "before each" hook for "renders remote cluster details flyout (proxy mode)"
[00:17:04]                 │ debg navigating to remoteClusters url: http://localhost:61241/app/management/data/remote_clusters
[00:17:04]                 │ debg navigate to: http://localhost:61241/app/management/data/remote_clusters
[00:17:04]                 │ debg browser[INFO] http://localhost:61241/app/management/data/remote_clusters?_t=1632072803796 281 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:17:04]                 │
[00:17:04]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:04]                 │ debg ... sleep(700) start
[00:17:05]                 │ debg ... sleep(700) end
[00:17:05]                 │ debg returned from get, calling refresh
[00:17:05]                 │ debg browser[INFO] http://localhost:61241/app/management/data/remote_clusters?_t=1632072803796 281 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:17:05]                 │
[00:17:05]                 │ debg browser[INFO] http://localhost:61241/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:17:05]                 │ debg currentUrl = http://localhost:61241/app/management/data/remote_clusters
[00:17:05]                 │          appUrl = http://localhost:61241/app/management/data/remote_clusters
[00:17:05]                 │ debg TestSubjects.find(kibanaChrome)
[00:17:05]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:17:06]                 │ debg ... sleep(501) start
[00:17:07]                 │ERROR browser[SEVERE] http://localhost:61241/api/remote_clusters - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:17:07]                 │ERROR browser[SEVERE] http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 389:84011 TypeError: Cannot destructure property 'statusCode' of 'error.body' as it is undefined.
[00:17:07]                 │          at remote_cluster_list_RemoteClusterList.renderError (http://localhost:61241/44057/bundles/plugin/remoteClusters/kibana/remoteClusters.chunk.1.js:11:104530)
[00:17:07]                 │          at remote_cluster_list_RemoteClusterList.render (http://localhost:61241/44057/bundles/plugin/remoteClusters/kibana/remoteClusters.chunk.1.js:11:108736)
[00:17:07]                 │          at oa (http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:71268)
[00:17:07]                 │          at ra (http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:71046)
[00:17:07]                 │          at Pa (http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:108906)
[00:17:07]                 │          at Il (http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:97334)
[00:17:07]                 │          at Nl (http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:97146)
[00:17:07]                 │          at Cl (http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:94325)
[00:17:07]                 │          at http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:46038
[00:17:07]                 │          at t.unstable_runWithPriority (http://localhost:61241/44057/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:398:3462)
[00:17:07]                 │ debg browser[INFO] http://localhost:61241/44057/bundles/core/core.entry.js 12:157566 "Detected an unhandled Promise rejection.
[00:17:07]                 │      TypeError: Cannot destructure property 'statusCode' of 'error.body' as it is undefined."
[00:17:07]                 │ERROR browser[SEVERE] http://localhost:61241/44057/bundles/plugin/remoteClusters/kibana/remoteClusters.chunk.1.js 10:104529 Uncaught TypeError: Cannot destructure property 'statusCode' of 'error.body' as it is undefined.
[00:17:07]                 │ debg ... sleep(501) end
[00:17:07]                 │ debg in navigateTo url = http://localhost:61241/app/management/data/remote_clusters
[00:17:07]               │ debg Waiting up to 20000ms for remote clusters list to be rendered...
[00:17:07]               │ debg TestSubjects.isDisplayed(remoteClustersTableListClusterLink)
[00:17:07]               │ debg TestSubjects.find(remoteClustersTableListClusterLink)
[00:17:07]               │ debg Find.findByCssSelector('[data-test-subj="remoteClustersTableListClusterLink"]') with timeout=10000
[00:17:17]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="remoteClustersTableListClusterLink"])
[00:17:17]               │      Wait timed out after 10016ms
[00:17:17]               │ debg TestSubjects.isDisplayed(remoteClustersTableListClusterLink)
[00:17:17]               │ debg TestSubjects.find(remoteClustersTableListClusterLink)
[00:17:17]               │ debg Find.findByCssSelector('[data-test-subj="remoteClustersTableListClusterLink"]') with timeout=10000
[00:17:28]               │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="remoteClustersTableListClusterLink"])
[00:17:28]               │      Wait timed out after 10056ms
[00:17:28]               │ info Taking screenshot "/dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/screenshots/failure/Remote Clusters Edit remote cluster _proxy mode_ renders remote cluster details flyout _proxy mode_.png"
[00:17:28]               │ info Current URL is: http://localhost:61241/app/management/data/remote_clusters
[00:17:28]               │ info Saving page source to: /dev/shm/workspace/parallel/24/kibana/x-pack/test/functional/failure_debug/html/Remote Clusters Edit remote cluster _proxy mode_ renders remote cluster details flyout _proxy mode_.html
[00:17:28]               └- ✖ fail: Remote Clusters Edit remote cluster (proxy mode) renders remote cluster details flyout (proxy mode)
[00:17:28]               │      Error: timed out waiting for remote clusters list to be rendered -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="remoteClustersTableListClusterLink"])
[00:17:28]               │ Wait timed out after 10056ms
[00:17:28]               │     at /dev/shm/workspace/parallel/24/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:17:28]               │     at runMicrotasks (<anonymous>)
[00:17:28]               │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:17:28]               │       at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:17:28]               │       at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:17:28]               │       at retryForTruthy (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:17:28]               │       at RetryService.waitFor (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:59:5)
[00:17:28]               │       at Context.<anonymous> (test/accessibility/apps/remote_clusters.ts:152:11)
[00:17:28]               │       at Object.apply (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:17:28]               │ 
[00:17:28]               │ 

Stack Trace

Error: timed out waiting for remote clusters list to be rendered -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="remoteClustersTableListClusterLink"])
Wait timed out after 10056ms
    at /dev/shm/workspace/parallel/24/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at retryForTruthy (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/24/kibana/test/common/services/retry/retry.ts:59:5)
    at Context.<anonymous> (test/accessibility/apps/remote_clusters.ts:152:11)
    at Object.apply (/dev/shm/workspace/parallel/24/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

History

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants