Skip to content

[7.x] [Logs and Metrics UI] Initial setup for registering observability overview data fetchers (#69999)#70351

Merged
jasonrhodes merged 1 commit intoelastic:7.xfrom
jasonrhodes:backport/7.x/pr-69999
Jun 30, 2020
Merged

[7.x] [Logs and Metrics UI] Initial setup for registering observability overview data fetchers (#69999)#70351
jasonrhodes merged 1 commit intoelastic:7.xfrom
jasonrhodes:backport/7.x/pr-69999

Conversation

@jasonrhodes
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

…rview data fetchers (elastic#69999)

* Switches mount callbacks to only use start deps

Fixes elastic#58014

* Sets up skeleton logs data fetchers for overview

* Fixes type hacks for logs fetcher

* Prevent kibana from crashing on initial load

* Fixes types and linting errors

* Fixes some linting import/export issues

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
@jasonrhodes jasonrhodes added the backport This PR is a backport of another PR label Jun 30, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/certificates·ts.Uptime app with generated data certificates page performs search against monitor id

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Uptime app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: with generated data
[00:00:00]             └-> "before all" hook
[00:01:06]             └-: certificates
[00:01:06]               └-> "before all" hook
[00:01:06]               └-> "before all" hook
[00:01:06]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []
[00:01:06]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test/zO1VPCz6T8mFJAHFZnFc2w] create_mapping [_doc]
[00:01:06]                 │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:01:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:01:06]                 │ debg TestSubjects.click(uptimeSettingsToOverviewLink)
[00:01:06]                 │ debg Find.clickByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:06]                 │ debg Find.findByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=10000
[00:01:06]                 │ debg TestSubjects.exists(uptimeOverviewPage)
[00:01:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:01:06]                 │ proc [kibana]   log   [19:08:17.581] [error][http] { Error: [illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
[00:01:06]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:01:06]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:01:06]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:01:06]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:01:06]                 │ proc [kibana]   status: 400,
[00:01:06]                 │ proc [kibana]   displayName: 'BadRequest',
[00:01:06]                 │ proc [kibana]   message:
[00:01:06]                 │ proc [kibana]    '[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.',
[00:01:06]                 │ proc [kibana]   path: '/heartbeat-7*/_search',
[00:01:06]                 │ proc [kibana]   query: {},
[00:01:06]                 │ proc [kibana]   body:
[00:01:06]                 │ proc [kibana]    { error:
[00:01:06]                 │ proc [kibana]       { root_cause: [Array],
[00:01:06]                 │ proc [kibana]         type: 'search_phase_execution_exception',
[00:01:06]                 │ proc [kibana]         reason: 'all shards failed',
[00:01:06]                 │ proc [kibana]         phase: 'query',
[00:01:06]                 │ proc [kibana]         grouped: true,
[00:01:06]                 │ proc [kibana]         failed_shards: [Array],
[00:01:06]                 │ proc [kibana]         caused_by: [Object] },
[00:01:06]                 │ proc [kibana]      status: 400 },
[00:01:06]                 │ proc [kibana]   statusCode: 400,
[00:01:06]                 │ proc [kibana]   response:
[00:01:06]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"heartbeat-7-generated-test","node":"E32If2bQTBenRfQfNlZl6Q","reason":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400}',
[00:01:06]                 │ proc [kibana]   toString: [Function],
[00:01:06]                 │ proc [kibana]   toJSON: [Function] }
[00:01:06]                 │ proc [kibana]   log   [19:08:17.588] [error][http] { Error: [script_exception] runtime error, with { script_stack={ 0="org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)" & 1="org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)" & 2="org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)" & 3="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)" & 4="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)" & 5="java.base/java.security.AccessController.doPrivileged(AccessController.java:312)" & 6="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)" & 7="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)" & 8="loc = doc[\"observer.geo.name\"].size() == 0 ? \"\" : doc[\"observer.geo.name\"][0];\n\n          // One concern here is memory since we could build pretty gigantic maps. I've opted to\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\n          // a little string parsing to treat these strings as records that stay lexicographically\n          // sortable (which is important later).\n          // We encode the ID and location as $id.len:$id$loc\n          String " & 9="          ^---- HERE" } & script="\n          def loc = doc[\"observer.geo.name\"].size() == 0 ? \"\" : doc[\"observer.geo.name\"][0];\n\n          // One concern here is memory since we could build pretty gigantic maps. I've opted to\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\n          // a little string parsing to treat these strings as records that stay lexicographically\n          // sortable (which is important later).\n          // We encode the ID and location as $id.len:$id$loc\n          String id = doc[\"monitor.id\"][0];\n          String idLenDelim = Integer.toHexString(id.length()) + \":\" + id;\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\n\n          String status = doc[\"summary.down\"][0] > 0 ? \"d\" : \"u\";\n          String timeAndStatus = doc[\"@timestamp\"][0].toInstant().toEpochMilli().toString() + status;\n          state.locStatus[idLoc] = timeAndStatus;\n          state.totalDocs++;\n        " & lang="painless" & position={ offset=25 & start=15 & end=515 } }
[00:01:06]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:01:06]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:01:06]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:01:06]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:01:06]                 │ proc [kibana]   status: 400,
[00:01:06]                 │ proc [kibana]   displayName: 'BadRequest',
[00:01:06]                 │ proc [kibana]   message:
[00:01:06]                 │ proc [kibana]    '[script_exception] runtime error, with { script_stack={ 0="org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)" & 1="org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)" & 2="org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)" & 3="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)" & 4="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)" & 5="java.base/java.security.AccessController.doPrivileged(AccessController.java:312)" & 6="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)" & 7="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)" & 8="loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String " & 9="          ^---- HERE" } & script="\\n          def loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String id = doc[\\"monitor.id\\"][0];\\n          String idLenDelim = Integer.toHexString(id.length()) + \\":\\" + id;\\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\\n\\n          String status = doc[\\"summary.down\\"][0] > 0 ? \\"d\\" : \\"u\\";\\n          String timeAndStatus = doc[\\"@timestamp\\"][0].toInstant().toEpochMilli().toString() + status;\\n          state.locStatus[idLoc] = timeAndStatus;\\n          state.totalDocs++;\\n        " & lang="painless" & position={ offset=25 & start=15 & end=515 } }',
[00:01:06]                 │ proc [kibana]   path: '/heartbeat-7*/_search',
[00:01:06]                 │ proc [kibana]   query: {},
[00:01:06]                 │ proc [kibana]   body:
[00:01:06]                 │ proc [kibana]    { error:
[00:01:06]                 │ proc [kibana]       { root_cause: [Array],
[00:01:06]                 │ proc [kibana]         type: 'search_phase_execution_exception',
[00:01:06]                 │ proc [kibana]         reason: 'all shards failed',
[00:01:06]                 │ proc [kibana]         phase: 'query',
[00:01:06]                 │ proc [kibana]         grouped: true,
[00:01:06]                 │ proc [kibana]         failed_shards: [Array] },
[00:01:06]                 │ proc [kibana]      status: 400 },
[00:01:06]                 │ proc [kibana]   statusCode: 400,
[00:01:06]                 │ proc [kibana]   response:
[00:01:06]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"script_exception","reason":"runtime error","script_stack":["org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)","org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)","org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)","java.base/java.security.AccessController.doPrivileged(AccessController.java:312)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)","loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String ","          ^---- HERE"],"script":"\\n          def loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String id = doc[\\"monitor.id\\"][0];\\n          String idLenDelim = Integer.toHexString(id.length()) + \\":\\" + id;\\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\\n\\n          String status = doc[\\"summary.down\\"][0] > 0 ? \\"d\\" : \\"u\\";\\n          String timeAndStatus = doc[\\"@timestamp\\"][0].toInstant().toEpochMilli().toString() + status;\\n          state.locStatus[idLoc] = timeAndStatus;\\n          state.totalDocs++;\\n        ","lang":"painless","position":{"offset":25,"start":15,"end":515}}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"heartbeat-7-generated-test","node":"E32If2bQTBenRfQfNlZl6Q","reason":{"type":"script_exception","reason":"runtime error","script_stack":["org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)","org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)","org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)","java.base/java.security.AccessController.doPrivileged(AccessController.java:312)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)","loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String ","          ^---- HERE"],"script":"\\n          def loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String id = doc[\\"monitor.id\\"][0];\\n          String idLenDelim = Integer.toHexString(id.length()) + \\":\\" + id;\\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\\n\\n          String status = doc[\\"summary.down\\"][0] > 0 ? \\"d\\" : \\"u\\";\\n          String timeAndStatus = doc[\\"@timestamp\\"][0].toInstant().toEpochMilli().toString() + status;\\n          state.locStatus[idLoc] = timeAndStatus;\\n          state.totalDocs++;\\n        ","lang":"painless","position":{"offset":25,"start":15,"end":515},"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}}]},"status":400}',
[00:01:06]                 │ proc [kibana]   toString: [Function],
[00:01:06]                 │ proc [kibana]   toJSON: [Function] }
[00:01:06]                 │ proc [kibana]   log   [19:08:17.596] [error][http] { Error: [illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
[00:01:06]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:01:06]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:01:06]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:01:06]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:01:06]                 │ proc [kibana]   status: 400,
[00:01:06]                 │ proc [kibana]   displayName: 'BadRequest',
[00:01:06]                 │ proc [kibana]   message:
[00:01:06]                 │ proc [kibana]    '[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.',
[00:01:06]                 │ proc [kibana]   path: '/heartbeat-7*/_search',
[00:01:06]                 │ proc [kibana]   query: {},
[00:01:06]                 │ proc [kibana]   body:
[00:01:06]                 │ proc [kibana]    { error:
[00:01:06]                 │ proc [kibana]       { root_cause: [Array],
[00:01:06]                 │ proc [kibana]         type: 'search_phase_execution_exception',
[00:01:06]                 │ proc [kibana]         reason: 'all shards failed',
[00:01:06]                 │ proc [kibana]         phase: 'query',
[00:01:06]                 │ proc [kibana]         grouped: true,
[00:01:06]                 │ proc [kibana]         failed_shards: [Array],
[00:01:06]                 │ proc [kibana]         caused_by: [Object] },
[00:01:06]                 │ proc [kibana]      status: 400 },
[00:01:06]                 │ proc [kibana]   statusCode: 400,
[00:01:06]                 │ proc [kibana]   response:
[00:01:06]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"heartbeat-7-generated-test","node":"E32If2bQTBenRfQfNlZl6Q","reason":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400}',
[00:01:06]                 │ proc [kibana]   toString: [Function],
[00:01:06]                 │ proc [kibana]   toJSON: [Function] }
[00:01:06]                 │ proc [kibana]   log   [19:08:17.601] [error][http] { Error: [illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
[00:01:06]                 │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:01:06]                 │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:01:06]                 │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:01:06]                 │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:01:06]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:01:06]                 │ proc [kibana]   status: 400,
[00:01:06]                 │ proc [kibana]   displayName: 'BadRequest',
[00:01:06]                 │ proc [kibana]   message:
[00:01:06]                 │ proc [kibana]    '[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.',
[00:01:06]                 │ proc [kibana]   path: '/heartbeat-7*/_search',
[00:01:06]                 │ proc [kibana]   query: {},
[00:01:06]                 │ proc [kibana]   body:
[00:01:06]                 │ proc [kibana]    { error:
[00:01:06]                 │ proc [kibana]       { root_cause: [Array],
[00:01:06]                 │ proc [kibana]         type: 'search_phase_execution_exception',
[00:01:06]                 │ proc [kibana]         reason: 'all shards failed',
[00:01:06]                 │ proc [kibana]         phase: 'query',
[00:01:06]                 │ proc [kibana]         grouped: true,
[00:01:06]                 │ proc [kibana]         failed_shards: [Array],
[00:01:06]                 │ proc [kibana]         caused_by: [Object] },
[00:01:06]                 │ proc [kibana]      status: 400 },
[00:01:06]                 │ proc [kibana]   statusCode: 400,
[00:01:06]                 │ proc [kibana]   response:
[00:01:06]                 │ proc [kibana]    '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"heartbeat-7-generated-test","node":"E32If2bQTBenRfQfNlZl6Q","reason":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400}',
[00:01:06]                 │ proc [kibana]   toString: [Function],
[00:01:06]                 │ proc [kibana]   toJSON: [Function] }
[00:01:06]                 │ proc [kibana]  error  [19:08:17.540]  Error: Internal Server Error
[00:01:06]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:69:19)
[00:01:06]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:163:34)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:06]                 │ proc [kibana]  error  [19:08:17.539]  Error: Internal Server Error
[00:01:06]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:69:19)
[00:01:06]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:163:34)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:06]                 │ proc [kibana]  error  [19:08:17.542]  Error: Internal Server Error
[00:01:06]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:69:19)
[00:01:06]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:163:34)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:06]                 │ proc [kibana]  error  [19:08:17.538]  Error: Internal Server Error
[00:01:06]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:69:19)
[00:01:06]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:163:34)
[00:01:06]                 │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:06]                 │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:06]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:06]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:06]                 │ERROR browser[SEVERE] http://localhost:6171/api/uptime/snapshot/count?dateRangeStart=now-15m&dateRangeEnd=now - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:01:06]                 │ERROR browser[SEVERE] http://localhost:6171/api/uptime/filters?dateRangeStart=now-15m&dateRangeEnd=now&&&&&search= - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:01:06]                 │ERROR browser[SEVERE] http://localhost:6171/api/uptime/monitor/list?dateRangeStart=now-15m&dateRangeEnd=now&pageSize=10&statusFilter= - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:01:06]                 │ERROR browser[SEVERE] http://localhost:6171/32768/bundles/plugin/uptime/uptime.plugin.js 0:20908 Error: Internal Server Error
[00:01:06]                 │          at Fetch._callee3$ (http://localhost:6171/32768/bundles/core/core.entry.js:26:105452)
[00:01:06]                 │          at l (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007040)
[00:01:06]                 │          at Generator._invoke (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1006793)
[00:01:06]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007397)
[00:01:06]                 │          at fetch_asyncGeneratorStep (http://localhost:6171/32768/bundles/core/core.entry.js:26:98881)
[00:01:06]                 │          at _next (http://localhost:6171/32768/bundles/core/core.entry.js:26:99197)
[00:01:06]                 │ERROR browser[SEVERE] http://localhost:6171/api/uptime/log_page_view - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:01:06]                 │ERROR browser[SEVERE] http://localhost:6171/32768/bundles/plugin/uptime/uptime.plugin.js 0:20908 Error: Internal Server Error
[00:01:06]                 │          at Fetch._callee3$ (http://localhost:6171/32768/bundles/core/core.entry.js:26:105452)
[00:01:06]                 │          at l (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007040)
[00:01:06]                 │          at Generator._invoke (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1006793)
[00:01:06]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007397)
[00:01:06]                 │          at fetch_asyncGeneratorStep (http://localhost:6171/32768/bundles/core/core.entry.js:26:98881)
[00:01:06]                 │          at _next (http://localhost:6171/32768/bundles/core/core.entry.js:26:99197)
[00:01:06]                 │ERROR browser[SEVERE] http://localhost:6171/32768/bundles/plugin/uptime/uptime.plugin.js 0:20908 Error: Internal Server Error
[00:01:06]                 │          at Fetch._callee3$ (http://localhost:6171/32768/bundles/core/core.entry.js:26:105452)
[00:01:06]                 │          at l (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007040)
[00:01:06]                 │          at Generator._invoke (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1006793)
[00:01:06]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007397)
[00:01:06]                 │          at fetch_asyncGeneratorStep (http://localhost:6171/32768/bundles/core/core.entry.js:26:98881)
[00:01:06]                 │          at _next (http://localhost:6171/32768/bundles/core/core.entry.js:26:99197)
[00:01:06]               └-> can navigate to cert page
[00:01:06]                 └-> "before each" hook: global before each
[00:01:06]                   │ debg browser[INFO] http://localhost:6171/32768/bundles/core/core.entry.js 75:262844 "Detected an unhandled Promise rejection.
[00:01:06]                   │      Error: Internal Server Error"
[00:01:06]                   │ERROR browser[SEVERE] http://localhost:6171/32768/bundles/core/core.entry.js 19:16140 
[00:01:06]                 └-> "before each" hook: delete settings
[00:01:06]                   │ debg Deleting saved object [object Object]/%s
[00:01:06]                   │ proc [kibana]   log   [19:08:17.927] [error][http] { Error: [illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
[00:01:06]                   │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:01:06]                   │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:01:06]                   │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:01:06]                   │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:01:06]                   │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:01:06]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:01:06]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:01:06]                   │ proc [kibana]   status: 400,
[00:01:06]                   │ proc [kibana]   displayName: 'BadRequest',
[00:01:06]                   │ proc [kibana]   message:
[00:01:06]                   │ proc [kibana]    '[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.',
[00:01:06]                   │ proc [kibana]   path: '/heartbeat-7*/_search',
[00:01:06]                   │ proc [kibana]   query: {},
[00:01:06]                   │ proc [kibana]   body:
[00:01:06]                   │ proc [kibana]    { error:
[00:01:06]                   │ proc [kibana]       { root_cause: [Array],
[00:01:06]                   │ proc [kibana]         type: 'search_phase_execution_exception',
[00:01:06]                   │ proc [kibana]         reason: 'all shards failed',
[00:01:06]                   │ proc [kibana]         phase: 'query',
[00:01:06]                   │ proc [kibana]         grouped: true,
[00:01:06]                   │ proc [kibana]         failed_shards: [Array],
[00:01:06]                   │ proc [kibana]         caused_by: [Object] },
[00:01:06]                   │ proc [kibana]      status: 400 },
[00:01:06]                   │ proc [kibana]   statusCode: 400,
[00:01:06]                   │ proc [kibana]   response:
[00:01:06]                   │ proc [kibana]    '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"heartbeat-7-generated-test","node":"E32If2bQTBenRfQfNlZl6Q","reason":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400}',
[00:01:06]                   │ proc [kibana]   toString: [Function],
[00:01:06]                   │ proc [kibana]   toJSON: [Function] }
[00:01:06]                   │ proc [kibana]   log   [19:08:17.933] [error][http] { Error: [script_exception] runtime error, with { script_stack={ 0="org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)" & 1="org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)" & 2="org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)" & 3="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)" & 4="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)" & 5="java.base/java.security.AccessController.doPrivileged(AccessController.java:312)" & 6="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)" & 7="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)" & 8="loc = doc[\"observer.geo.name\"].size() == 0 ? \"\" : doc[\"observer.geo.name\"][0];\n\n          // One concern here is memory since we could build pretty gigantic maps. I've opted to\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\n          // a little string parsing to treat these strings as records that stay lexicographically\n          // sortable (which is important later).\n          // We encode the ID and location as $id.len:$id$loc\n          String " & 9="          ^---- HERE" } & script="\n          def loc = doc[\"observer.geo.name\"].size() == 0 ? \"\" : doc[\"observer.geo.name\"][0];\n\n          // One concern here is memory since we could build pretty gigantic maps. I've opted to\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\n          // a little string parsing to treat these strings as records that stay lexicographically\n          // sortable (which is important later).\n          // We encode the ID and location as $id.len:$id$loc\n          String id = doc[\"monitor.id\"][0];\n          String idLenDelim = Integer.toHexString(id.length()) + \":\" + id;\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\n\n          String status = doc[\"summary.down\"][0] > 0 ? \"d\" : \"u\";\n          String timeAndStatus = doc[\"@timestamp\"][0].toInstant().toEpochMilli().toString() + status;\n          state.locStatus[idLoc] = timeAndStatus;\n          state.totalDocs++;\n        " & lang="painless" & position={ offset=25 & start=15 & end=515 } }
[00:01:06]                   │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:01:06]                   │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:01:06]                   │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:01:06]                   │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:01:06]                   │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:01:06]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:01:06]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:01:06]                   │ proc [kibana]   status: 400,
[00:01:06]                   │ proc [kibana]   displayName: 'BadRequest',
[00:01:06]                   │ proc [kibana]   message:
[00:01:06]                   │ proc [kibana]    '[script_exception] runtime error, with { script_stack={ 0="org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)" & 1="org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)" & 2="org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)" & 3="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)" & 4="org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)" & 5="java.base/java.security.AccessController.doPrivileged(AccessController.java:312)" & 6="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)" & 7="org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)" & 8="loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String " & 9="          ^---- HERE" } & script="\\n          def loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String id = doc[\\"monitor.id\\"][0];\\n          String idLenDelim = Integer.toHexString(id.length()) + \\":\\" + id;\\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\\n\\n          String status = doc[\\"summary.down\\"][0] > 0 ? \\"d\\" : \\"u\\";\\n          String timeAndStatus = doc[\\"@timestamp\\"][0].toInstant().toEpochMilli().toString() + status;\\n          state.locStatus[idLoc] = timeAndStatus;\\n          state.totalDocs++;\\n        " & lang="painless" & position={ offset=25 & start=15 & end=515 } }',
[00:01:06]                   │ proc [kibana]   path: '/heartbeat-7*/_search',
[00:01:06]                   │ proc [kibana]   query: {},
[00:01:06]                   │ proc [kibana]   body:
[00:01:06]                   │ proc [kibana]    { error:
[00:01:06]                   │ proc [kibana]       { root_cause: [Array],
[00:01:06]                   │ proc [kibana]         type: 'search_phase_execution_exception',
[00:01:06]                   │ proc [kibana]         reason: 'all shards failed',
[00:01:06]                   │ proc [kibana]         phase: 'query',
[00:01:06]                   │ proc [kibana]         grouped: true,
[00:01:06]                   │ proc [kibana]         failed_shards: [Array] },
[00:01:06]                   │ proc [kibana]      status: 400 },
[00:01:06]                   │ proc [kibana]   statusCode: 400,
[00:01:06]                   │ proc [kibana]   response:
[00:01:06]                   │ proc [kibana]    '{"error":{"root_cause":[{"type":"script_exception","reason":"runtime error","script_stack":["org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)","org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)","org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)","java.base/java.security.AccessController.doPrivileged(AccessController.java:312)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)","loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String ","          ^---- HERE"],"script":"\\n          def loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String id = doc[\\"monitor.id\\"][0];\\n          String idLenDelim = Integer.toHexString(id.length()) + \\":\\" + id;\\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\\n\\n          String status = doc[\\"summary.down\\"][0] > 0 ? \\"d\\" : \\"u\\";\\n          String timeAndStatus = doc[\\"@timestamp\\"][0].toInstant().toEpochMilli().toString() + status;\\n          state.locStatus[idLoc] = timeAndStatus;\\n          state.totalDocs++;\\n        ","lang":"painless","position":{"offset":25,"start":15,"end":515}}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"heartbeat-7-generated-test","node":"E32If2bQTBenRfQfNlZl6Q","reason":{"type":"script_exception","reason":"runtime error","script_stack":["org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:811)","org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:116)","org.elasticsearch.index.query.QueryShardContext.lambda$lookup$0(QueryShardContext.java:331)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:97)","org.elasticsearch.search.lookup.LeafDocLookup$1.run(LeafDocLookup.java:94)","java.base/java.security.AccessController.doPrivileged(AccessController.java:312)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:94)","org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:41)","loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String ","          ^---- HERE"],"script":"\\n          def loc = doc[\\"observer.geo.name\\"].size() == 0 ? \\"\\" : doc[\\"observer.geo.name\\"][0];\\n\\n          // One concern here is memory since we could build pretty gigantic maps. I\'ve opted to\\n          // stick to a simple <String,String> map to reduce memory overhead. This means we do\\n          // a little string parsing to treat these strings as records that stay lexicographically\\n          // sortable (which is important later).\\n          // We encode the ID and location as $id.len:$id$loc\\n          String id = doc[\\"monitor.id\\"][0];\\n          String idLenDelim = Integer.toHexString(id.length()) + \\":\\" + id;\\n          String idLoc = loc == null ? idLenDelim : idLenDelim + loc;\\n\\n          String status = doc[\\"summary.down\\"][0] > 0 ? \\"d\\" : \\"u\\";\\n          String timeAndStatus = doc[\\"@timestamp\\"][0].toInstant().toEpochMilli().toString() + status;\\n          state.locStatus[idLoc] = timeAndStatus;\\n          state.totalDocs++;\\n        ","lang":"painless","position":{"offset":25,"start":15,"end":515},"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [observer.geo.name] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}}]},"status":400}',
[00:01:06]                   │ proc [kibana]   toString: [Function],
[00:01:06]                   │ proc [kibana]   toJSON: [Function] }
[00:01:06]                   │ proc [kibana]   log   [19:08:17.938] [error][http] { Error: [illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
[00:01:06]                   │ proc [kibana]     at respond (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:349:15)
[00:01:06]                   │ proc [kibana]     at checkRespForFailure (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/transport.js:306:7)
[00:01:06]                   │ proc [kibana]     at HttpConnector.<anonymous> (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
[00:01:06]                   │ proc [kibana]     at IncomingMessage.wrapper (/dev/shm/workspace/install/kibana-7/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
[00:01:06]                   │ proc [kibana]     at IncomingMessage.emit (events.js:203:15)
[00:01:06]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1145:12)
[00:01:06]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:63:19)
[00:01:06]                   │ proc [kibana]   status: 400,
[00:01:06]                   │ proc [kibana]   displayName: 'BadRequest',
[00:01:06]                   │ proc [kibana]   message:
[00:01:06]                   │ proc [kibana]    '[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.',
[00:01:06]                   │ proc [kibana]   path: '/heartbeat-7*/_search',
[00:01:06]                   │ proc [kibana]   query: {},
[00:01:06]                   │ proc [kibana]   body:
[00:01:06]                   │ proc [kibana]    { error:
[00:01:06]                   │ proc [kibana]       { root_cause: [Array],
[00:01:06]                   │ proc [kibana]         type: 'search_phase_execution_exception',
[00:01:06]                   │ proc [kibana]         reason: 'all shards failed',
[00:01:06]                   │ proc [kibana]         phase: 'query',
[00:01:06]                   │ proc [kibana]         grouped: true,
[00:01:06]                   │ proc [kibana]         failed_shards: [Array],
[00:01:06]                   │ proc [kibana]         caused_by: [Object] },
[00:01:06]                   │ proc [kibana]      status: 400 },
[00:01:06]                   │ proc [kibana]   statusCode: 400,
[00:01:06]                   │ proc [kibana]   response:
[00:01:06]                   │ proc [kibana]    '{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"heartbeat-7-generated-test","node":"E32If2bQTBenRfQfNlZl6Q","reason":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory.","caused_by":{"type":"illegal_argument_exception","reason":"Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [monitor.id] in order to load field data by uninverting the inverted index. Note that this can use significant memory."}}},"status":400}',
[00:01:06]                   │ proc [kibana]   toString: [Function],
[00:01:06]                   │ proc [kibana]   toJSON: [Function] }
[00:01:06]                   │ proc [kibana]  error  [19:08:17.880]  Error: Internal Server Error
[00:01:06]                   │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:69:19)
[00:01:06]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:163:34)
[00:01:06]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:06]                   │ERROR browser[SEVERE] http://localhost:6171/api/uptime/filters?dateRangeStart=now-15m&dateRangeEnd=now&&&&&search= - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:01:06]                   │ERROR browser[SEVERE] http://localhost:6171/32768/bundles/plugin/uptime/uptime.plugin.js 0:20908 Error: Internal Server Error
[00:01:06]                   │          at Fetch._callee3$ (http://localhost:6171/32768/bundles/core/core.entry.js:26:105452)
[00:01:06]                   │          at l (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007040)
[00:01:06]                   │          at Generator._invoke (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1006793)
[00:01:06]                   │          at Generator.forEach.e.<computed> [as next] (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007397)
[00:01:06]                   │          at fetch_asyncGeneratorStep (http://localhost:6171/32768/bundles/core/core.entry.js:26:98881)
[00:01:06]                   │          at _next (http://localhost:6171/32768/bundles/core/core.entry.js:26:99197)
[00:01:06]                   │ proc [kibana]  error  [19:08:17.883]  Error: Internal Server Error
[00:01:06]                   │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:69:19)
[00:01:06]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:163:34)
[00:01:06]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:06]                   │ proc [kibana]  error  [19:08:17.881]  Error: Internal Server Error
[00:01:06]                   │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/response_adapter.js:69:19)
[00:01:06]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/install/kibana-7/src/core/server/http/router/router.js:163:34)
[00:01:06]                   │ proc [kibana]     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:01:06]                   │ERROR browser[SEVERE] http://localhost:6171/api/uptime/monitor/list?dateRangeStart=now-15m&dateRangeEnd=now&pageSize=10&statusFilter= - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:01:06]                   │ERROR browser[SEVERE] http://localhost:6171/32768/bundles/plugin/uptime/uptime.plugin.js 0:20908 Error: Internal Server Error
[00:01:06]                   │          at Fetch._callee3$ (http://localhost:6171/32768/bundles/core/core.entry.js:26:105452)
[00:01:06]                   │          at l (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007040)
[00:01:06]                   │          at Generator._invoke (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1006793)
[00:01:06]                   │          at Generator.forEach.e.<computed> [as next] (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007397)
[00:01:06]                   │          at fetch_asyncGeneratorStep (http://localhost:6171/32768/bundles/core/core.entry.js:26:98881)
[00:01:06]                   │          at _next (http://localhost:6171/32768/bundles/core/core.entry.js:26:99197)
[00:01:06]                   │ERROR browser[SEVERE] http://localhost:6171/api/uptime/snapshot/count?dateRangeStart=now-15m&dateRangeEnd=now - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:01:06]                   │ERROR browser[SEVERE] http://localhost:6171/32768/bundles/plugin/uptime/uptime.plugin.js 0:20908 Error: Internal Server Error
[00:01:06]                   │          at Fetch._callee3$ (http://localhost:6171/32768/bundles/core/core.entry.js:26:105452)
[00:01:06]                   │          at l (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007040)
[00:01:06]                   │          at Generator._invoke (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1006793)
[00:01:06]                   │          at Generator.forEach.e.<computed> [as next] (http://localhost:6171/32768/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:360:1007397)
[00:01:06]                   │          at fetch_asyncGeneratorStep (http://localhost:6171/32768/bundles/core/core.entry.js:26:98881)
[00:01:06]                   │          at _next (http://localhost:6171/32768/bundles/core/core.entry.js:26:99197)
[00:01:07]                 └-> "before each" hook: load heartbeat data
[00:01:07]                   │ info [uptime/blank] Loading "mappings.json"
[00:01:07]                   │ info [uptime/blank] Loading "data.json"
[00:01:07]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test/zO1VPCz6T8mFJAHFZnFc2w] deleting index
[00:01:07]                   │ info [uptime/blank] Deleted existing index "heartbeat-7-generated-test"
[00:01:07]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:01:07]                   │ info [uptime/blank] Created index "heartbeat-7-generated-test"
[00:01:07]                   │ debg [uptime/blank] "heartbeat-7-generated-test" settings undefined
[00:01:07]                 └-> "before each" hook
[00:01:07]                 │ debg TestSubjects.exists(data-missing)
[00:01:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="data-missing"]') with timeout=0
[00:01:07]                 │ debg --- retry.tryForTime error: [data-test-subj="data-missing"] is not displayed
[00:01:08]                 │ debg TestSubjects.missingOrFail(data-missing)
[00:01:08]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="data-missing"]') with timeout=2500
[00:01:08]                 │ debg TestSubjects.exists(uptimeCertificatesLink)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesLink"]') with timeout=120000
[00:01:08]                 │ debg TestSubjects.exists(uptimeCertificatesPage)
[00:01:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesPage"]') with timeout=0
[00:01:08]                 │ debg --- retry.tryForTime error: [data-test-subj="uptimeCertificatesPage"] is not displayed
[00:01:09]                 │ debg TestSubjects.exists(uptimeCertificatesLink)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesLink"]') with timeout=0
[00:01:09]                 │ debg TestSubjects.click(uptimeCertificatesLink)
[00:01:09]                 │ debg Find.clickByCssSelector('[data-test-subj="uptimeCertificatesLink"]') with timeout=10000
[00:01:09]                 │ debg Find.findByCssSelector('[data-test-subj="uptimeCertificatesLink"]') with timeout=10000
[00:01:09]                 │ debg TestSubjects.exists(uptimeCertificatesPage)
[00:01:09]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesPage"]') with timeout=120000
[00:01:09]                 └- ✓ pass  (1.8s) "Uptime app with generated data certificates can navigate to cert page"
[00:01:09]               └-> "after each" hook: unload
[00:01:09]                 │ info [uptime/blank] Unloading indices from "mappings.json"
[00:01:09]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test/mIp4kZZvTNyVOldpHIVvkQ] deleting index
[00:01:09]                 │ info [uptime/blank] Deleted existing index "heartbeat-7-generated-test"
[00:01:09]                 │ info [uptime/blank] Unloading indices from "data.json"
[00:01:09]               └-: page
[00:01:09]                 └-> "before all" hook
[00:01:09]                 └-> displays certificates
[00:01:09]                   └-> "before each" hook: global before each
[00:01:09]                   └-> "before each" hook: delete settings
[00:01:09]                     │ debg Deleting saved object [object Object]/%s
[00:01:10]                   └-> "before each" hook: load heartbeat data
[00:01:10]                     │ info [uptime/blank] Loading "mappings.json"
[00:01:10]                     │ info [uptime/blank] Loading "data.json"
[00:01:10]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:01:10]                     │ info [uptime/blank] Created index "heartbeat-7-generated-test"
[00:01:10]                     │ debg [uptime/blank] "heartbeat-7-generated-test" settings undefined
[00:01:10]                   └-> "before each" hook
[00:01:10]                   └-> "before each" hook
[00:01:10]                     │ debg TestSubjects.exists(uptimeCertificatesPage)
[00:01:10]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesPage"]') with timeout=0
[00:01:10]                     │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:10]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:10]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:10]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:10]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:10]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:10]                   └- ✓ pass  (60ms) "Uptime app with generated data certificates page displays certificates"
[00:01:10]                 └-> "after each" hook: unload
[00:01:10]                   │ info [uptime/blank] Unloading indices from "mappings.json"
[00:01:10]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test/xU0EnvLtTtW3FzT0hTpF2w] deleting index
[00:01:10]                   │ info [uptime/blank] Deleted existing index "heartbeat-7-generated-test"
[00:01:10]                   │ info [uptime/blank] Unloading indices from "data.json"
[00:01:10]                 └-> displays specific certificates
[00:01:10]                   └-> "before each" hook: global before each
[00:01:10]                   └-> "before each" hook: delete settings
[00:01:10]                     │ debg Deleting saved object [object Object]/%s
[00:01:11]                   └-> "before each" hook: load heartbeat data
[00:01:11]                     │ info [uptime/blank] Loading "mappings.json"
[00:01:11]                     │ info [uptime/blank] Loading "data.json"
[00:01:11]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:01:11]                     │ info [uptime/blank] Created index "heartbeat-7-generated-test"
[00:01:11]                     │ debg [uptime/blank] "heartbeat-7-generated-test" settings undefined
[00:01:11]                   └-> "before each" hook
[00:01:11]                   └-> "before each" hook
[00:01:11]                     │ debg TestSubjects.exists(uptimeCertificatesPage)
[00:01:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesPage"]') with timeout=0
[00:01:11]                     │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:11]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:11]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:11]                   │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:11]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:11]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:12]                   │ debg TestSubjects.exists(DDCD2826BBC832A3F5B872ACE12D70B04352E5643106A8FDD77255D4BB5E28AC7631EDA0F7FFFFF7233E3DA2C9A3E2B9F38F0E72B4EAA161D4002A90440AF18F)
[00:01:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="DDCD2826BBC832A3F5B872ACE12D70B04352E5643106A8FDD77255D4BB5E28AC7631EDA0F7FFFFF7233E3DA2C9A3E2B9F38F0E72B4EAA161D4002A90440AF18F"]') with timeout=2500
[00:01:12]                   │ debg TestSubjects.exists(DDCD2826BBC832A3F5B872ACE12D70B04352E5643106A8FDD77255D4BB5E28AC7631EDA0F7FFFFF7233E3DA2C9A3E2B9F38F0E72B4EAA161D4002A90440AF18F)
[00:01:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="DDCD2826BBC832A3F5B872ACE12D70B04352E5643106A8FDD77255D4BB5E28AC7631EDA0F7FFFFF7233E3DA2C9A3E2B9F38F0E72B4EAA161D4002A90440AF18F"]') with timeout=120000
[00:01:12]                   │ debg TestSubjects.exists(monitor-page-link-monitor-60h5je)
[00:01:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="monitor-page-link-monitor-60h5je"]') with timeout=120000
[00:01:12]                   └- ✓ pass  (360ms) "Uptime app with generated data certificates page displays specific certificates"
[00:01:12]                 └-> "after each" hook: unload
[00:01:12]                   │ info [uptime/blank] Unloading indices from "mappings.json"
[00:01:12]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test/OVyUObTLQZ67_cBoyjl4Wg] deleting index
[00:01:12]                   │ info [uptime/blank] Deleted existing index "heartbeat-7-generated-test"
[00:01:12]                   │ info [uptime/blank] Unloading indices from "data.json"
[00:01:12]                 └-> performs search against monitor id
[00:01:12]                   └-> "before each" hook: global before each
[00:01:12]                   └-> "before each" hook: delete settings
[00:01:12]                     │ debg Deleting saved object [object Object]/%s
[00:01:12]                   └-> "before each" hook: load heartbeat data
[00:01:12]                     │ info [uptime/blank] Loading "mappings.json"
[00:01:12]                     │ info [uptime/blank] Loading "data.json"
[00:01:12]                     │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xl-1593541803982729302] [heartbeat-7-generated-test] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:01:12]                     │ info [uptime/blank] Created index "heartbeat-7-generated-test"
[00:01:12]                     │ debg [uptime/blank] "heartbeat-7-generated-test" settings undefined
[00:01:12]                   └-> "before each" hook
[00:01:12]                   └-> "before each" hook
[00:01:12]                     │ debg TestSubjects.exists(uptimeCertificatesPage)
[00:01:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeCertificatesPage"]') with timeout=0
[00:01:12]                     │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:12]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:12]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:12]                   │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:01:12]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:12]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:01:12]                   │ debg TestSubjects.find(uptimeCertSearch)
[00:01:12]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertSearch"]') with timeout=10000
[00:01:13]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:13]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:13]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:13]                   │ debg --- retry.tryForTime error: expected 2 to sort of equal 1
[00:01:14]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:14]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:14]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:14]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:14]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:14]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:15]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:15]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:15]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:15]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:15]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:15]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:16]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:16]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:16]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:16]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:16]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:16]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:16]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:17]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:17]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:17]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:17]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:17]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:17]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:18]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:18]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:18]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:18]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:18]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:18]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:19]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:19]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:19]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:19]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:19]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:19]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:19]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:20]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:20]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:20]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:21]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:21]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:21]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:21]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:21]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:21]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:22]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:22]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:22]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:22]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:22]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:22]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:22]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:23]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:23]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:23]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:23]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:23]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:23]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:24]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:24]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:24]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:24]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:24]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:24]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:25]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:25]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:25]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:25]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:25]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:25]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:25]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:26]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:26]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:26]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:26]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:26]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:26]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:27]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:27]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:27]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:27]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:27]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:27]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:28]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:28]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:28]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:28]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:28]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:28]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:28]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:29]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:29]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:29]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:30]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:30]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:30]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:30]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:30]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:30]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:31]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:31]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:31]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:31]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:31]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:31]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:31]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:32]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:32]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:32]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:32]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:32]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:32]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:33]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:33]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:33]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:33]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:33]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:33]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:34]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:34]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:34]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:34]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:34]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:34]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:34]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:35]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:35]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:35]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:35]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:35]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:35]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:36]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:36]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:36]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:36]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:36]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:36]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:37]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:37]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:37]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:37]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:37]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:37]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:37]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:38]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:38]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:38]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:39]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:39]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:39]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:39]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:39]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:39]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:40]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:40]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:40]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:40]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:40]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:40]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:40]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:41]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:41]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:41]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:41]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:41]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:41]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:42]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:42]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:42]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:42]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:42]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:42]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:43]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:43]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:43]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:43]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:43]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:43]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:43]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:43]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:44]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:44]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:44]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:44]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:44]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:44]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:45]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:45]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:45]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:45]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:45]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:45]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:45]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:46]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:46]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:46]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:46]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:46]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:46]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:46]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:46]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:47]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:47]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:47]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:47]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:47]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:47]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:48]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:48]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:48]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:48]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:49]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:49]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:49]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:49]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:49]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:49]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:49]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:50]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:50]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:50]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:50]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:50]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:50]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:51]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:51]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:51]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:51]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:51]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:51]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:52]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:52]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:52]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:52]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:52]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:52]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:52]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:53]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:53]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:53]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:53]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:53]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:53]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:54]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:54]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:54]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:54]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:54]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:54]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:55]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:55]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:55]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:55]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:55]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:55]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:55]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:56]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:56]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:56]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:56]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:56]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:56]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:57]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:57]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:57]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:57]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:57]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:57]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:58]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:58]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:58]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:58]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:58]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:58]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:59]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:01:59]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:01:59]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:01:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:00]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:00]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:00]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:00]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:00]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:00]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:01]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:01]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:01]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:01]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:01]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:01]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:02]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:02]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:02]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:02]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:02]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:02]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:03]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:03]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:03]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:03]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:03]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:03]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:04]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:04]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:04]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:04]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:04]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:04]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:04]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:05]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:05]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:05]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:05]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:05]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:05]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:06]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:06]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:06]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:06]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:06]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:06]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:07]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:07]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:07]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:07]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:07]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:07]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:08]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:08]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:08]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:08]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:08]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:08]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:09]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:09]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:09]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:09]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:09]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:09]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:10]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:10]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:10]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:10]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:11]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:11]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:11]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:11]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:12]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:12]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:12]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:12]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:12]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:12]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:13]                   │ debg TestSubjects.getVisibleText(uptimeCertTotal)
[00:02:13]                   │ debg TestSubjects.find(uptimeCertTotal)
[00:02:13]                   │ debg Find.findByCssSelector('[data-test-subj="uptimeCertTotal"]') with timeout=10000
[00:02:13]                   │ debg --- retry.tryForTime failed again with the same message...
[00:02:13]                   │ debg --- retry.tryForTime error: retry.tryForTime timeout: Error: expected 2 to sort of equal 1
[00:02:13]                   │          at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
[00:02:13]                   │          at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
[00:02:13]                   │          at retry.tryForTime (/dev/shm/workspace/kibana/x-pack/test/functional/services/uptime/certificates.ts:51:41)
[00:02:13]                   │          at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:14]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/Uptime app with generated data certificates page performs search against monitor id.png"
[00:02:14]                   │ info Current URL is: http://localhost:6171/app/uptime#/certificates
[00:02:14]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/Uptime app with generated data certificates page performs search against monitor id.html
[00:02:14]                   └- ✖ fail: "Uptime app with generated data certificates page performs search against monitor id"
[00:02:14]                   │

Stack Trace

Error: retry.tryForTime timeout: Error: retry.tryForTime timeout: Error: expected 2 to sort of equal 1
    at Assertion.assert (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/kibana/packages/kbn-expect/expect.js:244:8)
    at retry.tryForTime (test/functional/services/uptime/certificates.ts:51:41)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
observability 11 +1 10

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

@jasonrhodes jasonrhodes merged commit 1d2bec3 into elastic:7.x Jun 30, 2020
@jasonrhodes jasonrhodes deleted the backport/7.x/pr-69999 branch June 30, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants