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

[6.8] refact(NA): remove set loop from upgrade assistant usage collector (#63977) #64197

Merged
merged 1 commit into from
Apr 22, 2020

Conversation

mistic
Copy link
Member

@mistic mistic commented Apr 22, 2020

Backports the following commits to 6.8:

…lastic#63977)

* refact(NA): use default telemetry obj in the set loop

* chore(NA): fix typecheck

* fix(NA): test run with lodash has

* chore(NA): fix older lodash has

* chore(NA): remove lodash has usage
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-oss-agent / UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·js.visualize app visual builder Time Series should show the correct count in the legend

Link to Jenkins

Standard Out


        [00:00:00]       │
[00:00:00]         └-: visualize app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg Starting visualize before method
[00:00:00]             │ info [logstash_functional] Loading "mappings.json"
[00:00:00]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:10]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:10]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:10]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:10]             │ info [visualize] Loading "mappings.json"
[00:00:10]             │ info [visualize] Loading "data.json.gz"
[00:00:10]             │ info [o.e.c.m.MetaDataDeleteIndexService] [xd1ep69] [.kibana_1/N6M7ew_ZSoeWt3TFyo_2aw] deleting index
[00:00:10]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:10]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana] creating index, cause [api], templates [kibana_index_template:.kibana], shards [1]/[1], mappings [doc]
[00:00:10]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]] ...]).
[00:00:11]             │ info [visualize] Created index ".kibana"
[00:00:11]             │ debg [visualize] ".kibana" settings {"index":{"number_of_shards":"1","number_of_replicas":"1"}}
[00:00:11]             │ info [visualize] Indexed 3 docs into ".kibana"
[00:00:27]             │ info [migrations] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]] ...]).
[00:00:27]             │ info [migrations] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]] ...]).
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.tasks]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]] ...]).
[00:00:27]             │ info [o.e.t.LoggingTaskListener] [xd1ep69] 271 finished with response BulkByScrollResponse[took=72.8ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:27]             │ info [o.e.c.m.MetaDataDeleteIndexService] [xd1ep69] [.kibana/NvlHwz1IQFeN8tuWkONyeQ] deleting index
[00:00:27]             │ info [migrations] Migrating .kibana_1 saved objects to .kibana_2
[00:00:27]             │ debg [migrations] Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, visualization:Shared-Item-Visualization-AreaChart
[00:00:27]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:27]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:27]             │ info [migrations] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ info [migrations] Finished in 592ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:29]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:30]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:31]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:32]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:33]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:33]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:33]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:34]             └-> "before all" hook
[00:08:11]             └-: visual builder
[00:08:11]               └-> "before all" hook
[00:08:11]               └-: Time Series
[00:08:11]                 └-> "before all" hook
[00:08:11]                 └-> "before all" hook
[00:08:11]                   │ debg navigateToApp visualize
[00:08:11]                   │ debg navigateToApp visualize
[00:08:11]                   │ debg navigating to visualize url: http://localhost:61121/app/kibana#/visualize
[00:08:11]                   │ debg navigate to: http://localhost:61121/app/kibana#/visualize
[00:08:12]                   │ debg ... sleep(700) start
[00:08:12]                   │ debg ... sleep(700) end
[00:08:12]                   │ debg returned from get, calling refresh
[00:08:12]                   │ debg currentUrl = http://localhost:61121/app/kibana#/visualize
[00:08:12]                   │          appUrl = http://localhost:61121/app/kibana#/visualize
[00:08:12]                   │ debg findByCssSelector [data-test-subj="kibanaChrome"]
[00:08:14]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:14]                   │ debg findByCssSelector [data-test-subj~="kibanaChrome"]
[00:08:14]                   │ debg ... sleep(501) start
[00:08:15]                   │ debg ... sleep(501) end
[00:08:15]                   │ debg in navigateTo url = http://localhost:61121/app/kibana#/visualize?_g=()
[00:08:15]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:15]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="statusPageContainer"]
[00:08:17]                   │ debg TestSubjects.click(createNewVis)
[00:08:17]                   │ debg clickByCssSelector([data-test-subj~="createNewVis"])
[00:08:17]                   │ debg findByCssSelector [data-test-subj~="createNewVis"]
[00:08:18]                   │ debg TestSubjects.find(visNewDialogTypes)
[00:08:18]                   │ debg findByCssSelector [data-test-subj~="visNewDialogTypes"]
[00:08:18]                   │ debg clickVisualBuilderChart
[00:08:18]                   │ debg TestSubjects.click(visType-metrics)
[00:08:18]                   │ debg clickByCssSelector([data-test-subj~="visType-metrics"])
[00:08:18]                   │ debg findByCssSelector [data-test-subj~="visType-metrics"]
[00:08:18]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:18]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:18]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
[00:08:18]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:18]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:18]                   │ debg Set absolute time range from "2015-09-19 06:31:44.000" to "2015-09-22 18:31:44.000"
[00:08:18]                   │ debg Setting absolute range to 2015-09-19 06:31:44.000 to 2015-09-22 18:31:44.000
[00:08:18]                   │ debg ensureTimePickerIsOpen
[00:08:18]                   │ debg TestSubjects.exists(timePicker)
[00:08:18]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:21]                   │ debg TestSubjects.click(globalTimepickerButton)
[00:08:21]                   │ debg clickByCssSelector([data-test-subj~="globalTimepickerButton"])
[00:08:21]                   │ debg findByCssSelector [data-test-subj~="globalTimepickerButton"]
[00:08:21]                   │ debg TestSubjects.exists(timePicker)
[00:08:21]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:21]                   │ debg --Clicking Absolute button
[00:08:21]                   │ debg showAbsoluteSection
[00:08:21]                   │ debg isAbsoluteSectionShowing
[00:08:21]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg TestSubjects.click(timepicker-absolute-button)
[00:08:24]                   │ debg clickByCssSelector([data-test-subj~="timepicker-absolute-button"])
[00:08:24]                   │ debg findByCssSelector [data-test-subj~="timepicker-absolute-button"]
[00:08:24]                   │ debg getFromTime
[00:08:24]                   │ debg ensureTimePickerIsOpen
[00:08:24]                   │ debg TestSubjects.exists(timePicker)
[00:08:24]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:24]                   │ debg showAbsoluteSection
[00:08:24]                   │ debg isAbsoluteSectionShowing
[00:08:24]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg findByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg --Setting From Time : 2015-09-19 06:31:44.000
[00:08:24]                   │ debg setFromTime: 2015-09-19 06:31:44.000
[00:08:24]                   │ debg ensureTimePickerIsOpen
[00:08:24]                   │ debg TestSubjects.exists(timePicker)
[00:08:24]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:24]                   │ debg showAbsoluteSection
[00:08:24]                   │ debg isAbsoluteSectionShowing
[00:08:24]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg find.setValue(input[ng-model='absolute.from'], 2015-09-19 06:31:44.000)
[00:08:24]                   │ debg findByCssSelector input[ng-model='absolute.from']
[00:08:25]                   │ debg --Setting To Time : 2015-09-22 18:31:44.000
[00:08:25]                   │ debg setToTime: 2015-09-22 18:31:44.000
[00:08:25]                   │ debg ensureTimePickerIsOpen
[00:08:25]                   │ debg TestSubjects.exists(timePicker)
[00:08:25]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:25]                   │ debg showAbsoluteSection
[00:08:25]                   │ debg isAbsoluteSectionShowing
[00:08:25]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:25]                   │ debg find.setValue(input[ng-model='absolute.to'], 2015-09-22 18:31:44.000)
[00:08:25]                   │ debg findByCssSelector input[ng-model='absolute.to']
[00:08:25]                   │ debg clickGoButton
[00:08:25]                   │ debg TestSubjects.click(timepickerGoButton)
[00:08:25]                   │ debg clickByCssSelector([data-test-subj~="timepickerGoButton"])
[00:08:25]                   │ debg findByCssSelector [data-test-subj~="timepickerGoButton"]
[00:08:25]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:25]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:25]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:25]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:25]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:25]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:25]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:26]                 └-> should show the correct count in the legend
[00:08:26]                   └-> "before each" hook: global before each
[00:08:26]                   │ debg findByCssSelector .tvbLegend__itemValue
[00:08:26]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  visual builder Time Series should show the correct count in the legend.png"
[00:08:26]                   │ info Current URL is: http://localhost:61121/app/kibana#/visualize/create?type=metrics&_g=(refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,mode:absolute,to:%272015-09-22T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:lucene,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,default_index_pattern:%27logstash-*%27,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:%27%27,interval:auto,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:count)),point_size:1,separate_axis:0,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27@timestamp%27,type:timeseries),title:%27New%20Visualization%27,type:metrics))
[00:08:26]                   │ info Browser output is: http://localhost:61121/app/kibana?_t=1587567396764#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567396764#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567447700#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567447700#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567457884#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567457884#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567487895#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567487895#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567497483#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567497483#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567523701#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567523701#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567618863#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567618863#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567675615#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567675615#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567730794#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567730794#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567776340#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567776340#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567819490#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567819490#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js 239 Error: <rect> attribute y: Expected length, "NaN".
[00:08:26]                   │      http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js 239 Error: <rect> attribute height: Expected length, "NaN".
[00:08:26]                   │      http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js 306:155546 TypeError: Cannot read property 'type' of undefined
[00:08:26]                   │          at http://localhost:61121/bundles/commons.bundle.js:16291:23
[00:08:26]                   │          at http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:21146
[00:08:26]                   │          at http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:34879
[00:08:26]                   │          at baseFind (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:21092)
[00:08:26]                   │          at Function.findLast (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:37581)
[00:08:26]                   │          at checkBuckets (http://localhost:61121/bundles/commons.bundle.js:16290:39)
[00:08:26]                   │          at updateOrderAgg (http://localhost:61121/bundles/commons.bundle.js:16325:5)
[00:08:26]                   │          at Scope.$digest (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:307:210996)
[00:08:26]                   │          at ChildScope.$apply (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:307:213219)
[00:08:26]                   │          at HTMLLIElement.<anonymous> (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:307:273921)
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567853962#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567853962#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │
[00:08:26]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  visual builder Time Series should show the correct count in the legend.html
[00:08:26]                   └- ✖ fail: "visualize app  visual builder Time Series should show the correct count in the legend"
[00:08:26]                   │      Error: expected '0' to equal '156'
[00:08:26]                   │       at Assertion.assert (node_modules/expect.js/index.js:96:13)
[00:08:26]                   │       at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
[00:08:26]                   │       at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24)
[00:08:26]                   │       at Context.<anonymous> (test/functional/apps/visualize/_tsvb_chart.js:38:32)
[00:08:26]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:08:26]                   │ 
[00:08:26]                   │ 

      

Stack Trace


        Error: expected '0' to equal '156'
    at Assertion.assert (node_modules/expect.js/index.js:96:13)
    at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
    at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24)
    at Context.<anonymous> (test/functional/apps/visualize/_tsvb_chart.js:38:32)
    at process._tickCallback (internal/process/next_tick.js:68:7)
      

Kibana Pipeline / kibana-oss-agent / UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·js.visualize app visual builder Time Series "after all" hook

Link to Jenkins

Standard Out


        [00:00:00]       │
[00:00:00]         └-: visualize app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg Starting visualize before method
[00:00:00]             │ info [logstash_functional] Loading "mappings.json"
[00:00:00]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:10]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:10]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:10]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:10]             │ info [visualize] Loading "mappings.json"
[00:00:10]             │ info [visualize] Loading "data.json.gz"
[00:00:10]             │ info [o.e.c.m.MetaDataDeleteIndexService] [xd1ep69] [.kibana_1/N6M7ew_ZSoeWt3TFyo_2aw] deleting index
[00:00:10]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:10]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana] creating index, cause [api], templates [kibana_index_template:.kibana], shards [1]/[1], mappings [doc]
[00:00:10]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]] ...]).
[00:00:11]             │ info [visualize] Created index ".kibana"
[00:00:11]             │ debg [visualize] ".kibana" settings {"index":{"number_of_shards":"1","number_of_replicas":"1"}}
[00:00:11]             │ info [visualize] Indexed 3 docs into ".kibana"
[00:00:27]             │ info [migrations] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]] ...]).
[00:00:27]             │ info [migrations] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]] ...]).
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.tasks]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]] ...]).
[00:00:27]             │ info [o.e.t.LoggingTaskListener] [xd1ep69] 271 finished with response BulkByScrollResponse[took=72.8ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:27]             │ info [o.e.c.m.MetaDataDeleteIndexService] [xd1ep69] [.kibana/NvlHwz1IQFeN8tuWkONyeQ] deleting index
[00:00:27]             │ info [migrations] Migrating .kibana_1 saved objects to .kibana_2
[00:00:27]             │ debg [migrations] Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, visualization:Shared-Item-Visualization-AreaChart
[00:00:27]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:27]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:27]             │ info [migrations] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ info [migrations] Finished in 592ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:29]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:30]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:31]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:32]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:33]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:33]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:33]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:34]             └-> "before all" hook
[00:08:11]             └-: visual builder
[00:08:11]               └-> "before all" hook
[00:08:11]               └-: Time Series
[00:08:11]                 └-> "before all" hook
[00:08:11]                 └-> "before all" hook
[00:08:11]                   │ debg navigateToApp visualize
[00:08:11]                   │ debg navigateToApp visualize
[00:08:11]                   │ debg navigating to visualize url: http://localhost:61121/app/kibana#/visualize
[00:08:11]                   │ debg navigate to: http://localhost:61121/app/kibana#/visualize
[00:08:12]                   │ debg ... sleep(700) start
[00:08:12]                   │ debg ... sleep(700) end
[00:08:12]                   │ debg returned from get, calling refresh
[00:08:12]                   │ debg currentUrl = http://localhost:61121/app/kibana#/visualize
[00:08:12]                   │          appUrl = http://localhost:61121/app/kibana#/visualize
[00:08:12]                   │ debg findByCssSelector [data-test-subj="kibanaChrome"]
[00:08:14]                   │ debg TestSubjects.find(kibanaChrome)
[00:08:14]                   │ debg findByCssSelector [data-test-subj~="kibanaChrome"]
[00:08:14]                   │ debg ... sleep(501) start
[00:08:15]                   │ debg ... sleep(501) end
[00:08:15]                   │ debg in navigateTo url = http://localhost:61121/app/kibana#/visualize?_g=()
[00:08:15]                   │ debg TestSubjects.exists(statusPageContainer)
[00:08:15]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="statusPageContainer"]
[00:08:17]                   │ debg TestSubjects.click(createNewVis)
[00:08:17]                   │ debg clickByCssSelector([data-test-subj~="createNewVis"])
[00:08:17]                   │ debg findByCssSelector [data-test-subj~="createNewVis"]
[00:08:18]                   │ debg TestSubjects.find(visNewDialogTypes)
[00:08:18]                   │ debg findByCssSelector [data-test-subj~="visNewDialogTypes"]
[00:08:18]                   │ debg clickVisualBuilderChart
[00:08:18]                   │ debg TestSubjects.click(visType-metrics)
[00:08:18]                   │ debg clickByCssSelector([data-test-subj~="visType-metrics"])
[00:08:18]                   │ debg findByCssSelector [data-test-subj~="visType-metrics"]
[00:08:18]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:18]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:18]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
[00:08:18]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:18]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:18]                   │ debg Set absolute time range from "2015-09-19 06:31:44.000" to "2015-09-22 18:31:44.000"
[00:08:18]                   │ debg Setting absolute range to 2015-09-19 06:31:44.000 to 2015-09-22 18:31:44.000
[00:08:18]                   │ debg ensureTimePickerIsOpen
[00:08:18]                   │ debg TestSubjects.exists(timePicker)
[00:08:18]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:21]                   │ debg TestSubjects.click(globalTimepickerButton)
[00:08:21]                   │ debg clickByCssSelector([data-test-subj~="globalTimepickerButton"])
[00:08:21]                   │ debg findByCssSelector [data-test-subj~="globalTimepickerButton"]
[00:08:21]                   │ debg TestSubjects.exists(timePicker)
[00:08:21]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:21]                   │ debg --Clicking Absolute button
[00:08:21]                   │ debg showAbsoluteSection
[00:08:21]                   │ debg isAbsoluteSectionShowing
[00:08:21]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg TestSubjects.click(timepicker-absolute-button)
[00:08:24]                   │ debg clickByCssSelector([data-test-subj~="timepicker-absolute-button"])
[00:08:24]                   │ debg findByCssSelector [data-test-subj~="timepicker-absolute-button"]
[00:08:24]                   │ debg getFromTime
[00:08:24]                   │ debg ensureTimePickerIsOpen
[00:08:24]                   │ debg TestSubjects.exists(timePicker)
[00:08:24]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:24]                   │ debg showAbsoluteSection
[00:08:24]                   │ debg isAbsoluteSectionShowing
[00:08:24]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg findByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg --Setting From Time : 2015-09-19 06:31:44.000
[00:08:24]                   │ debg setFromTime: 2015-09-19 06:31:44.000
[00:08:24]                   │ debg ensureTimePickerIsOpen
[00:08:24]                   │ debg TestSubjects.exists(timePicker)
[00:08:24]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:24]                   │ debg showAbsoluteSection
[00:08:24]                   │ debg isAbsoluteSectionShowing
[00:08:24]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:24]                   │ debg find.setValue(input[ng-model='absolute.from'], 2015-09-19 06:31:44.000)
[00:08:24]                   │ debg findByCssSelector input[ng-model='absolute.from']
[00:08:25]                   │ debg --Setting To Time : 2015-09-22 18:31:44.000
[00:08:25]                   │ debg setToTime: 2015-09-22 18:31:44.000
[00:08:25]                   │ debg ensureTimePickerIsOpen
[00:08:25]                   │ debg TestSubjects.exists(timePicker)
[00:08:25]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="timePicker"]
[00:08:25]                   │ debg showAbsoluteSection
[00:08:25]                   │ debg isAbsoluteSectionShowing
[00:08:25]                   │ debg existsByCssSelector input[ng-model='absolute.from']
[00:08:25]                   │ debg find.setValue(input[ng-model='absolute.to'], 2015-09-22 18:31:44.000)
[00:08:25]                   │ debg findByCssSelector input[ng-model='absolute.to']
[00:08:25]                   │ debg clickGoButton
[00:08:25]                   │ debg TestSubjects.click(timepickerGoButton)
[00:08:25]                   │ debg clickByCssSelector([data-test-subj~="timepickerGoButton"])
[00:08:25]                   │ debg findByCssSelector [data-test-subj~="timepickerGoButton"]
[00:08:25]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:25]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:25]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:25]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:25]                   │ debg isGlobalLoadingIndicatorVisible
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:08:25]                   │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
[00:08:25]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:08:25]                   │ debg existsByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
[00:08:26]                 └-> should show the correct count in the legend
[00:08:26]                   └-> "before each" hook: global before each
[00:08:26]                   │ debg findByCssSelector .tvbLegend__itemValue
[00:08:26]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  visual builder Time Series should show the correct count in the legend.png"
[00:08:26]                   │ info Current URL is: http://localhost:61121/app/kibana#/visualize/create?type=metrics&_g=(refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,mode:absolute,to:%272015-09-22T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:lucene,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,default_index_pattern:%27logstash-*%27,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:%27%27,interval:auto,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:count)),point_size:1,separate_axis:0,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27@timestamp%27,type:timeseries),title:%27New%20Visualization%27,type:metrics))
[00:08:26]                   │ info Browser output is: http://localhost:61121/app/kibana?_t=1587567396764#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567396764#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567447700#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567447700#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567457884#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567457884#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567487895#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567487895#/management 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567497483#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567497483#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567523701#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567523701#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567618863#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567618863#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567675615#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567675615#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567730794#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567730794#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567776340#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567776340#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567819490#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567819490#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js 239 Error: <rect> attribute y: Expected length, "NaN".
[00:08:26]                   │      http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js 239 Error: <rect> attribute height: Expected length, "NaN".
[00:08:26]                   │      http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js 306:155546 TypeError: Cannot read property 'type' of undefined
[00:08:26]                   │          at http://localhost:61121/bundles/commons.bundle.js:16291:23
[00:08:26]                   │          at http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:21146
[00:08:26]                   │          at http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:34879
[00:08:26]                   │          at baseFind (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:21092)
[00:08:26]                   │          at Function.findLast (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:32:37581)
[00:08:26]                   │          at checkBuckets (http://localhost:61121/bundles/commons.bundle.js:16290:39)
[00:08:26]                   │          at updateOrderAgg (http://localhost:61121/bundles/commons.bundle.js:16325:5)
[00:08:26]                   │          at Scope.$digest (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:307:210996)
[00:08:26]                   │          at ChildScope.$apply (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:307:213219)
[00:08:26]                   │          at HTMLLIElement.<anonymous> (http://localhost:61121/built_assets/dlls/vendors.bundle.dll.js:307:273921)
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567853962#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │      http://localhost:61121/app/kibana?_t=1587567853962#/visualize 185 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-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.
[00:08:26]                   │
[00:08:26]                   │
[00:08:26]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  visual builder Time Series should show the correct count in the legend.html
[00:08:26]                   └- ✖ fail: "visualize app  visual builder Time Series should show the correct count in the legend"
[00:08:26]                   │      Error: expected '0' to equal '156'
[00:08:26]                   │       at Assertion.assert (node_modules/expect.js/index.js:96:13)
[00:08:26]                   │       at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
[00:08:26]                   │       at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24)
[00:08:26]                   │       at Context.<anonymous> (test/functional/apps/visualize/_tsvb_chart.js:38:32)
[00:08:26]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:08:26]                   │ 
[00:08:26]                   │ 
[00:08:26]                 └-> "after all" hook
[00:08:26]                   │ debg TestSubjects.find(offsetTimeSeries)
[00:08:26]                   │ debg findByCssSelector [data-test-subj~="offsetTimeSeries"]
[00:08:27]                   │ debg --- retry.try error: [POST http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/element / {"using":"css selector","value":"[data-test-subj~=\"offsetTimeSeries\"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj~="offsetTimeSeries"]"}
[00:08:27]                   │        (Session info: headless chrome=81.0.4044.122)
[00:08:27]                   │        (Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}),platform=Linux 5.0.0-1034-gcp x86_64)
[00:08:28]                   │ debg --- retry.try failed again with the same message...
[00:08:30]                   │ debg --- retry.try failed again with the same message...
[00:08:31]                   │ debg --- retry.try failed again with the same message...
[00:08:33]                   │ debg --- retry.try failed again with the same message...
[00:08:34]                   │ debg --- retry.try failed again with the same message...
[00:08:36]                   │ debg --- retry.try failed again with the same message...
[00:08:37]                   │ debg --- retry.try failed again with the same message...
[00:08:39]                   │ debg --- retry.try failed again with the same message...
[00:08:40]                   │ debg --- retry.try failed again with the same message...
[00:08:42]                   │ debg --- retry.try failed again with the same message...
[00:08:44]                   │ debg --- retry.try failed again with the same message...
[00:08:45]                   │ debg --- retry.try failed again with the same message...
[00:08:47]                   │ debg --- retry.try failed again with the same message...
[00:08:48]                   │ debg --- retry.try failed again with the same message...
[00:08:50]                   │ debg --- retry.try failed again with the same message...
[00:08:51]                   │ debg --- retry.try failed again with the same message...
[00:08:53]                   │ debg --- retry.try failed again with the same message...
[00:08:54]                   │ debg --- retry.try failed again with the same message...
[00:08:56]                   │ debg --- retry.try failed again with the same message...
[00:08:57]                   │ debg --- retry.try failed again with the same message...
[00:08:59]                   │ debg --- retry.try failed again with the same message...
[00:09:00]                   │ debg --- retry.try failed again with the same message...
[00:09:02]                   │ debg --- retry.try failed again with the same message...
[00:09:03]                   │ debg --- retry.try failed again with the same message...
[00:09:05]                   │ debg --- retry.try failed again with the same message...
[00:09:06]                   │ debg --- retry.try failed again with the same message...
[00:09:07]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/visualize app  visual builder Time Series _after all_ hook.png"
[00:09:07]                   │ info Current URL is: http://localhost:61121/app/kibana#/visualize/create?type=metrics&_g=(refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,mode:absolute,to:%272015-09-22T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:lucene,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,default_index_pattern:%27logstash-*%27,id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:%27%27,interval:auto,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:count)),point_size:1,separate_axis:0,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27@timestamp%27,type:timeseries),title:%27New%20Visualization%27,type:metrics))
[00:09:07]                   │ info Browser output is: 
[00:09:07]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/visualize app  visual builder Time Series _after all_ hook.html
[00:09:07]                   └- ✖ fail: "visualize app  visual builder Time Series "after all" hook"
[00:09:07]                   │      retry.try timeout: [POST http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/element / {"using":"css selector","value":"[data-test-subj~=\"offsetTimeSeries\"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj~="offsetTimeSeries"]"}
[00:09:07]                   │   (Session info: headless chrome=81.0.4044.122)
[00:09:07]                   │   (Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}),platform=Linux 5.0.0-1034-gcp x86_64)
[00:09:07]                   │     at Server._post (/dev/shm/workspace/kibana/test/functional/services/remote/verbose_remote_logging.js:34:21)
[00:09:07]                   │     at runRequest (/dev/shm/workspace/kibana/node_modules/leadfoot/Session.js:92:40)
[00:09:07]                   │     at /dev/shm/workspace/kibana/node_modules/leadfoot/Session.js:113:39
[00:09:07]                   │     at new Promise (/dev/shm/workspace/kibana/node_modules/dojo/_debug/Promise.ts:411:4)
[00:09:07]                   │     at Session._post (/dev/shm/workspace/kibana/node_modules/leadfoot/Session.js:67:10)
[00:09:07]                   │     at Session.find (/dev/shm/workspace/kibana/node_modules/leadfoot/Session.js:1337:15)
[00:09:07]                   │     at Command.<anonymous> (/dev/shm/workspace/kibana/node_modules/leadfoot/Command.js:42:36)
[00:09:07]                   │     at /dev/shm/workspace/kibana/node_modules/dojo/_debug/Promise.ts:393:16
[00:09:07]                   │     at run (/dev/shm/workspace/kibana/node_modules/dojo/_debug/Promise.ts:237:8)
[00:09:07]                   │     at /dev/shm/workspace/kibana/node_modules/dojo/_debug/nextTick.ts:44:4
[00:09:07]                   │     at process._tickCallback (internal/process/next_tick.js:61:11)
[00:09:07]                   │     at Command.find (/dev/shm/workspace/kibana/node_modules/leadfoot/Command.js:23:10)
[00:09:07]                   │     at Command.prototype.(anonymous function) [as findByCssSelector] (/dev/shm/workspace/kibana/node_modules/leadfoot/lib/strategies.js:29:16)
[00:09:07]                   │     at _ensureElementWithTimeout (/dev/shm/workspace/kibana/test/functional/services/find.js:83:36)
[00:09:07]                   │     at retry.try (/dev/shm/workspace/kibana/test/functional/services/find.js:63:33)
[00:09:07]                   │     at runAttempt (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.js:39:21)
[00:09:07]                   │     at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.js:67:37)
[00:09:07]                   │   Error: retry.try timeout: [POST http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/element / {"using":"css selector","value":"[data-test-subj~=\"offsetTimeSeries\"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj~="offsetTimeSeries"]"}
[00:09:07]                   │     (Session info: headless chrome=81.0.4044.122)
[00:09:07]                   │     (Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}),platform=Linux 5.0.0-1034-gcp x86_64)
[00:09:07]                   │       at Server._post (test/functional/services/remote/verbose_remote_logging.js:34:21)
[00:09:07]                   │       at runRequest (node_modules/leadfoot/Session.js:92:40)
[00:09:07]                   │       at node_modules/leadfoot/Session.js:113:39
[00:09:07]                   │       at new Promise (node_modules/dojo/_debug/Promise.ts:411:4)
[00:09:07]                   │       at Session._post (node_modules/leadfoot/Session.js:67:10)
[00:09:07]                   │       at Session.find (node_modules/leadfoot/Session.js:1337:15)
[00:09:07]                   │       at Command.<anonymous> (node_modules/leadfoot/Command.js:42:36)
[00:09:07]                   │       at node_modules/dojo/_debug/Promise.ts:393:16
[00:09:07]                   │       at run (node_modules/dojo/_debug/Promise.ts:237:8)
[00:09:07]                   │       at node_modules/dojo/_debug/nextTick.ts:44:4
[00:09:07]                   │       at process._tickCallback (internal/process/next_tick.js:61:11)
[00:09:07]                   │       at Command.find (node_modules/leadfoot/Command.js:23:10)
[00:09:07]                   │       at Command.prototype.(anonymous function) [as findByCssSelector] (node_modules/leadfoot/lib/strategies.js:29:16)
[00:09:07]                   │       at _ensureElementWithTimeout (test/functional/services/find.js:83:36)
[00:09:07]                   │       at retry.try (test/functional/services/find.js:63:33)
[00:09:07]                   │       at runAttempt (test/common/services/retry/retry_for_success.js:39:21)
[00:09:07]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.js:67:37)
[00:09:07]                   │       at lastError (test/common/services/retry/retry_for_success.js:29:9)
[00:09:07]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.js:63:13)
[00:09:07]                   │ 
[00:09:07]                   │ 

      

Stack Trace


        Error: retry.try timeout: [POST http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/element / {"using":"css selector","value":"[data-test-subj~=\"offsetTimeSeries\"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj~="offsetTimeSeries"]"}
  (Session info: headless chrome=81.0.4044.122)
  (Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}),platform=Linux 5.0.0-1034-gcp x86_64)
    at Server._post (test/functional/services/remote/verbose_remote_logging.js:34:21)
    at runRequest (node_modules/leadfoot/Session.js:92:40)
    at node_modules/leadfoot/Session.js:113:39
    at new Promise (node_modules/dojo/_debug/Promise.ts:411:4)
    at Session._post (node_modules/leadfoot/Session.js:67:10)
    at Session.find (node_modules/leadfoot/Session.js:1337:15)
    at Command.<anonymous> (node_modules/leadfoot/Command.js:42:36)
    at node_modules/dojo/_debug/Promise.ts:393:16
    at run (node_modules/dojo/_debug/Promise.ts:237:8)
    at node_modules/dojo/_debug/nextTick.ts:44:4
    at process._tickCallback (internal/process/next_tick.js:61:11)
    at Command.find (node_modules/leadfoot/Command.js:23:10)
    at Command.prototype.(anonymous function) [as findByCssSelector] (node_modules/leadfoot/lib/strategies.js:29:16)
    at _ensureElementWithTimeout (test/functional/services/find.js:83:36)
    at retry.try (test/functional/services/find.js:63:33)
    at runAttempt (test/common/services/retry/retry_for_success.js:39:21)
    at retryForSuccess (test/common/services/retry/retry_for_success.js:67:37)
    at lastError (test/common/services/retry/retry_for_success.js:29:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.js:63:13)
      

Kibana Pipeline / kibana-oss-agent / UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·js.visualize app visual builder "after all" hook

Link to Jenkins

Standard Out


        [00:00:00]       │
[00:00:00]         └-: visualize app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ debg Starting visualize before method
[00:00:00]             │ info [logstash_functional] Loading "mappings.json"
[00:00:00]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:00]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0], mappings [doc]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]] ...]).
[00:00:00]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"number_of_shards":"1","analysis":{"analyzer":{"url":{"type":"standard","max_token_length":"1000","tokenizer":"uax_url_email"}}},"number_of_replicas":"0"}}
[00:00:10]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:10]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:10]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:10]             │ info [visualize] Loading "mappings.json"
[00:00:10]             │ info [visualize] Loading "data.json.gz"
[00:00:10]             │ info [o.e.c.m.MetaDataDeleteIndexService] [xd1ep69] [.kibana_1/N6M7ew_ZSoeWt3TFyo_2aw] deleting index
[00:00:10]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:10]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana] creating index, cause [api], templates [kibana_index_template:.kibana], shards [1]/[1], mappings [doc]
[00:00:10]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]] ...]).
[00:00:11]             │ info [visualize] Created index ".kibana"
[00:00:11]             │ debg [visualize] ".kibana" settings {"index":{"number_of_shards":"1","number_of_replicas":"1"}}
[00:00:11]             │ info [visualize] Indexed 3 docs into ".kibana"
[00:00:27]             │ info [migrations] Creating index .kibana_2.
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]] ...]).
[00:00:27]             │ info [migrations] Reindexing .kibana to .kibana_1
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [doc]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]] ...]).
[00:00:27]             │ info [o.e.c.m.MetaDataCreateIndexService] [xd1ep69] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1], mappings [task]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] updating number_of_replicas to [0] for indices [.tasks]
[00:00:27]             │ info [o.e.c.r.a.AllocationService] [xd1ep69] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.tasks][0]] ...]).
[00:00:27]             │ info [o.e.t.LoggingTaskListener] [xd1ep69] 271 finished with response BulkByScrollResponse[took=72.8ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:27]             │ info [o.e.c.m.MetaDataDeleteIndexService] [xd1ep69] [.kibana/NvlHwz1IQFeN8tuWkONyeQ] deleting index
[00:00:27]             │ info [migrations] Migrating .kibana_1 saved objects to .kibana_2
[00:00:27]             │ debg [migrations] Migrating saved objects index-pattern:logstash-*, index-pattern:logstash*, visualization:Shared-Item-Visualization-AreaChart
[00:00:27]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:27]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:27]             │ info [migrations] Pointing alias .kibana to .kibana_2.
[00:00:28]             │ info [migrations] Finished in 592ms.
[00:00:28]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","telemetry:optIn":false}
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:28]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:29]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:30]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:31]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:32]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:33]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:33]             │ info [o.e.c.m.MetaDataIndexTemplateService] [xd1ep69] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
[00:00:33]             │ info [o.e.c.m.MetaDataMappingService] [xd1ep69] [.kibana_2/CKU2wo4ZR324gOKFXdYrEA] update_mapping [doc]
[00:00:34]             └-> "before all" hook
[00:08:11]             └-: visual builder
[00:08:11]               └-> "before all" hook

      

Stack Trace


        { [GET http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/url] invalid session id
    at Server._get (test/functional/services/remote/verbose_remote_logging.js:34:21)
    at runRequest (node_modules/leadfoot/Session.js:92:40)
    at getFinalValue (node_modules/dojo/_debug/Promise.ts:462:22)
    at node_modules/dojo/_debug/Promise.ts:482:11
    at node_modules/dojo/_debug/Promise.ts:393:16
    at runCallbacks (node_modules/dojo/_debug/Promise.ts:11:12)
    at node_modules/dojo/_debug/Promise.ts:317:5
    at run (node_modules/dojo/_debug/Promise.ts:237:8)
    at node_modules/dojo/_debug/nextTick.ts:44:4
    at process._tickCallback (internal/process/next_tick.js:61:11)
    at Proxy.target.(anonymous function) (node_modules/leadfoot/Command.js:610:11)
    at BrowserService.getCurrentUrl (test/functional/services/browser.js:59:38)
    at logCurrentUrl (test/functional/services/failure_debugging.js:41:38)
    at onFailure (test/functional/services/failure_debugging.js:65:7)
    at Promise.all.listeners.(anonymous function).map (src/functional_test_runner/lib/lifecycle.js:55:29)
    at Array.map (<anonymous>)
    at Lifecycle.trigger (src/functional_test_runner/lib/lifecycle.js:54:43)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  message:
   '[GET http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/url] invalid session id',
  status: undefined,
  detail:
   { error: 'invalid session id',
     message: 'invalid session id',
     stacktrace: '#0 0x559e913885b9 <unknown>\n' },
  request:
   { url:
      'http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/url',
     method: 'GET',
     data: undefined },
  response:
   { data:
      <Buffer 7b 22 76 61 6c 75 65 22 3a 7b 22 65 72 72 6f 72 22 3a 22 69 6e 76 61 6c 69 64 20 73 65 73 73 69 6f 6e 20 69 64 22 2c 22 6d 65 73 73 61 67 65 22 3a 22 ... >,
     getHeader: [Function: getHeader],
     requestOptions:
      { followRedirects: false,
        handleAs: 'text',
        headers: [Object],
        method: 'GET' },
     statusCode: 404,
     url:
      'http://localhost:4456/session/d3123d60acabf25d988cbc49c9458415/url',
     nativeResponse:
      IncomingMessage {
        _readableState: [ReadableState],
        readable: false,
        _events: [Object],
        _eventsCount: 2,
        _maxListeners: undefined,
        socket: [Socket],
        connection: [Socket],
        httpVersionMajor: 1,
        httpVersionMinor: 1,
        httpVersion: '1.1',
        complete: true,
        headers: [Object],
        rawHeaders: [Array],
        trailers: {},
        rawTrailers: [],
        aborted: false,
        upgrade: false,
        url: '',
        method: null,
        statusCode: 404,
        statusMessage: 'Not Found',
        client: [Socket],
        _consuming: false,
        _dumped: false,
        req: [ClientRequest] } } }
      

and 2 more failures, only showing the first 3.

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

@mistic mistic merged commit 0aea444 into elastic:6.8 Apr 22, 2020
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