Skip to content

fix(NA): do not include fs module within a storybook build#93294

Merged
mistic merged 1 commit intoelastic:masterfrom
mistic:fix-storybook-build-for-apm
Mar 2, 2021
Merged

fix(NA): do not include fs module within a storybook build#93294
mistic merged 1 commit intoelastic:masterfrom
mistic:fix-storybook-build-for-apm

Conversation

@mistic
Copy link
Contributor

@mistic mistic commented Mar 2, 2021

It fixes a problem @smith found when running yarn storybook apm by setting the fs module to empty during the webpack compilation of a storybook.

@mistic mistic added chore Team:Operations Kibana-Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.13.0 auto-backport Deprecated - use backport:version if exact versions are needed v7.12.1 labels Mar 2, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@mistic mistic changed the title chore(NA): do not include fs module within a storybook build fix(NA): do not include fs module within a storybook build Mar 2, 2021
@mistic mistic enabled auto-merge (squash) March 2, 2021 19:53
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/visualize/_heatmap_chart·ts.visualize app heatmap chart should show 6 color ranges if changed on options

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: visualize app
[00:00:00]           └-> "before all" hook in "visualize app"
[00:00:00]           └-> "before all" hook in "visualize app"
[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] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" 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":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" 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":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" 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":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:10]             │ info progress: 9018
[00:00:13]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:13]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:13]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:14]             │ info [long_window_logstash] Loading "mappings.json"
[00:00:14]             │ info [long_window_logstash] Loading "data.json.gz"
[00:00:14]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:14]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]])." previous.health="YELLOW" reason="shards started [[long-window-logstash-0][0]]"
[00:00:14]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:00:14]             │ debg [long_window_logstash] "long-window-logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:24]             │ info progress: 9934
[00:00:28]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:00:28]             │ info [visualize] Loading "mappings.json"
[00:00:28]             │ info [visualize] Loading "data.json"
[00:00:28]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_001/0hEnZwhrQUmq3grGwWHk5Q] deleting index
[00:00:28]             │ info [visualize] Deleted existing index ".kibana_8.0.0_001"
[00:00:28]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:29]             │ info [visualize] Created index ".kibana"
[00:00:29]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana/s-Kihy_4TtOuzHTHJ6Rj0g] update_mapping [_doc]
[00:00:29]             │ info [visualize] Indexed 13 docs into ".kibana"
[00:00:29]             │ debg Migrating saved objects
[00:00:29]             │ proc [kibana]   log   [20:26:31.410] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:29]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] adding block write to indices [[.kibana/s-Kihy_4TtOuzHTHJ6Rj0g]]
[00:00:29]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] completed adding block write to indices [.kibana]
[00:00:29]             │ proc [kibana]   log   [20:26:31.483] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:00:29]             │ proc [kibana]   log   [20:26:31.572] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:29]             │ proc [kibana]   log   [20:26:31.605] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.tasks] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] updating number_of_replicas to [0] for indices [.tasks]
[00:00:29]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] 1624 finished with response BulkByScrollResponse[took=89.7ms,timed_out=false,sliceId=null,updated=0,created=13,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:29]             │ proc [kibana]   log   [20:26:31.837] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:29]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana/s-Kihy_4TtOuzHTHJ6Rj0g] deleting index
[00:00:29]             │ proc [kibana]   log   [20:26:31.881] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:29]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] adding block write to indices [[.kibana_pre6.5.0_001/3WymV7cVThyxP_TceQ1Tzw]]
[00:00:29]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:00:29]             │ proc [kibana]   log   [20:26:31.937] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_reindex_temp][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_reindex_temp][0]]"
[00:00:29]             │ proc [kibana]   log   [20:26:32.021] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:29]             │ proc [kibana]   log   [20:26:32.028] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_reindex_temp/zmHv9rRWSmOi4t2aid9PpA] update_mapping [_doc]
[00:00:29]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] 1669 finished with response BulkByScrollResponse[took=61.1ms,timed_out=false,sliceId=null,updated=0,created=13,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:29]             │ proc [kibana]   log   [20:26:32.141] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:29]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] adding block write to indices [[.kibana_8.0.0_reindex_temp/zmHv9rRWSmOi4t2aid9PpA]]
[00:00:29]             │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:00:29]             │ proc [kibana]   log   [20:26:32.195] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:00:29]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:29]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:00:29]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_001/LOd6alyZQCqLiLoWmGQa5w] create_mapping
[00:00:30]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_8.0.0_001][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_8.0.0_001][0]]"
[00:00:30]             │ proc [kibana]   log   [20:26:32.367] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:30]             │ proc [kibana]   log   [20:26:32.406] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:00:30]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_001/LOd6alyZQCqLiLoWmGQa5w] update_mapping [_doc]
[00:00:31]             │ proc [kibana]   log   [20:26:33.275] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:00:31]             │ proc [kibana]   log   [20:26:33.287] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_001/LOd6alyZQCqLiLoWmGQa5w] update_mapping [_doc]
[00:00:31]             │ proc [kibana]   log   [20:26:33.345] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:31]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] 1736 finished with response BulkByScrollResponse[took=44.1ms,timed_out=false,sliceId=null,updated=13,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:31]             │ proc [kibana]   log   [20:26:33.454] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:31]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_reindex_temp/zmHv9rRWSmOi4t2aid9PpA] deleting index
[00:00:31]             │ proc [kibana]   log   [20:26:33.499] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:00:31]             │ proc [kibana]   log   [20:26:33.500] [info][savedobjects-service] [.kibana] Migration completed after 2099ms
[00:00:31]             │ debg [visualize] Migrated Kibana index after loading Kibana data
[00:00:31]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:00:31]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614714770759550490] [.kibana_8.0.0_001/LOd6alyZQCqLiLoWmGQa5w] update_mapping [_doc]
[00:00:33]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:00:34]           └-: 
[00:00:34]             └-> "before all" hook in ""
[00:05:31]             └-: heatmap chart
[00:05:31]               └-> "before all" hook for "should save and load"
[00:05:31]               └-> "before all" hook for "should save and load"
[00:05:31]                 │ debg navigateToApp visualize
[00:05:31]                 │ debg navigating to visualize url: http://localhost:6171/app/visualize#/
[00:05:31]                 │ debg navigate to: http://localhost:6171/app/visualize#/
[00:05:31]                 │ debg ... sleep(700) start
[00:05:31]                 │ debg browser[INFO] http://localhost:6171/app/visualize?_t=1614717094039#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:31]                 │
[00:05:31]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:32]                 │ debg ... sleep(700) end
[00:05:32]                 │ debg returned from get, calling refresh
[00:05:32]                 │ERROR browser[SEVERE] http://localhost:6171/40953/bundles/core/core.entry.js 12:82084 TypeError: Failed to fetch
[00:05:32]                 │          at fetch_Fetch.fetchResponse (http://localhost:6171/40953/bundles/core/core.entry.js:6:32451)
[00:05:32]                 │          at async interceptResponse (http://localhost:6171/40953/bundles/core/core.entry.js:6:28637)
[00:05:32]                 │          at async http://localhost:6171/40953/bundles/core/core.entry.js:6:31117
[00:05:32]                 │ debg browser[INFO] http://localhost:6171/app/visualize?_t=1614717094039#/ 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:32]                 │
[00:05:32]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:33]                 │ debg currentUrl = http://localhost:6171/app/visualize#/
[00:05:33]                 │          appUrl = http://localhost:6171/app/visualize#/
[00:05:33]                 │ debg TestSubjects.find(kibanaChrome)
[00:05:33]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:05:33]                 │ debg ... sleep(501) start
[00:05:33]                 │ debg ... sleep(501) end
[00:05:33]                 │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:05:33]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:05:34]                 │ debg ... sleep(501) start
[00:05:34]                 │ debg ... sleep(501) end
[00:05:34]                 │ debg in navigateTo url = http://localhost:6171/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:05:34]                 │ debg TestSubjects.exists(statusPageContainer)
[00:05:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:05:37]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:05:37]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:37]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:39]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:39]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:39]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:39]                 │ debg TestSubjects.exists(newItemButton)
[00:05:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:05:39]                 │ debg TestSubjects.click(newItemButton)
[00:05:39]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:05:39]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:05:40]                 │ debg TestSubjects.click(visGroupAggBasedExploreLink)
[00:05:40]                 │ debg Find.clickByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:05:40]                 │ debg Find.findByCssSelector('[data-test-subj="visGroupAggBasedExploreLink"]') with timeout=10000
[00:05:40]                 │ debg TestSubjects.find(visNewDialogTypes)
[00:05:40]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:05:40]                 │ debg clickHeatmapChart
[00:05:40]                 │ debg TestSubjects.click(visType-heatmap)
[00:05:40]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-heatmap"]') with timeout=10000
[00:05:40]                 │ debg Find.findByCssSelector('[data-test-subj="visType-heatmap"]') with timeout=10000
[00:05:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:41]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:42]                 │ debg TestSubjects.click(savedObjectTitlelogstash-*)
[00:05:42]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitlelogstash-*"]') with timeout=10000
[00:05:42]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitlelogstash-*"]') with timeout=10000
[00:05:42]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:42]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:42]                 │ debg browser[INFO] http://localhost:6171/app/visualize#/create?type=heatmap&indexPattern=logstash-* 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:05:42]                 │
[00:05:42]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:05:44]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:44]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:05:44]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:05:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:05:44]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:05:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:05:44]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:05:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:05:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:05:44]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:05:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:05:44]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:05:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:05:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:05:44]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:05:44]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:05:44]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:44]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:45]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:05:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:45]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:05:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:05:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:05:45]                 │ debg Find.waitForElementStale with timeout=10000
[00:05:45]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:05:45]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:05:45]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:45]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:05:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:46]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:05:46]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:05:46]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:46]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:05:46]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:05:46]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:05:49]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:05:49]                 │ debg TestSubjects.click(querySubmitButton)
[00:05:49]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:05:49]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:05:49]                 │ debg Find.waitForElementStale with timeout=10000
[00:05:49]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:49]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:49]                 │ debg Bucket = X-Axis
[00:05:49]                 │ debg TestSubjects.click(visEditorAdd_buckets)
[00:05:49]                 │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:05:49]                 │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets"]') with timeout=10000
[00:05:50]                 │ debg TestSubjects.click(visEditorAdd_buckets_X-axis)
[00:05:50]                 │ debg Find.clickByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:05:50]                 │ debg Find.findByCssSelector('[data-test-subj="visEditorAdd_buckets_X-axis"]') with timeout=10000
[00:05:50]                 │ debg Aggregation = Date Histogram
[00:05:50]                 │ debg Find.findByCssSelector('
[00:05:50]                 │                [data-test-subj="bucketsAggGroup"]
[00:05:50]                 │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:05:50]                 │                
[00:05:50]                 │                [data-test-subj="defaultEditorAggSelect"]
[00:05:50]                 │              ') with timeout=10000
[00:05:50]                 │ debg comboBox.setElement, value: Date Histogram
[00:05:50]                 │ debg comboBox.isOptionSelected, value: Date Histogram
[00:05:52]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:05:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:05:52]                 │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Date Histogram"]') with timeout=2500
[00:05:53]                 │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:05:53]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:05:55]                 │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:05:56]                 │ debg ... sleep(500) start
[00:05:56]                 │ debg ... sleep(500) end
[00:05:56]                 │ debg Field = @timestamp
[00:05:56]                 │ debg selectField @timestamp
[00:05:56]                 │ debg Find.findByCssSelector('
[00:05:56]                 │                [data-test-subj="bucketsAggGroup"]
[00:05:56]                 │                [data-test-subj^="visEditorAggAccordion"].euiAccordion-isOpen
[00:05:56]                 │                [data-test-subj="visAggEditorParams"]
[00:05:56]                 │                
[00:05:56]                 │                [data-test-subj="visDefaultEditorField"]
[00:05:56]                 │              ') with timeout=10000
[00:05:56]                 │ debg comboBox.setElement, value: @timestamp
[00:05:56]                 │ debg comboBox.isOptionSelected, value: @timestamp
[00:05:56]                 │ debg -- isNewChartsLibraryEnabled = false
[00:05:56]                 │ debg TestSubjects.find(visualizationLoader)
[00:05:56]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:05:56]                 │ debg Before Rendering count 4
[00:05:56]                 │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:05:56]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:05:56]                 │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:05:57]                 │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [5]...
[00:05:57]                 │ debg TestSubjects.find(visualizationLoader)
[00:05:57]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:05:57]                 │ debg -- currentRenderingCount=4
[00:05:57]                 │ debg -- expectedCount=5
[00:05:57]                 │ debg TestSubjects.find(visualizationLoader)
[00:05:57]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:05:57]                 │ debg -- currentRenderingCount=8
[00:05:57]                 │ debg -- expectedCount=5
[00:05:57]               └-> should save and load
[00:05:57]                 └-> "before each" hook: global before each for "should save and load"
[00:05:57]                 │ debg ensureSavePanelOpen
[00:05:57]                 │ debg isGlobalLoadingIndicatorVisible
[00:05:57]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:05:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:05:59]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:05:59]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:05:59]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:05:59]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:05:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=5000
[00:06:02]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:06:05]                 │ debg --- retry.tryForTime failed again with the same message...
[00:06:05]                 │ debg TestSubjects.click(visualizeSaveButton)
[00:06:05]                 │ debg Find.clickByCssSelector('[data-test-subj="visualizeSaveButton"]') with timeout=10000
[00:06:05]                 │ debg Find.findByCssSelector('[data-test-subj="visualizeSaveButton"]') with timeout=10000
[00:06:05]                 │ debg TestSubjects.setValue(savedObjectTitle, Visualization HeatmapChart)
[00:06:05]                 │ debg TestSubjects.click(savedObjectTitle)
[00:06:05]                 │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:06:05]                 │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:06:06]                 │ debg TestSubjects.exists(saveAsNewCheckbox)
[00:06:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveAsNewCheckbox"]') with timeout=2500
[00:06:08]                 │ debg --- retry.tryForTime error: [data-test-subj="saveAsNewCheckbox"] is not displayed
[00:06:09]                 │ debg TestSubjects.exists(returnToOriginModeSwitch)
[00:06:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="returnToOriginModeSwitch"]') with timeout=2500
[00:06:11]                 │ debg --- retry.tryForTime error: [data-test-subj="returnToOriginModeSwitch"] is not displayed
[00:06:12]                 │ debg TestSubjects.exists(add-to-dashboard-options)
[00:06:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="add-to-dashboard-options"]') with timeout=2500
[00:06:12]                 │ debg save modal dashboard selector, choosing option: add-to-library-option
[00:06:12]                 │ debg TestSubjects.find(add-to-dashboard-options)
[00:06:12]                 │ debg Find.findByCssSelector('[data-test-subj="add-to-dashboard-options"]') with timeout=10000
[00:06:12]                 │ debg Click Save Visualization button
[00:06:12]                 │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:06:12]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:06:12]                 │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:06:12]                 │ debg TestSubjects.exists(saveVisualizationSuccess)
[00:06:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveVisualizationSuccess"]') with timeout=120000
[00:06:13]                 │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:06:13]                 │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:06:13]                 │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:06:13]                 │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:06:13]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:13]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:14]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:15]                 │ debg Waiting for save modal to close
[00:06:15]                 │ debg TestSubjects.exists(savedObjectSaveModal)
[00:06:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="savedObjectSaveModal"]') with timeout=2500
[00:06:18]                 │ debg --- retry.tryForTime error: [data-test-subj="savedObjectSaveModal"] is not displayed
[00:06:18]                 │ debg Waiting up to 20000ms for last breadcrumb to have new vis name...
[00:06:18]                 │ debg TestSubjects.getVisibleText(headerGlobalNav > breadcrumbs > ~breadcrumb & ~last)
[00:06:18]                 │ debg TestSubjects.find(headerGlobalNav > breadcrumbs > ~breadcrumb & ~last)
[00:06:18]                 │ debg Find.findByCssSelector('[data-test-subj="headerGlobalNav"] [data-test-subj="breadcrumbs"] [data-test-subj~="breadcrumb"][data-test-subj~="last"]') with timeout=10000
[00:06:18]                 │ debg Find.clickByCssSelector('[href="#/"]') with timeout=10000
[00:06:18]                 │ debg Find.findByCssSelector('[href="#/"]') with timeout=10000
[00:06:18]                 │ debg TestSubjects.click(visListingTitleLink-Visualization-HeatmapChart)
[00:06:18]                 │ debg Find.clickByCssSelector('[data-test-subj="visListingTitleLink-Visualization-HeatmapChart"]') with timeout=20000
[00:06:18]                 │ debg Find.findByCssSelector('[data-test-subj="visListingTitleLink-Visualization-HeatmapChart"]') with timeout=20000
[00:06:19]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:19]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:20]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:21]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:21]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:21]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:06:21]                 │ debg TestSubjects.find(visualizationLoader)
[00:06:21]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:06:21]                 │ debg -- firstCount=2
[00:06:21]                 │ debg ... sleep(2000) start
[00:06:23]                 │ debg ... sleep(2000) end
[00:06:23]                 │ debg TestSubjects.find(visualizationLoader)
[00:06:23]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:06:23]                 │ debg -- secondCount=2
[00:06:23]                 │ debg -- isNewChartsLibraryEnabled = false
[00:06:23]                 │ debg -- isVisTypeXYChart = false
[00:06:23]                 │ debg Find.findByCssSelector('.visualization') with timeout=10000
[00:06:23]                 └- ✓ pass  (25.8s) "visualize app  heatmap chart should save and load"
[00:06:23]               └-> should have inspector enabled
[00:06:23]                 └-> "before each" hook: global before each for "should have inspector enabled"
[00:06:23]                 │ debg TestSubjects.getAttribute(openInspectorButton, disabled, tryTimeout=120000, findTimeout=10000)
[00:06:23]                 │ debg TestSubjects.find(openInspectorButton)
[00:06:23]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:06:23]                 └- ✓ pass  (34ms) "visualize app  heatmap chart should have inspector enabled"
[00:06:23]               └-> should show correct data
[00:06:23]                 └-> "before each" hook: global before each for "should show correct data"
[00:06:23]                 │ debg Inspector.open
[00:06:23]                 │ debg TestSubjects.exists(inspectorPanel)
[00:06:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:06:25]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:06:26]                 │ debg TestSubjects.click(openInspectorButton)
[00:06:26]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:06:26]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:06:26]                 │ debg TestSubjects.exists(inspectorPanel)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:06:26]                 │ debg Inspector.expectTableData(2015-09-20 00:00,37,2015-09-20 03:00,202,2015-09-20 06:00,740,2015-09-20 09:00,1,437,2015-09-20 12:00,1,371,2015-09-20 15:00,751,2015-09-20 18:00,188,2015-09-20 21:00,31,2015-09-21 00:00,42,2015-09-21 03:00,202,2015-09-21 06:00,683,2015-09-21 09:00,1,361,2015-09-21 12:00,1,415,2015-09-21 15:00,707,2015-09-21 18:00,177,2015-09-21 21:00,27,2015-09-22 00:00,32,2015-09-22 03:00,175,2015-09-22 06:00,707,2015-09-22 09:00,1,408)
[00:06:26]                 │ debg TestSubjects.find(inspectorPanel)
[00:06:26]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:06:26]                 │ debg Close Inspector
[00:06:26]                 │ debg TestSubjects.exists(inspectorPanel)
[00:06:26]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:06:26]                 │ debg Closing flyout inspectorPanel
[00:06:26]                 │ debg TestSubjects.find(inspectorPanel)
[00:06:26]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:06:27]                 │ debg Waiting up to 20000ms for flyout closed...
[00:06:27]                 │ debg TestSubjects.exists(inspectorPanel)
[00:06:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:06:28]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:06:28]                 │ debg TestSubjects.exists(inspectorPanel)
[00:06:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:06:31]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:06:31]                 └- ✓ pass  (8.2s) "visualize app  heatmap chart should show correct data"
[00:06:31]               └-> should show 4 color ranges as default colorNumbers param
[00:06:31]                 └-> "before each" hook: global before each for "should show 4 color ranges as default colorNumbers param"
[00:06:31]                 │ debg -- isNewChartsLibraryEnabled = false
[00:06:31]                 │ debg -- isVisTypeXYChart = false
[00:06:31]                 │ debg Find.allByCssSelector('.visLegend__button') with timeout=20000
[00:06:31]                 └- ✓ pass  (243ms) "visualize app  heatmap chart should show 4 color ranges as default colorNumbers param"
[00:06:31]               └-> should show 6 color ranges if changed on options
[00:06:31]                 └-> "before each" hook: global before each for "should show 6 color ranges if changed on options"
[00:06:31]                 │ debg TestSubjects.click(visEditorTab__options)
[00:06:31]                 │ debg Find.clickByCssSelector('[data-test-subj="visEditorTab__options"]') with timeout=10000
[00:06:31]                 │ debg Find.findByCssSelector('[data-test-subj="visEditorTab__options"]') with timeout=10000
[00:06:32]                 │ debg TestSubjects.find(heatmapColorsNumber)
[00:06:32]                 │ debg Find.findByCssSelector('[data-test-subj="heatmapColorsNumber"]') with timeout=10000
[00:06:32]                 │ debg -- isNewChartsLibraryEnabled = false
[00:06:32]                 │ debg TestSubjects.find(visualizationLoader)
[00:06:32]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:06:32]                 │ debg Before Rendering count 4
[00:06:32]                 │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:06:32]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:06:32]                 │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:06:32]                 │ debg Waiting up to 20000ms for rendering count to be greater than or equal to [5]...
[00:06:32]                 │ debg TestSubjects.find(visualizationLoader)
[00:06:32]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:06:32]                 │ debg -- currentRenderingCount=4
[00:06:32]                 │ debg -- expectedCount=5
[00:06:33]                 │ debg TestSubjects.find(visualizationLoader)
[00:06:33]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:06:33]                 │ debg -- currentRenderingCount=6
[00:06:33]                 │ debg -- expectedCount=5
[00:06:33]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:06:33]                 │ debg TestSubjects.find(visualizationLoader)
[00:06:33]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:06:33]                 │ debg -- firstCount=6
[00:06:33]                 │ debg ... sleep(2000) start
[00:06:35]                 │ debg ... sleep(2000) end
[00:06:35]                 │ debg TestSubjects.find(visualizationLoader)
[00:06:35]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:06:35]                 │ debg -- secondCount=6
[00:06:38]                 │ debg -- isNewChartsLibraryEnabled = false
[00:06:38]                 │ debg -- isVisTypeXYChart = false
[00:06:38]                 │ debg Find.allByCssSelector('.visLegend__button') with timeout=20000
[00:06:38]                 │ info Taking screenshot "/dev/shm/workspace/parallel/7/kibana/test/functional/screenshots/failure/visualize app  heatmap chart should show 6 color ranges if changed on options.png"
[00:06:39]                 │ info Current URL is: http://localhost:6171/app/visualize#/edit/5ff9f660-7b96-11eb-bf49-af3f555deef0?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count),(enabled:!t,id:%272%27,params:(drop_partials:!f,extended_bounds:(),field:%27@timestamp%27,interval:auto,min_doc_count:1,scaleMetricValues:!f,timeRange:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27),useNormalizedEsInterval:!t),schema:segment,type:date_histogram)),params:(addLegend:!t,addTooltip:!t,colorSchema:Greens,colorsNumber:6,colorsRange:!(),enableHover:!f,invertColors:!f,legendPosition:right,percentageMode:!f,setColorRange:!f,times:!(),type:heatmap,valueAxes:!((id:ValueAxis-1,labels:(color:black,overwriteColor:!f,rotate:0,show:!f),scale:(defaultYExtents:!f,type:linear),show:!f,type:value))),title:%27Visualization%20HeatmapChart%27,type:heatmap))
[00:06:39]                 │ info Saving page source to: /dev/shm/workspace/parallel/7/kibana/test/functional/failure_debug/html/visualize app  heatmap chart should show 6 color ranges if changed on options.html
[00:06:39]                 └- ✖ fail: visualize app  heatmap chart should show 6 color ranges if changed on options
[00:06:39]                 │      StaleElementReferenceError: stale element reference: element is not attached to the page document
[00:06:39]                 │   (Session info: headless chrome=88.0.4324.182)
[00:06:39]                 │       at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
[00:06:39]                 │       at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
[00:06:39]                 │       at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
[00:06:39]                 │       at runMicrotasks (<anonymous>)
[00:06:39]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:06:39]                 │       at Task.exec (test/functional/services/remote/prevent_parallel_calls.ts:29:22)
[00:06:39]                 │ 
[00:06:39]                 │ 

Stack Trace

StaleElementReferenceError: stale element reference: element is not attached to the page document
  (Session info: headless chrome=88.0.4324.182)
    at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Task.exec (test/functional/services/remote/prevent_parallel_calls.ts:29:22) {
  remoteStacktrace: '#0 0x564692f94199 <unknown>\n'
}

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
triggersActionsUi 1.6MB 1.5MB -23.9KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
triggersActionsUi 104.0KB 104.1KB +82.0B
Unknown metric groups

async chunk count

id before after diff
triggersActionsUi 41 42 +1

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

@kibanamachine
Copy link
Contributor

💚 Backport successful

7.12 / #93326
7.x / #93327

Successful backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Mar 3, 2021
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
smith added a commit to smith/kibana that referenced this pull request Mar 3, 2021
Changes to fix APM's Storybook setup were made in elastic#93087 and elastic#93294. This re-enables it and fixes a couple places where we weren't using a theme provider.
kibanamachine added a commit that referenced this pull request Mar 3, 2021
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 3, 2021
* master: (45 commits)
  Add outcome of node scripts/build_api_docs (elastic#93399)
  [Lens] fix long field name on field stats panel doesn't wrap (elastic#93279)
  [Bug] Fix filter creation for numeric scripted fields in Discover (elastic#93224)
  [uptime] Fix anomaly alert edit (elastic#93025)
  Consolidate @babel/* packages and use latest compatible version (elastic#93264)
  [Search Embeddable] Add highlighting when searching (elastic#93178)
  [APM] Add missing bottom border to header (elastic#93179)
  [CI] No longer collect APM span stack traces (elastic#93263)
  [XY Chart] Fix "No data to display" error when using IP range aggregation to split series (elastic#93024)
  update generated public api docs
  API DOCS Step 3/3 (elastic#92929)
  chore(NA): look for bazel packages on npm_module folder during distributable build (elastic#93262)
  rename advanced setting ml:fileDataVisualizerMaxFileSize to fileUpload:maxFileSize and increase max geojson upload size to 1GB (elastic#92620)
  [kbn/optimizer] allow customizing the limits path from the script (elastic#93153)
  [Alerting][Docs] Adding template for documenting alert and action types (elastic#92830)
  [jenkins] convert baseline capture job to use tasks (elastic#93288)
  removing the linked issue in comments from PR (elastic#93303)
  chore(NA): do not include fs within a storybook build (elastic#93294)
  [Maps] Update Map extent queries to use bounding box logic for both point and shape queries (elastic#93156)
  Add searchDuration to EQL and Threshold rules (elastic#93149)
  ...
smith added a commit that referenced this pull request Mar 8, 2021
Changes to fix APM's Storybook setup were made in #93087 and #93294. This re-enables it and fixes a couple places where we weren't using a theme provider.
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 8, 2021
Changes to fix APM's Storybook setup were made in elastic#93087 and elastic#93294. This re-enables it and fixes a couple places where we weren't using a theme provider.
kibanamachine added a commit that referenced this pull request Mar 8, 2021
Changes to fix APM's Storybook setup were made in #93087 and #93294. This re-enables it and fixes a couple places where we weren't using a theme provider.

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed chore release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v7.12.1 v7.13.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants