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

Management API - simpler interface, remove app context usage #71144

Merged
merged 19 commits into from
Jul 14, 2020

Conversation

mattkime
Copy link
Contributor

@mattkime mattkime commented Jul 8, 2020

Summary

  • Reduce API - no longer look up sections by id, reference them directly. expose on public contract if needed. Section lookup error will be caught at compile time rather than when code is executed.
  • Consolidate rendering code
  • Localize section title and tool tips.

Dev Docs

Management API changes - Public setup contract has been reduced to just register and a new interface, sections which is a map of management sections provided by the plugin and replaces getSection. Public start interfaces have been removed as all registration should occur in the setup lifecycle.

@elastic elastic deleted a comment from kibanamachine Jul 9, 2020
@mattkime mattkime changed the title remove lookup section by id, remove app context usage Manaagement API - simpler interface, remove app context usage Jul 9, 2020
@mattkime mattkime changed the title Manaagement API - simpler interface, remove app context usage Management API - simpler interface, remove app context usage Jul 9, 2020
@elastic elastic deleted a comment from kibanamachine Jul 9, 2020
@mattkime mattkime mentioned this pull request Jul 9, 2020
3 tasks
@elastic elastic deleted a comment from kibanamachine Jul 9, 2020
@mattkime mattkime added v8.0.0 v7.9.0 Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Team:AppArch labels Jul 9, 2020
@mattkime mattkime marked this pull request as ready for review July 9, 2020 21:19
@mattkime mattkime requested review from a team as code owners July 9, 2020 21:19
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@mattkime mattkime added the release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. label Jul 9, 2020
Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

Nice improvement, @mattkime! I found a few typos and things and I explained some of my concerns around the change to the Security section definition. I'd like to hear your perspective on that. None of my comments are terribly controversial though, so I'd like to see them addressed but I think I can still approve to unblock you.

@elastic elastic deleted a comment from kibanamachine Jul 9, 2020
@elastic elastic deleted a comment from kibanamachine Jul 10, 2020
Copy link
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

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

LGTM for platform changes

Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

LGTM for security/spaces changes

@lizozom
Copy link
Contributor

lizozom commented Jul 13, 2020

@elasticmachine merge upstream

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

ML changes LGTM

@elastic elastic deleted a comment from kibanamachine Jul 13, 2020
@mattkime
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@YulNaumenko YulNaumenko left a comment

Choose a reason for hiding this comment

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

Alerting changes LGTM

@mattkime
Copy link
Contributor Author

@elasticmachine merge upstream

@mattkime
Copy link
Contributor Author

@elasticmachine merge upstream

@elastic elastic deleted a comment from kibanamachine Jul 13, 2020
Copy link
Contributor

@lizozom lizozom left a comment

Choose a reason for hiding this comment

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

Looks good and works properly (already tested locally).
Added a few comments.

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ManagementStart {}

export interface ManagementSectionsStartPrivate {
Copy link
Contributor

Choose a reason for hiding this comment

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

Haven't seen this pattern before (Private interface), why is it used?
Also, it seems to be the same as SectionsServiceStart? Is it future proofing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

One is for the service and one is for the plugin, you're right that its a little redundant but I think its okay.

Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure why we need this, but okay

return {
sections: this.managementSections.start({ capabilities: core.application.capabilities }),
};
this.managementSections.start({ capabilities: core.application.capabilities });
Copy link
Contributor

Choose a reason for hiding this comment

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

Why aren't we returning sections on the start contract anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was never used externally, only internally.

private getSection = (sectionId: ManagementSectionId | string) =>
this.sections.get(sectionId) as ManagementSection;
constructor() {
// Note on adding sections - sections can be defined in a plugin and exported as a contract
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you provide a short example for what you mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here's a previous version of the code that was changed due to feedback - 291bf7a

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean an example in a comment


export class ManagementSectionsService {
private sections: Map<ManagementSectionId | string, ManagementSection> = new Map();
definedSections: DefinedSections;
Copy link
Contributor

Choose a reason for hiding this comment

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

//Major nit

why not just sections? (both for the variable and the class)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its not necessarily the full set of sections, its just the set of sections that have been defined within this plugin. Sections could be defined and exposed via other plugins.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would then add a comment at least.

} from './types';
import { createGetterSetter } from '../../kibana_utils/public';

const [getSectionsServiceStartPrivate, setSectionsServiceStartPrivate] = createGetterSetter<
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind explaining this bit?
Why is the getter setter called private?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Its only used internally.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think all getter-setters are used within the bundle they are defined in. Not sure about this.

Copy link
Contributor Author

@mattkime mattkime Jul 14, 2020

Choose a reason for hiding this comment

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

I'm not sure I understand, is there a change you'd recommend? This is used within the bundle.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just found the "Private" part a bit unclear. Not critical though.

this.licenseFeaturesSubscription = this.license.features$.subscribe(async (features) => {
const securitySection = management.sections.getSection(ManagementSectionId.Security);
const securitySection = this.securitySection as ManagementSection;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you have to cast here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We know its been set in the setup method but typescript isn't aware of this. It thinks it might be undefined.

Copy link
Contributor

Choose a reason for hiding this comment

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

Won't this.securitySection! work as well. I find it clearer.

@mattkime mattkime merged commit b26e319 into elastic:master Jul 14, 2020
mattkime added a commit to mattkime/kibana that referenced this pull request Jul 14, 2020
…#71144)

Management API - simpler interface, remove app context usage, consolidate rendeing
# Conflicts:
#	src/core/MIGRATION.md
#	x-pack/plugins/upgrade_assistant/kibana.json
mattkime added a commit that referenced this pull request Jul 14, 2020
…#71716)

Management API - simpler interface, remove app context usage, consolidate rendeing
@kibanamachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos·js.context app context view for date_nanos displays predessors - anchor - successors in right order

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:11]         └-: context app
[00:00:11]           └-> "before all" hook
[00:00:11]           └-> "before all" hook
[00:00:11]             │ info [logstash_functional] Loading "mappings.json"
[00:00:11]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:12]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:12]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:12]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:12]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:21]             │ info progress: 10530
[00:00:24]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:24]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:24]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:24]             │ info [visualize] Loading "mappings.json"
[00:00:24]             │ info [visualize] Loading "data.json"
[00:00:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_1/cA--uUNdTO6rlguN7gaocg] deleting index
[00:00:25]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [visualize] Created index ".kibana"
[00:00:25]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana/ITvS3-IYS2m-phyjs9TS5Q] update_mapping [_doc]
[00:00:25]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana/ITvS3-IYS2m-phyjs9TS5Q] update_mapping [_doc]
[00:00:25]             │ debg Migrating saved objects
[00:00:25]             │ proc [kibana]   log   [19:49:41.065] [info][savedobjects-service] Creating index .kibana_2.
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:25]             │ proc [kibana]   log   [19:49:41.149] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:25]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:25]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.tasks]
[00:00:25]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] 865 finished with response BulkByScrollResponse[took=83ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:25]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana/ITvS3-IYS2m-phyjs9TS5Q] deleting index
[00:00:25]             │ proc [kibana]   log   [19:49:41.613] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:25]             │ proc [kibana]   log   [19:49:41.652] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:25]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/RbM9Hzj6R4aI56-DhiUL1w] update_mapping [_doc]
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/RbM9Hzj6R4aI56-DhiUL1w] update_mapping [_doc]
[00:00:26]             │ proc [kibana]   log   [19:49:41.797] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:26]             │ proc [kibana]   log   [19:49:41.878] [info][savedobjects-service] Finished in 815ms.
[00:00:26]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:26]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/RbM9Hzj6R4aI56-DhiUL1w] update_mapping [_doc]
[00:00:27]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:28]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:28]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:28]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596570584235#/ 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:28]             │
[00:00:28]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:28]             │ debg ... sleep(700) start
[00:00:29]             │ debg ... sleep(700) end
[00:00:29]             │ debg returned from get, calling refresh
[00:00:30]             │ debg browser[INFO] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:49:45Z
[00:00:30]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:30]             │
[00:00:30]             │      "
[00:00:30]             │ERROR browser[SEVERE] http://localhost:6121/34619/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:00:30]             │          at Fetch._callee3$ (http://localhost:6121/34619/bundles/core/core.entry.js:34:105174)
[00:00:30]             │          at l (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155324)
[00:00:30]             │          at Generator._invoke (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077)
[00:00:30]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155681)
[00:00:30]             │          at fetch_asyncGeneratorStep (http://localhost:6121/34619/bundles/core/core.entry.js:34:99267)
[00:00:30]             │          at _throw (http://localhost:6121/34619/bundles/core/core.entry.js:34:99675)
[00:00:30]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596570584235#/ 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:30]             │
[00:00:30]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:30]             │ debg browser[INFO] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:49:46Z
[00:00:30]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:30]             │
[00:00:30]             │      "
[00:00:30]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:30]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:30]             │ debg TestSubjects.find(kibanaChrome)
[00:00:30]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:31]             │ debg ... sleep(501) start
[00:00:31]             │ debg ... sleep(501) end
[00:00:31]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:31]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:31]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:34]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:56]           └-: context view for date_nanos
[00:01:56]             └-> "before all" hook
[00:01:56]             └-> "before all" hook
[00:01:56]               │ info [date_nanos] Loading "mappings.json"
[00:01:56]               │ info [date_nanos] Loading "data.json"
[00:01:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:01:56]               │ info [date_nanos] Created index "date-nanos"
[00:01:56]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [date-nanos/0V-HsmJhQdKlKyxMNOM7Bg] update_mapping [_doc]
[00:01:56]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:56]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/RbM9Hzj6R4aI56-DhiUL1w] update_mapping [_doc]
[00:01:56]               │ debg Migrating saved objects
[00:01:56]               │ proc [kibana]   log   [19:51:12.509] [info][savedobjects-service] Creating index .kibana_3.
[00:01:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_3][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_3][0]]"
[00:01:56]               │ proc [kibana]   log   [19:51:12.586] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:56]               │ proc [kibana]   log   [19:51:12.594] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/8myaVIXSRPO6F70Czf_w8A] update_mapping [_doc]
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/8myaVIXSRPO6F70Czf_w8A] update_mapping [_doc]
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/8myaVIXSRPO6F70Czf_w8A] update_mapping [_doc]
[00:01:57]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/8myaVIXSRPO6F70Czf_w8A] update_mapping [_doc]
[00:01:57]               │ proc [kibana]   log   [19:51:12.733] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:57]               │ proc [kibana]   log   [19:51:12.791] [info][savedobjects-service] Finished in 285ms.
[00:01:57]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:01:57]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:01:58]             └-> displays predessors - anchor - successors in right order 
[00:01:58]               └-> "before each" hook: global before each
[00:01:58]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:01:58]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:58]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:58]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596570674591#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 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:01:58]               │
[00:01:58]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:00]               │ debg browser[INFO] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:51:15Z
[00:02:00]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:00]               │
[00:02:00]               │      "
[00:02:00]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:00]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:01]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:01]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:01]               │ debg --- retry.try error: loading context rows
[00:02:01]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:01]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:01]               │ERROR browser[SEVERE] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:01]               │          at Fetch._callee3$ (http://localhost:6121/34619/bundles/core/core.entry.js:34:106126)
[00:02:01]               │          at l (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155324)
[00:02:01]               │          at Generator._invoke (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077)
[00:02:01]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155681)
[00:02:01]               │          at fetch_asyncGeneratorStep (http://localhost:6121/34619/bundles/core/core.entry.js:34:99267)
[00:02:01]               │          at _next (http://localhost:6121/34619/bundles/core/core.entry.js:34:99583) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"P7AfPc0oSgar5nVo_XLrsw\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:01]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:01]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:01]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:01]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:01]               │ debg ... sleep(1000) start
[00:02:02]               │ debg ... sleep(1000) end
[00:02:02]               │ debg TestSubjects.find(docTable)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:02]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:02]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:02]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:02]               └- ✖ fail: context app context view for date_nanos displays predessors - anchor - successors in right order 
[00:02:02]               │       Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
[00:02:02]               │   'Sep 18, 2019 @ 06:50:12.999999999-3',
[00:02:02]               │   'Sep 19, 2015 @ 06:50:13.0001000011' ]
[00:02:02]               │       + expected - actual
[00:02:02]               │ 
[00:02:02]               │        [
[00:02:02]               │       +  "Sep 18, 2019 @ 06:50:13.000000000-2"
[00:02:02]               │          "Sep 18, 2019 @ 06:50:12.999999999-3"
[00:02:02]               │       +  "Sep 19, 2015 @ 06:50:13.0001000011"
[00:02:02]               │        ]
[00:02:02]               │       
[00:02:02]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:02:02]               │       at Assertion.eql (packages/kbn-expect/expect.js:244:8)
[00:02:02]               │       at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
[00:02:02]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:02]               │ 
[00:02:02]               │ 

Stack Trace

{ Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
  'Sep 18, 2019 @ 06:50:12.999999999-3',
  'Sep 19, 2015 @ 06:50:13.0001000011' ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n]',
  expected:
   '[\n  "Sep 18, 2019 @ 06:50:13.000000000-2"\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n  "Sep 19, 2015 @ 06:50:13.0001000011"\n]',
  showDiff: true }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/context/_date_nanos·js.context app context view for date_nanos displays predessors - anchor - successors in right order

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:11]         └-: context app
[00:00:11]           └-> "before all" hook
[00:00:11]           └-> "before all" hook
[00:00:11]             │ info [logstash_functional] Loading "mappings.json"
[00:00:11]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.22][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.22][0]]"
[00:00:11]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:11]             │ debg [logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.20][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.20][0]]"
[00:00:11]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:11]             │ debg [logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:11]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:11]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[logstash-2015.09.21][0]]])." previous.health="YELLOW" reason="shards started [[logstash-2015.09.21][0]]"
[00:00:11]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:11]             │ debg [logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:00:21]             │ info progress: 12263
[00:00:22]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:22]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:22]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:22]             │ info [visualize] Loading "mappings.json"
[00:00:22]             │ info [visualize] Loading "data.json"
[00:00:22]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_1/Mb_hh-aAR-euTBTT5LaW0g] deleting index
[00:00:22]             │ info [visualize] Deleted existing index [".kibana_1"]
[00:00:22]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]             │ info [visualize] Created index ".kibana"
[00:00:23]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana/mUJlQDy-Tg6g-QwvEV-0Lw] update_mapping [_doc]
[00:00:23]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:00:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana/mUJlQDy-Tg6g-QwvEV-0Lw] update_mapping [_doc]
[00:00:23]             │ debg Migrating saved objects
[00:00:23]             │ proc [kibana]   log   [19:46:00.475] [info][savedobjects-service] Creating index .kibana_2.
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:23]             │ proc [kibana]   log   [19:46:00.582] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:23]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:23]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:23]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.tasks]
[00:00:23]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] 868 finished with response BulkByScrollResponse[took=107.8ms,timed_out=false,sliceId=null,updated=0,created=12,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:23]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana/mUJlQDy-Tg6g-QwvEV-0Lw] deleting index
[00:00:23]             │ proc [kibana]   log   [19:46:01.064] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:23]             │ proc [kibana]   log   [19:46:01.092] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:00:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/sjB2vVwVQpKS1Gpx3pepaA] update_mapping [_doc]
[00:00:23]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/sjB2vVwVQpKS1Gpx3pepaA] update_mapping [_doc]
[00:00:24]             │ proc [kibana]   log   [19:46:01.212] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:24]             │ proc [kibana]   log   [19:46:01.277] [info][savedobjects-service] Finished in 805ms.
[00:00:24]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:24]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/sjB2vVwVQpKS1Gpx3pepaA] update_mapping [_doc]
[00:00:25]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*"}
[00:00:26]             │ debg navigating to discover url: http://localhost:6121/app/discover#/
[00:00:26]             │ debg navigate to: http://localhost:6121/app/discover#/
[00:00:26]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596570363649#/ 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:26]             │
[00:00:26]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:26]             │ debg ... sleep(700) start
[00:00:27]             │ debg ... sleep(700) end
[00:00:27]             │ debg returned from get, calling refresh
[00:00:28]             │ debg browser[INFO] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:46:05Z
[00:00:28]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:28]             │
[00:00:28]             │      "
[00:00:28]             │ERROR browser[SEVERE] http://localhost:6121/34619/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:00:28]             │          at Fetch._callee3$ (http://localhost:6121/34619/bundles/core/core.entry.js:34:105174)
[00:00:28]             │          at l (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155324)
[00:00:28]             │          at Generator._invoke (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077)
[00:00:28]             │          at Generator.forEach.e.<computed> [as throw] (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155681)
[00:00:28]             │          at fetch_asyncGeneratorStep (http://localhost:6121/34619/bundles/core/core.entry.js:34:99267)
[00:00:28]             │          at _throw (http://localhost:6121/34619/bundles/core/core.entry.js:34:99675)
[00:00:28]             │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596570363649#/ 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:28]             │
[00:00:28]             │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:29]             │ debg browser[INFO] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:46:06Z
[00:00:29]             │        Adding connection to http://localhost:6121/elasticsearch
[00:00:29]             │
[00:00:29]             │      "
[00:00:29]             │ debg currentUrl = http://localhost:6121/app/discover#/
[00:00:29]             │          appUrl = http://localhost:6121/app/discover#/
[00:00:29]             │ debg TestSubjects.find(kibanaChrome)
[00:00:29]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:29]             │ debg ... sleep(501) start
[00:00:29]             │ debg ... sleep(501) end
[00:00:29]             │ debg in navigateTo url = http://localhost:6121/app/discover#/
[00:00:29]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:29]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:32]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:55]           └-: context view for date_nanos
[00:01:55]             └-> "before all" hook
[00:01:55]             └-> "before all" hook
[00:01:55]               │ info [date_nanos] Loading "mappings.json"
[00:01:55]               │ info [date_nanos] Loading "data.json"
[00:01:55]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [date-nanos] creating index, cause [api], templates [], shards [1]/[0]
[00:01:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[date-nanos][0]]])." previous.health="YELLOW" reason="shards started [[date-nanos][0]]"
[00:01:56]               │ info [date_nanos] Created index "date-nanos"
[00:01:56]               │ debg [date_nanos] "date-nanos" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [date-nanos/Ch9BMSE-R0WUYyrWrN_EnA] update_mapping [_doc]
[00:01:56]               │ info [date_nanos] Indexed 9 docs into "date-nanos"
[00:01:56]               │ info [date_nanos] Indexed 2 docs into ".kibana"
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/sjB2vVwVQpKS1Gpx3pepaA] update_mapping [_doc]
[00:01:56]               │ debg Migrating saved objects
[00:01:56]               │ proc [kibana]   log   [19:47:33.397] [info][savedobjects-service] Creating index .kibana_3.
[00:01:56]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3] creating index, cause [api], templates [], shards [1]/[1]
[00:01:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.kibana_3]
[00:01:56]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_3][0]]])." previous.health="YELLOW" reason="shards started [[.kibana_3][0]]"
[00:01:56]               │ proc [kibana]   log   [19:47:33.485] [info][savedobjects-service] Migrating .kibana_2 saved objects to .kibana_3
[00:01:56]               │ proc [kibana]   log   [19:47:33.492] [error][savedobjects-service] Error: Unable to migrate the corrupt Saved Object document index-pattern:test_index*. To prevent Kibana from performing a migration on every restart, please delete or fix this document by ensuring that the namespace and type in the document's id matches the values in the namespace and type fields.
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/OcoCNq_IRLqnSq1DWHQjkw] update_mapping [_doc]
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/OcoCNq_IRLqnSq1DWHQjkw] update_mapping [_doc]
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/OcoCNq_IRLqnSq1DWHQjkw] update_mapping [_doc]
[00:01:56]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_3/OcoCNq_IRLqnSq1DWHQjkw] update_mapping [_doc]
[00:01:56]               │ proc [kibana]   log   [19:47:33.636] [info][savedobjects-service] Pointing alias .kibana to .kibana_3.
[00:01:56]               │ proc [kibana]   log   [19:47:33.706] [info][savedobjects-service] Finished in 311ms.
[00:01:56]               │ debg replacing kibana config doc: {"defaultIndex":"date-nanos"}
[00:01:57]               │ debg applying update to kibana config: {"context:defaultSize":"1","context:step":"3"}
[00:01:58]             └-> displays predessors - anchor - successors in right order 
[00:01:58]               └-> "before each" hook: global before each
[00:01:58]               │ debg browser.get(http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!('@message')))
[00:01:58]               │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:58]               │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:58]               │ debg browser[INFO] http://localhost:6121/app/discover?_t=1596570455511#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27)) 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:01:58]               │
[00:01:58]               │ debg browser[INFO] http://localhost:6121/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:02:00]               │ debg browser[INFO] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:47:36Z
[00:02:00]               │        Adding connection to http://localhost:6121/elasticsearch
[00:02:00]               │
[00:02:00]               │      "
[00:02:00]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:00]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:00]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:00]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:00]               │ debg --- retry.try error: loading context rows
[00:02:00]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:00]               │ERROR browser[SEVERE] http://localhost:6121/internal/search/es - Failed to load resource: the server responded with a status of 400 (Bad Request)
[00:02:00]               │ERROR browser[SEVERE] http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 413:78739 Error: Bad Request
[00:02:00]               │          at Fetch._callee3$ (http://localhost:6121/34619/bundles/core/core.entry.js:34:106126)
[00:02:00]               │          at l (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155324)
[00:02:00]               │          at Generator._invoke (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077)
[00:02:00]               │          at Generator.forEach.e.<computed> [as next] (http://localhost:6121/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155681)
[00:02:00]               │          at fetch_asyncGeneratorStep (http://localhost:6121/34619/bundles/core/core.entry.js:34:99267)
[00:02:00]               │          at _next (http://localhost:6121/34619/bundles/core/core.entry.js:34:99583) "Possibly unhandled rejection: {\"request\":{},\"response\":{},\"body\":{\"statusCode\":400,\"error\":\"Bad Request\",\"message\":\"[illegal_argument_exception] date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"attributes\":{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"date-nanos\",\"node\":\"TbkWYfUqSW-GWCK3pxqZrA\",\"reason\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}],\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"date[+49714927-06-25T16:26:39.999Z] is after 2262-04-11T23:47:16.854775807 and cannot be stored in nanosecond resolution\"}}}}},\"name\":\"Error\",\"req\":\"...\",\"res\":\"...\"}"
[00:02:01]               │ debg TestSubjects.find(successorsLoadMoreButton)
[00:02:01]               │ debg Find.findByCssSelector('[data-test-subj="successorsLoadMoreButton"]') with timeout=10000
[00:02:01]               │ debg TestSubjects.find(predecessorsLoadMoreButton)
[00:02:01]               │ debg Find.findByCssSelector('[data-test-subj="predecessorsLoadMoreButton"]') with timeout=10000
[00:02:01]               │ debg ... sleep(1000) start
[00:02:02]               │ debg ... sleep(1000) end
[00:02:02]               │ debg TestSubjects.find(docTable)
[00:02:02]               │ debg Find.findByCssSelector('[data-test-subj="docTable"]') with timeout=10000
[00:02:02]               │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/context app context view for date_nanos displays predessors - anchor - successors in right order .png"
[00:02:02]               │ info Current URL is: http://localhost:6121/app/discover#/context/date-nanos/AU_x3-TaGFA8no6Qj999Z?_a=(columns:!(%27@message%27))
[00:02:02]               │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/context app context view for date_nanos displays predessors - anchor - successors in right order .html
[00:02:02]               └- ✖ fail: context app context view for date_nanos displays predessors - anchor - successors in right order 
[00:02:02]               │       Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
[00:02:02]               │   'Sep 18, 2019 @ 06:50:12.999999999-3',
[00:02:02]               │   'Sep 19, 2015 @ 06:50:13.0001000011' ]
[00:02:02]               │       + expected - actual
[00:02:02]               │ 
[00:02:02]               │        [
[00:02:02]               │       +  "Sep 18, 2019 @ 06:50:13.000000000-2"
[00:02:02]               │          "Sep 18, 2019 @ 06:50:12.999999999-3"
[00:02:02]               │       +  "Sep 19, 2015 @ 06:50:13.0001000011"
[00:02:02]               │        ]
[00:02:02]               │       
[00:02:02]               │       at Assertion.assert (packages/kbn-expect/expect.js:100:11)
[00:02:02]               │       at Assertion.eql (packages/kbn-expect/expect.js:244:8)
[00:02:02]               │       at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
[00:02:02]               │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:02]               │ 
[00:02:02]               │ 

Stack Trace

{ Error: expected [ 'Sep 18, 2019 @ 06:50:12.999999999-3' ] to sort of equal [ 'Sep 18, 2019 @ 06:50:13.000000000-2',
  'Sep 18, 2019 @ 06:50:12.999999999-3',
  'Sep 19, 2015 @ 06:50:13.0001000011' ]
    at Assertion.assert (packages/kbn-expect/expect.js:100:11)
    at Assertion.eql (packages/kbn-expect/expect.js:244:8)
    at Context.<anonymous> (test/functional/apps/context/_date_nanos.js:57:33)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual: '[\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n]',
  expected:
   '[\n  "Sep 18, 2019 @ 06:50:13.000000000-2"\n  "Sep 18, 2019 @ 06:50:12.999999999-3"\n  "Sep 19, 2015 @ 06:50:13.0001000011"\n]',
  showDiff: true }

Kibana Pipeline / kibana-oss-agent / Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_filter_bar·js.dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: dashboard app
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: using current data
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook: loadCurrentData
[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-centos-tests-xl-1596569206541950900] [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-centos-tests-xl-1596569206541950900] [animals-dogs-2018-04-10] creating index, cause [api], templates [], shards [5]/[1]
[00:00:01]               │ info [dashboard/current/data] Created index "animals-dogs-2018-04-10"
[00:00:01]               │ debg [dashboard/current/data] "animals-dogs-2018-04-10" settings {"index":{"number_of_replicas":"1","number_of_shards":"5"}}
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [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-centos-tests-xl-1596569206541950900] [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-centos-tests-xl-1596569206541950900] [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-centos-tests-xl-1596569206541950900] [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: 9625
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-dogs-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "animals-cats-2018-01-01"
[00:00:14]               │ info [dashboard/current/data] Indexed 5 docs into "animals-cats-2018-04-10"
[00:00:14]               │ info [dashboard/current/data] Indexed 6 docs into "dogbreeds"
[00:00:14]               │ info [dashboard/current/data] Indexed 14005 docs into "logstash-0"
[00:01:19]             └-: dashboard filter bar
[00:01:19]               └-> "before all" hook
[00:01:19]               └-> "before all" hook
[00:01:19]                 │ info [dashboard/current/kibana] Loading "mappings.json"
[00:01:19]                 │ info [dashboard/current/kibana] Loading "data.json.gz"
[00:01:19]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/nDuJ0jnMQhaSVrgEqg5aqw] deleting index
[00:01:19]                 │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_1/1nrqZVvfTiyGQaAGGNhtZg] deleting index
[00:01:19]                 │ info [dashboard/current/kibana] Deleted existing index [".kibana_2",".kibana_1"]
[00:01:19]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:01:19]                 │ info [dashboard/current/kibana] Created index ".kibana_1"
[00:01:19]                 │ debg [dashboard/current/kibana] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:01:19]                 │ info [dashboard/current/kibana] Indexed 143 docs into ".kibana_1"
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_1/HlVcQSHeR0i3JRESFNl6EQ] update_mapping [_doc]
[00:01:19]                 │ debg Migrating saved objects
[00:01:19]                 │ proc [kibana]   log   [19:47:42.350] [info][savedobjects-service] Creating index .kibana_2.
[00:01:19]                 │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:01:19]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] updating number_of_replicas to [0] for indices [.kibana_2]
[00:01:19]                 │ proc [kibana]   log   [19:47:42.457] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:01:19]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/8-aUPoJwRU-4-RVlfjBrIg] update_mapping [_doc]
[00:01:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/8-aUPoJwRU-4-RVlfjBrIg] update_mapping [_doc]
[00:01:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/8-aUPoJwRU-4-RVlfjBrIg] update_mapping [_doc]
[00:01:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/8-aUPoJwRU-4-RVlfjBrIg] update_mapping [_doc]
[00:01:20]                 │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xl-1596569206541950900] [.kibana_2/8-aUPoJwRU-4-RVlfjBrIg] update_mapping [_doc]
[00:01:20]                 │ proc [kibana]   log   [19:47:42.729] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:01:20]                 │ proc [kibana]   log   [19:47:42.803] [info][savedobjects-service] Finished in 456ms.
[00:01:20]                 │ debg replacing kibana config doc: {"defaultIndex":"0bf35f60-3dc9-11e8-8660-4d65aa086b3c"}
[00:01:21]                 │ debg navigating to dashboard url: http://localhost:6141/app/dashboards#/list
[00:01:21]                 │ debg navigate to: http://localhost:6141/app/dashboards#/list
[00:01:22]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596570464441#/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:01:22]                 │
[00:01:22]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:22]                 │ debg ... sleep(700) start
[00:01:22]                 │ debg ... sleep(700) end
[00:01:22]                 │ debg returned from get, calling refresh
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:47:45Z
[00:01:23]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:23]                 │
[00:01:23]                 │      "
[00:01:23]                 │ERROR browser[SEVERE] http://localhost:6141/34619/bundles/core/core.entry.js 83:261771 TypeError: Failed to fetch
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/app/dashboards?_t=1596570464441#/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:01:23]                 │
[00:01:23]                 │ debg browser[INFO] http://localhost:6141/bundles/app/core/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:23]                 │ debg currentUrl = http://localhost:6141/app/dashboards#/list
[00:01:23]                 │          appUrl = http://localhost:6141/app/dashboards#/list
[00:01:23]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:23]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:25]                 │ debg browser[INFO] http://localhost:6141/34619/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 452:106112 "INFO: 2020-08-04T19:47:47Z
[00:01:25]                 │        Adding connection to http://localhost:6141/elasticsearch
[00:01:25]                 │
[00:01:25]                 │      "
[00:01:25]                 │ debg ... sleep(501) start
[00:01:25]                 │ debg ... sleep(501) end
[00:01:26]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:26]                 │ debg --- retry.try error: URL changed, waiting for it to settle
[00:01:26]                 │ debg ... sleep(501) start
[00:01:27]                 │ debg ... sleep(501) end
[00:01:27]                 │ debg in navigateTo url = http://localhost:6141/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:01:27]                 │ debg TestSubjects.exists(statusPageContainer)
[00:01:27]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:01:29]                 │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:01:53]               └-: filter editor field list
[00:01:53]                 └-> "before all" hook
[00:01:53]                 └-> "before all" hook
[00:01:53]                   │ debg gotoDashboardLandingPage
[00:01:53]                   │ debg onDashboardLandingPage
[00:01:53]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=5000
[00:01:55]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardLandingPage"] is not displayed
[00:01:58]                   │ debg --- retry.tryForTime failed again with the same message...
[00:01:59]                   │ debg clickDashboardBreadcrumbLink
[00:01:59]                   │ debg Find.clickByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:59]                   │ debg Find.findByCssSelector('a[href="#/list"]') with timeout=10000
[00:01:59]                   │ debg expectExistsDashboardLandingPage
[00:01:59]                   │ debg TestSubjects.exists(dashboardLandingPage)
[00:01:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardLandingPage"]') with timeout=120000
[00:01:59]                   │ debg TestSubjects.exists(newItemButton)
[00:01:59]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=5000
[00:01:59]                   │ debg TestSubjects.click(newItemButton)
[00:01:59]                   │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:59]                   │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:01:59]                   │ debg waitForRenderComplete
[00:01:59]                   │ debg in getSharedItemsCount
[00:01:59]                   │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:01:59]                   │ debg Renderable.waitForRender for 0 elements
[00:01:59]                   │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:02:09]                   │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:02:10]                 └-> uses default index pattern on an empty dashboard
[00:02:10]                   └-> "before each" hook: global before each
[00:02:10]                   │ debg TestSubjects.click(addFilter)
[00:02:10]                   │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:10]                   │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:02:11]                   │ debg DashboardExpect.fieldSuggestions(bytes)
[00:02:11]                   │ debg comboBox.getOptionsList, comboBoxSelector: filterFieldSuggestionList
[00:02:11]                   │ debg TestSubjects.find(filterFieldSuggestionList)
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:11]                   │ debg TestSubjects.click(filterFieldSuggestionList)
[00:02:11]                   │ debg Find.clickByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:11]                   │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:02:12]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:12]                   │ debg TestSubjects.find(~comboBoxOptionsList)
[00:02:12]                   │ debg Find.findByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=10000
[00:02:12]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:12]                   └- ✓ pass  (1.6s) "dashboard app using current data dashboard filter bar filter editor field list uses default index pattern on an empty dashboard"
[00:02:12]                 └-> shows index pattern of vis when one is added
[00:02:12]                   └-> "before each" hook: global before each
[00:02:12]                   │ debg DashboardAddPanel.addEmbeddable, name: Rendering-Test:-animal-sounds-pie, type: visualization
[00:02:12]                   │ debg DashboardAddPanel.ensureAddPanelIsShowing
[00:02:12]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:12]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:15]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:15]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:15]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:15]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:15]                   │ debg ... sleep(500) start
[00:02:16]                   │ debg ... sleep(500) end
[00:02:16]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:16]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:16]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:18]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:19]                   │ debg --- retry.try error: Add panel still not open, trying again.
[00:02:19]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:19]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:19]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:19]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:19]                   │ debg ... sleep(500) start
[00:02:20]                   │ debg ... sleep(500) end
[00:02:20]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:20]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:22]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:23]                   │ debg --- retry.try failed again with the same message...
[00:02:23]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:23]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:23]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:23]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:24]                   │ debg ... sleep(500) start
[00:02:24]                   │ debg ... sleep(500) end
[00:02:24]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:24]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:24]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:27]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:27]                   │ debg --- retry.try failed again with the same message...
[00:02:28]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:28]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:28]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:28]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:28]                   │ debg ... sleep(500) start
[00:02:28]                   │ debg ... sleep(500) end
[00:02:28]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:28]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:31]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:31]                   │ debg --- retry.try failed again with the same message...
[00:02:32]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:32]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:32]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:32]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:32]                   │ debg ... sleep(500) start
[00:02:33]                   │ debg ... sleep(500) end
[00:02:33]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:33]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:35]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:36]                   │ debg --- retry.try failed again with the same message...
[00:02:36]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:36]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:36]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:36]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:36]                   │ debg ... sleep(500) start
[00:02:37]                   │ debg ... sleep(500) end
[00:02:37]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:37]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:39]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:40]                   │ debg --- retry.try failed again with the same message...
[00:02:40]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:40]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:40]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:40]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:40]                   │ debg ... sleep(500) start
[00:02:41]                   │ debg ... sleep(500) end
[00:02:41]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:41]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:43]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:44]                   │ debg --- retry.try failed again with the same message...
[00:02:44]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:44]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:44]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:44]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:45]                   │ debg ... sleep(500) start
[00:02:45]                   │ debg ... sleep(500) end
[00:02:45]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:45]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:45]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:48]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:48]                   │ debg --- retry.try failed again with the same message...
[00:02:49]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:49]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:49]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:49]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:49]                   │ debg ... sleep(500) start
[00:02:49]                   │ debg ... sleep(500) end
[00:02:49]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:49]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:49]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:52]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:52]                   │ debg --- retry.try failed again with the same message...
[00:02:53]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:53]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:53]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:53]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:53]                   │ debg ... sleep(500) start
[00:02:53]                   │ debg ... sleep(500) end
[00:02:53]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:53]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:53]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:02:56]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:02:56]                   │ debg --- retry.try failed again with the same message...
[00:02:57]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:02:57]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:02:57]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:57]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:02:57]                   │ debg ... sleep(500) start
[00:02:58]                   │ debg ... sleep(500) end
[00:02:58]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:02:58]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:02:58]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:00]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:01]                   │ debg --- retry.try failed again with the same message...
[00:03:01]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:01]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:01]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:01]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:01]                   │ debg ... sleep(500) start
[00:03:02]                   │ debg ... sleep(500) end
[00:03:02]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:02]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:02]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:04]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:05]                   │ debg --- retry.try failed again with the same message...
[00:03:05]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:05]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:05]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:05]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:05]                   │ debg ... sleep(500) start
[00:03:06]                   │ debg ... sleep(500) end
[00:03:06]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:06]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:08]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:09]                   │ debg --- retry.try failed again with the same message...
[00:03:09]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:09]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:09]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:09]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:10]                   │ debg ... sleep(500) start
[00:03:10]                   │ debg ... sleep(500) end
[00:03:10]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:10]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:10]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:13]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:13]                   │ debg --- retry.try failed again with the same message...
[00:03:14]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:14]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:14]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:14]                   │ debg ... sleep(500) start
[00:03:14]                   │ debg ... sleep(500) end
[00:03:14]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:14]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:17]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:17]                   │ debg --- retry.try failed again with the same message...
[00:03:18]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:18]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:18]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:18]                   │ debg ... sleep(500) start
[00:03:18]                   │ debg ... sleep(500) end
[00:03:18]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:18]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:21]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:21]                   │ debg --- retry.try failed again with the same message...
[00:03:22]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:22]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:22]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:22]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:22]                   │ debg ... sleep(500) start
[00:03:23]                   │ debg ... sleep(500) end
[00:03:23]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:23]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:25]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:26]                   │ debg --- retry.try failed again with the same message...
[00:03:26]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:26]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:26]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:26]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:26]                   │ debg ... sleep(500) start
[00:03:27]                   │ debg ... sleep(500) end
[00:03:27]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:27]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:27]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:29]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:30]                   │ debg --- retry.try failed again with the same message...
[00:03:30]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:30]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:30]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:30]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:30]                   │ debg ... sleep(500) start
[00:03:31]                   │ debg ... sleep(500) end
[00:03:31]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:31]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:34]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:34]                   │ debg --- retry.try failed again with the same message...
[00:03:35]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:35]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:35]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:35]                   │ debg ... sleep(500) start
[00:03:35]                   │ debg ... sleep(500) end
[00:03:35]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:35]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:35]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:38]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:38]                   │ debg --- retry.try failed again with the same message...
[00:03:39]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:39]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:39]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:39]                   │ debg ... sleep(500) start
[00:03:39]                   │ debg ... sleep(500) end
[00:03:39]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:39]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:39]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:42]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:42]                   │ debg --- retry.try failed again with the same message...
[00:03:43]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:43]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:43]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:43]                   │ debg ... sleep(500) start
[00:03:43]                   │ debg ... sleep(500) end
[00:03:43]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:43]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:46]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:46]                   │ debg --- retry.try failed again with the same message...
[00:03:47]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:47]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:47]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:47]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:47]                   │ debg ... sleep(500) start
[00:03:48]                   │ debg ... sleep(500) end
[00:03:48]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:48]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:48]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:50]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:51]                   │ debg --- retry.try failed again with the same message...
[00:03:51]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:51]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:51]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:51]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:51]                   │ debg ... sleep(500) start
[00:03:52]                   │ debg ... sleep(500) end
[00:03:52]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:52]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:52]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:54]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:55]                   │ debg --- retry.try failed again with the same message...
[00:03:55]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:55]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:55]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:55]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:55]                   │ debg ... sleep(500) start
[00:03:56]                   │ debg ... sleep(500) end
[00:03:56]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:03:56]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:03:56]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:03:58]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:03:59]                   │ debg --- retry.try failed again with the same message...
[00:03:59]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:03:59]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:03:59]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:59]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:03:59]                   │ debg ... sleep(500) start
[00:04:00]                   │ debg ... sleep(500) end
[00:04:00]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:00]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:00]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:03]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:03]                   │ debg --- retry.try failed again with the same message...
[00:04:04]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:04]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:04]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:04]                   │ debg ... sleep(500) start
[00:04:04]                   │ debg ... sleep(500) end
[00:04:04]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:04]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:04]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:07]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:07]                   │ debg --- retry.try failed again with the same message...
[00:04:08]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:08]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:08]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:08]                   │ debg ... sleep(500) start
[00:04:08]                   │ debg ... sleep(500) end
[00:04:08]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:08]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:08]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:11]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:11]                   │ debg --- retry.try failed again with the same message...
[00:04:12]                   │ debg DashboardAddPanel.clickOpenAddPanel
[00:04:12]                   │ debg TestSubjects.click(dashboardAddPanelButton)
[00:04:12]                   │ debg Find.clickByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:12]                   │ debg Find.findByCssSelector('[data-test-subj="dashboardAddPanelButton"]') with timeout=10000
[00:04:12]                   │ debg ... sleep(500) start
[00:04:12]                   │ debg ... sleep(500) end
[00:04:12]                   │ debg DashboardAddPanel.isAddPanelOpen
[00:04:12]                   │ debg TestSubjects.exists(dashboardAddPanel)
[00:04:12]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardAddPanel"]') with timeout=2500
[00:04:15]                   │ debg --- retry.tryForTime error: [data-test-subj="dashboardAddPanel"] is not displayed
[00:04:15]                   │ debg --- retry.try failed again with the same message...
[00:04:16]                   │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added.png"
[00:04:16]                   │ info Current URL is: http://localhost:6141/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:kuery,query:%27%27),timeRestore:!f,title:%27%27,viewMode:edit)
[00:04:16]                   │ info Saving page source to: /dev/shm/workspace/kibana/test/functional/failure_debug/html/dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added.html
[00:04:16]                   └- ✖ fail: dashboard app using current data dashboard filter bar filter editor field list shows index pattern of vis when one is added
[00:04:16]                   │      retry.try timeout: Error: Add panel still not open, trying again.
[00:04:16]                   │     at retry.try (/dev/shm/workspace/kibana/test/functional/services/dashboard/add_panel.ts:121:19)
[00:04:16]                   │   Error: retry.try timeout: Error: Add panel still not open, trying again.
[00:04:16]                   │       at retry.try (test/functional/services/dashboard/add_panel.ts:121:19)
[00:04:16]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:04:16]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:04:16]                   │ 
[00:04:16]                   │ 

Stack Trace

Error: retry.try timeout: Error: Add panel still not open, trying again.
    at retry.try (test/functional/services/dashboard/add_panel.ts:121:19)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

and 6 more failures, only showing the first 3.

Build metrics

Saved Objects .kibana field count

id value diff baseline
_data_stream_timestamp 1 +1 -

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:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants