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

[SECURITY_SOLUTION] Task/hostname policy response ux updates #76444

Merged

Conversation

kevinlog
Copy link
Contributor

@kevinlog kevinlog commented Sep 1, 2020

Summary

  • Adds a tooltip to the Hostname tab
  • Adds a timestamp to the Policy Response
  • Renames things back to Policy
  • Adjusts Endpoint list column sizes

image

image

image

Checklist

Delete any items that are not applicable to this PR.

@kevinlog kevinlog added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Endpoint Management v7.10.0 labels Sep 1, 2020
@kevinlog kevinlog requested review from a team as code owners September 1, 2020 21:17
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-management (Team:Endpoint Management)

@kevinlog kevinlog changed the title Task/hostname policy response ux updates [SECURITY_SOLUTION] Task/hostname policy response ux updates Sep 1, 2020
@kevinlog
Copy link
Contributor Author

kevinlog commented Sep 8, 2020

@elasticmachine merge upstream

@kevinlog kevinlog force-pushed the task/hostname-policy-response-ux-updates branch from 05fd13f to ae5788d Compare September 14, 2020 17:59
);
},
},
{
field: 'host_status',
width: '9%',
Copy link
Contributor

Choose a reason for hiding this comment

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

i'm guessing these hardcoded widths is to make sure the values truncate with ellipsis?

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's do restrict some columns that we can predict won't be very long such as the Statuses since they can only have a handful of values. this frees up room for longer columns like hostname, timestamp, etc

Copy link
Contributor

@paul-tavares paul-tavares left a comment

Choose a reason for hiding this comment

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

Left some comments, but all are minor.
Looks good

@@ -22,6 +22,24 @@ export const PreferenceFormattedDate = React.memo<{ dateFormat?: string; value:

PreferenceFormattedDate.displayName = 'PreferenceFormattedDate';

export const PreferenceFormattedDateFromPrimitive = ({
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is a new component under .../public/common, I would suggest adding some jsdocs here

Also - wondering why this was needed - <FormattedDate/> (below) did not handle this use case?

/**
* Returns the policy response timestamp from the endpoint after a user modifies a policy.
*/
export const policyResponseTimestamp = (state: Immutable<EndpointState>) =>
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 add a response type to this function? Looks like its either the value of @timestamp or false/undefined? Probably should be something like: Immutable<EndpointState>['policyResponse]['@timestamp'] ??

@@ -303,27 +306,31 @@ export const EndpointList = () => {
},
{
field: 'metadata.Endpoint.policy.applied',
width: '15%',
Copy link
Contributor

Choose a reason for hiding this comment

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

+100 points for use of % :)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Accessibility Tests.test/accessibility/apps/discover·ts.Discover Load a new search from the panel

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:00:00]         └-: Discover
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ info [discover] Loading "mappings.json"
[00:00:00]             │ info [discover] Loading "data.json.gz"
[00:00:00]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana_1/nv7pfdVHS6iFDN1PTEQgPQ] deleting index
[00:00:00]             │ info [discover] Deleted existing index [".kibana_1"]
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [discover] Created index ".kibana"
[00:00:00]             │ debg [discover] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:00]             │ info [discover] Indexed 2 docs into ".kibana"
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana/DOcvj_R-QryMkmcEBU2nvg] update_mapping [_doc]
[00:00:00]             │ debg Migrating saved objects
[00:00:00]             │ proc [kibana]   log   [20:33:37.230] [info][savedobjects-service] Creating index .kibana_2.
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] updating number_of_replicas to [0] for indices [.kibana_2]
[00:00:00]             │ proc [kibana]   log   [20:33:37.340] [info][savedobjects-service] Reindexing .kibana to .kibana_1
[00:00:00]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] updating number_of_replicas to [0] for indices [.kibana_1]
[00:00:01]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:01]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] updating number_of_replicas to [0] for indices [.tasks]
[00:00:01]             │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] 108 finished with response BulkByScrollResponse[took=127.1ms,timed_out=false,sliceId=null,updated=0,created=2,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:01]             │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana/DOcvj_R-QryMkmcEBU2nvg] deleting index
[00:00:01]             │ proc [kibana]   log   [20:33:37.832] [info][savedobjects-service] Migrating .kibana_1 saved objects to .kibana_2
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana_2/Dl4XdD5ESba31OdXWSszPg] update_mapping [_doc]
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana_2/Dl4XdD5ESba31OdXWSszPg] update_mapping [_doc]
[00:00:01]             │ proc [kibana]   log   [20:33:38.026] [info][savedobjects-service] Pointing alias .kibana to .kibana_2.
[00:00:01]             │ proc [kibana]   log   [20:33:38.100] [info][savedobjects-service] Finished in 876ms.
[00:00:01]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [.kibana_2/Dl4XdD5ESba31OdXWSszPg] update_mapping [_doc]
[00:00:02]             │ info [logstash_functional] Loading "mappings.json"
[00:00:02]             │ info [logstash_functional] Loading "data.json.gz"
[00:00:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] 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:02]             │ info [logstash_functional] Created index "logstash-2015.09.22"
[00:00:02]             │ 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:02]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:00:02]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] 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:03]             │ info [logstash_functional] Created index "logstash-2015.09.20"
[00:00:03]             │ 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:03]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:00:03]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-debian-tests-xxl-1600114571966449613] 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:03]             │ info [logstash_functional] Created index "logstash-2015.09.21"
[00:00:03]             │ 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:12]             │ info progress: 3609
[00:00:22]             │ info progress: 10228
[00:00:27]             │ info [logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:00:27]             │ info [logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:00:27]             │ info [logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:00:27]             │ debg applying update to kibana config: {"defaultIndex":"logstash-*"}
[00:00:27]             │ debg navigating to discover url: http://localhost:61161/app/discover#/
[00:00:27]             │ debg navigate to: http://localhost:61161/app/discover#/
[00:00:28]             │ debg browser[INFO] http://localhost:61161/app/discover?_t=1600115644416#/ 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:61161/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:28]             │ debg ... sleep(700) end
[00:00:28]             │ debg returned from get, calling refresh
[00:00:31]             │ERROR browser[SEVERE] http://localhost:61161/36251/bundles/core/core.entry.js 83:272044 TypeError: Failed to fetch
[00:00:31]             │ debg browser[INFO] http://localhost:61161/app/discover?_t=1600115644416#/ 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:31]             │
[00:00:31]             │ debg browser[INFO] http://localhost:61161/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:31]             │ debg currentUrl = http://localhost:61161/app/discover#/
[00:00:31]             │          appUrl = http://localhost:61161/app/discover#/
[00:00:31]             │ debg TestSubjects.find(kibanaChrome)
[00:00:31]             │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:36]             │ debg ... sleep(501) start
[00:00:37]             │ debg ... sleep(501) end
[00:00:37]             │ debg in navigateTo url = http://localhost:61161/app/discover#/
[00:00:37]             │ debg TestSubjects.exists(statusPageContainer)
[00:00:37]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:00:39]             │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:00:40]             │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:00:40]             │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:00:40]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:00:40]             │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:00:40]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:00:40]             │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:00:40]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:00:40]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:00:40]             │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:00:40]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:00:40]             │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:00:40]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:00:40]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:00:40]             │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:00:40]             │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:00:40]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:00:40]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:00:41]             │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:00:41]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:41]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:41]             │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:00:41]             │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:00:41]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:41]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:42]             │ debg ... sleep(500) start
[00:00:42]             │ debg ... sleep(500) end
[00:00:42]             │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:00:42]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:00:42]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:00:43]             │ debg Find.waitForElementStale with timeout=10000
[00:00:43]             │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:00:43]             │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:00:43]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:00:43]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:00:43]             │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:00:43]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:43]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:43]             │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:00:43]             │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:00:43]             │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:43]             │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:00:44]             │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:00:44]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:00:47]             │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:00:47]             │ debg TestSubjects.click(querySubmitButton)
[00:00:47]             │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:00:47]             │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:00:48]             │ debg Find.waitForElementStale with timeout=10000
[00:00:48]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:00:48]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:00:52]           └-> main view
[00:00:52]             └-> "before each" hook: global before each
[00:01:10]             └- ✓ pass  (18.3s) "Discover main view"
[00:01:10]           └-> Click save button
[00:01:10]             └-> "before each" hook: global before each
[00:01:10]             │ debg TestSubjects.click(discoverSaveButton)
[00:01:10]             │ debg Find.clickByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=10000
[00:01:10]             │ debg Find.findByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=10000
[00:01:13]             └- ✓ pass  (3.2s) "Discover Click save button"
[00:01:13]           └-> Save search panel
[00:01:13]             └-> "before each" hook: global before each
[00:01:13]             │ debg TestSubjects.setValue(savedObjectTitle, a11ySearch)
[00:01:13]             │ debg TestSubjects.click(savedObjectTitle)
[00:01:13]             │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:13]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:01:16]             └- ✓ pass  (2.5s) "Discover Save search panel"
[00:01:16]           └-> Confirm saved search
[00:01:16]             └-> "before each" hook: global before each
[00:01:16]             │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:01:16]             │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:16]             │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:01:18]             └- ✓ pass  (2.4s) "Discover Confirm saved search"
[00:01:18]           └-> Click on new to clear the search
[00:01:18]             └-> "before each" hook: global before each
[00:01:18]             │ debg TestSubjects.click(discoverNewButton)
[00:01:18]             │ debg Find.clickByCssSelector('[data-test-subj="discoverNewButton"]') with timeout=10000
[00:01:18]             │ debg Find.findByCssSelector('[data-test-subj="discoverNewButton"]') with timeout=10000
[00:01:19]             │ debg isGlobalLoadingIndicatorVisible
[00:01:19]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:19]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:20]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:20]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:31]             └- ✓ pass  (13.4s) "Discover Click on new to clear the search"
[00:01:31]           └-> Open load saved search panel
[00:01:31]             └-> "before each" hook: global before each
[00:01:31]             │ debg TestSubjects.exists(loadSearchForm)
[00:01:31]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:01:34]             │ debg --- retry.tryForTime error: [data-test-subj="loadSearchForm"] is not displayed
[00:01:34]             │ debg Waiting up to 20000ms for saved search panel is opened...
[00:01:34]             │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:01:34]             │ debg TestSubjects.find(discoverOpenButton)
[00:01:34]             │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:01:35]             │ debg TestSubjects.click(discoverOpenButton)
[00:01:35]             │ debg Find.clickByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:01:35]             │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:01:35]             │ debg isGlobalLoadingIndicatorVisible
[00:01:35]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:01:35]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:01:35]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:01:38]             │ debg --- retry.tryForTime failed again with the same message...
[00:01:38]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:01:38]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:01:38]             │ debg TestSubjects.exists(loadSearchForm)
[00:01:38]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:01:40]             │ debg TestSubjects.click(euiFlyoutCloseButton)
[00:01:40]             │ debg Find.clickByCssSelector('[data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:01:40]             │ debg Find.findByCssSelector('[data-test-subj="euiFlyoutCloseButton"]') with timeout=10000
[00:01:40]             └- ✓ pass  (9.0s) "Discover Open load saved search panel"
[00:01:40]           └-> Open inspector panel
[00:01:40]             └-> "before each" hook: global before each
[00:01:40]             │ debg Inspector.open
[00:01:40]             │ debg TestSubjects.exists(inspectorPanel)
[00:01:40]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:43]             │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:43]             │ debg TestSubjects.click(openInspectorButton)
[00:01:43]             │ debg Find.clickByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:43]             │ debg Find.findByCssSelector('[data-test-subj="openInspectorButton"]') with timeout=10000
[00:01:44]             │ debg TestSubjects.exists(inspectorPanel)
[00:01:44]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:46]             │ debg Close Inspector
[00:01:46]             │ debg TestSubjects.exists(inspectorPanel)
[00:01:46]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:46]             │ debg Closing flyout inspectorPanel
[00:01:46]             │ debg TestSubjects.find(inspectorPanel)
[00:01:46]             │ debg Find.findByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=10000
[00:01:46]             │ debg Waiting up to 20000ms for flyout closed...
[00:01:46]             │ debg TestSubjects.exists(inspectorPanel)
[00:01:46]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=1000
[00:01:47]             │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:48]             │ debg TestSubjects.exists(inspectorPanel)
[00:01:48]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="inspectorPanel"]') with timeout=2500
[00:01:50]             │ debg --- retry.tryForTime error: [data-test-subj="inspectorPanel"] is not displayed
[00:01:51]             └- ✓ pass  (10.2s) "Discover Open inspector panel"
[00:01:51]           └-> Open add filter
[00:01:51]             └-> "before each" hook: global before each
[00:01:51]             │ debg TestSubjects.click(addFilter)
[00:01:51]             │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:01:51]             │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:01:53]             └- ✓ pass  (2.3s) "Discover Open add filter"
[00:01:53]           └-> Select values for a filter
[00:01:53]             └-> "before each" hook: global before each
[00:01:53]             │ debg TestSubjects.click(addFilter)
[00:01:53]             │ debg Find.clickByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:01:53]             │ debg Find.findByCssSelector('[data-test-subj="addFilter"]') with timeout=10000
[00:01:53]             │ debg comboBox.set, comboBoxSelector: filterFieldSuggestionList
[00:01:53]             │ debg TestSubjects.find(filterFieldSuggestionList)
[00:01:53]             │ debg Find.findByCssSelector('[data-test-subj="filterFieldSuggestionList"]') with timeout=10000
[00:01:53]             │ debg comboBox.setElement, value: extension.raw
[00:01:53]             │ debg comboBox.isOptionSelected, value: extension.raw
[00:01:56]             │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:56]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:56]             │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="extension.raw"]') with timeout=2500
[00:01:56]             │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:01:56]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:01:59]             │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:01:59]             │ debg comboBox.set, comboBoxSelector: filterOperatorList
[00:01:59]             │ debg TestSubjects.find(filterOperatorList)
[00:01:59]             │ debg Find.findByCssSelector('[data-test-subj="filterOperatorList"]') with timeout=10000
[00:01:59]             │ debg comboBox.setElement, value: is one of
[00:01:59]             │ debg comboBox.isOptionSelected, value: is one of
[00:02:02]             │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:02]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:02]             │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="is one of"]') with timeout=2500
[00:02:02]             │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:02]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:05]             │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:02:05]             │ debg TestSubjects.find(filterParams)
[00:02:05]             │ debg Find.findByCssSelector('[data-test-subj="filterParams"]') with timeout=10000
[00:02:05]             │ debg comboBox.setElement, value: jpg
[00:02:05]             │ debg comboBox.isOptionSelected, value: jpg
[00:02:08]             │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:08]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:08]             │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="jpg"]') with timeout=2500
[00:02:08]             │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:02:08]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:02:09]             │ debg TestSubjects.click(saveFilter)
[00:02:09]             │ debg Find.clickByCssSelector('[data-test-subj="saveFilter"]') with timeout=10000
[00:02:09]             │ debg Find.findByCssSelector('[data-test-subj="saveFilter"]') with timeout=10000
[00:02:09]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:09]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:26]             └- ✓ pass  (32.6s) "Discover Select values for a filter"
[00:02:26]           └-> Load a new search from the panel
[00:02:26]             └-> "before each" hook: global before each
[00:02:26]             │ debg TestSubjects.click(discoverSaveButton)
[00:02:26]             │ debg Find.clickByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=10000
[00:02:26]             │ debg Find.findByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=10000
[00:02:27]             │ debg TestSubjects.setValue(savedObjectTitle, filterSearch)
[00:02:27]             │ debg TestSubjects.click(savedObjectTitle)
[00:02:27]             │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:02:27]             │ debg Find.findByCssSelector('[data-test-subj="savedObjectTitle"]') with timeout=10000
[00:02:27]             │ debg TestSubjects.click(confirmSaveSavedObjectButton)
[00:02:27]             │ debg Find.clickByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:02:27]             │ debg Find.findByCssSelector('[data-test-subj="confirmSaveSavedObjectButton"]') with timeout=10000
[00:02:28]             │ debg TestSubjects.exists(loadSearchForm)
[00:02:28]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:02:30]             │ debg --- retry.tryForTime error: [data-test-subj="loadSearchForm"] is not displayed
[00:02:31]             │ debg Waiting up to 20000ms for saved search panel is opened...
[00:02:31]             │ debg TestSubjects.moveMouseTo(discoverOpenButton)
[00:02:31]             │ debg TestSubjects.find(discoverOpenButton)
[00:02:31]             │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:31]             │ debg TestSubjects.click(discoverOpenButton)
[00:02:31]             │ debg Find.clickByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:31]             │ debg Find.findByCssSelector('[data-test-subj="discoverOpenButton"]') with timeout=10000
[00:02:31]             │ debg isGlobalLoadingIndicatorVisible
[00:02:31]             │ debg TestSubjects.exists(globalLoadingIndicator)
[00:02:31]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:02:33]             │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:02:33]             │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:02:33]             │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:02:34]             │ debg TestSubjects.exists(loadSearchForm)
[00:02:34]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:02:34]             │ debg TestSubjects.exists(loadSearchForm)
[00:02:34]             │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadSearchForm"]') with timeout=2500
[00:02:34]             │ debg Find.byButtonText('filterSearch') with timeout=10000
[00:02:46]             │ debg --- retry.tryForTime error: stale element reference: element is not attached to the page document
[00:02:46]             │        (Session info: headless chrome=84.0.4147.135)
[00:02:46]             │ info Taking screenshot "/dev/shm/workspace/parallel/16/kibana/test/functional/screenshots/failure/Discover Load a new search from the panel.png"
[00:02:47]             │ info Current URL is: http://localhost:61161/app/discover#/view/e91c0b10-f6c9-11ea-a8e7-ffc3542043be?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27logstash-*%27,key:extension.raw,negate:!f,params:!(jpg),type:phrases,value:jpg),query:(bool:(minimum_should_match:1,should:!((match_phrase:(extension.raw:jpg))))))),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:02:47]             │ info Saving page source to: /dev/shm/workspace/parallel/16/kibana/test/functional/failure_debug/html/Discover Load a new search from the panel.html
[00:02:47]             └- ✖ fail: Discover Load a new search from the panel
[00:02:47]             │      Error: retry.tryForTime timeout: StaleElementReferenceError: stale element reference: element is not attached to the page document
[00:02:47]             │   (Session info: headless chrome=84.0.4147.135)
[00:02:47]             │     at Object.throwDecodedError (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
[00:02:47]             │     at parseHttpResponse (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
[00:02:47]             │     at Executor.execute (/dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
[00:02:47]             │     at process._tickCallback (internal/process/next_tick.js:68:7)
[00:02:47]             │       at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
[00:02:47]             │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)
[00:02:47]             │ 
[00:02:47]             │ 

Stack Trace

Error: retry.tryForTime timeout: StaleElementReferenceError: stale element reference: element is not attached to the page document
  (Session info: headless chrome=84.0.4147.135)
    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)
    at onFailure (test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:68:13)

Build metrics

async chunks size

id value diff baseline
securitySolution 10.0MB +3.7KB 10.0MB

History

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

@kevinlog kevinlog merged commit 88caa79 into elastic:master Sep 15, 2020
@kevinlog kevinlog deleted the task/hostname-policy-response-ux-updates branch September 15, 2020 00:59
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 15, 2020
* master: (25 commits)
  [Security Solution] Add unit tests for Network search strategy (elastic#77416)
  [Alerting] Improves performance of the authorization filter in AlertsClient.find by skipping KQL parsing (elastic#77040)
  [Ingest Manager] Add route for package installation by upload (elastic#77044)
  [APM-UI][E2E] filter PRs from the uptime GH team (elastic#77359)
  [APM] Remove useLocation and some minor route improvements (elastic#76343)
  [Enterprise Search] Update enterpriseSearchRequestHandler to manage range of errors + add handleAPIErrors helper (elastic#77258)
  [SECURITY_SOLUTION] Task/hostname policy response ux updates (elastic#76444)
  Move remaining uses of serviceName away from urlParams (elastic#77248)
  [Lens] Move configuration popover to flyout (elastic#76046)
  [Ingest Manager] Manually build Fleet kuery with Node arguments (elastic#76589)
  skip flaky suite (elastic#59975)
  Neutral-naming in reporting plugin (elastic#77371)
  [Enterprise Search] Add UserIcon styles (elastic#77385)
  [RUM Dashboard] Added loading state to visitor breakdown pie charts (elastic#77201)
  [Ingest Manager] Fix polling for new agent action (elastic#77339)
  Remote cluster - Functional UI test to change the superuser to a test_user with limited role (elastic#77212)
  Stacked headers and navigational search (elastic#72331)
  [ML] DF Analytics creation wizard: Fixing field loading race condition (elastic#77326)
  [Monitoring] Handle no mappings found for sort and collapse fields (elastic#77099)
  Add Lens to Recently Accessed (elastic#77249)
  ...
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 15, 2020
* master: (293 commits)
  Fix tsvb filter ration for table (elastic#77272)
  [Security Solution] Add unit tests for Network search strategy (elastic#77416)
  [Alerting] Improves performance of the authorization filter in AlertsClient.find by skipping KQL parsing (elastic#77040)
  [Ingest Manager] Add route for package installation by upload (elastic#77044)
  [APM-UI][E2E] filter PRs from the uptime GH team (elastic#77359)
  [APM] Remove useLocation and some minor route improvements (elastic#76343)
  [Enterprise Search] Update enterpriseSearchRequestHandler to manage range of errors + add handleAPIErrors helper (elastic#77258)
  [SECURITY_SOLUTION] Task/hostname policy response ux updates (elastic#76444)
  Move remaining uses of serviceName away from urlParams (elastic#77248)
  [Lens] Move configuration popover to flyout (elastic#76046)
  [Ingest Manager] Manually build Fleet kuery with Node arguments (elastic#76589)
  skip flaky suite (elastic#59975)
  Neutral-naming in reporting plugin (elastic#77371)
  [Enterprise Search] Add UserIcon styles (elastic#77385)
  [RUM Dashboard] Added loading state to visitor breakdown pie charts (elastic#77201)
  [Ingest Manager] Fix polling for new agent action (elastic#77339)
  Remote cluster - Functional UI test to change the superuser to a test_user with limited role (elastic#77212)
  Stacked headers and navigational search (elastic#72331)
  [ML] DF Analytics creation wizard: Fixing field loading race condition (elastic#77326)
  [Monitoring] Handle no mappings found for sort and collapse fields (elastic#77099)
  ...
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Sep 17, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 76444 or prevent reminders by adding the backport:skip label.

kevinlog added a commit to kevinlog/kibana that referenced this pull request Sep 17, 2020
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants