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

[7.6] [Reporting] Fix error handling for job handler in route (#60161) #60322

Closed
wants to merge 1 commit into from

Conversation

tsullivan
Copy link
Member

Backports the following commits to 7.6:

* fix bogus rison error

* add generate route test

* update test name
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_size·js.context app context size should default to the `context:defaultSize` setting

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:14]         └-: context app
[00:00:14]           └-> "before all" hook
[00:00:14]           └-> "before all" hook
[00:00:14]             │ info [logstash_functional] Loading "mappings.json"
[00:00:14]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:24]             │ info progress: 9631
[00:00:27]             │ info [visualize] Loading "mappings.json"
[00:00:27]             │ info [visualize] Loading "data.json"
[00:00:27]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_1/fOjua8SHRLudvvFCWsbDFw] deleting index
[00:00:28]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:28]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:28]             │ info [visualize] Created index ".kibana"
[00:00:28]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:28]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana/5Py57pi8SeyIHWAbDLCjvA] update_mapping [_doc]
[00:00:37]             │ info Creating index .kibana_2.
[00:00:37]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:37]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:37]             │ info Reindexing .kibana to .kibana_1
[00:00:37]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:37]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:37]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:37]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] updating number_of_replicas to [0] for indices [.tasks]
[00:00:38]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] 874 finished with response BulkByScrollResponse[took=82ms,timed_out=false,sliceId=null,updated=0,created=7,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:38]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana/5Py57pi8SeyIHWAbDLCjvA] deleting index
[00:00:38]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:38]             │ debg Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09
[00:00:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/-62s-yw6Sj-KjVOPXcygSA] update_mapping [_doc]
[00:00:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/-62s-yw6Sj-KjVOPXcygSA] update_mapping [_doc]
[00:00:38]             │ info Pointing alias .kibana to .kibana_2.
[00:00:38]             │ info Finished in 721ms.
[00:00:38]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:38]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/-62s-yw6Sj-KjVOPXcygSA] update_mapping [_doc]
[00:00:39]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:39]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/-62s-yw6Sj-KjVOPXcygSA] update_mapping [_doc]
[00:00:40]             │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:40]             │ debg Navigate to: http://localhost:6121/app/kibana#/discover
[00:00:40]             │ debg ... sleep(700) start
[00:00:40]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584396100374#/discover 350 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:40]             │
[00:00:40]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:41]             │ debg ... sleep(700) end
[00:00:41]             │ debg returned from get, calling refresh
[00:00:41]             │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:41]             │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:41]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:44]             │ debg TestSubjects.find(kibanaChrome)
[00:00:44]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:44]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584396100374#/discover 350 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:44]             │
[00:00:44]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:44]             │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_2.bundle.dll.js 36:140950 "INFO: 2020-03-16T22:01:43Z
[00:00:44]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:44]             │
[00:00:44]             │      "
[00:00:44]             │ debg ... sleep(501) start
[00:00:44]             │ debg ... sleep(501) end
[00:00:44]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()
[00:00:44]             │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:45]             │ debg ... sleep(501) start
[00:00:45]             │ debg ... sleep(501) end
[00:00:46]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:00:46]             │ debg --- retry.try failed again with the same message...
[00:00:46]             │ debg ... sleep(501) start
[00:00:47]             │ debg ... sleep(501) end
[00:00:47]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:00:47]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:47]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:49]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:43]           └-: context size
[00:03:43]             └-> "before all" hook
[00:03:43]             └-> "before all" hook
[00:03:43]               │ debg applying update to kibana config: {"context:defaultSize":"7","context:step":"3"}
[00:03:44]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/-62s-yw6Sj-KjVOPXcygSA] update_mapping [_doc]
[00:03:44]               │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:44]               │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:44]             └-> should default to the `context:defaultSize` setting
[00:03:44]               └-> "before each" hook: global before each
[00:03:46]               │ debg --- retry.try failed again with the same message...
[00:03:46]               │ debg browser.get(http://localhost:6121/app/kibana#/context/logstash-*/AU_x3_BrGFA8no6QjjaI?_a=(columns:!('@message')))
[00:03:46]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:03:46]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:03:46]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584396286395#/context/logstash-*/AU_x3_BrGFA8no6QjjaI?_a=(columns:!(%27@message%27)) 350 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:03:46]               │
[00:03:46]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:47]               └- ✖ fail: "context app context size should default to the `context:defaultSize` setting"
[00:03:47]               │

Stack Trace

{ DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:111:13)
    at emitWarning (internal/process/promises.js:104:3)
    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
    at process._tickCallback (internal/process/next_tick.js:69:34) name: 'DeprecationWarning', code: 'DEP0018', uncaught: true }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_size·js.context app context size should default to the `context:defaultSize` setting

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:13]         └-: context app
[00:00:13]           └-> "before all" hook
[00:00:13]           └-> "before all" hook
[00:00:13]             │ info [logstash_functional] Loading "mappings.json"
[00:00:13]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:13]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:14]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]]).
[00:00:14]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:14]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:23]             │ info progress: 10534
[00:00:26]             │ info [visualize] Loading "mappings.json"
[00:00:26]             │ info [visualize] Loading "data.json"
[00:00:26]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_1/XHa2HW7fSMCccSH_mZyd2Q] deleting index
[00:00:27]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:27]             │ info [visualize] Created index ".kibana"
[00:00:27]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:27]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana/EyyfD-RFRFWgcz6b_MA4Vw] update_mapping [_doc]
[00:00:35]             │ info Creating index .kibana_2.
[00:00:35]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:35]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:35]             │ info Reindexing .kibana to .kibana_1
[00:00:35]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:00:35]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:36]             │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:36]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] updating number_of_replicas to [0] for indices [.tasks]
[00:00:36]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] 877 finished with response BulkByScrollResponse[took=83.3ms,timed_out=false,sliceId=null,updated=0,created=7,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:36]             │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana/EyyfD-RFRFWgcz6b_MA4Vw] deleting index
[00:00:36]             │ info Migrating .kibana_1 saved objects to .kibana_2
[00:00:36]             │ debg Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, index-pattern:long-window-logstash-*, visualization:Shared-Item-Visualization-AreaChart, visualization:68305470-87bc-11e9-a991-3b492a7c3e09, visualization:64983230-87bf-11e9-a991-3b492a7c3e09, visualization:5d2de430-87c0-11e9-a991-3b492a7c3e09
[00:00:36]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/lkFQCCXeR16ZCpsI2R3bSw] update_mapping [_doc]
[00:00:36]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/lkFQCCXeR16ZCpsI2R3bSw] update_mapping [_doc]
[00:00:36]             │ info Pointing alias .kibana to .kibana_2.
[00:00:36]             │ info Finished in 691ms.
[00:00:36]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:36]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/lkFQCCXeR16ZCpsI2R3bSw] update_mapping [_doc]
[00:00:37]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:37]             │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/lkFQCCXeR16ZCpsI2R3bSw] update_mapping [_doc]
[00:00:38]             │ debg navigating to discover url: http://localhost:6121/app/kibana#/discover
[00:00:38]             │ debg Navigate to: http://localhost:6121/app/kibana#/discover
[00:00:39]             │ debg ... sleep(700) start
[00:00:39]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584395666636#/discover 350 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:39]             │
[00:00:39]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:39]             │ debg ... sleep(700) end
[00:00:39]             │ debg returned from get, calling refresh
[00:00:39]             │ debg currentUrl = http://localhost:6121/app/kibana#/discover
[00:00:39]             │          appUrl = http://localhost:6121/app/kibana#/discover
[00:00:39]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:42]             │ debg TestSubjects.find(kibanaChrome)
[00:00:42]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:00:42]             │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584395666636#/discover 350 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:42]             │
[00:00:42]             │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:42]             │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_2.bundle.dll.js 36:140950 "INFO: 2020-03-16T21:54:30Z
[00:00:42]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:42]             │
[00:00:42]             │      "
[00:00:42]             │ debg ... sleep(501) start
[00:00:43]             │ debg ... sleep(501) end
[00:00:43]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:00:43]             │ debg --- retry.try error: URL changed, waiting for it to settle
[00:00:44]             │ debg ... sleep(501) start
[00:00:44]             │ debg ... sleep(501) end
[00:00:44]             │ debg in navigateTo url = http://localhost:6121/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))
[00:00:44]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:44]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:47]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:03:35]           └-: context size
[00:03:35]             └-> "before all" hook
[00:03:35]             └-> "before all" hook
[00:03:35]               │ debg applying update to kibana config: {"context:defaultSize":"7","context:step":"3"}
[00:03:35]               │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-oraclelinux-tests-xl-1584394536111854449] [.kibana_2/lkFQCCXeR16ZCpsI2R3bSw] update_mapping [_doc]
[00:03:35]             └-> should default to the `context:defaultSize` setting
[00:03:35]               └-> "before each" hook: global before each
[00:03:35]               │ debg browser.get(http://localhost:6121/app/kibana#/context/logstash-*/AU_x3_BrGFA8no6QjjaI?_a=(columns:!('@message')))
[00:03:35]               │ debg TestSubjects.exists(filter filter-disabled filter-key-geo.src filter-value-IN)
[00:03:35]               │ debg Find.existsByCssSelector('[data-test-subj="filter filter-disabled filter-key-geo.src filter-value-IN"]') with timeout=2500
[00:03:35]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:03:35]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:03:35]               │ debg browser[INFO] http://localhost:6121/app/kibana?_t=1584395842871#/context/logstash-*/AU_x3_BrGFA8no6QjjaI?_a=(columns:!(%27@message%27)) 350 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:03:35]               │
[00:03:35]               │ debg browser[INFO] http://localhost:6121/bundles/app/kibana/bootstrap.js 8:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:15]               │ debg browser[INFO] http://localhost:6121/built_assets/dlls/vendors_2.bundle.dll.js 36:140950 "INFO: 2020-03-16T21:57:27Z
[00:05:15]               │        Adding connection to http://localhost:6121/elasticsearch
[00:05:15]               │
[00:05:15]               │      "
[00:05:15]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:05:15]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:05:15]               │ debg --- retry.try failed again with the same message...
[00:05:15]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:05:15]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:05:15]               │ debg ... sleep(1000) start
[00:05:15]               └- ✖ fail: "context app context size should default to the `context:defaultSize` setting"
[00:05:15]               │

Stack Trace

{ DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:111:13)
    at emitWarning (internal/process/promises.js:104:3)
    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
    at process._tickCallback (internal/process/next_tick.js:69:34) name: 'DeprecationWarning', code: 'DEP0018', uncaught: true }

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

@tsullivan
Copy link
Member Author

sorry, this change is not eligible for 7.6

@tsullivan tsullivan closed this Mar 17, 2020
@tsullivan tsullivan deleted the backport/7.6/pr-60161 branch June 25, 2020 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants