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

[Ingest Manager] Fix for comparing versions with -SNAPSHOT suffix #80742

Merged

Conversation

neptunian
Copy link
Contributor

@neptunian neptunian commented Oct 15, 2020

Fleet uses the Kibana version to determine which version the agent can upgrade to. If Kibana is running as a snapshot, the version will have the -SNAPSHOT prefix in it. When comparing versions we should not include the -SNAPSHOT.

@neptunian neptunian added bug Fixes for quality problems that affect the customer experience v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.10.0 Team:Fleet Team label for Observability Data Collection Fleet team v7.11.0 labels Oct 15, 2020
@neptunian neptunian self-assigned this Oct 15, 2020
@neptunian neptunian changed the title [Ingest Manager] Fix for sending -SNAPSHOT as part of upgrade version [Ingest Manager] Fix for comparing versions with -SNAPSHOT suffix Oct 16, 2020
});
it('returns false if agent reports upgradeable, with agent snapshot version === kibana snapshot version', () => {
expect(
isAgentUpgradeable(

Choose a reason for hiding this comment

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

i'm wondering whether this should be upgradable.
e.g you're running snapshot 8.0.0 but want to update to todays snapshot

Copy link
Contributor Author

@neptunian neptunian Oct 16, 2020

Choose a reason for hiding this comment

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

in the UI we only show upgradeable if the version is less than the kibana version, regardless of whether its a snapshot. Also the agent version should never have the '-SNAPSHOT' suffix in it (it does not currently), I just put it in case that were to change. It currently only reports the number in the metadata.

If we want to make an exception where if an agent is a snapshot that the versions can be equal and still upgradeable, I would need to check the agent local metadata to see whether its a snapshot and consider it upgradeable when versions are the same. I am fine with doing that, but not sure how common this case would be. I'd rather add it as an enhancement in the next version. I am not sure this makes much sense to have at the moment because if we are always using whether or not Kibana is on a snapshot as the version, we shouldn't be checking whether or not the agent is on a snapshot. For example, agent is a snapshot but kibana is not, we check that Agent is a snapshot and let it upgrade even though its the same version as kibana, then we provide a stable version download url because kibana is not a snapshot, and so they do not even download the snapshot anyway. Unless we want to do a check that agent and kibana are both snapshots.

@@ -135,4 +135,35 @@ describe('Ingest Manager - isAgentUpgradeable', () => {
true
);
});
it('returns false if agent reports upgradeable, with agent snapshot version === kibana version', () => {
expect(
isAgentUpgradeable(getAgent({ version: '7.9.0-SNAPSHOT', upgradeable: true }), '7.9.0')

Choose a reason for hiding this comment

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

are you also checking the option where agent reports

version: 7.9.0
upgradeable: true
snapshot: true

Copy link
Contributor Author

@neptunian neptunian Oct 16, 2020

Choose a reason for hiding this comment

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

Do you mean checking whether or not it is a snapshot? It does not test for snapshot because it does not matter if its a snapshot whether or not its upgradeable (unless we decide to filter out snapshots). But I can add the option anyway as part of the tests. Let me know if I am misunderstanding or mistaken with the logic.

@neptunian neptunian marked this pull request as ready for review October 16, 2020 14:32
@neptunian neptunian requested a review from a team October 16, 2020 14:32
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

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

🚀

if (!agentVersionNumber) throw new Error('agent version is invalid');
const kibanaVersionNumber = semver.coerce(kibanaVersion);
if (!kibanaVersionNumber) throw new Error('kibana version is invalid');
return semver.lt(agentVersionNumber, kibanaVersionNumber);
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@neptunian neptunian Oct 16, 2020

Choose a reason for hiding this comment

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

@nchaulet The thing that makes me a bit paranoid is semver.lt('7.9.0-SNAPSHOT', '7.9.0', { includePrerelease: true }); or semver.lt('7.9.0-SNAPSHOT', '7.9.0', { includePrerelease: false }); evaluates to being true, and in our case because a version is a snapshot, it shouldn't be considered less than when the versions are the same but one is a snapshot. Is that not the case in your example?

Copy link
Contributor

@jfsiii jfsiii left a comment

Choose a reason for hiding this comment

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

LGTM and 👍 for ++tests.

It'd be nice to pull that comparison/error behavior into a function both handlers use (it could be in the same file) but that's easy enough to do later also.

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Firefox UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·ts.visualize app visual builder metric should populate fields for basic functions

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:11:52]         └-: visualize app
[00:11:52]           └-> "before all" hook
[00:11:52]           └-> "before all" hook
[00:11:52]             │ debg Starting visualize before method
[00:11:52]             │ info [logstash_functional] Loading "mappings.json"
[00:11:52]             │ info [logstash_functional] Loading "data.json.gz"
[00:11:52]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:11:52]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] 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:11:52]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:11:52]             │ 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:11:52]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:11:52]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] 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:11:52]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:11:52]             │ 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:11:52]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:11:52]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] 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:11:52]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:11:52]             │ 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:12:02]             │ info progress: 12342
[00:12:03]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:12:03]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:12:03]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:12:03]             │ info [long_window_logstash] Loading "mappings.json"
[00:12:03]             │ info [long_window_logstash] Loading "data.json.gz"
[00:12:03]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [long-window-logstash-0] creating index, cause [api], templates [], shards [1]/[0]
[00:12:03]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[long-window-logstash-0][0]]])." previous.health="YELLOW" reason="shards started [[long-window-logstash-0][0]]"
[00:12:03]             │ info [long_window_logstash] Created index "long-window-logstash-0"
[00:12:03]             │ debg [long_window_logstash] "long-window-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:12:13]             │ info progress: 9633
[00:12:17]             │ info [long_window_logstash] Indexed 14005 docs into "long-window-logstash-0"
[00:12:18]             │ info [visualize] Loading "mappings.json"
[00:12:18]             │ info [visualize] Loading "data.json"
[00:12:18]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana_2/Vz7WW86fS6OSidODW4dEZQ] deleting index
[00:12:18]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana_1/N2JPcIbQTM2juTRLla0fTg] deleting index
[00:12:18]             │ info [visualize] Deleted existing index [".kibana_2",".kibana_1"]
[00:12:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:12:18]             │ info [visualize] Created index ".kibana"
[00:12:18]             │ debg [visualize] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:12:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana/IzLiKHhtQq2rDZ0dKOzoOQ] update_mapping [_doc]
[00:12:18]             │ info [visualize] Indexed 12 docs into ".kibana"
[00:12:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana/IzLiKHhtQq2rDZ0dKOzoOQ] update_mapping [_doc]
[00:12:18]             │ debg Migrating saved objects
[00:12:18]             │ proc [kibana]   log   [18:35:02.129] [info][savedobjects-service] Creating index .kibana_2.
[00:12:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:12:18]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] updating number_of_replicas to [0] for indices [.kibana_2]
[00:12:18]             │ proc [kibana]   log   [18:35:02.198] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:12:18]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:12:18]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] updating number_of_replicas to [0] for indices [.kibana_1]
[00:12:18]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] 9928 finished with response BulkByScrollResponse[took=25.3ms,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:12:18]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana/IzLiKHhtQq2rDZ0dKOzoOQ] deleting index
[00:12:18]             │ proc [kibana]   log   [18:35:02.537] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:12:18]             │ proc [kibana]   log   [18:35:02.555] [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:12:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana_2/wGLiEvJiSzuPoOv0Af7u5Q] update_mapping [_doc]
[00:12:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana_2/wGLiEvJiSzuPoOv0Af7u5Q] update_mapping [_doc]
[00:12:18]             │ proc [kibana]   log   [18:35:02.654] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:12:18]             │ proc [kibana]   log   [18:35:02.688] [info][savedobjects-service] Finished in 562ms.
[00:12:18]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:12:18]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-centos-tests-xxl-1602871486337014305] [.kibana_2/wGLiEvJiSzuPoOv0Af7u5Q] update_mapping [_doc]
[00:12:20]             │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b"}
[00:12:52]           └-: 
[00:12:52]             └-> "before all" hook
[00:12:52]             └-: visual builder
[00:12:52]               └-> "before all" hook
[00:12:52]               └-: metric
[00:12:52]                 └-> "before all" hook
[00:12:52]                 └-> should not have inspector enabled
[00:12:52]                   └-> "before each" hook: global before each
[00:12:52]                   └-> "before each" hook
[00:12:52]                     │ debg navigating to visualize url: http://localhost:61191/app/visualize#/
[00:12:52]                     │ debg navigate to: http://localhost:61191/app/visualize#/
[00:12:52]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:52]                     │ debg ... sleep(700) start
[00:12:53]                     │ debg ... sleep(700) end
[00:12:53]                     │ debg returned from get, calling refresh
[00:12:53]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", ""))
[00:12:53]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:12:53]                     │ debg currentUrl = http://localhost:61191/app/visualize#/
[00:12:53]                     │          appUrl = http://localhost:61191/app/visualize#/
[00:12:53]                     │ debg TestSubjects.find(kibanaChrome)
[00:12:53]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:12:55]                     │ debg ... sleep(501) start
[00:12:56]                     │ debg ... sleep(501) end
[00:12:56]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:12:56]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:12:56]                     │ debg ... sleep(501) start
[00:12:57]                     │ debg ... sleep(501) end
[00:12:57]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:12:57]                     │ debg TestSubjects.exists(statusPageContainer)
[00:12:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:12:59]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:00]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:00]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:01]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:02]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:02]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:02]                     │ debg TestSubjects.exists(newItemButton)
[00:13:02]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:02]                     │ debg TestSubjects.click(newItemButton)
[00:13:02]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:02]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:02]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:02]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:02]                     │ debg TestSubjects.click(visType-metrics)
[00:13:02]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:02]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:02]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:02]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:02]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:02]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:04]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:04]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:04]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:13:05]                   └-> "before each" hook
[00:13:05]                     │ debg navigateToActualUrl http://localhost:61191/app/visualize#create?type=metrics
[00:13:05]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:05]                     │ debg currentUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:13:05]                     │          appUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:13:05]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:05]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:07]                     │ debg Wait for initializing TSVB editor
[00:13:07]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:13:08]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:13:08]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:13:08]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:13:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:13:08]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:13:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:13:08]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:13:08]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:08]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:08]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:13:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:13:08]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:13:08]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:08]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:09]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:09]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:09]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:09]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:09]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:09]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:09]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:09]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:09]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:10]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:13:10]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:10]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:11]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:11]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:11]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:11]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:11]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:11]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:11]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:11]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:11]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:11]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:12]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:13:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:13:14]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:13:15]                     │ debg TestSubjects.click(querySubmitButton)
[00:13:15]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:15]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:15]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:15]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:15]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:16]                     │ debg ... sleep(2000) start
[00:13:18]                     │ debg ... sleep(2000) end
[00:13:18]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:13:18]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:13:18]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:13:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=20000
[00:13:18]                   │ debg TestSubjects.getAttribute(openInspectorButton, disabled)
[00:13:18]                   │ debg TestSubjects.find(openInspectorButton)
[00:13:18]                   │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:13:18]                   └- ✓ pass  (32ms) "visualize app  visual builder metric should not have inspector enabled"
[00:13:18]                 └-> should show correct data
[00:13:18]                   └-> "before each" hook: global before each
[00:13:18]                   └-> "before each" hook
[00:13:18]                     │ debg navigating to visualize url: http://localhost:61191/app/visualize#/
[00:13:18]                     │ debg navigate to: http://localhost:61191/app/visualize#/
[00:13:18]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:18]                     │ debg ... sleep(700) start
[00:13:19]                     │ debg ... sleep(700) end
[00:13:19]                     │ debg returned from get, calling refresh
[00:13:20]                     │ERROR browser[error] (new AbortError("The operation was aborted. ", (void 0)))
[00:13:20]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:20]                     │ debg currentUrl = http://localhost:61191/app/visualize#/
[00:13:20]                     │          appUrl = http://localhost:61191/app/visualize#/
[00:13:20]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:20]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:21]                     │ debg ... sleep(501) start
[00:13:22]                     │ debg ... sleep(501) end
[00:13:22]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:22]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:22]                     │ debg ... sleep(501) start
[00:13:23]                     │ debg ... sleep(501) end
[00:13:23]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:23]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:23]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:25]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:26]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:26]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:26]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:27]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:28]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:28]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:28]                     │ debg TestSubjects.exists(newItemButton)
[00:13:28]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:28]                     │ debg TestSubjects.click(newItemButton)
[00:13:28]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:28]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:28]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:28]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:28]                     │ debg TestSubjects.click(visType-metrics)
[00:13:28]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:28]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:29]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:29]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:29]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:29]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:30]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:30]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:30]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:30]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:13:31]                   └-> "before each" hook
[00:13:31]                     │ debg navigateToActualUrl http://localhost:61191/app/visualize#create?type=metrics
[00:13:31]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:31]                     │ debg currentUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:13:31]                     │          appUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:13:31]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:31]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:33]                     │ debg Wait for initializing TSVB editor
[00:13:33]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:13:33]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:13:33]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:13:33]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:13:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:13:33]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:13:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:13:33]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:13:33]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:33]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:13:34]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:13:34]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:13:34]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:13:34]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:34]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:13:34]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:34]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:34]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:34]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:35]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:35]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:36]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:13:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:13:36]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:36]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:13:36]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:13:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:13:36]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:13:36]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:36]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:37]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:13:37]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:13:37]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:13:37]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:13:40]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:13:40]                     │ debg TestSubjects.click(querySubmitButton)
[00:13:40]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:40]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:13:41]                     │ debg Find.waitForElementStale with timeout=10000
[00:13:41]                     │ debg Firefox stdout: 1602873384990	Marionette	WARN	TimedPromise timed out after 500 ms: stacktrace:
[00:13:41]                     │      TimedPromise/<@chrome://marionette/content/sync.js:244:13
[00:13:41]                     │      TimedPromise@chrome://marionette/content/sync.js:229:10
[00:13:41]                     │      interaction.flushEventLoop@chrome://marionette/content/interaction.js:416:10
[00:13:41]                     │      webdriverClickElement@chrome://marionette/content/interaction.js:182:31
[00:13:41]                     │
[00:13:41]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:41]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:41]                     │ debg ... sleep(2000) start
[00:13:43]                     │ debg ... sleep(2000) end
[00:13:43]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:13:43]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:13:43]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:13:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=20000
[00:13:43]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:13:43]                   │ debg TestSubjects.find(visualizationLoader)
[00:13:43]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:13:43]                   │ debg -- firstCount=3
[00:13:43]                   │ debg ... sleep(2000) start
[00:13:45]                   │ debg ... sleep(2000) end
[00:13:45]                   │ debg TestSubjects.find(visualizationLoader)
[00:13:45]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:13:45]                   │ debg -- secondCount=3
[00:13:45]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:13:45]                   └- ✓ pass  (2.1s) "visualize app  visual builder metric should show correct data"
[00:13:45]                 └-> should show correct data with Math Aggregation
[00:13:45]                   └-> "before each" hook: global before each
[00:13:45]                   └-> "before each" hook
[00:13:45]                     │ debg navigating to visualize url: http://localhost:61191/app/visualize#/
[00:13:45]                     │ debg navigate to: http://localhost:61191/app/visualize#/
[00:13:46]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:46]                     │ debg ... sleep(700) start
[00:13:46]                     │ debg ... sleep(700) end
[00:13:46]                     │ debg returned from get, calling refresh
[00:13:47]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", "http://localhost:61191/37345/bundles/core/core.entry.js", 6))
[00:13:47]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:48]                     │ debg currentUrl = http://localhost:61191/app/visualize#/
[00:13:48]                     │          appUrl = http://localhost:61191/app/visualize#/
[00:13:48]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:48]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:48]                     │ debg ... sleep(501) start
[00:13:49]                     │ debg ... sleep(501) end
[00:13:49]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:49]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:13:49]                     │ debg ... sleep(501) start
[00:13:50]                     │ debg ... sleep(501) end
[00:13:50]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:13:50]                     │ debg TestSubjects.exists(statusPageContainer)
[00:13:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:13:52]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:13:53]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:53]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:54]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:13:55]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:55]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:55]                     │ debg TestSubjects.exists(newItemButton)
[00:13:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:55]                     │ debg TestSubjects.click(newItemButton)
[00:13:55]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:55]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:13:55]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:13:55]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:13:55]                     │ debg TestSubjects.click(visType-metrics)
[00:13:55]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:55]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:13:55]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:56]                     │ debg isGlobalLoadingIndicatorVisible
[00:13:56]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:13:56]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:13:57]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:13:57]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:13:57]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:13:58]                   └-> "before each" hook
[00:13:58]                     │ debg navigateToActualUrl http://localhost:61191/app/visualize#create?type=metrics
[00:13:58]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:13:58]                     │ debg currentUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:13:58]                     │          appUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:13:58]                     │ debg TestSubjects.find(kibanaChrome)
[00:13:58]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:13:59]                     │ debg Wait for initializing TSVB editor
[00:13:59]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:13:59]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:14:00]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:00]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:00]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:00]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:00]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:00]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:00]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:00]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:00]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:00]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:00]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:01]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:01]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:01]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:01]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:01]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:01]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:01]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:02]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:02]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:03]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:03]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:03]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:03]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:03]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:03]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:03]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:03]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:03]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:03]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:03]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:04]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:04]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:04]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:14:07]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:14:07]                     │ debg TestSubjects.click(querySubmitButton)
[00:14:07]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:07]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:14:08]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:08]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:08]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:08]                     │ debg ... sleep(2000) start
[00:14:10]                     │ debg ... sleep(2000) end
[00:14:10]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:14:10]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:14:10]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:14:10]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=20000
[00:14:10]                   │ debg TestSubjects.findAll(aggSelector)
[00:14:10]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:14:10]                   │ debg TestSubjects.findAll(addMetricAddBtn)
[00:14:10]                   │ debg Find.allByCssSelector('[data-test-subj="addMetricAddBtn"]') with timeout=10000
[00:14:11]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:14:11]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:11]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:11]                   │ debg -- firstCount=3
[00:14:11]                   │ debg ... sleep(2000) start
[00:14:13]                   │ debg ... sleep(2000) end
[00:14:13]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:13]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:13]                   │ debg -- secondCount=4
[00:14:13]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:13]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:13]                   │ debg -- firstCount=4
[00:14:13]                   │ debg ... sleep(2000) start
[00:14:15]                   │ debg ... sleep(2000) end
[00:14:15]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:15]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:15]                   │ debg -- secondCount=4
[00:14:15]                   │ debg Waiting up to 20000ms for new agg is added...
[00:14:15]                   │ debg TestSubjects.findAll(aggSelector)
[00:14:15]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:14:15]                   │ debg TestSubjects.findAll(aggSelector)
[00:14:15]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:14:15]                   │ debg comboBox.setElement, value: math
[00:14:15]                   │ debg comboBox.isOptionSelected, value: math
[00:14:18]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:18]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:18]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="math"]') with timeout=2500
[00:14:20]                   │ debg Find.findByCssSelector('.euiFilterSelectItem') with timeout=5000
[00:14:20]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:23]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:14:23]                   │ debg isGlobalLoadingIndicatorVisible
[00:14:23]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:23]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:25]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:26]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:26]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:26]                   │ debg TestSubjects.findAll(varRow)
[00:14:26]                   │ debg Find.allByCssSelector('[data-test-subj="varRow"]') with timeout=10000
[00:14:26]                   │ debg comboBox.setElement, value: Count
[00:14:26]                   │ debg comboBox.isOptionSelected, value: Count
[00:14:28]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:28]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Count"]') with timeout=2500
[00:14:28]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:14:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:14:31]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:14:31]                   │ debg isGlobalLoadingIndicatorVisible
[00:14:31]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:33]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:33]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:33]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:33]                   │ debg TestSubjects.findAll(mathExpression)
[00:14:33]                   │ debg Find.allByCssSelector('[data-test-subj="mathExpression"]') with timeout=10000
[00:14:34]                   │ debg isGlobalLoadingIndicatorVisible
[00:14:34]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:34]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:34]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:34]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:14:34]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:34]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:34]                   │ debg -- firstCount=7
[00:14:34]                   │ debg ... sleep(2000) start
[00:14:36]                   │ debg ... sleep(2000) end
[00:14:36]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:36]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:36]                   │ debg -- secondCount=8
[00:14:37]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:37]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:37]                   │ debg -- firstCount=8
[00:14:37]                   │ debg ... sleep(2000) start
[00:14:39]                   │ debg ... sleep(2000) end
[00:14:39]                   │ debg TestSubjects.find(visualizationLoader)
[00:14:39]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:14:39]                   │ debg -- secondCount=8
[00:14:39]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:14:39]                   └- ✓ pass  (28.5s) "visualize app  visual builder metric should show correct data with Math Aggregation"
[00:14:39]                 └-> should populate fields for basic functions
[00:14:39]                   └-> "before each" hook: global before each
[00:14:39]                   └-> "before each" hook
[00:14:39]                     │ debg navigating to visualize url: http://localhost:61191/app/visualize#/
[00:14:39]                     │ debg navigate to: http://localhost:61191/app/visualize#/
[00:14:39]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:39]                     │ debg ... sleep(700) start
[00:14:40]                     │ debg ... sleep(700) end
[00:14:40]                     │ debg returned from get, calling refresh
[00:14:40]                     │ERROR browser[error] (new TypeError("NetworkError when attempting to fetch resource.", "http://localhost:61191/37345/bundles/core/core.entry.js", 6))
[00:14:40]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:40]                     │ debg currentUrl = http://localhost:61191/app/visualize#/
[00:14:40]                     │          appUrl = http://localhost:61191/app/visualize#/
[00:14:40]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:40]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:41]                     │ debg ... sleep(501) start
[00:14:42]                     │ debg ... sleep(501) end
[00:14:42]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:42]                     │ debg --- retry.try error: URL changed, waiting for it to settle
[00:14:42]                     │ debg ... sleep(501) start
[00:14:43]                     │ debg ... sleep(501) end
[00:14:43]                     │ debg in navigateTo url = http://localhost:61191/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:14:43]                     │ debg TestSubjects.exists(statusPageContainer)
[00:14:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:14:45]                     │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:14:46]                     │ debg isGlobalLoadingIndicatorVisible
[00:14:46]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:47]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:14:48]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:48]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:48]                     │ debg TestSubjects.exists(newItemButton)
[00:14:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:48]                     │ debg TestSubjects.click(newItemButton)
[00:14:48]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:48]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:14:49]                     │ debg TestSubjects.find(visNewDialogTypes)
[00:14:49]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogTypes"]') with timeout=10000
[00:14:49]                     │ debg TestSubjects.click(visType-metrics)
[00:14:49]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:49]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:14:49]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:49]                     │ debg isGlobalLoadingIndicatorVisible
[00:14:49]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:14:49]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:14:50]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:14:50]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:14:50]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:50]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:14:51]                   └-> "before each" hook
[00:14:51]                     │ debg navigateToActualUrl http://localhost:61191/app/visualize#create?type=metrics
[00:14:51]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:14:51]                     │ debg currentUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:14:51]                     │          appUrl = http://localhost:61191/app/visualize#create?type=metrics
[00:14:51]                     │ debg TestSubjects.find(kibanaChrome)
[00:14:51]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:14:52]                     │ debg Wait for initializing TSVB editor
[00:14:52]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:14:52]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:14:53]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:14:53]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:14:53]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:14:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:14:53]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:14:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:14:53]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:14:53]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:53]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:14:53]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:14:53]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:14:53]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:14:53]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:53]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:14:54]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:54]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:54]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:54]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:54]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:54]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:54]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:55]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:55]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:55]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:14:55]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:55]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:14:56]                     │ debg Find.waitForElementStale with timeout=10000
[00:14:56]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:14:56]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:14:56]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:56]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:14:56]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:14:56]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:56]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:57]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:14:57]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:14:57]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:14:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:15:00]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:15:00]                     │ debg TestSubjects.click(querySubmitButton)
[00:15:00]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:00]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:15:01]                     │ debg Find.waitForElementStale with timeout=10000
[00:15:01]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:01]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:01]                     │ debg ... sleep(2000) start
[00:15:03]                     │ debg ... sleep(2000) end
[00:15:03]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:15:03]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:15:03]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:15:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=20000
[00:15:03]                   │ debg TestSubjects.findAll(aggSelector)
[00:15:03]                   │ debg Find.allByCssSelector('[data-test-subj="aggSelector"]') with timeout=10000
[00:15:03]                   │ debg comboBox.setElement, value: Average
[00:15:03]                   │ debg comboBox.isOptionSelected, value: Average
[00:15:06]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:06]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Average"]') with timeout=2500
[00:15:06]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:06]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:09]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:09]                   │ debg isGlobalLoadingIndicatorVisible
[00:15:09]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:15:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:15:15]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:15:15]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:15:15]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:15:16]                   │ debg TestSubjects.findAll(aggRow)
[00:15:16]                   │ debg Find.allByCssSelector('[data-test-subj="aggRow"]') with timeout=10000
[00:15:16]                   │ debg comboBox.setElement, value: machine.ram
[00:15:16]                   │ debg comboBox.isOptionSelected, value: machine.ram
[00:15:19]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:15:19]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:15:22]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:15:32]                   │ info Taking screenshot "/dev/shm/workspace/parallel/19/kibana/test/functional/screenshots/failure/visualize app  visual builder metric should populate fields for basic functions.png"
[00:15:32]                   │ info Current URL is: http://localhost:61191/app/visualize#/create?type=metrics&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-22T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,background_color_rules:!((id:afb76440-0fde-11eb-979f-e9401499d912)),id:%2761ca57f0-469d-11e7-af02-69e470af7417%27,index_pattern:%27%27,interval:%27%27,isModelInvalid:!f,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:number,id:%2761ca57f1-469d-11e7-af02-69e470af7417%27,label:%27%27,line_width:1,metrics:!((id:%2761ca57f2-469d-11e7-af02-69e470af7417%27,type:avg)),point_size:1,separate_axis:0,split_color_mode:kibana,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27%27,tooltip_mode:show_all,type:metric),title:%27%27,type:metrics))
[00:15:32]                   │ info Saving page source to: /dev/shm/workspace/parallel/19/kibana/test/functional/failure_debug/html/visualize app  visual builder metric should populate fields for basic functions.html
[00:15:32]                   └- ✖ fail: visualize app  visual builder metric should populate fields for basic functions
[00:15:32]                   │      NoSuchElementError: Unable to locate element: [data-test-subj="comboBoxToggleListButton"]
[00:15:32]                   │       at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
[00:15:32]                   │       at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
[00:15:32]                   │       at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
[00:15:32]                   │       at process._tickCallback (internal/process/next_tick.js:68:7)
[00:15:32]                   │ 
[00:15:32]                   │ 

Stack Trace

{ NoSuchElementError: Unable to locate element: [data-test-subj="comboBoxToggleListButton"]
    at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  name: 'NoSuchElementError',
  remoteStacktrace:
   'WebDriverError@chrome://marionette/content/error.js:175:5\nNoSuchElementError@chrome://marionette/content/error.js:387:5\nelement.find/</<@chrome://marionette/content/element.js:331:16\n' }

Metrics [docs]

page load bundle size

id before after diff
ingestManager 392.0KB 392.0KB +80.0B

History

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

@neptunian neptunian merged commit 5da0cb3 into elastic:master Oct 16, 2020
@neptunian neptunian deleted the remove-snapshot-from-kibana-version branch October 16, 2020 19:45
neptunian added a commit to neptunian/kibana that referenced this pull request Oct 16, 2020
…astic#80742)

* remove -SNAPSHOT from kibana version

* add integration tests with -SNAPSHOT version of kibana

* update isAgentUpgradeable to compare version numbers only

* continue to send the kibana version with snapshot suffix to agent

* cleanup code into one function

* fix test to check for snapshot before adding suffix
neptunian added a commit to neptunian/kibana that referenced this pull request Oct 16, 2020
…astic#80742)

* remove -SNAPSHOT from kibana version

* add integration tests with -SNAPSHOT version of kibana

* update isAgentUpgradeable to compare version numbers only

* continue to send the kibana version with snapshot suffix to agent

* cleanup code into one function

* fix test to check for snapshot before adding suffix
neptunian added a commit that referenced this pull request Oct 16, 2020
…0742) (#80910)

* remove -SNAPSHOT from kibana version

* add integration tests with -SNAPSHOT version of kibana

* update isAgentUpgradeable to compare version numbers only

* continue to send the kibana version with snapshot suffix to agent

* cleanup code into one function

* fix test to check for snapshot before adding suffix
neptunian added a commit that referenced this pull request Oct 16, 2020
…0742) (#80911)

* remove -SNAPSHOT from kibana version

* add integration tests with -SNAPSHOT version of kibana

* update isAgentUpgradeable to compare version numbers only

* continue to send the kibana version with snapshot suffix to agent

* cleanup code into one function

* fix test to check for snapshot before adding suffix
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 19, 2020
* master: (43 commits)
  [ML] Transforms: Fix tab ids for expanded row. (elastic#80666)
  server logs config paths to use for runner (elastic#52980)
  Fix audit logger logging to console even when disabled (elastic#80928)
  skip flaky suite (elastic#80929)
  Added Enterprise Search config to kibana-docker (elastic#80872)
  skip flaky suite (elastic#80914)
  [keystore_cli] parse values as JSON before adding to keystore (elastic#80848)
  [Ingest Manager] Fix for comparing versions with -SNAPSHOT suffix (elastic#80742)
  ECS audit logging (elastic#74640)
  [Uptime] Add client-side unit tests for remaining synthetics code (elastic#80215)
  [Security_Solution][Resolver] Promote z-index on node labels (elastic#80854)
  Move renderHeaderActions back into mount useEffect + update tests (elastic#80861)
  [Reporting] Document Network Policy configuration (elastic#80431)
  [Reporting] Add contextual documentation for CSV Max Bytes setting (elastic#80782)
  Add catch for Enterprise Search sending back a 401 response instead of redirect (elastic#80757)
  [Actions] Back Button on Add Connector Flyout (elastic#80160)
  removing `kibana_datatable` in favor of `datatable`  (elastic#80548)
  [Alerting UI] Updating 'Add new' wording (elastic#80509)
  [Docs] Document Encrypted Saved Objects functionality. (elastic#80183)
  [Discover] fix auto-refresh (elastic#80635)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 19, 2020
* master: (23 commits)
  [ML] Transforms: Fix tab ids for expanded row. (elastic#80666)
  server logs config paths to use for runner (elastic#52980)
  Fix audit logger logging to console even when disabled (elastic#80928)
  skip flaky suite (elastic#80929)
  Added Enterprise Search config to kibana-docker (elastic#80872)
  skip flaky suite (elastic#80914)
  [keystore_cli] parse values as JSON before adding to keystore (elastic#80848)
  [Ingest Manager] Fix for comparing versions with -SNAPSHOT suffix (elastic#80742)
  ECS audit logging (elastic#74640)
  [Uptime] Add client-side unit tests for remaining synthetics code (elastic#80215)
  [Security_Solution][Resolver] Promote z-index on node labels (elastic#80854)
  Move renderHeaderActions back into mount useEffect + update tests (elastic#80861)
  [Reporting] Document Network Policy configuration (elastic#80431)
  [Reporting] Add contextual documentation for CSV Max Bytes setting (elastic#80782)
  Add catch for Enterprise Search sending back a 401 response instead of redirect (elastic#80757)
  [Actions] Back Button on Add Connector Flyout (elastic#80160)
  removing `kibana_datatable` in favor of `datatable`  (elastic#80548)
  [Alerting UI] Updating 'Add new' wording (elastic#80509)
  [Docs] Document Encrypted Saved Objects functionality. (elastic#80183)
  [Discover] fix auto-refresh (elastic#80635)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.10.0 v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants