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] Add reason field #108449

Merged
merged 3 commits into from
Aug 16, 2021
Merged

Conversation

angorayc
Copy link
Contributor

Summary

Reason field should appear in the alert flyout:

Screenshot 2021-08-12 at 20 26 54

@angorayc angorayc added release_note:enhancement v8.0.0 Team:Threat Hunting Security Solution Threat Hunting Team auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 labels Aug 12, 2021
@angorayc angorayc requested a review from a team as a code owner August 12, 2021 19:28
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@angorayc
Copy link
Contributor Author

@elasticmachine merge upstream

@angorayc
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

merge conflict between base and head

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/runtime_fields·ts.lens app lens runtime fields should able to edit field

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:11:29]         └-: lens app
[00:11:29]           └-> "before all" hook in "lens app"
[00:11:29]           └-> "before all" hook in "lens app"
[00:11:29]             │ debg Starting lens before method
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:11:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.22/_XwZjucUQ3qJiFCLUdOgrg] deleting index
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.22"
[00:11:30]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.22"
[00:11:30]             │ debg [x-pack/test/functional/es_archives/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:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.20/WIOy-b-TRFCNM-2g7e7ZMg] deleting index
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.20"
[00:11:30]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.20"
[00:11:30]             │ debg [x-pack/test/functional/es_archives/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:30]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [logstash-2015.09.21/JwN7aBNvQAiwbH2RENy5Uw] deleting index
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Deleted existing index "logstash-2015.09.21"
[00:11:30]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:11:30]             │ info [x-pack/test/functional/es_archives/logstash_functional] Created index "logstash-2015.09.21"
[00:11:30]             │ debg [x-pack/test/functional/es_archives/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:11:30]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.21/7QRCCWirTNSWOB9fJIeO1g] update_mapping [_doc]
[00:11:34]             │ info [o.e.c.m.MetadataMappingService] [node-01] [logstash-2015.09.20/yZt0iGCDRj63FfP79yfLKQ] update_mapping [_doc]
[00:11:40]             │ info progress: 11734
[00:11:41]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4634 docs into "logstash-2015.09.22"
[00:11:41]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:11:41]             │ info [x-pack/test/functional/es_archives/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "mappings.json"
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json"
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Loading "data.json.gz"
[00:11:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_001/2jGZqooVT8yjTRc8sU371g] deleting index
[00:11:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_8.0.0_001/8V1NnDm4ThK2-1hynYQKKA] deleting index
[00:11:42]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/1iTXI_bmQiya9hdRi06b1w] deleting index
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_8.0.0_001"
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_task_manager_8.0.0_001"
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Deleted existing index ".kibana_1"
[00:11:42]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Created index ".kibana_1"
[00:11:42]             │ debg [x-pack/test/functional/es_archives/lens/basic] ".kibana_1" settings {"index":{"auto_expand_replicas":"0-1","number_of_replicas":"0","number_of_shards":"1"}}
[00:11:42]             │ info [x-pack/test/functional/es_archives/lens/basic] Indexed 24 docs into ".kibana_1"
[00:11:42]             │ debg Migrating saved objects
[00:11:42]             │ proc [kibana]   log   [17:59:36.593] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.597] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 11ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.601] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 4ms.
[00:11:42]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_8.0.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:42]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_8.0.0_001]
[00:11:42]             │ proc [kibana]   log   [17:59:36.608] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 7ms.
[00:11:42]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/inSSArsGT1iTauO37biRDg]]
[00:11:42]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:11:42]             │ proc [kibana]   log   [17:59:36.723] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 130ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.750] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 142ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.755] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 5ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.781] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 58ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.782] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 192ms
[00:11:42]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:11:42]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:11:42]             │ proc [kibana]   log   [17:59:36.857] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 101ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.860] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.869] [info][savedobjects-service] [.kibana] Starting to process 12 documents.
[00:11:42]             │ proc [kibana]   log   [17:59:36.870] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 9ms.
[00:11:42]             │ proc [kibana]   log   [17:59:36.909] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 40ms.
[00:11:42]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/Ef0jtgbBSkahlOtP84oXYA] update_mapping [_doc]
[00:11:42]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/Ef0jtgbBSkahlOtP84oXYA] update_mapping [_doc]
[00:11:42]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/Ef0jtgbBSkahlOtP84oXYA] update_mapping [_doc]
[00:11:42]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/Ef0jtgbBSkahlOtP84oXYA] update_mapping [_doc]
[00:11:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_reindex_temp/Ef0jtgbBSkahlOtP84oXYA] update_mapping [_doc]
[00:11:43]             │ proc [kibana]   log   [17:59:37.073] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 163ms.
[00:11:43]             │ proc [kibana]   log   [17:59:37.081] [info][savedobjects-service] [.kibana] Processed 12 documents out of 12.
[00:11:43]             │ proc [kibana]   log   [17:59:37.082] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 9ms.
[00:11:43]             │ proc [kibana]   log   [17:59:37.084] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:11:43]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_8.0.0_reindex_temp/Ef0jtgbBSkahlOtP84oXYA]]
[00:11:43]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:11:43]             │ proc [kibana]   log   [17:59:37.136] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 52ms.
[00:11:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:11:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:11:43]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:11:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/mZE--HBvT9KwcjM2A8KefQ] create_mapping
[00:11:43]             │ proc [kibana]   log   [17:59:37.260] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 124ms.
[00:11:43]             │ proc [kibana]   log   [17:59:37.263] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 3ms.
[00:11:43]             │ proc [kibana]   log   [17:59:37.266] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:11:43]             │ proc [kibana]   log   [17:59:37.273] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:11:43]             │ proc [kibana]   log   [17:59:37.275] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:11:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_8.0.0_001/mZE--HBvT9KwcjM2A8KefQ] update_mapping [_doc]
[00:11:43]             │ proc [kibana]   log   [17:59:37.339] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 64ms.
[00:11:43]             │ info [o.e.t.LoggingTaskListener] [node-01] 24870 finished with response BulkByScrollResponse[took=30.7ms,timed_out=false,sliceId=null,updated=12,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:43]             │ proc [kibana]   log   [17:59:37.444] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:11:43]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_8.0.0_reindex_temp/Ef0jtgbBSkahlOtP84oXYA] deleting index
[00:11:43]             │ proc [kibana]   log   [17:59:37.486] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 42ms.
[00:11:43]             │ proc [kibana]   log   [17:59:37.487] [info][savedobjects-service] [.kibana] Migration completed after 901ms
[00:11:43]             │ debg [x-pack/test/functional/es_archives/lens/basic] Migrated Kibana index after loading Kibana data
[00:11:43]             │ debg [x-pack/test/functional/es_archives/lens/basic] Ensured that default space exists in .kibana
[00:11:43]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:11:45]           └-: 
[00:11:45]             └-> "before all" hook in ""
[00:48:58]             └-: lens runtime fields
[00:48:58]               └-> "before all" hook for "should be able to add runtime field and use it"
[00:48:58]               └-> should be able to add runtime field and use it
[00:48:58]                 └-> "before each" hook: global before each for "should be able to add runtime field and use it"
[00:48:58]                 │ debg navigating to visualize url: http://localhost:61141/app/visualize#/
[00:48:58]                 │ debg navigate to: http://localhost:61141/app/visualize#/
[00:48:58]                 │ debg ... sleep(700) start
[00:48:58]                 │ debg browser[INFO] http://localhost:61141/app/visualize?_t=1629052612164#/ 281 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:48:58]                 │
[00:48:58]                 │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:48:58]                 │ debg ... sleep(700) end
[00:48:58]                 │ debg returned from get, calling refresh
[00:49:00]                 │ debg browser[INFO] http://localhost:61141/app/visualize?_t=1629052612164#/ 281 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:49:00]                 │
[00:49:00]                 │ debg browser[INFO] http://localhost:61141/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:49:00]                 │ debg currentUrl = http://localhost:61141/app/visualize#/
[00:49:00]                 │          appUrl = http://localhost:61141/app/visualize#/
[00:49:00]                 │ debg TestSubjects.find(kibanaChrome)
[00:49:00]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:49:00]                 │ debg ... sleep(501) start
[00:49:01]                 │ debg ... sleep(501) end
[00:49:01]                 │ debg in navigateTo url = http://localhost:61141/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:49:01]                 │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:49:01]                 │ debg ... sleep(501) start
[00:49:02]                 │ debg ... sleep(501) end
[00:49:02]                 │ debg in navigateTo url = http://localhost:61141/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:49:02]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:02]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:02]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:03]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:49:04]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:04]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:04]                 │ debg TestSubjects.exists(newItemButton)
[00:49:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:49:04]                 │ debg TestSubjects.click(newItemButton)
[00:49:04]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:49:04]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:49:04]                 │ debg TestSubjects.find(visNewDialogGroups)
[00:49:04]                 │ debg Find.findByCssSelector('[data-test-subj="visNewDialogGroups"]') with timeout=10000
[00:49:04]                 │ debg TestSubjects.click(visType-lens)
[00:49:04]                 │ debg Find.clickByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:49:04]                 │ debg Find.findByCssSelector('[data-test-subj="visType-lens"]') with timeout=10000
[00:49:04]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:04]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:04]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:06]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:49:06]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:06]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:06]                 │ debg lensPage.goToTimeRange()
[00:49:06]                 │ debg TestSubjects.exists(noDataPopoverDismissButton)
[00:49:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=2500
[00:49:06]                 │ debg TestSubjects.click(noDataPopoverDismissButton)
[00:49:06]                 │ debg Find.clickByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:49:06]                 │ debg Find.findByCssSelector('[data-test-subj="noDataPopoverDismissButton"]') with timeout=10000
[00:49:06]                 │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 23, 2015 @ 18:31:44.000
[00:49:06]                 │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:49:06]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:49:07]                 │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:49:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:49:07]                 │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:49:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:49:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:49:07]                 │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:49:07]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:49:07]                 │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:49:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:49:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:49:07]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:49:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:49:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:49:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:49:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:49:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:07]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 23, 2015 @ 18:31:44.000)
[00:49:07]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:49:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:07]                 │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:49:07]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:49:07]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:49:08]                 │ debg Find.waitForElementStale with timeout=10000
[00:49:08]                 │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:49:08]                 │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:49:08]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:49:08]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:49:08]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:49:08]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:08]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:08]                 │ debg TestSubjects.setValue(superDatePickerAbsoluteDateInput, Sep 19, 2015 @ 06:31:44.000)
[00:49:08]                 │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:49:08]                 │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:08]                 │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:49:08]                 │ debg Waiting up to 20000ms for Timepicker popover to close...
[00:49:08]                 │ debg TestSubjects.exists(superDatePickerAbsoluteDateInput)
[00:49:08]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=2500
[00:49:08]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerAbsoluteDateInput"] is not displayed
[00:49:11]                 │ debg --- retry.tryForTime failed again with the same message...
[00:49:12]                 │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:49:12]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:49:14]                 │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:49:15]                 │ debg TestSubjects.click(querySubmitButton)
[00:49:15]                 │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:49:15]                 │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:49:15]                 │ debg Find.waitForElementStale with timeout=10000
[00:49:15]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:15]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:15]                 │ debg lensPage.switchToVisualization('lnsDatatable')
[00:49:15]                 │ debg lensPage.openChartSwitchPopover()
[00:49:15]                 │ debg TestSubjects.exists(lnsChartSwitchList)
[00:49:15]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsChartSwitchList"]') with timeout=2500
[00:49:18]                 │ debg --- retry.tryForTime error: [data-test-subj="lnsChartSwitchList"] is not displayed
[00:49:18]                 │ debg TestSubjects.click(lnsChartSwitchPopover)
[00:49:18]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:49:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover"]') with timeout=10000
[00:49:18]                 │ debg TestSubjects.exists(lnsChartSwitchList)
[00:49:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsChartSwitchList"]') with timeout=120000
[00:49:18]                 │ debg lensPage.searchOnChartSwitch('lnsDatatable', )
[00:49:18]                 │ debg TestSubjects.setValue(lnsChartSwitchSearch, ble)
[00:49:18]                 │ debg TestSubjects.click(lnsChartSwitchSearch)
[00:49:18]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchSearch"]') with timeout=10000
[00:49:18]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchSearch"]') with timeout=10000
[00:49:19]                 │ debg TestSubjects.click(lnsChartSwitchPopover_lnsDatatable)
[00:49:19]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:49:19]                 │ debg Find.findByCssSelector('[data-test-subj="lnsChartSwitchPopover_lnsDatatable"]') with timeout=10000
[00:49:19]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:19]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:19]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:20]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:49:21]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:21]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:21]                 │ debg lensPage.clickAddField()
[00:49:21]                 │ debg TestSubjects.click(lnsIndexPatternActions)
[00:49:21]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsIndexPatternActions"]') with timeout=10000
[00:49:21]                 │ debg Find.findByCssSelector('[data-test-subj="lnsIndexPatternActions"]') with timeout=10000
[00:49:21]                 │ debg TestSubjects.exists(indexPattern-add-field)
[00:49:21]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="indexPattern-add-field"]') with timeout=120000
[00:49:21]                 │ debg TestSubjects.click(indexPattern-add-field)
[00:49:21]                 │ debg Find.clickByCssSelector('[data-test-subj="indexPattern-add-field"]') with timeout=10000
[00:49:21]                 │ debg Find.findByCssSelector('[data-test-subj="indexPattern-add-field"]') with timeout=10000
[00:49:21]                 │ debg TestSubjects.setValue(nameField > input, runtimefield)
[00:49:21]                 │ debg TestSubjects.click(nameField > input)
[00:49:21]                 │ debg Find.clickByCssSelector('[data-test-subj="nameField"] [data-test-subj="input"]') with timeout=10000
[00:49:21]                 │ debg Find.findByCssSelector('[data-test-subj="nameField"] [data-test-subj="input"]') with timeout=10000
[00:49:22]                 │ debg TestSubjects.find(valueRow > toggle)
[00:49:22]                 │ debg Find.findByCssSelector('[data-test-subj="valueRow"] [data-test-subj="toggle"]') with timeout=10000
[00:49:22]                 │ debg updating checkbox valueRow > toggle from false to true
[00:49:22]                 │ debg TestSubjects.click(valueRow > toggle)
[00:49:22]                 │ debg Find.clickByCssSelector('[data-test-subj="valueRow"] [data-test-subj="toggle"]') with timeout=10000
[00:49:22]                 │ debg Find.findByCssSelector('[data-test-subj="valueRow"] [data-test-subj="toggle"]') with timeout=10000
[00:49:22]                 │ debg TestSubjects.find(valueRow)
[00:49:22]                 │ debg Find.findByCssSelector('[data-test-subj="valueRow"]') with timeout=10000
[00:49:23]                 │ debg TestSubjects.click(fieldSaveButton)
[00:49:23]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:49:23]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:49:23]                 │ debg lensPage.searchField('runtime')
[00:49:23]                 │ debg TestSubjects.setValue(lnsIndexPatternFieldSearch, runtime)
[00:49:23]                 │ debg TestSubjects.click(lnsIndexPatternFieldSearch)
[00:49:23]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsIndexPatternFieldSearch"]') with timeout=10000
[00:49:23]                 │ debg Find.findByCssSelector('[data-test-subj="lnsIndexPatternFieldSearch"]') with timeout=10000
[00:49:25]                 │ debg lensPage.waitForField('runtimefield')
[00:49:25]                 │ debg TestSubjects.exists(lnsFieldListPanelField-runtimefield)
[00:49:25]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsFieldListPanelField-runtimefield"]') with timeout=120000
[00:49:25]                 │ debg lensPage.dragFieldToWorkspace('runtimefield')
[00:49:25]                 │ debg lensPage.waitForLensDragDropToFinish()
[00:49:25]                 │ debg Find.existsByCssSelector('.lnsDragDrop-isActiveGroup') with timeout=2500
[00:49:28]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:28]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:28]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:29]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:49:30]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:30]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:30]                 │ debg lensPage.waitForVisualization()
[00:49:30]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:30]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:30]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:32]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:49:32]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:32]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:32]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:49:32]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:32]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:32]                 │ debg ... sleep(1000) start
[00:49:33]                 │ debg ... sleep(1000) end
[00:49:33]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:33]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:33]                 │ debg lensPage.getDatatableHeaderText(0)
[00:49:33]                 │ debg lensPage.getDatatableHeader(0)
[00:49:33]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] [data-test-subj="dataGridHeader"] [role=columnheader]:nth-child(1)') with timeout=10000
[00:49:33]                 │ debg lensPage.getDatatableCellText(0, 0)
[00:49:33]                 │ debg lensPage.getDatatableCell(0, 0)
[00:49:33]                 │ debg Find.findByCssSelector('.euiDataGrid') with timeout=10000
[00:49:33]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] [data-test-subj="dataGridRowCell"]:nth-child(2)') with timeout=10000
[00:49:33]                 └- ✓ pass  (35.6s) "lens app  lens runtime fields should be able to add runtime field and use it"
[00:49:33]               └-> should able to filter runtime fields
[00:49:33]                 └-> "before each" hook: global before each for "should able to filter runtime fields"
[00:49:33]                 │ debg lensPage.clickTableCellAction(0, 0, 'lensDatatableFilterOut')
[00:49:33]                 │ debg lensPage.getDatatableCell(0, 0)
[00:49:33]                 │ debg Find.findByCssSelector('.euiDataGrid') with timeout=10000
[00:49:33]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] [data-test-subj="dataGridRowCell"]:nth-child(2)') with timeout=10000
[00:49:33]                 │ debg lensPage.waitForVisualization()
[00:49:33]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:33]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:33]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:35]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:35]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:35]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:49:35]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:35]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:35]                 │ debg ... sleep(1000) start
[00:49:36]                 │ debg ... sleep(1000) end
[00:49:36]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:36]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:36]                 │ debg lensPage.isShowingNoResults()
[00:49:36]                 │ debg TestSubjects.find(lnsWorkspace)
[00:49:36]                 │ debg Find.findByCssSelector('[data-test-subj="lnsWorkspace"]') with timeout=10000
[00:49:36]                 │ debg --- retry.try error: expected false to equal true
[00:49:37]                 │ debg lensPage.clickTableCellAction(0, 0, 'lensDatatableFilterOut')
[00:49:37]                 │ debg lensPage.getDatatableCell(0, 0)
[00:49:37]                 │ debg Find.findByCssSelector('.euiDataGrid') with timeout=10000
[00:49:37]                 │ debg Find.findByCssSelector('[data-test-subj="lnsDataTable"] [data-test-subj="dataGridRowCell"]:nth-child(2)') with timeout=10000
[00:49:37]                 │ debg lensPage.waitForVisualization()
[00:49:37]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:37]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:39]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:49:39]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:39]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:39]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:49:39]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:39]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:39]                 │ debg ... sleep(1000) start
[00:49:40]                 │ debg ... sleep(1000) end
[00:49:40]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:40]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:40]                 │ debg lensPage.isShowingNoResults()
[00:49:40]                 │ debg TestSubjects.find(lnsWorkspace)
[00:49:40]                 │ debg Find.findByCssSelector('[data-test-subj="lnsWorkspace"]') with timeout=10000
[00:49:40]                 │ debg TestSubjects.click(showFilterActions)
[00:49:40]                 │ debg Find.clickByCssSelector('[data-test-subj="showFilterActions"]') with timeout=10000
[00:49:40]                 │ debg Find.findByCssSelector('[data-test-subj="showFilterActions"]') with timeout=10000
[00:49:40]                 │ debg TestSubjects.click(removeAllFilters)
[00:49:40]                 │ debg Find.clickByCssSelector('[data-test-subj="removeAllFilters"]') with timeout=10000
[00:49:40]                 │ debg Find.findByCssSelector('[data-test-subj="removeAllFilters"]') with timeout=10000
[00:49:41]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:41]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:41]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:41]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:41]                 │ debg lensPage.waitForVisualization()
[00:49:41]                 │ debg isGlobalLoadingIndicatorVisible
[00:49:41]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:49:41]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:49:43]                 │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:49:43]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:49:43]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:49:43]                 │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:49:43]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:43]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:43]                 │ debg ... sleep(1000) start
[00:49:44]                 │ debg ... sleep(1000) end
[00:49:44]                 │ debg TestSubjects.find(lnsVisualizationContainer)
[00:49:44]                 │ debg Find.findByCssSelector('[data-test-subj="lnsVisualizationContainer"]') with timeout=10000
[00:49:44]                 └- ✓ pass  (11.1s) "lens app  lens runtime fields should able to filter runtime fields"
[00:49:44]               └-> should able to edit field
[00:49:44]                 └-> "before each" hook: global before each for "should able to edit field"
[00:49:44]                 │ debg lensPage.clickField('runtimefield')
[00:49:44]                 │ debg TestSubjects.click(lnsFieldListPanelField-runtimefield)
[00:49:44]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsFieldListPanelField-runtimefield"]') with timeout=10000
[00:49:44]                 │ debg Find.findByCssSelector('[data-test-subj="lnsFieldListPanelField-runtimefield"]') with timeout=10000
[00:49:45]                 │ debg lensPage.editField()
[00:49:45]                 │ debg TestSubjects.click(lnsFieldListPanelEdit)
[00:49:45]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsFieldListPanelEdit"]') with timeout=10000
[00:49:45]                 │ debg Find.findByCssSelector('[data-test-subj="lnsFieldListPanelEdit"]') with timeout=10000
[00:49:45]                 │ debg TestSubjects.missingOrFail(lnsFieldListPanelEdit)
[00:49:45]                 │ debg Find.waitForDeletedByCssSelector('[data-test-subj="lnsFieldListPanelEdit"]') with timeout=2500
[00:49:46]                 │ debg TestSubjects.setValue(nameField > input, runtimefield2)
[00:49:46]                 │ debg TestSubjects.click(nameField > input)
[00:49:46]                 │ debg Find.clickByCssSelector('[data-test-subj="nameField"] [data-test-subj="input"]') with timeout=10000
[00:49:46]                 │ debg Find.findByCssSelector('[data-test-subj="nameField"] [data-test-subj="input"]') with timeout=10000
[00:49:46]                 │ debg TestSubjects.click(fieldSaveButton)
[00:49:46]                 │ debg Find.clickByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:49:46]                 │ debg Find.findByCssSelector('[data-test-subj="fieldSaveButton"]') with timeout=10000
[00:49:46]                 │ debg TestSubjects.setValue(saveModalConfirmText, change)
[00:49:46]                 │ debg TestSubjects.click(saveModalConfirmText)
[00:49:46]                 │ debg Find.clickByCssSelector('[data-test-subj="saveModalConfirmText"]') with timeout=10000
[00:49:46]                 │ debg Find.findByCssSelector('[data-test-subj="saveModalConfirmText"]') with timeout=10000
[00:49:47]                 │ debg TestSubjects.click(confirmModalConfirmButton)
[00:49:47]                 │ debg Find.clickByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:49:47]                 │ debg Find.findByCssSelector('[data-test-subj="confirmModalConfirmButton"]') with timeout=10000
[00:49:48]                 │ debg lensPage.searchField('runtime')
[00:49:48]                 │ debg TestSubjects.setValue(lnsIndexPatternFieldSearch, runtime)
[00:49:48]                 │ debg TestSubjects.click(lnsIndexPatternFieldSearch)
[00:49:48]                 │ debg Find.clickByCssSelector('[data-test-subj="lnsIndexPatternFieldSearch"]') with timeout=10000
[00:49:48]                 │ debg Find.findByCssSelector('[data-test-subj="lnsIndexPatternFieldSearch"]') with timeout=10000
[00:49:50]                 │ debg lensPage.waitForField('runtimefield2')
[00:49:50]                 │ debg TestSubjects.exists(lnsFieldListPanelField-runtimefield2)
[00:49:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="lnsFieldListPanelField-runtimefield2"]') with timeout=120000
[00:49:52]                 │ debg --- retry.tryForTime error: [data-test-subj="lnsFieldListPanelField-runtimefield2"] is not displayed
[00:49:55]                 │ debg --- retry.tryForTime failed again with the same message...
[00:49:58]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:01]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:04]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:07]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:10]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:13]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:16]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:19]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:22]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:25]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:29]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:32]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:35]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:38]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:41]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:44]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:47]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:50]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:53]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:56]                 │ debg --- retry.tryForTime failed again with the same message...
[00:50:59]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:02]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:05]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:08]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:11]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:14]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:17]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:20]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:23]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:26]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:29]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:32]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:36]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:39]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:42]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:45]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:48]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:51]                 │ debg --- retry.tryForTime failed again with the same message...
[00:51:51]                 │ debg --- retry.try error: expected testSubject(lnsFieldListPanelField-runtimefield2) to exist
[00:51:52]                 │ info Taking screenshot "/dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/screenshots/failure/lens app  lens runtime fields should able to edit field.png"
[00:51:52]                 │ info Current URL is: http://localhost:61141/app/lens#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))
[00:51:52]                 │ info Saving page source to: /dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/failure_debug/html/lens app  lens runtime fields should able to edit field.html
[00:51:52]                 └- ✖ fail: lens app  lens runtime fields should able to edit field
[00:51:52]                 │      retry.try timeout: Error: expected testSubject(lnsFieldListPanelField-runtimefield2) to exist
[00:51:52]                 │     at TestSubjects.existOrFail (/dev/shm/workspace/parallel/14/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:51:52]                 │     at /dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/page_objects/lens_page.ts:242:9
[00:51:52]                 │     at runAttempt (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:51:52]                 │     at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:51:52]                 │     at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
[00:51:52]                 │     at Object.waitForField (/dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/page_objects/lens_page.ts:241:7)
[00:51:52]                 │     at Context.<anonymous> (/dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/apps/lens/runtime_fields.ts:55:7)
[00:51:52]                 │     at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:51:52]                 │   Error: retry.try timeout: Error: expected testSubject(lnsFieldListPanelField-runtimefield2) to exist
[00:51:52]                 │       at TestSubjects.existOrFail (/dev/shm/workspace/parallel/14/kibana/test/functional/services/common/test_subjects.ts:45:13)
[00:51:52]                 │       at /dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/page_objects/lens_page.ts:242:9
[00:51:52]                 │       at runAttempt (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:27:15)
[00:51:52]                 │       at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:66:21)
[00:51:52]                 │       at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
[00:51:52]                 │       at Object.waitForField (test/functional/page_objects/lens_page.ts:241:7)
[00:51:52]                 │       at Context.<anonymous> (test/functional/apps/lens/runtime_fields.ts:55:7)
[00:51:52]                 │       at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:51:52]                 │       at onFailure (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:51:52]                 │       at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:51:52]                 │       at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
[00:51:52]                 │       at Object.waitForField (test/functional/page_objects/lens_page.ts:241:7)
[00:51:52]                 │       at Context.<anonymous> (test/functional/apps/lens/runtime_fields.ts:55:7)
[00:51:52]                 │       at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:51:52]                 │ 
[00:51:52]                 │ 

