Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating our direct usage of https-proxy-agent to 5.0.0 #58296

Merged
merged 4 commits into from
Mar 24, 2020

Conversation

kobelb
Copy link
Contributor

@kobelb kobelb commented Feb 21, 2020

No description provided.

@kobelb kobelb added v8.0.0 v7.7.0 release_note:skip Skip the PR/issue when compiling release notes labels Feb 21, 2020
@kobelb kobelb requested a review from a team February 21, 2020 23:35
@kobelb
Copy link
Contributor Author

kobelb commented Feb 21, 2020

@elasticmachine merge upstream

@kobelb
Copy link
Contributor Author

kobelb commented Feb 24, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / Accessibility Tests.test/accessibility/apps/management·ts.Management Create Index pattern wizard

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:05:47]         └-: Management
[00:05:47]           └-> "before all" hook
[00:05:47]           └-> "before all" hook
[00:05:47]             │ info [discover] Loading "mappings.json"
[00:05:47]             │ info [discover] Loading "data.json.gz"
[00:05:47]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_1/uu4uBm1oS9SjArzmVYBTEg] deleting index
[00:05:47]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_2/IH_DVU-tQTKEASWfxjoFHA] deleting index
[00:05:47]             │ info [discover] Deleted existing index [".kibana_2",".kibana_1"]
[00:05:47]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:47]             │ info [discover] Created index ".kibana"
[00:05:47]             │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:05:48]             │ info [discover] Indexed 2 docs into ".kibana"
[00:05:48]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana/kOX2PZeXQ62zr7gGrl0XrA] update_mapping [_doc]
[00:05:48]             │ debg Migrating saved objects
[00:05:48]             │ proc [kibana]   log   [17:19:43.517] [info][savedobjects-service] Creating index .kibana_2.
[00:05:48]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:48]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] updating number_of_replicas to [0] for indices [.kibana_2]
[00:05:48]             │ proc [kibana]   log   [17:19:43.594] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:05:48]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:05:48]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] updating number_of_replicas to [0] for indices [.kibana_1]
[00:05:48]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] 1955 finished with response BulkByScrollResponse[took=29.6ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:05:48]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana/kOX2PZeXQ62zr7gGrl0XrA] deleting index
[00:05:48]             │ proc [kibana]   log   [17:19:43.949] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:05:48]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_2/qrNbGL7vSNGjEZmZB1KuDg] update_mapping [_doc]
[00:05:48]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_2/qrNbGL7vSNGjEZmZB1KuDg] update_mapping [_doc]
[00:05:48]             │ proc [kibana]   log   [17:19:44.017] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:05:48]             │ proc [kibana]   log   [17:19:44.058] [info][savedobjects-service] Finished in 543ms.
[00:05:48]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:05:49]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_2/qrNbGL7vSNGjEZmZB1KuDg] update_mapping [_doc]
[00:05:50]             │ info [logstash_functional] Loading "mappings.json"
[00:05:50]             │ info [logstash_functional] Loading "data.json.gz"
[00:05:50]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:05:50]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:05:50]             │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:05:51]             │ debg applying update to kibana config: {"defaultIndex":"logstash-*"}
[00:05:51]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-debian-tests-xl-1584982287411016148] [.kibana_2/qrNbGL7vSNGjEZmZB1KuDg] update_mapping [_doc]
[00:05:52]             │ debg navigating to settings url: http://localhost:61131/app/kibana#/management
[00:05:52]             │ debg Navigate to: http://localhost:61131/app/kibana#/management
[00:05:52]             │ debg ... sleep(700) start
[00:05:52]             │ debg browser[INFO] http://localhost:61131/app/kibana?_t=1584983987620#/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:05:52]             │
[00:05:52]             │ debg browser[INFO] http://localhost:61131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:52]             │ debg ... sleep(700) end
[00:05:52]             │ debg returned from get, calling refresh
[00:05:53]             │ debg browser[INFO] http://localhost:61131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-23T17:19:49Z
[00:05:53]             │        Adding connection to http://localhost:61131/elasticsearch
[00:05:53]             │
[00:05:53]             │      "
[00:05:53]             │ERROR browser[SEVERE] http://localhost:61131/bundles/commons.bundle.js 0:1370949 TypeError: Failed to fetch
[00:05:53]             │          at Fetch._callee3$ (http://localhost:61131/bundles/commons.bundle.js:1:1398106)
[00:05:53]             │          at l (http://localhost:61131/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1046209)
[00:05:53]             │          at Generator._invoke (http://localhost:61131/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1045962)
[00:05:53]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61131/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:338:1046566)
[00:05:53]             │          at asyncGeneratorStep (http://localhost:61131/bundles/commons.bundle.js:1:1392603)
[00:05:53]             │          at _throw (http://localhost:61131/bundles/commons.bundle.js:1:1393000)
[00:05:53]             │ debg browser[INFO] http://localhost:61131/app/kibana?_t=1584983987620#/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:05:53]             │
[00:05:53]             │ debg browser[INFO] http://localhost:61131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:53]             │ debg currentUrl = http://localhost:61131/app/kibana#/management
[00:05:53]             │          appUrl = http://localhost:61131/app/kibana#/management
[00:05:53]             │ debg TestSubjects.find(kibanaChrome)
[00:05:53]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:55]             │ debg TestSubjects.find(kibanaChrome)
[00:05:55]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:05:55]             │ debg browser[INFO] http://localhost:61131/bundles/plugin/data/data.plugin.js 96:139970 "INFO: 2020-03-23T17:19:50Z
[00:05:55]             │        Adding connection to http://localhost:61131/elasticsearch
[00:05:55]             │
[00:05:55]             │      "
[00:05:55]             │ debg ... sleep(501) start
[00:05:56]             │ debg ... sleep(501) end
[00:05:56]             │ debg in navigateTo url = http://localhost:61131/app/kibana#/management?_g=()
[00:05:56]             │ debg TestSubjects.exists(statusPageContainer)
[00:05:56]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:58]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:59]           └-> main view
[00:05:59]             └-> "before each" hook: global before each
[00:05:59]             └- ✓ pass  (366ms) "Management main view"
[00:05:59]           └-> index pattern page
[00:05:59]             └-> "before each" hook: global before each
[00:05:59]             │ debg clickKibanaIndexPatterns link
[00:05:59]             │ debg TestSubjects.click(index_patterns)
[00:05:59]             │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:59]             │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:05:59]             │ debg isGlobalLoadingIndicatorVisible
[00:05:59]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:59]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:59]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:01]             │ debg --- retry.tryForTime failed again with the same message...
[00:06:02]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:02]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:02]             │ debg Waiting up to 20000ms for index pattern info flyout...
[00:06:02]             │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:06:02]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:06:04]             │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:06:05]             └- ✓ pass  (6.1s) "Management index pattern page"
[00:06:05]           └-> Single indexpattern view
[00:06:05]             └-> "before each" hook: global before each
[00:06:05]             │ debg Find.byXPath('//a[descendant::*[text()='logstash-*']]') with timeout=10000
[00:06:06]             └- ✓ pass  (489ms) "Management Single indexpattern view"
[00:06:06]           └-> Create Index pattern wizard
[00:06:06]             └-> "before each" hook: global before each
[00:06:06]             │ debg clickKibanaIndexPatterns link
[00:06:06]             │ debg TestSubjects.click(index_patterns)
[00:06:06]             │ debg Find.clickByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:06:06]             │ debg Find.findByCssSelector('[data-test-subj="index_patterns"]') with timeout=10000
[00:06:06]             │ debg isGlobalLoadingIndicatorVisible
[00:06:06]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:06]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:08]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:08]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:08]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:08]             │ debg Waiting up to 20000ms for index pattern info flyout...
[00:06:08]             │ debg TestSubjects.exists(CreateIndexPatternPrompt)
[00:06:08]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="CreateIndexPatternPrompt"]') with timeout=2500
[00:06:11]             │ debg --- retry.tryForTime error: [data-test-subj="CreateIndexPatternPrompt"] is not displayed
[00:06:11]             │ debg TestSubjects.find(createIndexPatternButton)
[00:06:11]             │ debg Find.findByCssSelector('[data-test-subj="createIndexPatternButton"]') with timeout=10000
[00:06:21]             │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/Management Create Index pattern wizard.png"
[00:06:21]             │ info Current URL is: http://localhost:61131/app/kibana#/management/kibana/index_patterns/logstash-*?_g=()&_a=(tab:indexedFields)
[00:06:21]             │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/Management Create Index pattern wizard.html
[00:06:21]             └- ✖ fail: "Management Create Index pattern wizard"
[00:06:21]             │

Stack Trace

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

History

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

@kobelb kobelb merged commit 4b9126b into elastic:master Mar 24, 2020
@kobelb kobelb deleted the update/https-proxy-agent branch March 24, 2020 14:57
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 24, 2020
* master:
  Updating our direct usage of https-proxy-agent to 5.0.0 (elastic#58296)
  allow users to unset the throttle of an alert (elastic#60964)
  [Lens] Fix bug in metric config panel (elastic#60982)
  [SearchProfiler] Minor fixes (elastic#60919)
  [ML] Renaming ML setup and start contracts (elastic#60980)
  introduce StartServicesAccessor type for `CoreSetup.getStartServices` (elastic#60748)
  [SIEM][Detection Engine] Add rule's notification alert type (elastic#60832)
  [APM] Re-revert "Collect telemetry about data/API performance" (elastic#61030)
  [NP] Graph: get rid of saved objects class wrapper (elastic#59917)
  [EPM] merge duplicate fields when creating index patterns (elastic#60957)
  [Uptime] Ml detection of duration anomalies (elastic#59785)
  [Alerting] removes unimplemented buttons from Alert Details page (elastic#60934)
  [skip-ci] Fix CODEOWNERS paths for the Pulse team (elastic#60944)
  [APM] Threshold alerts (elastic#59566)
  [ML] Add support for percentiles aggregation to Transform wizard (elastic#60763)
  Cahgen save object duplicate message (elastic#60901)
kobelb added a commit that referenced this pull request Mar 24, 2020
jportner added a commit to jportner/kibana that referenced this pull request Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants