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

[Monitoring] Added cgroup option for APM cpu usage #90873

Merged
merged 19 commits into from
Feb 23, 2021

Conversation

igoristic
Copy link
Contributor

@igoristic igoristic commented Feb 9, 2021

Resolves: #79050

This PR adds config options to monitor container metrics:
monitoring.ui.container.apm.enabled: true

With some minor UI/UX adjustments to indicate current state and emphasize resource usage

Docs will be added as part of: #18448 (comment)

@igoristic igoristic marked this pull request as ready for review February 11, 2021 01:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@igoristic igoristic requested review from a team and chrisronline and removed request for a team February 11, 2021 01:58
@chrisronline
Copy link
Contributor

cc @graphaelli @simitt to help with testing the functionality and verifying the changes look good!

@simitt
Copy link
Contributor

simitt commented Feb 15, 2021

@cyrille-leclerc and @katrin-freihofner this PR changes the order of the metrics - you previously expressed concerns (#90157 (comment)). Could you please let us know if this design is fine with you.
Screenshot 2021-02-15 at 09 21 21

@cyrille-leclerc could you please also review the used terminology (e.g. Elastic Agent group).

Copy link
Contributor

@simitt simitt left a comment

Choose a reason for hiding this comment

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

Thanks for implementing this!

From my description in #90157:

For the detection of whether or not cgroup values should be used @chrisronline mentioned that other apps set a flag in the Kibana config options. We could do something similar for APM. I am wondering how this works when using a dedicated monitoring cluster, to which data from multiple other clusters are shipped, where other clusters could partially be running inside containers, partially directly on a host system?

In case there is a dedicated monitoring cluster, I assume the Kibana config option needs to be set in the monitoring cluster, right? In this case, it could happen that multiple APM server ship to the same Kibana, and some of them are running inside a Docker container, while others are't. Have you considered this?

For the hosted Elastic Agent scenario this will be a problem, as there will be a migration phase where it is expected that some deployments run with Elastic Agent, others not. We will probably need to come up with a different solution for deciding whether to show Elastic Agent Group or APM Server.
Elastic Agent will not be supported in cloud for version 7.12, and we only release beta support for APM Server managed by Elastic Agent. I suggest to remove the Elastic Agent group related changes from this PR, so we can get the cgroup changes in for 7.12 and further look into how to detect Elastic Agent metrics.

usageField: 'cpuacct.total.ns',
periodsField: 'cpu.stats.periods',
quotaField: 'cpu.cfs.quota.us',
field: 'beats_stats.metrics.beat.cpu.total.value', // backup field if quota is not configured
Copy link
Contributor

Choose a reason for hiding this comment

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

What does this backup field actually do? I don't see any data showing up when no quota is configured, which I believe is not a great experience, especially since this is the only CPU related graph for APM.
For ES I see CPU data without having any quota configured - does it fall back to system metrics?

Copy link
Contributor

Choose a reason for hiding this comment

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

That's a good point. I think ES monitoring documents always contain the backup field, but perhaps APM metrics work differently so we'd have to vary our approach here.

Copy link
Contributor

Choose a reason for hiding this comment

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

I checked and the beats_stats.metrics.beat.cpu.total.value is actually populated when running inside a docker container. But no CPU values are displayed.
Screenshot 2021-02-15 at 19 11 21
Screenshot 2021-02-15 at 19 12 57

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@simitt This is because there's no mapping for beats_stats.metrics.beat.cgroup, and thus we can't do aggregations on these fields.

It needs to be added to this template:

GET _template/.monitoring-beats

@axw Not sure if this needs to be delegated to Beats or ES team?

Copy link
Contributor

@simitt simitt Feb 17, 2021

Choose a reason for hiding this comment

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

@igoristic the mapping was added for 7.11 elastic/elasticsearch#65997. What exactly are you missing from the mapping?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, missed that ticket

I'm missing the whole cgroup object:
https://gist.github.com/igoristic/dcf8e5257628c7212553a53b17ead60c

Copy link
Member

Choose a reason for hiding this comment

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

@igoristic maybe pull a new image? Or use 7.11.0 GA? I have a 7.11.0 deployment in Cloud, and it definitely has the cgroup object: https://gist.github.com/axw/c0e0db05ba8756b26a45f40c4f7f697c

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea I see it on cloud too. I'd double check your local ES is a fresh copy

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think the backup logic is actually working so we might need a change like this:

--- a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.js
+++ b/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.js
@@ -55,6 +55,7 @@ export class QuotaMetric extends Metric {
       const quota = get(bucket, 'quota.value');
       const deltaUsageDerivNormalizedValue = get(bucket, 'usage_deriv.normalized_value');
       const periodsDerivNormalizedValue = get(bucket, 'periods_deriv.normalized_value');
+      const backupMetricDerivNormalizedValue = get(bucket, 'metric_deriv.normalized_value');
 
       if (deltaUsageDerivNormalizedValue && periodsDerivNormalizedValue && quota > 0) {
         // if throttling is configured
@@ -63,7 +64,7 @@ export class QuotaMetric extends Metric {
         return factor * 100; // convert factor to percentage
       }
       // if throttling is NOT configured, show nothing. The user should see that something is not configured correctly
-      return null;
+      return backupMetricDerivNormalizedValue || null;
     };
   }
 }

Copy link
Contributor

@cyrille-leclerc cyrille-leclerc left a comment

Choose a reason for hiding this comment

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

Please find inlined requests for changes discussed with @simitt :
image

Copy link
Contributor

@simitt simitt left a comment

Choose a reason for hiding this comment

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

The CPU graph is still empty as mentioned in #90873 (comment) - is this supposed to be fixed?

@igoristic
Copy link
Contributor Author

The CPU graph is still empty as mentioned in #90873 (comment) - is this supposed to be fixed?

@simitt What environment are you checking this on?

Can you please give me the response to the following:

GET _template/.monitoring-beats
GET .monitoring-beats*/_mapping

@simitt
Copy link
Contributor

simitt commented Feb 18, 2021

Yes, I think that would be the best fallback.

@igoristic
Copy link
Contributor Author

@chrisronline The only reason why I decided not to implement the backup, was because your solution in #90873 (comment) won't work, since metric_deriv will still need to run through:

this.calculation = ({ metric_deriv: metricDeriv } = {}, _key, _metric, bucketSizeInSeconds) => {

quota_metric.js is also used by ES to calculate its cgroup utilization which is done differently.

I'm guessing this was meant to work like this by design to avoid connotation. Because in this case the label would show cgroup, but the metrics would be showing none container usage


@simitt We can address/discuss this in a different PR to where we have a more consistent backup solution for all three products that use cgroup (ES, LS, APM)

@chrisronline
Copy link
Contributor

@igoristic That's fair, but is it possible to implement a new APM-specific metric class to handle this custom logic? And maybe we can possibly update the tooltip to reflect the possibility that we're not showing proper cgroup data? We should only need to show that specific tooltip when the user has explicitly configured to show cgroup data.

@igoristic
Copy link
Contributor Author

...but is it possible to implement a new APM-specific metric class to handle this custom logic? And maybe we can possibly update the tooltip to reflect the possibility that we're not showing proper cgroup data? We should only need to show that specific tooltip when the user has explicitly configured to show cgroup data.

Yes, all of that is possible, but like I said I think we should keep it consistent for all products. I don't want to create separate logic for each product just to accommodate this feature for APM

Since, this isn't a regression (but by design), and involves further discussion/investigation, I think we should scope it outside of this PR

Copy link
Contributor

@simitt simitt left a comment

Choose a reason for hiding this comment

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

Thanks for adding the functionality. Since users have to enable the cgroup visualization, I'm fine with merging as is. Could you please create a follow up issue and link it.

@axw
Copy link
Member

axw commented Feb 22, 2021

FYI, elastic/elasticsearch#69317 should resolve the stale template issue.

@igoristic
Copy link
Contributor Author

@elasticmachine merge upstream

@simitt
Copy link
Contributor

simitt commented Feb 22, 2021

@cyrille-leclerc could you unblock merging this PR please (the changes you requested will go into a separate PR as the elastic-agent related changes were removed).

@simitt
Copy link
Contributor

simitt commented Feb 23, 2021

@igoristic could you please update the description - as the PR now only parts of #90157, but doesn't actually resolve it (as per my request to keep PRs separated and put up a dedicated one for the elastic-agent changes).

Copy link
Contributor

@cyrille-leclerc cyrille-leclerc left a comment

Choose a reason for hiding this comment

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

MAny thanks for the changes!

@igoristic igoristic merged commit 0e6c38d into elastic:master Feb 23, 2021
@igoristic igoristic deleted the cgroup_apm branch February 23, 2021 17:19
igoristic added a commit that referenced this pull request Feb 23, 2021
* Added APM cpu cgroup

* Fixed tests

* Fixed i18n

* Removed agent logic and fixed tests

* Fixed test

* Fixed tests and backup field

* Removed backup field fix

* Fixed cluster tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/monitoring/public/components/apm/instance/instance.js
#	x-pack/plugins/monitoring/public/components/apm/overview/index.js
@igoristic
Copy link
Contributor Author

Backport:
7.x: f1f33f1

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_filtering·ts.dashboard app using current data dashboard filtering disabling a filter unfilters the data on "before all" hook for "pie charts"

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook in "dashboard app"
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook in "using current data"
[00:00:00]             └-> "before all" hook: loadCurrentData in "using current data"
[00:00:00]               │ info [logstash_functional] Unloading indices from "mappings.json"
[00:00:00]               │ info [logstash_functional] Unloading indices from "data.json.gz"
[00:00:01]               │ info [dashboard/current/data] Loading "mappings.json"
[00:00:01]               │ info [dashboard/current/data] Loading "data.json.gz"
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [animals-dogs-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-01-01"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [animals-cats-2018-01-01] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-01-01"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-01-01" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [animals-cats-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "animals-cats-2018-04-10"
[00:00:02]               │ debg [dashboard/current/data] "animals-cats-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [dogbreeds] creating index, cause [api], templates [], shards [5]/[1]
[00:00:02]               │ info [dashboard/current/data] Created index "dogbreeds"
[00:00:02]               │ debg [dashboard/current/data] "dogbreeds" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:02]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:00:02]               │ info [dashboard/current/data] Created index "logstash-0"
[00:00:02]               │ debg [dashboard/current/data] "logstash-0" settings {"index":{"analysis":{"analyzer":{"makelogs_url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]               │ info progress: 6313
[00:00:19]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:19]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:19]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:19]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:19]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:19]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:06:28]             └-: dashboard filtering
[00:06:28]               └-> "before all" hook in "dashboard filtering"
[00:06:28]               └-> "before all" hook in "dashboard filtering"
[00:06:28]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:06:28]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:06:28]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_001/7kykTwl5T42Id9QjGNfWHw] deleting index
[00:06:28]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_1/23u1SAhpRpiDQ_bgM-d4kg] deleting index
[00:06:28]                 │ info [dashboard/current/kibana] Deleted existing index ".kibana_8.0.0_001"
[00:06:28]                 │ info [dashboard/current/kibana] Deleted existing index ".kibana_1"
[00:06:28]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:06:28]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:06:28]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:06:28]                 │ info [dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:06:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_1/vU8ofoN1QIiTZrsB5Tvjmg] update_mapping [_doc]
[00:06:29]                 │ debg Migrating saved objects
[00:06:29]                 │ proc [kibana]   log   [18:15:50.988] [info][savedobjects-service] [.kibana] INIT -> SET_SOURCE_WRITE_BLOCK
[00:06:29]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] adding block write to indices [[.kibana_1/vU8ofoN1QIiTZrsB5Tvjmg]]
[00:06:29]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] completed adding block write to indices [.kibana_1]
[00:06:29]                 │ proc [kibana]   log   [18:15:51.030] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:06:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:06:29]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:06:29]                 │ proc [kibana]   log   [18:15:51.094] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:06:29]                 │ proc [kibana]   log   [18:15:51.101] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:06:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_reindex_temp/cysoMmdeRGGlRAxE31X0YQ] update_mapping [_doc]
[00:06:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_reindex_temp/cysoMmdeRGGlRAxE31X0YQ] update_mapping [_doc]
[00:06:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_reindex_temp/cysoMmdeRGGlRAxE31X0YQ] update_mapping [_doc]
[00:06:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_reindex_temp/cysoMmdeRGGlRAxE31X0YQ] update_mapping [_doc]
[00:06:29]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] 4066 finished with response BulkByScrollResponse[took=133.8ms,timed_out=false,sliceId=null,updated=0,created=143,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:29]                 │ proc [kibana]   log   [18:15:51.309] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:06:29]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] adding block write to indices [[.kibana_8.0.0_reindex_temp/cysoMmdeRGGlRAxE31X0YQ]]
[00:06:29]                 │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:06:29]                 │ proc [kibana]   log   [18:15:51.356] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:06:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:06:29]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:06:29]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:06:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_001/4kpLW8zDTluP06ouq_Gc7Q] create_mapping
[00:06:29]                 │ proc [kibana]   log   [18:15:51.468] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:06:29]                 │ proc [kibana]   log   [18:15:51.487] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM
[00:06:29]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_001/4kpLW8zDTluP06ouq_Gc7Q] update_mapping [_doc]
[00:06:30]                 │ proc [kibana]   log   [18:15:52.418] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_TRANSFORM -> OUTDATED_DOCUMENTS_SEARCH
[00:06:30]                 │ proc [kibana]   log   [18:15:52.430] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:06:30]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_001/4kpLW8zDTluP06ouq_Gc7Q] update_mapping [_doc]
[00:06:30]                 │ proc [kibana]   log   [18:15:52.475] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:06:30]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] 4136 finished with response BulkByScrollResponse[took=52.5ms,timed_out=false,sliceId=null,updated=143,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:30]                 │ proc [kibana]   log   [18:15:52.584] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:06:30]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1614102078578519356] [.kibana_8.0.0_reindex_temp/cysoMmdeRGGlRAxE31X0YQ] deleting index
[00:06:30]                 │ proc [kibana]   log   [18:15:52.621] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:06:30]                 │ proc [kibana]   log   [18:15:52.622] [info][savedobjects-service] [.kibana] Migration completed after 1641ms
[00:06:30]                 │ debg [dashboard/current/kibana] Migrated Kibana index after loading Kibana data
[00:06:30]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true}
[00:06:32]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:06:33]                 │ debg navigating to dashboard url: http://localhost:61221/app/dashboards#/list
[00:06:33]                 │ debg navigate to: http://localhost:61221/app/dashboards#/list
[00:06:33]                 │ debg browser[INFO] http://localhost:61221/app/dashboards?_t=1614104155439#/list 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:06:33]                 │
[00:06:33]                 │ debg browser[INFO] http://localhost:61221/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:33]                 │ debg ... sleep(700) start
[00:06:34]                 │ debg ... sleep(700) end
[00:06:34]                 │ debg returned from get, calling refresh
[00:06:34]                 │ERROR browser[SEVERE] http://localhost:61221/40694/bundles/core/core.entry.js 12:160284 TypeError: Failed to fetch
[00:06:34]                 │          at fetch_Fetch.fetchResponse (http://localhost:61221/40694/bundles/core/core.entry.js:6:32451)
[00:06:34]                 │          at async interceptResponse (http://localhost:61221/40694/bundles/core/core.entry.js:6:28637)
[00:06:34]                 │          at async http://localhost:61221/40694/bundles/core/core.entry.js:6:31117
[00:06:34]                 │ debg browser[INFO] http://localhost:61221/app/dashboards?_t=1614104155439#/list 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:06:34]                 │
[00:06:34]                 │ debg browser[INFO] http://localhost:61221/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:34]                 │ debg currentUrl = http://localhost:61221/app/dashboards#/list
[00:06:34]                 │          appUrl = http://localhost:61221/app/dashboards#/list
[00:06:34]                 │ debg TestSubjects.find(kibanaChrome)
[00:06:34]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:06:35]                 │ debg ... sleep(501) start
[00:06:36]                 │ debg ... sleep(501) end
[00:06:36]                 │ debg in navigateTo url = http://localhost:61221/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:06:36]                 │ debg TestSubjects.exists(statusPageContainer)
[00:06:36]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:06:38]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:06:39]                 │ debg isGlobalLoadingIndicatorVisible
[00:06:39]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:06:39]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:06:39]                 │ debg browser[INFO] http://localhost:61221/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now)) 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:06:39]                 │
[00:06:39]                 │ debg browser[INFO] http://localhost:61221/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:40]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:06:41]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:06:41]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:06:41]                 │ debg gotoDashboardLandingPage
[00:06:41]                 │ debg onDashboardLandingPage
[00:06:41]                 │ debg TestSubjects.exists(dashboardLandingPage)
[00:06:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:11:02]               └-: disabling a filter unfilters the data on
[00:11:02]                 └-> "before all" hook for "pie charts"
[00:11:02]                 └-> "before all" hook for "pie charts"
[00:11:02]                   │ debg TestSubjects.exists(newItemButton)
[00:11:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:02]                   │ debg TestSubjects.click(newItemButton)
[00:11:02]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:02]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:11:02]                   │ debg TestSubjects.exists(dashboardCreateConfirm)
[00:11:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardCreateConfirm"]') with timeout=2500
[00:11:04]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardCreateConfirm"] is not displayed
[00:11:05]                   │ debg waitForRenderComplete
[00:11:05]                   │ debg in getSharedItemsCount
[00:11:05]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:11:05]                   │ debg Renderable.waitForRender for 0 elements
[00:11:05]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:11:15]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:11:16]                   │ debg Setting absolute range to Jan 1, 2018 @ 00:00:00.000 to Apr 13, 2018 @ 00:00:00.000
[00:11:16]                   │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:11:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:11:16]                   │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:11:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:11:18]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:11:19]                   │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:11:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:11:19]                   │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:11:19]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:19]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:11:19]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:19]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:19]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:19]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:19]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:19]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:19]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:19]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Apr 13, 2018 @ 00:00:00.000)
[00:11:19]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:19]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:19]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:20]                   │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:11:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:11:20]                   │ debg Find.waitForElementStale with timeout=10000
[00:11:20]                   │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:11:20]                   │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:11:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:11:20]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:20]                   │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Jan 1, 2018 @ 00:00:00.000)
[00:11:20]                   │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:11:20]                   │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:20]                   │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:11:21]                   │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:11:21]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:11:23]                   │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:11:24]                   │ debg TestSubjects.click(querySubmitButton)
[00:11:24]                   │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:24]                   │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:11:24]                   │ debg Find.waitForElementStale with timeout=10000
[00:11:24]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:24]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:24]                   │ debg DashboardAddPanel.addEveryVisualization
[00:11:24]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:11:24]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:11:24]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:11:27]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:11:27]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:11:27]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:11:27]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:27]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:27]                   │ debg ... sleep(500) start
[00:11:28]                   │ debg ... sleep(500) end
[00:11:28]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:11:28]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:11:28]                   │ debg DashboardAddPanel.addToFilter(visualization)
[00:11:28]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:30]                   │ debg DashboardAddPanel.toggleFilter
[00:11:30]                   │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:11:30]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:30]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:30]                   │ debg TestSubjects.click(savedObjectFinderFilter-visualization)
[00:11:30]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:11:30]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-visualization"]') with timeout=10000
[00:11:30]                   │ debg DashboardAddPanel.toggleFilter
[00:11:30]                   │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:11:30]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:30]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:30]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:31]                   │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Filter Bytes Test")
[00:11:31]                   │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:11:31]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:31]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:31]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:31]                   │ debg addEveryEmbeddableOnCurrentPage
[00:11:31]                   │ debg TestSubjects.find(savedObjectFinderItemList)
[00:11:31]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderItemList"]') with timeout=10000
[00:11:32]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:32]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:32]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:32]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:32]                   │ debg --- retry.try error: stale element reference: element is not attached to the page document
[00:11:32]                   │        (Session info: headless chrome=88.0.4324.150)
[00:11:33]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:33]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:33]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:33]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:33]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:33]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:33]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:33]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:34]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:34]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:34]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:34]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:34]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:34]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:34]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:34]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:34]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:35]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:35]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:35]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:35]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:36]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:36]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:36]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:36]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:36]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:36]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:36]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:36]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:37]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:37]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:37]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:37]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:38]                   │ debg Added 11 embeddables
[00:11:38]                   │ debg Find.allByCssSelector('.euiToast') with timeout=10000
[00:11:38]                   │ debg TestSubjects.exists(pagination-button-next)
[00:11:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="pagination-button-next"]') with timeout=2500
[00:11:38]                   │ debg TestSubjects.find(pagination-button-next)
[00:11:38]                   │ debg Find.findByCssSelector('[data-test-subj="pagination-button-next"]') with timeout=10000
[00:11:38]                   │ debg isGlobalLoadingIndicatorVisible
[00:11:38]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:40]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:11:40]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:40]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:40]                   │ debg isGlobalLoadingIndicatorVisible
[00:11:40]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:11:40]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:11:42]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:11:42]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:11:42]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:11:42]                   │ debg addEveryEmbeddableOnCurrentPage
[00:11:42]                   │ debg TestSubjects.find(savedObjectFinderItemList)
[00:11:42]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderItemList"]') with timeout=10000
[00:11:42]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:43]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:43]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:43]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:43]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:43]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:43]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:43]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:44]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:44]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:44]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:44]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:44]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:45]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:45]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:45]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:45]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:45]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:45]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:45]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:45]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:46]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:46]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:46]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:46]                   │ debg Added 6 embeddables
[00:11:46]                   │ debg Find.allByCssSelector('.euiToast') with timeout=10000
[00:11:46]                   │ debg TestSubjects.exists(pagination-button-next)
[00:11:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="pagination-button-next"]') with timeout=2500
[00:11:46]                   │ debg TestSubjects.find(pagination-button-next)
[00:11:46]                   │ debg Find.findByCssSelector('[data-test-subj="pagination-button-next"]') with timeout=10000
[00:11:46]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:46]                   │ debg Closing flyout dashboardAddPanel
[00:11:46]                   │ debg TestSubjects.find(dashboardAddPanel)
[00:11:46]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:11:46]                   │ debg Waiting up to 20000ms for flyout closed...
[00:11:46]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:48]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:11:48]                   │ debg DashboardAddPanel.addEverySavedSearch
[00:11:48]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:11:48]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:11:48]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:11:51]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:11:51]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:11:51]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:11:51]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:51]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:11:51]                   │ debg ... sleep(500) start
[00:11:52]                   │ debg ... sleep(500) end
[00:11:52]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:11:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:11:52]                   │ debg DashboardAddPanel.addToFilter(search)
[00:11:52]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:53]                   │ debg DashboardAddPanel.toggleFilter
[00:11:53]                   │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:11:53]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:53]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:54]                   │ debg TestSubjects.click(savedObjectFinderFilter-search)
[00:11:54]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilter-search"]') with timeout=10000
[00:11:54]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilter-search"]') with timeout=10000
[00:11:54]                   │ debg DashboardAddPanel.toggleFilter
[00:11:54]                   │ debg TestSubjects.click(savedObjectFinderFilterButton)
[00:11:54]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:54]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderFilterButton"]') with timeout=10000
[00:11:54]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:54]                   │ debg TestSubjects.setValue(savedObjectFinderSearchInput, "Filter Bytes Test")
[00:11:54]                   │ debg TestSubjects.click(savedObjectFinderSearchInput)
[00:11:54]                   │ debg Find.clickByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:54]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderSearchInput"]') with timeout=10000
[00:11:54]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="savedObjectFinderLoadingIndicator"]') with timeout=10000
[00:11:55]                   │ debg addEveryEmbeddableOnCurrentPage
[00:11:55]                   │ debg TestSubjects.find(savedObjectFinderItemList)
[00:11:55]                   │ debg Find.findByCssSelector('[data-test-subj="savedObjectFinderItemList"]') with timeout=10000
[00:11:55]                   │ debg Find.findByCssSelector('.euiToast') with timeout=60000
[00:11:56]                   │ debg Find.findByCssSelector('.euiToastHeader__title') with timeout=10000
[00:11:56]                   │ debg Find.clickByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:56]                   │ debg Find.findByCssSelector('.euiToast__closeButton') with timeout=10000
[00:11:56]                   │ debg Added 1 embeddables
[00:11:56]                   │ debg Find.allByCssSelector('.euiToast') with timeout=10000
[00:11:56]                   │ debg TestSubjects.exists(pagination-button-next)
[00:11:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="pagination-button-next"]') with timeout=2500
[00:11:56]                   │ debg --- retry.tryForTime error: [data-test-subj="pagination-button-next"] is not displayed
[00:11:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:11:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:11:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:11:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:11:59]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:11:59]                   │ debg Closing flyout dashboardAddPanel
[00:11:59]                   │ debg TestSubjects.find(dashboardAddPanel)
[00:11:59]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=10000
[00:11:59]                   │ debg Waiting up to 20000ms for flyout closed...
[00:11:59]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:11:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:12:00]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:12:01]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:12:01]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=1000
[00:12:02]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:12:02]                   │ debg isGlobalLoadingIndicatorVisible
[00:12:02]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:12:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:12:04]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:12:04]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:12:04]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:12:04]                   │ debg waitForRenderComplete
[00:12:04]                   │ debg in getSharedItemsCount
[00:12:04]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:12:04]                   │ debg Renderable.waitForRender for 0 elements
[00:12:04]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:12:04]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:12:05]                   │ debg TestSubjects.click(addFilter)
[00:12:05]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:12:05]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:12:06]                   │ debg comboBox.set, comboBoxSelector: filterFieldSuggestionList
[00:12:06]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:12:06]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:12:06]                   │ debg comboBox.setElement, value: bytes
[00:12:06]                   │ debg comboBox.isOptionSelected, value: bytes
[00:12:08]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:12:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:12:08]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="bytes"]') with timeout=2500
[00:12:10]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:12:21]                   │ info Taking screenshot "/dev/shm/workspace/parallel/22/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard filtering disabling a filter unfilters the data on _before all_ hook for _pie charts_.png"
[00:12:21]                   │ info Current URL is: http://localhost:61221/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272018-01-01T00:00:00.000Z%27,to:%272018-04-13T00:00:00.000Z%27))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:%27%27),tags:!(),timeRestore:!f,title:%27%27,viewMode:edit)
[00:12:21]                   │ info Saving page source to: /dev/shm/workspace/parallel/22/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard filtering disabling a filter unfilters the data on _before all_ hook for _pie charts_.html
[00:12:21]                   └- ✖ fail: dashboard app using current data dashboard filtering disabling a filter unfilters the data on "before all" hook for "pie charts"
[00:12:21]                   │      TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
[00:12:21]                   │ Wait timed out after 10048ms
[00:12:21]                   │       at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:12:21]                   │       at runMicrotasks (<anonymous>)
[00:12:21]                   │       at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:12:21]                   │ 
[00:12:21]                   │ 

Stack Trace

TimeoutError: Waiting for element to be located By(css selector, .euiFilterSelectItem)
Wait timed out after 10048ms
    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
monitoring 619 620 +1

Async chunks

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

id before after diff
monitoring 798.3KB 798.3KB -45.0B

History

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

@axw
Copy link
Member

axw commented Feb 24, 2021

Thank you @igoristic! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Stack Monitoring] Use cgroup metrics for Beats and APM Server CPU/memory usage
7 participants