Stack Trace

Error: retry.try timeout: Error: expected testSubject(lnsFieldListPanelField-runtimefield2) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/parallel/14/kibana/test/functional/services/common/test_subjects.ts:45:13)
    at /dev/shm/workspace/parallel/14/kibana/x-pack/test/functional/page_objects/lens_page.ts:242:9
    at runAttempt (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:27:15)
    at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:66:21)
    at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
    at Object.waitForField (test/functional/page_objects/lens_page.ts:241:7)
    at Context.<anonymous> (test/functional/apps/lens/runtime_fields.ts:55:7)
    at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
    at onFailure (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.try (/dev/shm/workspace/parallel/14/kibana/test/common/services/retry/retry.ts:31:12)
    at Object.waitForField (test/functional/page_objects/lens_page.ts:241:7)
    at Context.<anonymous> (test/functional/apps/lens/runtime_fields.ts:55:7)
    at Object.apply (/dev/shm/workspace/parallel/14/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 2364 2365 +1

Async chunks

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

id before after diff
securitySolution 6.5MB 6.5MB +2.5KB

History

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

const { formatUrl } = useFormatUrl(SecurityPageName.rules);

const reason = useMemo(
() => getFieldValue({ category: 'signal', field: 'signal.reason' }, data),
Copy link
Contributor

Choose a reason for hiding this comment

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

We're going to want to make this kibana.alert.reason and use the constant here, but we can replace all of that as a wholesale change once the shared constants file is created

);

const ruleId = useMemo(
() => getFieldValue({ category: 'signal', field: 'signal.rule.id' }, data),
Copy link
Contributor

Choose a reason for hiding this comment

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

Same thing here

Copy link
Contributor

@michaelolo24 michaelolo24 left a comment

Choose a reason for hiding this comment

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

Thanks for getting this done, and sorry for the delay in getting the field to you! 😄

@michaelolo24 michaelolo24 added Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Theme: rac label obsolete labels Aug 16, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@michaelolo24 michaelolo24 merged commit 7888c9c into elastic:master Aug 16, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 16, 2021
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

angorayc added a commit to angorayc/kibana that referenced this pull request Aug 16, 2021
angorayc added a commit that referenced this pull request Aug 16, 2021
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Aug 18, 2021
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

3 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@spong
Copy link
Member

spong commented Aug 24, 2021

Looks like the 7.x backport (#108645) never got merged, and so this never made it into 7.15 since that branch was cut last week. Adding 7.16 label (covering aforementioned 7.x backport), and manually creating backport to 7.15.

Edit: Upon further examination it looks like a manual backport was done and merged (#108652) prior to the 7.15 branch being created, so we're all good here. Before knowing this I had done a merge upstream over on #108645, and that just merged with 0 file changes, so everything is resolved here 👍

@spong spong added v7.16.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. auto-backport Deprecated - use backport:version if exact versions are needed labels Aug 24, 2021
kibanamachine added a commit that referenced this pull request Aug 24, 2021
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Angela Chuang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting Security Solution Threat Hunting Team Theme: rac label obsolete v7.15.0 v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants