Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Alerting & Actions ] More debug logging #84670

Closed
wants to merge 7 commits into from

Conversation

ymao1
Copy link
Contributor

@ymao1 ymao1 commented Dec 1, 2020

Resolves #49401

Summary

Added debug logging for:

  • Log start of each alert execution
  • If active instances exist for alert execution, log how many and the instance ids and action group of each
  • If recovered instances exist for alert execution, log how many and the instance ids of each
  • Log if action execution for alert is skipped due to muteAll
  • Log if action execution for individual alert instance is skipped due to mute or throttle
  • Log start of each action execution

Verified that error logging for alert and action execution errors log any detailed messages that bubble up

@ymao1 ymao1 self-assigned this Dec 1, 2020
@ymao1 ymao1 added Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.11.0 v8.0.0 labels Dec 1, 2020
@ymao1 ymao1 marked this pull request as ready for review December 1, 2020 20:09
@ymao1 ymao1 requested a review from a team as a code owner December 1, 2020 20:09
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@ymao1
Copy link
Contributor Author

ymao1 commented Dec 3, 2020

@elasticmachine merge upstream

@mikecote mikecote self-requested a review December 4, 2020 14:31
Copy link
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

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

Changes LGTM! This will be useful for debugging purposes!

Comment on lines +221 to +224
const recoveredAlertInstances = pickBy(
alertInstances,
(alertInstance: AlertInstance) => !alertInstance.hasScheduledActions()
);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: 👏 we could also leverage this logic within generateNewAndRecoveredInstanceEvents.

Comment on lines +256 to +258
const throttled = alertInstance.isThrottled(throttle);
const muted = mutedInstanceIdsSet.has(alertInstanceName);
const shouldExecuteAction = !throttled && !muted;
Copy link
Contributor

Choose a reason for hiding this comment

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

👏 awesome, much more descriptive!

@@ -332,12 +354,15 @@ export class TaskRunner {
schedule: taskSchedule,
} = this.taskInstance;

const runDate = new Date().toISOString();
this.logger.debug(`executing alert ${this.alertType.id}:${alertId} at ${runDate}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

Was the runDate added to match the Kibana logs with the event log data timestamp when debugging?

@@ -120,6 +120,8 @@ export class ActionExecutor {
}

const actionLabel = `${actionTypeId}:${actionId}: ${name}`;
logger.debug(`executing action ${actionLabel} at ${new Date().toISOString()}`);
Copy link
Contributor

Choose a reason for hiding this comment

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

With the logger prefixing all the logs with a timestamp, is there a reason for the extra at ${new Date().toISOString()} here?

@mikecote
Copy link
Contributor

mikecote commented Dec 4, 2020

I was also wondering if we should log (as debug) the raw errors the connectors receive when they encounter an error. I know some of them will do some processing on the error to ensure we don't return sensitive information (ex: credentials) but maybe using debug is ok? I'm not sure.. cc @kobelb @pmuellr

I'm thinking the scenario of the webhook connector. Today if you put an invalid URL, it will give a generic message and no indicator that it can't communicate with the external service (see below). It then becomes hard to debug this for a customer. Other scenarios this could happen is if the customer forgets to set proxy settings or didn't configure their network properly w/ external communications.

Screen Shot 2020-12-04 at 2 11 30 PM

@kobelb
Copy link
Contributor

kobelb commented Dec 4, 2020

I was also wondering if we should log (as debug) the raw errors the connectors receive when they encounter an error. I know some of them will do some processing on the error to ensure we don't return sensitive information (ex: credentials) but maybe using debug is ok? I'm not sure.. cc @kobelb @pmuellr

As long as we're reasonably confident that the error messages won't include credentials, this seems reasonable to me.

@pmuellr
Copy link
Member

pmuellr commented Dec 4, 2020

I haven't seen cases where credentials are leaked by any services, directly. But, in some cases like Slack, the secret is also the primary URL (contains a token in the URL path), so we'd just need to be sensitive in any Slack action implementation code not to print the URL out in a message - since it might not be clear from the context that it's not just a URL, but also a secret.

Webhook is probably the worst case, since there might be passwords/tokens/etc in non-secret config or params - eg, if you used webhook to post slack messages, the url for the webhook will contain a slack api token. Our error messages there are also not great, because, how do we really know what to pull from the webhook response as an "error message"? Or even know it's an error in the first place if the webhook returns errors as 200 responses (it happens).

It might be a nice enhancement to have a mode to run actions, where we provided more of the response info back to the user. Eg, if you're using the web ui and the "test connector" functionality.

@kobelb
Copy link
Contributor

kobelb commented Dec 4, 2020

Webhook is probably the worst case, since there might be passwords/tokens/etc in non-secret config or params - eg, if you used webhook to post slack messages, the url for the webhook will contain a slack api token.

In this situation, are the end-users that are authorized to view the webhook connector able to view the password/tokens/etc in non-secret params? If so, we're already "leaking" this information and aren't arguably making it any worse...

@pmuellr
Copy link
Member

pmuellr commented Dec 4, 2020

In this situation, are the end-users that are authorized to view the webhook connector able to view the password/tokens/etc in non-secret params? If so, we're already "leaking" this information and aren't arguably making it any worse.

True, we aren't making that specific case worse. We could be making it worse by writing that URL into the Kibana log though.

Of all the connectors, webhook is the hardest to "lock down" in terms of providing useful feedback, since it is (by definition) open ended.

@ymao1 ymao1 requested review from vigneshshanmugam and a team as code owners December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team as a code owner December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team as a code owner December 7, 2020 15:27
@ymao1 ymao1 requested review from a team December 7, 2020 15:27
@ymao1 ymao1 requested review from a team as code owners December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team December 7, 2020 15:27
@ymao1 ymao1 requested review from a team as code owners December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team as a code owner December 7, 2020 15:27
@ymao1 ymao1 requested a review from a team December 7, 2020 15:27
@ymao1
Copy link
Contributor Author

ymao1 commented Dec 7, 2020

Yikes! Bad merge. Sorry for the notifications.

@kibanamachine
Copy link
Contributor

kibanamachine commented Dec 7, 2020

💔 Build Failed

Failed CI Steps


Test Failures

X-Pack Jest Tests.x-pack/plugins/actions/server/lib.successfully executes

Link to Jenkins

Standard Out

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


Stack Trace

Error: expect(jest.fn()).toBeCalledWith(...expected)

Expected: "executing action test:1: 1 at 1970-01-01T00:00:00.000Z"
Received: "executing action test:1: 1"

Number of calls: 1
    at Object.<anonymous> (/dev/shm/workspace/parallel/9/kibana/x-pack/plugins/actions/server/lib/action_executor.test.ts:118:28)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at _callCircusTest (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:212:5)
    at _runTest (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:149:3)
    at _runTestsForDescribeBlock (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:63:9)
    at run (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/dev/shm/workspace/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:176:21)
    at jestAdapter (/dev/shm/workspace/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:109:19)
    at runTestInternal (/dev/shm/workspace/kibana/node_modules/jest-runner/build/runTest.js:380:16)
    at runTest (/dev/shm/workspace/kibana/node_modules/jest-runner/build/runTest.js:472:34)
    at Object.worker (/dev/shm/workspace/kibana/node_modules/jest-runner/build/testWorker.js:133:12)

Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/uptime/locations·ts.Uptime app with generated data Observer location displays less monitor availability

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:00:00]             └-: Observer location
[00:00:00]               └-> "before all" hook
[00:00:00]               └-> "before all" hook
[00:00:00]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/myk9yubtRZ2qqgs_vXEnAA] create_mapping
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/myk9yubtRZ2qqgs_vXEnAA] update_mapping [_doc]
[00:00:00]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/myk9yubtRZ2qqgs_vXEnAA] update_mapping [_doc]
[00:00:00]                 │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:00:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:00:00]                 │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:00:01]                 │ debg navigating to uptime url: http://localhost:61181/app/uptime
[00:00:01]                 │ debg navigate to: http://localhost:61181/app/uptime
[00:00:01]                 │ debg browser[INFO] http://localhost:61181/login?next=%2Fapp%2Fuptime%3F_t%3D1607356983552 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:01]                 │
[00:00:01]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:01]                 │ debg ... sleep(700) start
[00:00:02]                 │ debg ... sleep(700) end
[00:00:02]                 │ debg returned from get, calling refresh
[00:00:03]                 │ debg browser[INFO] http://localhost:61181/login?next=%2Fapp%2Fuptime%3F_t%3D1607356983552 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:03]                 │
[00:00:03]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:03]                 │ debg currentUrl = http://localhost:61181/login?next=%2Fapp%2Fuptime%3F_t%3D1607356983552
[00:00:03]                 │          appUrl = http://localhost:61181/app/uptime
[00:00:03]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:03]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:05]                 │ debg Found login page
[00:00:05]                 │ debg TestSubjects.setValue(loginUsername, test_user)
[00:00:05]                 │ debg TestSubjects.click(loginUsername)
[00:00:05]                 │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:05]                 │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:00:05]                 │ERROR browser[SEVERE] http://localhost:61181/internal/spaces/_active_space - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:00:05]                 │ debg browser[INFO] http://localhost:61181/38569/bundles/core/core.entry.js 12:194329 "Detected an unhandled Promise rejection.
[00:00:05]                 │      Error: Unauthorized"
[00:00:05]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/core/core.entry.js 5:3002 
[00:00:05]                 │ debg TestSubjects.setValue(loginPassword, changeme)
[00:00:05]                 │ debg TestSubjects.click(loginPassword)
[00:00:05]                 │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:05]                 │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:00:05]                 │ debg TestSubjects.click(loginSubmit)
[00:00:05]                 │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:05]                 │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:00:05]                 │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:00:05]                 │ proc [kibana]   log   [16:03:08.248] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:00:06]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:06]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:00:09]                 │ debg browser[INFO] http://localhost:61181/app/uptime?_t=1607356983552 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:09]                 │
[00:00:09]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:09]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 TypeError: Failed to fetch
[00:00:09]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:43940)
[00:00:09]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:09]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:09]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:09]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:09]                 │          at _throw (http://localhost:61181/38569/bundles/core/core.entry.js:6:39406)
[00:00:09]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 374:77071 TypeError: Cannot read property 'message' of undefined
[00:00:09]                 │          at http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.3.js:3:428677
[00:00:09]                 │          at Array.map (<anonymous>)
[00:00:09]                 │          at EmptyStateError (http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.3.js:3:428593)
[00:00:09]                 │          at cr (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:59332)
[00:00:09]                 │          at _l (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:104414)
[00:00:09]                 │          at gs (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:90018)
[00:00:09]                 │          at hs (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:89943)
[00:00:09]                 │          at is (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:87291)
[00:00:09]                 │          at http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:45733
[00:00:09]                 │          at t.unstable_runWithPriority (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:383:3462)
[00:00:09]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 TypeError: Failed to fetch
[00:00:09]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:43940)
[00:00:09]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:09]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:09]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:09]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:09]                 │          at _throw (http://localhost:61181/38569/bundles/core/core.entry.js:6:39406)
[00:00:09]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 TypeError: Failed to fetch
[00:00:09]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:43940)
[00:00:09]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:09]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:09]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:09]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:09]                 │          at _throw (http://localhost:61181/38569/bundles/core/core.entry.js:6:39406)
[00:00:09]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 TypeError: Failed to fetch
[00:00:09]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:43940)
[00:00:09]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:09]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:09]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:09]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:09]                 │          at _throw (http://localhost:61181/38569/bundles/core/core.entry.js:6:39406)
[00:00:09]                 │ debg browser[INFO] http://localhost:61181/app/uptime?_t=1607356991371 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:09]                 │
[00:00:09]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:09]                 │ debg Finished login process currentUrl = http://localhost:61181/app/uptime
[00:00:09]                 │ debg ... sleep(501) start
[00:00:10]                 │ debg ... sleep(501) end
[00:00:10]                 │ debg in navigateTo url = http://localhost:61181/app/uptime
[00:00:10]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:10]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:10]                 │ proc [kibana]   log   [16:03:12.741] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:10]                 │ proc [kibana]   log   [16:03:12.742] [error][http] ResponseError: search_phase_execution_exception
[00:00:10]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:10]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:10]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:10]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:10]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:10]                 │ proc [kibana]   meta: {
[00:00:10]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:10]                 │ proc [kibana]     statusCode: 400,
[00:00:10]                 │ proc [kibana]     headers: {
[00:00:10]                 │ proc [kibana]       'x-opaque-id': '417425be-1ccd-459a-850c-0c60103c268d',
[00:00:10]                 │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:10]                 │ proc [kibana]       'content-length': '1869'
[00:00:10]                 │ proc [kibana]     },
[00:00:10]                 │ proc [kibana]     meta: {
[00:00:10]                 │ proc [kibana]       context: null,
[00:00:10]                 │ proc [kibana]       request: [Object],
[00:00:10]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:00:10]                 │ proc [kibana]       connection: [Object],
[00:00:10]                 │ proc [kibana]       attempts: 0,
[00:00:10]                 │ proc [kibana]       aborted: false
[00:00:10]                 │ proc [kibana]     }
[00:00:10]                 │ proc [kibana]   }
[00:00:10]                 │ proc [kibana] }
[00:00:10]                 │ proc [kibana]  error  [16:03:12.656]  Error: Internal Server Error
[00:00:10]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:10]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:10]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:10]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:10]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:10]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:10]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:10]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:10]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:10]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:10]                 │ proc [kibana]   log   [16:03:12.870] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:10]                 │ proc [kibana]   log   [16:03:12.871] [error][http] ResponseError: search_phase_execution_exception
[00:00:10]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:10]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:10]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:10]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:10]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:10]                 │ proc [kibana]   meta: {
[00:00:10]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:10]                 │ proc [kibana]     statusCode: 400,
[00:00:10]                 │ proc [kibana]     headers: {
[00:00:10]                 │ proc [kibana]       'x-opaque-id': '92e49cb5-7001-465f-b020-1887ad3a31a9',
[00:00:10]                 │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:10]                 │ proc [kibana]       'content-length': '1897'
[00:00:10]                 │ proc [kibana]     },
[00:00:10]                 │ proc [kibana]     meta: {
[00:00:10]                 │ proc [kibana]       context: null,
[00:00:10]                 │ proc [kibana]       request: [Object],
[00:00:10]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:00:10]                 │ proc [kibana]       connection: [Object],
[00:00:10]                 │ proc [kibana]       attempts: 0,
[00:00:10]                 │ proc [kibana]       aborted: false
[00:00:10]                 │ proc [kibana]     }
[00:00:10]                 │ proc [kibana]   }
[00:00:10]                 │ proc [kibana] }
[00:00:10]                 │ proc [kibana]  error  [16:03:12.800]  Error: Internal Server Error
[00:00:10]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:10]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:10]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:10]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:10]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:10]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:10]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:10]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:10]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:10]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:10]                 │ proc [kibana]   log   [16:03:12.909] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:10]                 │ proc [kibana]   log   [16:03:12.919] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:10]                 │ proc [kibana]   log   [16:03:12.920] [error][http] ResponseError: search_phase_execution_exception
[00:00:10]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:10]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:10]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:10]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:10]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:10]                 │ proc [kibana]   meta: {
[00:00:10]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:10]                 │ proc [kibana]     statusCode: 400,
[00:00:10]                 │ proc [kibana]     headers: {
[00:00:10]                 │ proc [kibana]       'x-opaque-id': '3890e5f1-85ea-4163-a2c8-04093cef5999',
[00:00:10]                 │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:10]                 │ proc [kibana]       'content-length': '3587'
[00:00:10]                 │ proc [kibana]     },
[00:00:10]                 │ proc [kibana]     meta: {
[00:00:10]                 │ proc [kibana]       context: null,
[00:00:10]                 │ proc [kibana]       request: [Object],
[00:00:10]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:00:10]                 │ proc [kibana]       connection: [Object],
[00:00:10]                 │ proc [kibana]       attempts: 0,
[00:00:10]                 │ proc [kibana]       aborted: false
[00:00:10]                 │ proc [kibana]     }
[00:00:10]                 │ proc [kibana]   }
[00:00:10]                 │ proc [kibana] }
[00:00:10]                 │ proc [kibana]  error  [16:03:12.807]  Error: Internal Server Error
[00:00:10]                 │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:132:19)
[00:00:10]                 │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:86:19)
[00:00:10]                 │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:81:17)
[00:00:10]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:164:34)
[00:00:10]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:10]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:10]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:10]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:10]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:10]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:10]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:10]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:10]                 │ proc [kibana]  error  [16:03:12.801]  Error: Internal Server Error
[00:00:10]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:10]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:10]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:10]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:10]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:10]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:10]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:10]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:10]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:10]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/api/uptime/log_page_view - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:00:12]                 │ debg browser[INFO] http://localhost:61181/38569/bundles/core/core.entry.js 12:194329 "Detected an unhandled Promise rejection.
[00:00:12]                 │      Error: Internal Server Error"
[00:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/core/core.entry.js 5:3002 
[00:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/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:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:12]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:12]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:12]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:12]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:12]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:12]                 │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/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:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/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:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:12]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:12]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:12]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:12]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:12]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:12]                 │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:12]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:12]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:12]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:12]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:12]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:12]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:12]                 │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:12]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:13]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:13]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:13]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:15]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:15]                 │ debg TestSubjects.exists(uptimeOverviewPage)
[00:00:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:00:15]                 │ debg TestSubjects.exists(uptimeSettingsToOverviewLink)
[00:00:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeSettingsToOverviewLink"]') with timeout=0
[00:00:15]                 │ debg --- retry.tryForTime error: [data-test-subj="uptimeSettingsToOverviewLink"] is not displayed
[00:00:16]                 │ debg navigating to uptime url: http://localhost:61181/app/uptime
[00:00:16]                 │ debg navigate to: http://localhost:61181/app/uptime
[00:00:16]                 │ debg browser[INFO] http://localhost:61181/app/uptime?_t=1607356998520 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:16]                 │
[00:00:16]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:16]                 │ debg ... sleep(700) start
[00:00:17]                 │ debg ... sleep(700) end
[00:00:17]                 │ debg returned from get, calling refresh
[00:00:17]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/core/core.entry.js 12:193382 TypeError: Failed to fetch
[00:00:17]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:43940)
[00:00:17]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:17]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:17]                 │          at Generator.forEach.e.<computed> [as throw] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:17]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:17]                 │          at _throw (http://localhost:61181/38569/bundles/core/core.entry.js:6:39406)
[00:00:17]                 │ debg browser[INFO] http://localhost:61181/app/uptime?_t=1607356998520 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:17]                 │
[00:00:17]                 │ debg browser[INFO] http://localhost:61181/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:18]                 │ debg currentUrl = http://localhost:61181/app/uptime
[00:00:18]                 │          appUrl = http://localhost:61181/app/uptime
[00:00:18]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:18]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:18]                 │ debg ... sleep(501) start
[00:00:18]                 │ proc [kibana]   log   [16:03:20.961] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:18]                 │ proc [kibana]   log   [16:03:20.961] [error][http] ResponseError: search_phase_execution_exception
[00:00:18]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:18]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:18]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:18]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:18]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:18]                 │ proc [kibana]   meta: {
[00:00:18]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:18]                 │ proc [kibana]     statusCode: 400,
[00:00:18]                 │ proc [kibana]     headers: {
[00:00:18]                 │ proc [kibana]       'x-opaque-id': '780313bc-4fa3-49de-98ec-646c483c4401',
[00:00:18]                 │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:18]                 │ proc [kibana]       'content-length': '1869'
[00:00:18]                 │ proc [kibana]     },
[00:00:18]                 │ proc [kibana]     meta: {
[00:00:18]                 │ proc [kibana]       context: null,
[00:00:18]                 │ proc [kibana]       request: [Object],
[00:00:18]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:00:18]                 │ proc [kibana]       connection: [Object],
[00:00:18]                 │ proc [kibana]       attempts: 0,
[00:00:18]                 │ proc [kibana]       aborted: false
[00:00:18]                 │ proc [kibana]     }
[00:00:18]                 │ proc [kibana]   }
[00:00:18]                 │ proc [kibana] }
[00:00:18]                 │ proc [kibana]  error  [16:03:20.896]  Error: Internal Server Error
[00:00:18]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:18]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:18]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:18]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:18]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:18]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:18]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:18]                 │ERROR browser[SEVERE] http://localhost:61181/api/uptime/log_page_view - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[00:00:18]                 │ debg browser[INFO] http://localhost:61181/38569/bundles/core/core.entry.js 12:194329 "Detected an unhandled Promise rejection.
[00:00:18]                 │      Error: Internal Server Error"
[00:00:18]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/core/core.entry.js 5:3002 
[00:00:18]                 │ proc [kibana]   log   [16:03:21.165] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:18]                 │ proc [kibana]   log   [16:03:21.166] [error][http] ResponseError: search_phase_execution_exception
[00:00:18]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:18]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:18]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:18]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:18]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:18]                 │ proc [kibana]   meta: {
[00:00:18]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:18]                 │ proc [kibana]     statusCode: 400,
[00:00:18]                 │ proc [kibana]     headers: {
[00:00:18]                 │ proc [kibana]       'x-opaque-id': '591988e2-40c6-4e71-8b6f-4e443143c17a',
[00:00:18]                 │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:18]                 │ proc [kibana]       'content-length': '1897'
[00:00:18]                 │ proc [kibana]     },
[00:00:18]                 │ proc [kibana]     meta: {
[00:00:18]                 │ proc [kibana]       context: null,
[00:00:18]                 │ proc [kibana]       request: [Object],
[00:00:18]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:00:18]                 │ proc [kibana]       connection: [Object],
[00:00:18]                 │ proc [kibana]       attempts: 0,
[00:00:18]                 │ proc [kibana]       aborted: false
[00:00:18]                 │ proc [kibana]     }
[00:00:18]                 │ proc [kibana]   }
[00:00:18]                 │ proc [kibana] }
[00:00:18]                 │ proc [kibana]   log   [16:03:21.204] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:18]                 │ proc [kibana]   log   [16:03:21.205] [error][http] ResponseError: search_phase_execution_exception
[00:00:18]                 │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:18]                 │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:18]                 │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:18]                 │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:18]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:18]                 │ proc [kibana]   meta: {
[00:00:18]                 │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:18]                 │ proc [kibana]     statusCode: 400,
[00:00:18]                 │ proc [kibana]     headers: {
[00:00:18]                 │ proc [kibana]       'x-opaque-id': 'e3bda3ea-f10a-4ff6-b31f-58a00c3e8e0e',
[00:00:18]                 │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:18]                 │ proc [kibana]       'content-length': '3587'
[00:00:18]                 │ proc [kibana]     },
[00:00:18]                 │ proc [kibana]     meta: {
[00:00:18]                 │ proc [kibana]       context: null,
[00:00:18]                 │ proc [kibana]       request: [Object],
[00:00:18]                 │ proc [kibana]       name: 'elasticsearch-js',
[00:00:18]                 │ proc [kibana]       connection: [Object],
[00:00:18]                 │ proc [kibana]       attempts: 0,
[00:00:18]                 │ proc [kibana]       aborted: false
[00:00:18]                 │ proc [kibana]     }
[00:00:18]                 │ proc [kibana]   }
[00:00:18]                 │ proc [kibana] }
[00:00:18]                 │ proc [kibana]  error  [16:03:21.112]  Error: Internal Server Error
[00:00:18]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:18]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:18]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:18]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:18]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:18]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:18]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:18]                 │ proc [kibana]  error  [16:03:21.114]  Error: Internal Server Error
[00:00:18]                 │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:18]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:18]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:18]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:18]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:18]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:18]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:18]                 │ proc [kibana]   log   [16:03:21.241] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:18]                 │ proc [kibana]  error  [16:03:21.152]  Error: Internal Server Error
[00:00:18]                 │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:132:19)
[00:00:18]                 │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:86:19)
[00:00:18]                 │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:81:17)
[00:00:18]                 │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:164:34)
[00:00:18]                 │ proc [kibana]     at runMicrotasks (<anonymous>)
[00:00:18]                 │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:18]                 │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:18]                 │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:18]                 │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:18]                 │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:18]                 │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:18]                 │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:18]                 │ERROR browser[SEVERE] http://localhost:61181/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:00:18]                 │ERROR browser[SEVERE] http://localhost:61181/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:00:18]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:18]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:18]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:18]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:18]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:18]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:18]                 │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:18]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:18]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:18]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:18]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:18]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:18]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:18]                 │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:19]                 │ERROR browser[SEVERE] http://localhost:61181/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:00:19]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:19]                 │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:19]                 │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:19]                 │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:19]                 │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:19]                 │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:19]                 │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:19]                 │ debg ... sleep(501) end
[00:00:19]                 │ debg in navigateTo url = http://localhost:61181/app/uptime
[00:00:19]                 │ debg TestSubjects.exists(statusPageContainer)
[00:00:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:21]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:22]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:22]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:22]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:23]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:24]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:24]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:24]                 │ debg TestSubjects.exists(uptimeOverviewPage)
[00:00:24]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverviewPage"]') with timeout=2000
[00:00:24]                 │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:00:24]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:00:24]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:00:24]               └-> displays the overall availability
[00:00:24]                 └-> "before each" hook: global before each
[00:00:24]                 └-> "before each" hook: delete settings
[00:00:24]                   │ debg Deleting saved object {
[00:00:24]                   │        type: 'uptime-dynamic-settings',
[00:00:24]                   │        id: 'uptime-dynamic-settings-singleton'
[00:00:24]                   │      }/%s
[00:00:24]                   │ proc [kibana]   log   [16:03:26.802] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:24]                   │ proc [kibana]   log   [16:03:26.803] [error][http] ResponseError: search_phase_execution_exception
[00:00:24]                   │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:24]                   │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:24]                   │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:24]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:24]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:24]                   │ proc [kibana]   meta: {
[00:00:24]                   │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:24]                   │ proc [kibana]     statusCode: 400,
[00:00:24]                   │ proc [kibana]     headers: {
[00:00:24]                   │ proc [kibana]       'x-opaque-id': '89740363-e297-42d8-a3a1-e71b6abe452e',
[00:00:24]                   │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:24]                   │ proc [kibana]       'content-length': '1897'
[00:00:24]                   │ proc [kibana]     },
[00:00:24]                   │ proc [kibana]     meta: {
[00:00:24]                   │ proc [kibana]       context: null,
[00:00:24]                   │ proc [kibana]       request: [Object],
[00:00:24]                   │ proc [kibana]       name: 'elasticsearch-js',
[00:00:24]                   │ proc [kibana]       connection: [Object],
[00:00:24]                   │ proc [kibana]       attempts: 0,
[00:00:24]                   │ proc [kibana]       aborted: false
[00:00:24]                   │ proc [kibana]     }
[00:00:24]                   │ proc [kibana]   }
[00:00:24]                   │ proc [kibana] }
[00:00:24]                   │ proc [kibana]   log   [16:03:26.818] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:24]                   │ proc [kibana]   log   [16:03:26.819] [error][data][elasticsearch] [search_phase_execution_exception]: all shards failed
[00:00:24]                   │ proc [kibana]   log   [16:03:26.820] [error][http] ResponseError: search_phase_execution_exception
[00:00:24]                   │ proc [kibana]     at onBody (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:311:23)
[00:00:24]                   │ proc [kibana]     at IncomingMessage.onEnd (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@elastic/elasticsearch/lib/Transport.js:240:11)
[00:00:24]                   │ proc [kibana]     at IncomingMessage.emit (events.js:327:22)
[00:00:24]                   │ proc [kibana]     at endReadableNT (_stream_readable.js:1327:12)
[00:00:24]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:80:21) {
[00:00:24]                   │ proc [kibana]   meta: {
[00:00:24]                   │ proc [kibana]     body: { error: [Object], status: 400 },
[00:00:24]                   │ proc [kibana]     statusCode: 400,
[00:00:24]                   │ proc [kibana]     headers: {
[00:00:24]                   │ proc [kibana]       'x-opaque-id': '442e351f-d49a-4713-875c-54f71dfdaf46',
[00:00:24]                   │ proc [kibana]       'content-type': 'application/json; charset=UTF-8',
[00:00:24]                   │ proc [kibana]       'content-length': '3587'
[00:00:24]                   │ proc [kibana]     },
[00:00:24]                   │ proc [kibana]     meta: {
[00:00:24]                   │ proc [kibana]       context: null,
[00:00:24]                   │ proc [kibana]       request: [Object],
[00:00:24]                   │ proc [kibana]       name: 'elasticsearch-js',
[00:00:24]                   │ proc [kibana]       connection: [Object],
[00:00:24]                   │ proc [kibana]       attempts: 0,
[00:00:24]                   │ proc [kibana]       aborted: false
[00:00:24]                   │ proc [kibana]     }
[00:00:24]                   │ proc [kibana]   }
[00:00:24]                   │ proc [kibana] }
[00:00:24]                   │ proc [kibana]  error  [16:03:26.743]  Error: Internal Server Error
[00:00:24]                   │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:24]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:24]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:24]                   │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:24]                   │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:24]                   │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:24]                   │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:24]                   │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:24]                   │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:24]                   │ proc [kibana]  error  [16:03:26.747]  Error: Internal Server Error
[00:00:24]                   │ proc [kibana]     at HapiResponseAdapter.toError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:132:19)
[00:00:24]                   │ proc [kibana]     at HapiResponseAdapter.toHapiResponse (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:86:19)
[00:00:24]                   │ proc [kibana]     at HapiResponseAdapter.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:81:17)
[00:00:24]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:164:34)
[00:00:24]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:24]                   │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:24]                   │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:24]                   │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:24]                   │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:24]                   │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:24]                   │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:24]                   │ proc [kibana]  error  [16:03:26.744]  Error: Internal Server Error
[00:00:24]                   │ proc [kibana]     at HapiResponseAdapter.toInternalError (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/response_adapter.js:69:19)
[00:00:24]                   │ proc [kibana]     at Router.handle (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:177:34)
[00:00:24]                   │ proc [kibana]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:00:24]                   │ proc [kibana]     at handler (/dev/shm/workspace/kibana-build-xpack-18/src/core/server/http/router/router.js:124:50)
[00:00:24]                   │ proc [kibana]     at module.exports.internals.Manager.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/toolkit.js:45:28)
[00:00:24]                   │ proc [kibana]     at Object.internals.handler (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:46:20)
[00:00:24]                   │ proc [kibana]     at exports.execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/handler.js:31:20)
[00:00:24]                   │ proc [kibana]     at Request._lifecycle (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:312:32)
[00:00:24]                   │ proc [kibana]     at Request._execute (/dev/shm/workspace/kibana-build-xpack-18/node_modules/@hapi/hapi/lib/request.js:221:9)
[00:00:24]                   │ERROR browser[SEVERE] http://localhost:61181/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:00:24]                   │ERROR browser[SEVERE] http://localhost:61181/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:00:24]                   │ERROR browser[SEVERE] http://localhost:61181/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:00:24]                   │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:24]                   │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:24]                   │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:24]                   │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:24]                   │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:24]                   │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:24]                   │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:24]                   │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:24]                   │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:24]                   │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:24]                   │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:24]                   │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:24]                   │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:24]                   │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:24]                   │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.2.js 2:16595 Error: Internal Server Error
[00:00:24]                   │          at _callee3$ (http://localhost:61181/38569/bundles/core/core.entry.js:6:44892)
[00:00:24]                   │          at s (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964608)
[00:00:24]                   │          at Generator._invoke (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964361)
[00:00:24]                   │          at Generator.forEach.e.<computed> [as next] (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:964965)
[00:00:24]                   │          at fetch_asyncGeneratorStep (http://localhost:61181/38569/bundles/core/core.entry.js:6:38998)
[00:00:24]                   │          at _next (http://localhost:61181/38569/bundles/core/core.entry.js:6:39314)
[00:00:25]                 └-> "before each" hook: load heartbeat data
[00:00:25]                   │ info [uptime/blank] Loading "mappings.json"
[00:00:25]                   │ info [uptime/blank] Loading "data.json"
[00:00:25]                   │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/myk9yubtRZ2qqgs_vXEnAA] deleting index
[00:00:25]                   │ info [uptime/blank] Deleted existing index "heartbeat-8-generated-test"
[00:00:25]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]                   │ info [uptime/blank] Created index "heartbeat-8-generated-test"
[00:00:25]                   │ debg [uptime/blank] "heartbeat-8-generated-test" settings undefined
[00:00:25]                 └-> "before each" hook
[00:00:25]                   │ debg TestSubjects.exists(uptimeMonitorPage)
[00:00:25]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:00:25]                   │ debg --- retry.tryForTime error: [data-test-subj="uptimeMonitorPage"] is not displayed
[00:00:26]                   │ debg isGlobalLoadingIndicatorVisible
[00:00:26]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:26]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:27]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:28]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:28]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:28]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:00:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:00:28]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:00:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:00:28]                   │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:00:28]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:00:28]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:00:28]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:00:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:00:28]                   │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:00:28]                   │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:00:28]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:00:28]                   │ debg TestSubjects.getVisibleText(superDatePickerendDatePopoverButton)
[00:00:28]                   │ debg TestSubjects.find(superDatePickerendDatePopoverButton)
[00:00:28]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:00:28]                   │ debg TestSubjects.click(superDatePickerApplyTimeButton)
[00:00:28]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:00:28]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=10000
[00:00:28]                   │ debg TestSubjects.exists(uptimeMonitorPage)
[00:00:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:00:28]                   │ debg --- retry.tryForTime error: [data-test-subj="uptimeMonitorPage"] is not displayed
[00:00:28]                   │ debg TestSubjects.click(monitor-page-link-location-testing-id)
[00:00:28]                   │ debg Find.clickByCssSelector('[data-test-subj="monitor-page-link-location-testing-id"]') with timeout=10000
[00:00:28]                   │ debg Find.findByCssSelector('[data-test-subj="monitor-page-link-location-testing-id"]') with timeout=10000
[00:00:29]                   │ debg TestSubjects.exists(uptimeMonitorPage)
[00:00:29]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=30000
[00:00:29]                 │ debg TestSubjects.exists(uptimeOverallAvailability)
[00:00:29]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeOverallAvailability"]') with timeout=120000
[00:00:29]                 │ debg TestSubjects.getVisibleText(uptimeOverallAvailability)
[00:00:29]                 │ debg TestSubjects.find(uptimeOverallAvailability)
[00:00:29]                 │ debg Find.findByCssSelector('[data-test-subj="uptimeOverallAvailability"]') with timeout=10000
[00:00:29]                 └- ✓ pass  (107ms) "Uptime app with generated data Observer location displays the overall availability"
[00:00:29]               └-> "after each" hook: unload
[00:00:29]                 │ info [uptime/blank] Unloading indices from "mappings.json"
[00:00:29]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/bnpx7HegTFySly4h_yPkMg] deleting index
[00:00:29]                 │ info [uptime/blank] Deleted existing index "heartbeat-8-generated-test"
[00:00:29]                 │ info [uptime/blank] Unloading indices from "data.json"
[00:00:29]               └-> can change the view to map
[00:00:29]                 └-> "before each" hook: global before each
[00:00:29]                 └-> "before each" hook: delete settings
[00:00:29]                   │ debg Deleting saved object {
[00:00:29]                   │        type: 'uptime-dynamic-settings',
[00:00:29]                   │        id: 'uptime-dynamic-settings-singleton'
[00:00:29]                   │      }/%s
[00:00:29]                   │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.1.js 2:17033 "API /api/uptime/filters is not returning expected response, Invalid value \"undefined\" supplied to \"locations\",Invalid value \"undefined\" supplied to \"ports\",Invalid value \"undefined\" supplied to \"schemes\",Invalid value \"undefined\" supplied to \"tags\" for response" Object
[00:00:30]                 └-> "before each" hook: load heartbeat data
[00:00:30]                   │ info [uptime/blank] Loading "mappings.json"
[00:00:30]                   │ info [uptime/blank] Loading "data.json"
[00:00:30]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:00:30]                   │ info [uptime/blank] Created index "heartbeat-8-generated-test"
[00:00:30]                   │ debg [uptime/blank] "heartbeat-8-generated-test" settings undefined
[00:00:30]                 └-> "before each" hook
[00:00:30]                   │ debg TestSubjects.exists(uptimeMonitorPage)
[00:00:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:00:30]                 │ debg TestSubjects.click(uptimeMonitorToggleMapBtn)
[00:00:30]                 │ debg Find.clickByCssSelector('[data-test-subj="uptimeMonitorToggleMapBtn"]') with timeout=10000
[00:00:30]                 │ debg Find.findByCssSelector('[data-test-subj="uptimeMonitorToggleMapBtn"]') with timeout=10000
[00:00:30]                 └- ✓ pass  (76ms) "Uptime app with generated data Observer location can change the view to map"
[00:00:30]               └-> "after each" hook: unload
[00:00:30]                 │ info [uptime/blank] Unloading indices from "mappings.json"
[00:00:30]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/_qsLb1M9Sz-uhtxpdaFpbg] deleting index
[00:00:30]                 │ info [uptime/blank] Deleted existing index "heartbeat-8-generated-test"
[00:00:30]                 │ info [uptime/blank] Unloading indices from "data.json"
[00:00:30]               └-> renders the location panel and canvas
[00:00:30]                 └-> "before each" hook: global before each
[00:00:30]                 └-> "before each" hook: delete settings
[00:00:30]                   │ debg Deleting saved object {
[00:00:30]                   │        type: 'uptime-dynamic-settings',
[00:00:30]                   │        id: 'uptime-dynamic-settings-singleton'
[00:00:30]                   │      }/%s
[00:00:31]                 └-> "before each" hook: load heartbeat data
[00:00:31]                   │ info [uptime/blank] Loading "mappings.json"
[00:00:31]                   │ info [uptime/blank] Loading "data.json"
[00:00:31]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:00:31]                   │ info [uptime/blank] Created index "heartbeat-8-generated-test"
[00:00:31]                   │ debg [uptime/blank] "heartbeat-8-generated-test" settings undefined
[00:00:31]                 └-> "before each" hook
[00:00:31]                   │ debg TestSubjects.exists(uptimeMonitorPage)
[00:00:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:00:31]                 │ debg TestSubjects.exists(xpack.uptime.locationMap.embeddedPanel)
[00:00:31]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="xpack.uptime.locationMap.embeddedPanel"]') with timeout=3000
[00:00:31]                 │ debg TestSubjects.find(xpack.uptime.locationMap.embeddedPanel)
[00:00:31]                 │ debg Find.findByCssSelector('[data-test-subj="xpack.uptime.locationMap.embeddedPanel"]') with timeout=10000
[00:00:31]                 │ debg Find.descendantExistsByCssSelector('canvas.mapboxgl-canvas') with timeout=2500
[00:00:31]                 └- ✓ pass  (76ms) "Uptime app with generated data Observer location renders the location panel and canvas"
[00:00:31]               └-> "after each" hook: unload
[00:00:31]                 │ info [uptime/blank] Unloading indices from "mappings.json"
[00:00:31]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/6agZTp-ISgy30pDVplyQOg] deleting index
[00:00:31]                 │ info [uptime/blank] Deleted existing index "heartbeat-8-generated-test"
[00:00:31]                 │ info [uptime/blank] Unloading indices from "data.json"
[00:00:31]               └-> renders the location missing popover when monitor has location name, but no geo data
[00:00:31]                 └-> "before each" hook: global before each
[00:00:31]                 └-> "before each" hook: delete settings
[00:00:31]                   │ debg Deleting saved object {
[00:00:31]                   │        type: 'uptime-dynamic-settings',
[00:00:31]                   │        id: 'uptime-dynamic-settings-singleton'
[00:00:31]                   │      }/%s
[00:00:32]                 └-> "before each" hook: load heartbeat data
[00:00:32]                   │ info [uptime/blank] Loading "mappings.json"
[00:00:32]                   │ info [uptime/blank] Loading "data.json"
[00:00:32]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:00:32]                   │ info [uptime/blank] Created index "heartbeat-8-generated-test"
[00:00:32]                   │ debg [uptime/blank] "heartbeat-8-generated-test" settings undefined
[00:00:32]                 └-> "before each" hook
[00:00:32]                   │ debg TestSubjects.exists(uptimeMonitorPage)
[00:00:32]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:00:32]                 │ debg TestSubjects.exists(xpack.uptime.locationMap.locationMissing)
[00:00:32]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="xpack.uptime.locationMap.locationMissing"]') with timeout=3000
[00:00:32]                 └- ✓ pass  (32ms) "Uptime app with generated data Observer location renders the location missing popover when monitor has location name, but no geo data"
[00:00:32]               └-> "after each" hook: unload
[00:00:32]                 │ info [uptime/blank] Unloading indices from "mappings.json"
[00:00:32]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test/abc4vVxcTIC0GJE3pRvJDw] deleting index
[00:00:32]                 │ info [uptime/blank] Deleted existing index "heartbeat-8-generated-test"
[00:00:32]                 │ info [uptime/blank] Unloading indices from "data.json"
[00:00:32]               └-> displays less monitor availability
[00:00:32]                 └-> "before each" hook: global before each
[00:00:32]                 └-> "before each" hook: delete settings
[00:00:32]                   │ debg Deleting saved object {
[00:00:32]                   │        type: 'uptime-dynamic-settings',
[00:00:32]                   │        id: 'uptime-dynamic-settings-singleton'
[00:00:32]                   │      }/%s
[00:00:33]                 └-> "before each" hook: load heartbeat data
[00:00:33]                   │ info [uptime/blank] Loading "mappings.json"
[00:00:33]                   │ info [uptime/blank] Loading "data.json"
[00:00:33]                   │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1607355031019118846] [heartbeat-8-generated-test] creating index, cause [api], templates [], shards [1]/[1]
[00:00:33]                   │ info [uptime/blank] Created index "heartbeat-8-generated-test"
[00:00:33]                   │ debg [uptime/blank] "heartbeat-8-generated-test" settings undefined
[00:00:33]                 └-> "before each" hook
[00:00:33]                   │ debg TestSubjects.exists(uptimeMonitorPage)
[00:00:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="uptimeMonitorPage"]') with timeout=0
[00:00:33]                 │ debg TestSubjects.click(breadcrumb first)
[00:00:33]                 │ debg Find.clickByCssSelector('[data-test-subj="breadcrumb first"]') with timeout=10000
[00:00:33]                 │ debg Find.findByCssSelector('[data-test-subj="breadcrumb first"]') with timeout=10000
[00:00:33]                 │ debg isGlobalLoadingIndicatorVisible
[00:00:33]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:00:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:00:33]                 │ERROR browser[SEVERE] http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 374:77071 TypeError: Cannot read property 'length' of undefined
[00:00:33]                 │          at FilterGroupComponent (http://localhost:61181/38569/bundles/plugin/uptime/uptime.chunk.3.js:3:383487)
[00:00:33]                 │          at cr (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:59332)
[00:00:33]                 │          at _l (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:104414)
[00:00:33]                 │          at gs (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:90018)
[00:00:33]                 │          at hs (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:89943)
[00:00:33]                 │          at is (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:87291)
[00:00:33]                 │          at http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:45733
[00:00:33]                 │          at t.unstable_runWithPriority (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:383:3462)
[00:00:33]                 │          at Wo (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:45442)
[00:00:33]                 │          at Ko (http://localhost:61181/38569/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:375:45678)
[00:00:35]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:00:35]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:35]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:35]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:00:35]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:00:38]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerToggleQuickMenuButton"] is not displayed
[00:00:41]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:50]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:53]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:56]                 │ debg --- retry.tryForTime failed again with the same message...
[00:00:56]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:00:56]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:00:59]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:00:59]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:00:59]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:01:02]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerstartDatePopoverButton"] is not displayed
[00:01:02]                 │ debg TestSubjects.getVisibleText(superDatePickerstartDatePopoverButton)
[00:01:02]                 │ debg TestSubjects.find(superDatePickerstartDatePopoverButton)
[00:01:02]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:01:12]                 │ info Taking screenshot "/dev/shm/workspace/parallel/18/kibana/x-pack/test/functional/screenshots/failure/Uptime app with generated data Observer location displays less monitor availability.png"
[00:01:13]                 │ info Current URL is: http://localhost:61181/app/uptime
[00:01:13]                 │ info Saving page source to: /dev/shm/workspace/parallel/18/kibana/x-pack/test/functional/failure_debug/html/Uptime app with generated data Observer location displays less monitor availability.html
[00:01:13]                 └- ✖ fail: Uptime app with generated data Observer location displays less monitor availability
[00:01:13]                 │      TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerstartDatePopoverButton"])
[00:01:13]                 │ Wait timed out after 10026ms
[00:01:13]                 │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:01:13]                 │       at runMicrotasks (<anonymous>)
[00:01:13]                 │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:01:13]                 │ 
[00:01:13]                 │ 

Stack Trace

TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="superDatePickerstartDatePopoverButton"])
Wait timed out after 10026ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  remoteStacktrace: ''
}

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
canvas 1116 1115 -1
console 170 169 -1
crossClusterReplication 161 160 -1
dashboard 187 186 -1
discover 280 311 +31
enterpriseSearch 621 969 +348
fleet 449 450 +1
globalSearchBar 25 24 -1
home 79 78 -1
indexLifecycleManagement 112 137 +25
indexManagement 512 523 +11
infra 1054 1082 +28
maps 637 654 +17
observability 110 109 -1
remoteClusters 141 140 -1
rollup 179 178 -1
savedObjectsTagging 66 99 +33
securitySolution 2097 2105 +8
snapshotRestore 168 177 +9
stackAlerts 31 41 +10
triggersActionsUi 284 285 +1
uptime 531 541 +10
usageCollection 17 16 -1
visualizations 153 152 -1
total +521

Async chunks

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

id before after diff
advancedSettings 919.6KB 919.6KB +5.0B
apm 3.1MB 3.1MB +930.0B
canvas 1.3MB 1.3MB -147.0B
console 984.1KB 983.9KB -209.0B
dashboard 197.2KB 196.9KB -209.0B
data 244.9KB 244.3KB -671.0B
discover 432.3KB 450.3KB +17.9KB
enterpriseSearch 1.0MB 1.7MB ⚠️ +670.6KB
fleet 1.1MB 1.1MB +381.0B
graph 1.3MB 1.3MB -3.0B
home 214.4KB 214.2KB -214.0B
indexLifecycleManagement 212.4KB 239.8KB +27.4KB
indexManagement 1.5MB 1.5MB +12.1KB
indexPatternManagement 604.1KB 604.0KB -75.0B
infra 2.6MB 2.7MB +102.7KB
ingestPipelines 819.5KB 820.6KB +1.1KB
lens 999.6KB 1004.0KB +4.3KB
maps 2.8MB 2.8MB +32.7KB
ml 5.2MB 5.2MB +104.0B
monitoring 952.4KB 952.4KB +59.0B
observability 170.4KB 165.4KB -4.9KB
savedObjectsManagement 187.6KB 187.8KB +191.0B
savedObjectsTagging 81.7KB 115.6KB +33.9KB
security 786.1KB 786.3KB +160.0B
securitySolution 8.0MB 8.0MB +26.5KB
stackAlerts 81.7KB 114.0KB +32.4KB
timelion 383.9KB 383.9KB +24.0B
triggersActionsUi 1.5MB 1.5MB +7.5KB
uptime 995.0KB 1006.9KB +12.0KB
visDefaultEditor 300.2KB 300.2KB -3.0B
visTypeTimelion 83.3KB 83.4KB +14.0B
visTypeTimeseries 1.8MB 1.8MB -5.0B
visTypeVega 1.5MB 1.5MB +17.0B
visTypeVislib 702.6KB 702.6KB +34.0B
visualizations 56.7KB 56.5KB -214.0B
total +976.5KB

Distributable file count

id before after diff
default 43468 47683 +4215
oss 22744 27565 +4821

Page load bundle

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

id before after diff
alerts 66.4KB 66.5KB +111.0B
console 29.3KB 29.3KB -3.0B
core 547.3KB 547.7KB +372.0B
crossClusterReplication 39.1KB 38.9KB -209.0B
dashboard 327.8KB 327.8KB -14.0B
data 983.3KB 987.9KB +4.6KB
discover 82.3KB 81.1KB -1.2KB
embeddable 225.7KB 225.7KB +32.0B
esUiShared 278.1KB 278.2KB +96.0B
expressions 182.5KB 182.6KB +93.0B
fleet 374.9KB 375.5KB +585.0B
globalSearchBar 33.2KB 33.0KB -213.0B
home 20.9KB 20.9KB +2.0B
indexLifecycleManagement 76.8KB 77.3KB +538.0B
indexManagement 114.2KB 124.1KB +9.9KB
indexPatternManagement 83.5KB 83.5KB +8.0B
ingestPipelines 35.0KB 35.2KB +171.0B
inspector 52.1KB 52.1KB -14.0B
kibanaReact 131.9KB 132.3KB +368.0B
maps 151.1KB 151.3KB +268.0B
mapsLegacy 94.2KB 94.2KB +14.0B
observability 69.8KB 74.9KB +5.1KB
remoteClusters 27.6KB 27.4KB -205.0B
rollup 65.1KB 64.9KB -209.0B
runtimeFields 24.2KB 29.8KB +5.6KB
savedObjectsTagging 44.7KB 48.8KB +4.1KB
searchprofiler 48.4KB 48.4KB +13.0B
securitySolution 209.3KB 210.2KB +933.0B
snapshotRestore 57.9KB 67.5KB +9.5KB
spaces 290.9KB 291.1KB +225.0B
stackAlerts 14.6KB 17.3KB +2.7KB
triggersActionsUi 161.5KB 161.7KB +189.0B
uiActions 67.8KB 67.8KB -14.0B
upgradeAssistant 60.4KB 60.5KB +96.0B
usageCollection 16.3KB 16.1KB -195.0B
visTypeTimeseries 137.5KB 143.6KB +6.1KB
total +49.4KB

Saved Objects .kibana field count

Every field in each saved object type adds overhead to Elasticsearch. Kibana needs to keep the total field count below Elasticsearch's default limit of 1000 fields. Only specify field mappings for the fields you wish to search on or query. See https://www.elastic.co/guide/en/kibana/master/development-plugin-saved-objects.html#_mappings

id before after diff
ui-counter - 2 +2
Unknown metric groups

@kbn/ui-shared-deps asset size

id before after diff
css 663.5KB 667.1KB +3.6KB
kbn-ui-shared-deps.@elastic.js 2.4MB 3.2MB ⚠️ +775.4KB
kbn-ui-shared-deps.js 13.6MB 13.5MB -6.2KB
total +772.8KB

async chunk count

id before after diff
discover 7 6 -1
savedObjectsTagging 3 4 +1
securitySolution 19 22 +3
stackAlerts 2 3 +1
total +4

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add alert and action plugin console logging (ease of debugging)
6 participants