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

Log Unhandled rejection stack #113614

Merged
merged 7 commits into from
Oct 11, 2021
Merged

Conversation

rudolf
Copy link
Contributor

@rudolf rudolf commented Oct 1, 2021

Summary

Print the stack trace of unhandled promise rejections. Related to discussion in #98650

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.

When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:

Risk Probability Severity Mitigation/Notes
Multiple Spaces—unexpected behavior in non-default Kibana Space. Low High Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces.
Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. High Low Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure.
Code should gracefully handle cases when feature X or plugin Y are disabled. Medium High Unit tests will verify that any feature flag or plugin combination still results in our service operational.
See more potential risk examples

For maintainers

@rudolf rudolf added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.0 v8.0.0 labels Oct 1, 2021
@rudolf rudolf marked this pull request as ready for review October 1, 2021 14:00
@rudolf rudolf requested a review from a team as a code owner October 1, 2021 14:01
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@rudolf rudolf changed the title Unhandled rejection stack Log Unhandled rejection stack Oct 1, 2021
@mshustov mshustov added chore release_note:skip Skip the PR/issue when compiling release notes labels Oct 1, 2021

expect(logger.get('process').warn).toHaveBeenCalledTimes(1);
expect(loggingSystemMock.collect(logger).warn[0][0]).toMatch(
/Detected an unhandled Promise rejection: Error: something went wrong\n.*at Object.<anonymous> \(/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can remove the part after at to avoid dependency on the serialization format?

@rudolf rudolf added the auto-backport Deprecated - use backport:version if exact versions are needed label Oct 11, 2021
@rudolf rudolf enabled auto-merge (squash) October 11, 2021 19:49
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/maps/documents_source/docvalue_fields·js.maps app documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field

Link to Jenkins

Standard Out

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

[00:00:00]     │
[00:00:00]       └-: maps app
[00:00:00]         └-> "before all" hook in "maps app"
[00:00:00]         └-> "before all" hook in "maps app"
[00:00:00]           │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:00:00]           │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:00:00]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]           │ info [o.e.c.r.a.AllocationService] [node-01] 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 [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.22"
[00:00:00]           │ debg [x-pack/test/functional/es_archives/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.x.i.IndexLifecycleTransition] [node-01] moving index [.ds-ilm-history-5-2021.10.11-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [ilm-history-ilm-policy]
[00:00:00]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]           │ info [o.e.c.r.a.AllocationService] [node-01] 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 [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.20"
[00:00:00]           │ debg [x-pack/test/functional/es_archives/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.x.i.IndexLifecycleTransition] [node-01] moving index [.ds-ilm-history-5-2021.10.11-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [ilm-history-ilm-policy]
[00:00:00]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:00]           │ info [o.e.c.r.a.AllocationService] [node-01] 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 [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.21"
[00:00:00]           │ debg [x-pack/test/functional/es_archives/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:00]           │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.21/92AYgq71RcO8_R9BiFNhIg] update_mapping [_doc]
[00:00:06]           │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.20/usvlztDCR4ih8DnyjXTpvg] update_mapping [_doc]
[00:00:10]           │ info progress: 8418
[00:00:14]           │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:00:14]           │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:14]           │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:15]           │ debg resolved import for x-pack/test/functional/fixtures/kbn_archiver/maps.json to /dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/fixtures/kbn_archiver/maps.json
[00:00:15]           │ info importing 37 saved objects { space: undefined }
[00:00:15]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/HfWYUH4oQb2N34VWR-8paA] update_mapping [_doc]
[00:00:15]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/HfWYUH4oQb2N34VWR-8paA] update_mapping [_doc]
[00:00:15]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/HfWYUH4oQb2N34VWR-8paA] update_mapping [_doc]
[00:00:15]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/HfWYUH4oQb2N34VWR-8paA] update_mapping [_doc]
[00:00:15]           │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/HfWYUH4oQb2N34VWR-8paA] update_mapping [_doc]
[00:00:16]           │ succ import success
[00:00:16]           │ info Delete index pattern
[00:00:16]           │ debg id: idThatDoesNotExitForESGeoGridSource
[00:00:16]           │ debg id: idThatDoesNotExitForESSearchSource
[00:00:16]           │ debg id: idThatDoesNotExitForESJoinSource
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Loading "mappings.json"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Loading "data.json"
[00:00:19]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [geo_shapes] creating index, cause [api], templates [], shards [1]/[0]
[00:00:19]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[geo_shapes][0]]])." previous.health="YELLOW" reason="shards started [[geo_shapes][0]]"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "geo_shapes"
[00:00:19]           │ debg [x-pack/test/functional/es_archives/maps/data] "geo_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1","max_result_window":"10001","max_inner_result_window":"101"}}
[00:00:19]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [drawing_data] creating index, cause [api], templates [], shards [1]/[0]
[00:00:19]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[drawing_data][0]]])." previous.health="YELLOW" reason="shards started [[drawing_data][0]]"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "drawing_data"
[00:00:19]           │ debg [x-pack/test/functional/es_archives/maps/data] "drawing_data" settings {"index":{"number_of_replicas":"0","number_of_shards":"1","max_result_window":"10001","max_inner_result_window":"101"}}
[00:00:19]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [meta_for_geo_shapes] creating index, cause [api], templates [], shards [1]/[0]
[00:00:19]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[meta_for_geo_shapes][0]]])." previous.health="YELLOW" reason="shards started [[meta_for_geo_shapes][0]]"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "meta_for_geo_shapes"
[00:00:19]           │ debg [x-pack/test/functional/es_archives/maps/data] "meta_for_geo_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:19]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [antimeridian_points] creating index, cause [api], templates [], shards [1]/[0]
[00:00:19]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[antimeridian_points][0]]])." previous.health="YELLOW" reason="shards started [[antimeridian_points][0]]"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "antimeridian_points"
[00:00:19]           │ debg [x-pack/test/functional/es_archives/maps/data] "antimeridian_points" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:19]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [antimeridian_shapes] creating index, cause [api], templates [], shards [1]/[0]
[00:00:19]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[antimeridian_shapes][0]]])." previous.health="YELLOW" reason="shards started [[antimeridian_shapes][0]]"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "antimeridian_shapes"
[00:00:19]           │ debg [x-pack/test/functional/es_archives/maps/data] "antimeridian_shapes" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:19]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [flights] creating index, cause [api], templates [], shards [1]/[0]
[00:00:19]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[flights][0]]])." previous.health="YELLOW" reason="shards started [[flights][0]]"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "flights"
[00:00:19]           │ debg [x-pack/test/functional/es_archives/maps/data] "flights" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:19]           │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [connections] creating index, cause [api], templates [], shards [1]/[0]
[00:00:19]           │ info [o.e.c.r.a.AllocationService] [node-01] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[connections][0]]])." previous.health="YELLOW" reason="shards started [[connections][0]]"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Created index "connections"
[00:00:19]           │ debg [x-pack/test/functional/es_archives/maps/data] "connections" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:19]           │ info [o.e.c.m.MetadataMappingService] [node-01] [meta_for_geo_shapes/vNTT7jD7T22GZ7uJDr3GqA] update_mapping [_doc]
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 4 docs into "geo_shapes"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 1 docs into "drawing_data"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 6 docs into "meta_for_geo_shapes"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 3 docs into "antimeridian_points"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 3 docs into "antimeridian_shapes"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 3 docs into "flights"
[00:00:19]           │ info [x-pack/test/functional/es_archives/maps/data] Indexed 4 docs into "connections"
[00:00:19]           │ debg replacing kibana config doc: {"defaultIndex":"c698b940-e149-11e8-a35a-370a8516603a"}
[00:00:23]         └-: 
[00:00:23]           └-> "before all" hook in ""
[00:00:23]           └-: documents source
[00:00:23]             └-> "before all" hook in "documents source"
[00:00:23]             └-: docvalue_fields
[00:00:23]               └-> "before all" hook for "should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:00:23]               └-> "before all" hook for "should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:00:23]                 │ debg set roles = global_maps_read,test_logstash_reader
[00:00:23]                 │ debg creating user test_user
[00:00:23]                 │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] updated user [test_user]
[00:00:23]                 │ debg created user test_user
[00:00:23]                 │ debg Load Saved Map document example
[00:00:23]                 │ debg searchForMapWithName: document example
[00:00:23]                 │ debg gotoMapListingPage
[00:00:23]                 │ debg onMapListingPage
[00:00:23]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:25]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:00:28]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:29]                 │ debg navigateToActualUrl http://localhost:6161/app/maps/
[00:00:29]                 │ debg browser[INFO] http://localhost:6161/login?next=%2Fapp%2Fmaps%2F%3F_t%3D1633983775810 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:29]                 │
[00:00:29]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]                 │ debg currentUrl = http://localhost:6161/login?next=%2Fapp%2Fmaps%2F%3F_t%3D1633983775810
[00:00:29]                 │          appUrl = http://localhost:6161/app/maps/
[00:00:29]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:29]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:32]                 │ debg Found login page
[00:00:32]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:32]                 │ debg TestSubjects.click(loginUsername)
[00:00:32]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:32]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:32]                 │ERROR browser[SEVERE] http://localhost:6161/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:33]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:33]                 │ debg TestSubjects.click(loginPassword)
[00:00:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:33]                 │ debg TestSubjects.click(loginSubmit)
[00:00:33]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:33]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:33]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:33]                 │ proc [kibana] [2021-10-11T20:22:59.945+00:00][INFO ][plugins.security.routes] Logging in with provider "basic" (basic)
[00:00:34]                 │ debg browser[INFO] http://localhost:6161/app/maps/?_t=1633983775810 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:34]                 │
[00:00:34]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:34]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:37]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:38]                 │ debg browser[INFO] http://localhost:6161/app/maps/?_t=1633983783707 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:38]                 │
[00:00:38]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:38]                 │ debg Finished login process currentUrl = http://localhost:6161/app/maps/
[00:00:38]                 │ debg onMapListingPage
[00:00:38]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:39]                 │ debg searchForItemWithName: document example
[00:00:39]                 │ debg TestSubjects.find(tableListSearchBox)
[00:00:39]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:00:40]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:40]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:41]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:42]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:42]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:42]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:42]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:42]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:43]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:44]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:44]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:44]                 │ debg TestSubjects.click(mapListingTitleLink-document-example)
[00:00:44]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:00:44]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:00:44]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:44]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:44]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:45]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:45]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:46]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:00:46]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:00:46]                 │ debg Wait for layers to load
[00:00:46]                 │ debg TestSubjects.find(mapLayerTOC)
[00:00:46]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:00:48]               └-> should only fetch geo_point field and time field and nothing else when source does not have data driven styling
[00:00:48]                 └-> "before each" hook: global before each for "should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:00:48]                 │ debg Load Saved Map document example
[00:00:48]                 │ debg searchForMapWithName: document example
[00:00:48]                 │ debg gotoMapListingPage
[00:00:48]                 │ debg onMapListingPage
[00:00:48]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:50]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:00:51]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/HfWYUH4oQb2N34VWR-8paA] update_mapping [_doc]
[00:00:53]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:54]                 │ debg navigateToActualUrl http://localhost:6161/app/maps/
[00:00:54]                 │ debg browser[INFO] http://localhost:6161/app/maps/?_t=1633983800417 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:54]                 │
[00:00:54]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:54]                 │ debg currentUrl = http://localhost:6161/app/maps/
[00:00:54]                 │          appUrl = http://localhost:6161/app/maps/
[00:00:54]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:54]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:55]                 │ debg onMapListingPage
[00:00:55]                 │ debg TestSubjects.exists(mapLandingPage)
[00:00:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:00:56]                 │ debg searchForItemWithName: document example
[00:00:56]                 │ debg TestSubjects.find(tableListSearchBox)
[00:00:56]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:00:56]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:56]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:58]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:58]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:58]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:58]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:58]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:00]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:00]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:00]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:00]                 │ debg TestSubjects.click(mapListingTitleLink-document-example)
[00:01:00]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:01:00]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example"]') with timeout=10000
[00:01:01]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:01]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:02]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:02]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:03]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:01:03]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:01:03]                 │ debg Wait for layers to load
[00:01:03]                 │ debg TestSubjects.find(mapLayerTOC)
[00:01:03]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:01:04]                 │ debg Inspector.open
[00:01:04]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:07]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:07]                 │ debg TestSubjects.click(openInspectorButton)
[00:01:07]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:07]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:08]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:08]                 │ debg Open Inspector view inspectorViewChooserRequests
[00:01:08]                 │ debg TestSubjects.click(inspectorViewChooser)
[00:01:08]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:08]                 │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:01:08]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:08]                 │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:01:08]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:08]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:08]                 │ debg Find.findByCssSelector('.react-monaco-editor-container') with timeout=10000
[00:01:08]                 │ debg Close Inspector
[00:01:08]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:09]                 │ debg Closing flyout inspectorPanel
[00:01:09]                 │ debg TestSubjects.find(inspectorPanel)
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:01:09]                 │ debg Waiting up to 20000ms for flyout closed...
[00:01:09]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:01:10]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:10]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:13]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:13]                 └- ✓ pass  (25.9s) "maps app  documents source docvalue_fields should only fetch geo_point field and time field and nothing else when source does not have data driven styling"
[00:01:13]               └-> should only fetch geo_point field and data driven styling fields
[00:01:13]                 └-> "before each" hook: global before each for "should only fetch geo_point field and data driven styling fields"
[00:01:13]                 │ debg Load Saved Map document example with data driven styles
[00:01:13]                 │ debg searchForMapWithName: document example with data driven styles
[00:01:13]                 │ debg gotoMapListingPage
[00:01:13]                 │ debg onMapListingPage
[00:01:13]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:16]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:01:19]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:19]                 │ debg navigateToActualUrl http://localhost:6161/app/maps/
[00:01:20]                 │ debg browser[INFO] http://localhost:6161/app/maps/?_t=1633983826281 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:20]                 │
[00:01:20]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:20]                 │ debg currentUrl = http://localhost:6161/app/maps/
[00:01:20]                 │          appUrl = http://localhost:6161/app/maps/
[00:01:20]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:20]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:22]                 │ debg onMapListingPage
[00:01:22]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:22]                 │ debg searchForItemWithName: document example with data driven styles
[00:01:22]                 │ debg TestSubjects.find(tableListSearchBox)
[00:01:22]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:01:23]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:23]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:23]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:25]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:25]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:25]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:25]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:25]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:27]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:27]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:27]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:27]                 │ debg TestSubjects.click(mapListingTitleLink-document-example-with-data-driven-styles)
[00:01:27]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles"]') with timeout=10000
[00:01:27]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles"]') with timeout=10000
[00:01:27]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:27]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:29]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:29]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:30]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:01:30]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:01:30]                 │ debg Wait for layers to load
[00:01:30]                 │ debg TestSubjects.find(mapLayerTOC)
[00:01:30]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:01:31]                 │ debg Inspector.open
[00:01:31]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:34]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:34]                 │ debg TestSubjects.click(openInspectorButton)
[00:01:34]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:34]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:34]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:34]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:35]                 │ debg Open Inspector view inspectorViewChooserRequests
[00:01:35]                 │ debg TestSubjects.click(inspectorViewChooser)
[00:01:35]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:35]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:01:35]                 │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:01:35]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:35]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:01:35]                 │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:01:35]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:35]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:01:35]                 │ debg Find.findByCssSelector('.react-monaco-editor-container') with timeout=10000
[00:01:35]                 │ debg Close Inspector
[00:01:35]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:35]                 │ debg Closing flyout inspectorPanel
[00:01:35]                 │ debg TestSubjects.find(inspectorPanel)
[00:01:35]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:01:35]                 │ debg Waiting up to 20000ms for flyout closed...
[00:01:35]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:01:36]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:37]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:39]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:40]                 └- ✓ pass  (26.6s) "maps app  documents source docvalue_fields should only fetch geo_point field and data driven styling fields"
[00:01:40]               └-> should format date fields as epoch_millis when data driven styling is applied to a date field
[00:01:40]                 └-> "before each" hook: global before each for "should format date fields as epoch_millis when data driven styling is applied to a date field"
[00:01:40]                 │ debg Load Saved Map document example with data driven styles on date field
[00:01:40]                 │ debg searchForMapWithName: document example with data driven styles on date field
[00:01:40]                 │ debg gotoMapListingPage
[00:01:40]                 │ debg onMapListingPage
[00:01:40]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:40]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:42]                 │ debg --- retry.tryForTime error: [data-test-subj="mapLandingPage"] is not displayed
[00:01:46]                 │ debg --- retry.tryForTime failed again with the same message...
[00:01:46]                 │ debg navigateToActualUrl http://localhost:6161/app/maps/
[00:01:46]                 │ debg browser[INFO] http://localhost:6161/app/maps/?_t=1633983852851 281 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:46]                 │
[00:01:46]                 │ debg browser[INFO] http://localhost:6161/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:46]                 │ debg currentUrl = http://localhost:6161/app/maps/
[00:01:46]                 │          appUrl = http://localhost:6161/app/maps/
[00:01:46]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:46]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:48]                 │ debg onMapListingPage
[00:01:48]                 │ debg TestSubjects.exists(mapLandingPage)
[00:01:48]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=5000
[00:01:49]                 │ debg searchForItemWithName: document example with data driven styles on date field
[00:01:49]                 │ debg TestSubjects.find(tableListSearchBox)
[00:01:49]                 │ debg Find.findByCssSelector('[data-test-subj="tableListSearchBox"]') with timeout=10000
[00:01:50]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:50]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:52]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:52]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:52]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:52]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:52]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:52]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:54]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:54]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:54]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:54]                 │ debg TestSubjects.click(mapListingTitleLink-document-example-with-data-driven-styles-on-date-field)
[00:01:54]                 │ debg Find.clickByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles-on-date-field"]') with timeout=10000
[00:01:54]                 │ debg Find.findByCssSelector('[data-test-subj="mapListingTitleLink-document-example-with-data-driven-styles-on-date-field"]') with timeout=10000
[00:01:54]                 │ debg isGlobalLoadingIndicatorVisible
[00:01:54]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:54]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:55]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:55]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:57]                 │ debg TestSubjects.missingOrFail(mapLandingPage)
[00:01:57]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="mapLandingPage"]') with timeout=10000
[00:01:57]                 │ debg Wait for layers to load
[00:01:57]                 │ debg TestSubjects.find(mapLayerTOC)
[00:01:57]                 │ debg Find.findByCssSelector('[data-test-subj="mapLayerTOC"]') with timeout=10000
[00:01:58]                 │ debg Inspector.open
[00:01:58]                 │ debg TestSubjects.exists(inspectorPanel)
[00:01:58]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:01]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:02:01]                 │ debg TestSubjects.click(openInspectorButton)
[00:02:01]                 │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:02:01]                 │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:02:01]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:01]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:01]                 │ debg Open Inspector view inspectorViewChooserRequests
[00:02:01]                 │ debg TestSubjects.click(inspectorViewChooser)
[00:02:01]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:02:01]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooser"]') with timeout=10000
[00:02:02]                 │ debg TestSubjects.click(inspectorViewChooserRequests)
[00:02:02]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorViewChooserRequests"]') with timeout=10000
[00:02:02]                 │ debg TestSubjects.click(inspectorRequestDetailResponse)
[00:02:02]                 │ debg Find.clickByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorRequestDetailResponse"]') with timeout=10000
[00:02:02]                 │ debg Find.findByCssSelector('.react-monaco-editor-container') with timeout=10000
[00:02:02]                 │ debg Close Inspector
[00:02:02]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:02]                 │ debg Closing flyout inspectorPanel
[00:02:02]                 │ debg TestSubjects.find(inspectorPanel)
[00:02:02]                 │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:02:02]                 │ debg Waiting up to 20000ms for flyout closed...
[00:02:02]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:02:03]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:02:04]                 │ debg TestSubjects.exists(inspectorPanel)
[00:02:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:02:06]                 │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:02:07]                 │ info Taking screenshot "/dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/screenshots/failure/maps app  documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field.png"
[00:02:07]                 │ info Current URL is: http://localhost:6161/app/maps/map/c9277dd0-eb8f-11e9-ae47-693d6a50fb9e#?_g=(filters:!(),refreshInterval:(pause:!t,value:1000),time:(from:%272015-09-20T00:00:00.000Z%27,to:%272015-09-20T01:00:00.000Z%27))&_a=(filters:!(),query:(language:kuery,query:%27%27))
[00:02:07]                 │ info Saving page source to: /dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/failure_debug/html/maps app  documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field.html
[00:02:07]                 └- ✖ fail: maps app  documents source docvalue_fields should format date fields as epoch_millis when data driven styling is applied to a date field
[00:02:07]                 │       Error: expected '1442709961071' to sort of equal '1442709321445'
[00:02:07]                 │       + expected - actual
[00:02:07]                 │ 
[00:02:07]                 │       -1442709961071
[00:02:07]                 │       +1442709321445
[00:02:07]                 │       
[00:02:07]                 │       at Assertion.assert (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:02:07]                 │       at Assertion.eql (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:02:07]                 │       at Context.<anonymous> (test/functional/apps/maps/documents_source/docvalue_fields.js:52:51)
[00:02:07]                 │       at Object.apply (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:02:07]                 │ 
[00:02:07]                 │ 

Stack Trace

Error: expected '1442709961071' to sort of equal '1442709321445'
    at Assertion.assert (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/maps/documents_source/docvalue_fields.js:52:51)
    at Object.apply (/dev/shm/workspace/parallel/6/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '1442709961071',
  expected: '1442709321445',
  showDiff: true
}

Metrics [docs]

✅ unchanged

History

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

@rudolf rudolf merged commit f88901c into elastic:master Oct 11, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 11, 2021
* Refactor state types

* Log the stack trace of unhandled promise rejections

* Revert "Refactor state types"

This reverts commit 6a5123a.

* Fix types

* code review feedback
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Oct 12, 2021
* Refactor state types

* Log the stack trace of unhandled promise rejections

* Revert "Refactor state types"

This reverts commit 6a5123a.

* Fix types

* code review feedback

Co-authored-by: Rudolf Meijering <[email protected]>
@rudolf rudolf deleted the unhandled-rejection-stack branch October 13, 2021 14:14
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:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants