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

[7.14] [Security Solutions][Detection Engine] Fixes button group alignments in machine learning and tags (#105166) #105168

Merged
merged 1 commit into from
Jul 10, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.14:

…in machine learning and tags (elastic#105166)

## Summary

See:
elastic#104055

For more issue details. This is deemed embarrassing enough to be critical for a fix for 7.14.0 before shipping.

EUI looks to have updated its self and added a new attribute that it wants us to use called `numFIlters` which when set will show the total number of filter items before they are selected. Once selected the number and look and feel change.

```ts
numFilters
```

Before:
<img width="717" alt="Screen Shot 2021-07-09 at 5 45 08 PM" src="https://user-images.githubusercontent.com/1151048/125145520-c0fb7a80-e0de-11eb-9540-17bb999a069d.png">

After before selections:
<img width="716" alt="Screen Shot 2021-07-09 at 5 48 43 PM" src="https://user-images.githubusercontent.com/1151048/125145576-fa33ea80-e0de-11eb-8dfe-2d83849696f4.png">

After once you have selections:
<img width="720" alt="Screen Shot 2021-07-09 at 5 49 44 PM" src="https://user-images.githubusercontent.com/1151048/125145610-19327c80-e0df-11eb-8c2a-2ac2c881bc96.png">


Before:
<img width="846" alt="Screen Shot 2021-07-09 at 5 42 01 PM" src="https://user-images.githubusercontent.com/1151048/125145537-cc4ea600-e0de-11eb-92d3-6caad4897a3c.png">

After before selections:
<img width="859" alt="Screen Shot 2021-07-09 at 5 42 27 PM" src="https://user-images.githubusercontent.com/1151048/125145554-d96b9500-e0de-11eb-8abe-35a65c005d5e.png">

After once you have selections:
<img width="873" alt="Screen Shot 2021-07-09 at 5 49 36 PM" src="https://user-images.githubusercontent.com/1151048/125145616-264f6b80-e0df-11eb-9453-575b15c6001e.png">

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/logstash/pipeline_create·js.logstash pipeline create new cancel button discards the pipeline and redirects to the list

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 1 times on tracked branches: https:/elastic/kibana/issues/83231

[00:00:00]       │
[00:07:06]         └-: logstash
[00:07:06]           └-> "before all" hook in "logstash"
[00:09:29]           └-: pipeline create new
[00:09:29]             └-> "before all" hook for "starts with the default values"
[00:09:29]             └-> "before all" hook for "starts with the default values"
[00:09:29]               │ info [x-pack/test/functional/es_archives/logstash/empty] Loading "mappings.json"
[00:09:29]               │ info [x-pack/test/functional/es_archives/logstash/empty] Loading "data.json.gz"
[00:09:29]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.14.0_001/QeD1nO47S9W1PTQqQ8851A] deleting index
[00:09:29]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_7.14.0_001/SlsTnPxmRjaaUgZ5THm8oQ] deleting index
[00:09:29]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/hweo41OtSEi9_NjvXS5lYg] deleting index
[00:09:29]               │ info [x-pack/test/functional/es_archives/logstash/empty] Deleted existing index ".kibana_7.14.0_001"
[00:09:29]               │ info [x-pack/test/functional/es_archives/logstash/empty] Deleted existing index ".kibana_task_manager_7.14.0_001"
[00:09:29]               │ info [x-pack/test/functional/es_archives/logstash/empty] Deleted existing index ".kibana_1"
[00:09:29]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:09:29]               │ info [x-pack/test/functional/es_archives/logstash/empty] Created index ".kibana_1"
[00:09:29]               │ debg [x-pack/test/functional/es_archives/logstash/empty] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:09:29]               │ info [x-pack/test/functional/es_archives/logstash/empty] Indexed 2 docs into ".kibana"
[00:09:29]               │ debg Migrating saved objects
[00:09:29]               │ proc [kibana]   log   [03:36:08.476] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 2ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.480] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 8ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.483] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:09:29]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_7.14.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:09:29]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.14.0_001]
[00:09:29]               │ proc [kibana]   log   [03:36:08.490] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 7ms.
[00:09:29]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/x_efx6P6TMutZ79sZHkkvg]]
[00:09:29]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:09:29]               │ proc [kibana]   log   [03:36:08.578] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 102ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.600] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 110ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.620] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 42ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.621] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 147ms
[00:09:29]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.14.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:09:29]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.14.0_reindex_temp]
[00:09:29]               │ proc [kibana]   log   [03:36:08.678] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 78ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.683] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 5ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.689] [info][savedobjects-service] [.kibana] Starting to process 2 documents.
[00:09:29]               │ proc [kibana]   log   [03:36:08.690] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 6ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.691] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 2ms.
[00:09:29]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_reindex_temp/RPyorzzVQFaMQdzgskJE9w] update_mapping [_doc]
[00:09:29]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_reindex_temp/RPyorzzVQFaMQdzgskJE9w] update_mapping [_doc]
[00:09:29]               │ proc [kibana]   log   [03:36:08.759] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 68ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.765] [info][savedobjects-service] [.kibana] Processed 2 documents out of 2.
[00:09:29]               │ proc [kibana]   log   [03:36:08.765] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 6ms.
[00:09:29]               │ proc [kibana]   log   [03:36:08.768] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:09:29]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_7.14.0_reindex_temp/RPyorzzVQFaMQdzgskJE9w]]
[00:09:29]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_7.14.0_reindex_temp]
[00:09:29]               │ proc [kibana]   log   [03:36:08.816] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 48ms.
[00:09:29]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_7.14.0_reindex_temp] metadata
[00:09:29]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.14.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:09:29]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.14.0_001]
[00:09:30]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_001/WiBBfjvTSjGfuele4_Zl_g] create_mapping [_doc]
[00:09:30]               │ proc [kibana]   log   [03:36:08.936] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 120ms.
[00:09:30]               │ proc [kibana]   log   [03:36:08.940] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:09:30]               │ proc [kibana]   log   [03:36:08.943] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 3ms.
[00:09:30]               │ proc [kibana]   log   [03:36:08.950] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:09:30]               │ proc [kibana]   log   [03:36:08.952] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:09:30]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.14.0_001/WiBBfjvTSjGfuele4_Zl_g] update_mapping [_doc]
[00:09:30]               │ proc [kibana]   log   [03:36:09.018] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 66ms.
[00:09:30]               │ info [o.e.t.LoggingTaskListener] [node-01] 18618 finished with response BulkByScrollResponse[took=24ms,timed_out=false,sliceId=null,updated=2,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:09:30]               │ proc [kibana]   log   [03:36:09.123] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:09:30]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.14.0_reindex_temp/RPyorzzVQFaMQdzgskJE9w] deleting index
[00:09:30]               │ proc [kibana]   log   [03:36:09.172] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 49ms.
[00:09:30]               │ proc [kibana]   log   [03:36:09.172] [info][savedobjects-service] [.kibana] Migration completed after 700ms
[00:09:30]               │ debg [x-pack/test/functional/es_archives/logstash/empty] Migrated Kibana index after loading Kibana data
[00:09:30]               │ debg [x-pack/test/functional/es_archives/logstash/empty] Ensured that default space exists in .kibana
[00:09:30]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyChartsLibrary":true,"visualization:visualize:legacyPieChartsLibrary":true}
[00:09:32]             └-> starts with the default values
[00:09:32]               └-> "before each" hook: global before each for "starts with the default values"
[00:09:32]               │ debg navigating to logstashPipelines url: http://localhost:61131/app/management/ingest/pipelines
[00:09:32]               │ debg navigate to: http://localhost:61131/app/management/ingest/pipelines
[00:09:32]               │ debg browser[INFO] http://localhost:61131/app/management/ingest/pipelines?_t=1625888170975 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:09:32]               │
[00:09:32]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:32]               │ debg ... sleep(700) start
[00:09:33]               │ debg ... sleep(700) end
[00:09:33]               │ debg returned from get, calling refresh
[00:09:33]               │ debg browser[INFO] http://localhost:61131/app/management/ingest/pipelines?_t=1625888170975 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:09:33]               │
[00:09:33]               │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:34]               │ debg currentUrl = http://localhost:61131/app/management/ingest/pipelines
[00:09:34]               │          appUrl = http://localhost:61131/app/management/ingest/pipelines
[00:09:34]               │ debg TestSubjects.find(kibanaChrome)
[00:09:34]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:34]               │ debg ... sleep(501) start
[00:09:35]               │ debg ... sleep(501) end
[00:09:35]               │ debg in navigateTo url = http://localhost:61131/app/management/ingest/pipelines
[00:09:35]               │ debg Waiting up to 20000ms for pipline list visible on screen...
[00:09:35]               │ debg TestSubjects.find(pipelineList)
[00:09:35]               │ debg Find.findByCssSelector('[data-test-subj="pipelineList"]') with timeout=10000
[00:09:35]               │ debg TestSubjects.exists(loadingPipelines)
[00:09:35]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadingPipelines"]') with timeout=2500
[00:09:37]               │ debg --- retry.tryForTime error: [data-test-subj="loadingPipelines"] is not displayed
[00:09:38]               │ debg TestSubjects.click(pipelineList > btnAdd)
[00:09:38]               │ debg Find.clickByCssSelector('[data-test-subj="pipelineList"] [data-test-subj="btnAdd"]') with timeout=10000
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj="pipelineList"] [data-test-subj="btnAdd"]') with timeout=10000
[00:09:38]               │ debg Waiting up to 20000ms for pipeline editor visible...
[00:09:38]               │ debg TestSubjects.exists(~pipelineEdit)
[00:09:38]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="pipelineEdit"]') with timeout=2500
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > inputId, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > inputId)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="inputId"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > inputDescription, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > inputDescription)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="inputDescription"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > acePipeline)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="acePipeline"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > inputWorkers, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > inputWorkers)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="inputWorkers"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > inputBatchSize, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > inputBatchSize)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="inputBatchSize"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > selectQueueType, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > selectQueueType)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="selectQueueType"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > inputQueueMaxBytesNumber, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > inputQueueMaxBytesNumber)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="inputQueueMaxBytesNumber"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > selectQueueMaxBytesUnits, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > selectQueueMaxBytesUnits)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="selectQueueMaxBytesUnits"]') with timeout=10000
[00:09:38]               │ debg TestSubjects.getAttribute(~pipelineEdit > inputQueueCheckpointWrites, value, tryTimeout=120000, findTimeout=10000)
[00:09:38]               │ debg TestSubjects.find(~pipelineEdit > inputQueueCheckpointWrites)
[00:09:38]               │ debg Find.findByCssSelector('[data-test-subj~="pipelineEdit"] [data-test-subj="inputQueueCheckpointWrites"]') with timeout=10000
[00:09:38]               └- ✓ pass  (6.8s) "logstash pipeline create new starts with the default values"
[00:09:38]             └-: save button
[00:09:38]               └-> "before all" hook for "creates the pipeline and redirects to the list"
[00:09:54]             └-: cancel button
[00:09:54]               └-> "before all" hook for "discards the pipeline and redirects to the list"
[00:09:54]               └-> discards the pipeline and redirects to the list
[00:09:54]                 └-> "before each" hook: global before each for "discards the pipeline and redirects to the list"
[00:09:54]                 │ debg navigating to logstashPipelines url: http://localhost:61131/app/management/ingest/pipelines
[00:09:54]                 │ debg navigate to: http://localhost:61131/app/management/ingest/pipelines
[00:09:54]                 │ debg browser[INFO] http://localhost:61131/app/management/ingest/pipelines?_t=1625888193381 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:09:54]                 │
[00:09:54]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:54]                 │ debg ... sleep(700) start
[00:09:55]                 │ debg ... sleep(700) end
[00:09:55]                 │ debg returned from get, calling refresh
[00:09:56]                 │ debg browser[INFO] http://localhost:61131/app/management/ingest/pipelines?_t=1625888193381 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:09:56]                 │
[00:09:56]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:56]                 │ debg currentUrl = http://localhost:61131/app/management/ingest/pipelines
[00:09:56]                 │          appUrl = http://localhost:61131/app/management/ingest/pipelines
[00:09:56]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:56]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:57]                 │ debg ... sleep(501) start
[00:09:57]                 │ debg ... sleep(501) end
[00:09:57]                 │ debg in navigateTo url = http://localhost:61131/app/management/ingest/pipelines
[00:09:57]                 │ debg Waiting up to 20000ms for pipline list visible on screen...
[00:09:57]                 │ debg TestSubjects.find(pipelineList)
[00:09:57]                 │ debg Find.findByCssSelector('[data-test-subj="pipelineList"]') with timeout=10000
[00:09:57]                 │ debg TestSubjects.exists(loadingPipelines)
[00:09:57]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadingPipelines"]') with timeout=2500
[00:10:00]                 │ debg --- retry.tryForTime error: [data-test-subj="loadingPipelines"] is not displayed
[00:10:00]                 │ debg Waiting up to 20000ms for pipline list visible on screen...
[00:10:00]                 │ debg TestSubjects.find(pipelineList)
[00:10:00]                 │ debg Find.findByCssSelector('[data-test-subj="pipelineList"]') with timeout=10000
[00:10:00]                 │ debg TestSubjects.exists(loadingPipelines)
[00:10:00]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loadingPipelines"]') with timeout=2500
[00:10:03]                 │ debg --- retry.tryForTime error: [data-test-subj="loadingPipelines"] is not displayed
[00:10:03]                 │ debg TestSubjects.find(pipelineTable)
[00:10:03]                 │ debg Find.findByCssSelector('[data-test-subj="pipelineTable"]') with timeout=10000
[00:10:03]                 │ debg navigating to logstashPipelines url: http://localhost:61131/app/management/ingest/pipelines
[00:10:03]                 │ debg navigate to: http://localhost:61131/app/management/ingest/pipelines
[00:10:04]                 │ debg browser[INFO] http://localhost:61131/app/management/ingest/pipelines?_t=1625888202684 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:10:04]                 │
[00:10:04]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:04]                 │ debg ... sleep(700) start
[00:10:04]                 │ debg ... sleep(700) end
[00:10:04]                 │ debg returned from get, calling refresh
[00:10:05]                 │ debg browser[INFO] http://localhost:61131/app/management/ingest/pipelines?_t=1625888202684 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:10:05]                 │
[00:10:05]                 │ debg browser[INFO] http://localhost:61131/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:10:06]                 │ debg currentUrl = http://localhost:61131/app/management/ingest/pipelines
[00:10:06]                 │          appUrl = http://localhost:61131/app/management/ingest/pipelines
[00:10:06]                 │ debg TestSubjects.find(kibanaChrome)
[00:10:06]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:10:06]                 │ERROR browser[SEVERE] http://localhost:61131/api/licensing/info - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:10:06]                 │ERROR browser[SEVERE] http://localhost:61131/internal/osquery/status - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:10:06]                 │ERROR browser[SEVERE] http://localhost:61131/internal/global_search/searchable_types - Failed to load resource: net::ERR_NETWORK_CHANGED
[00:10:06]                 │ debg ... sleep(501) start
[00:10:06]                 │ debg browser[INFO] http://localhost:61131/42479/bundles/core/core.entry.js 12:157127 "Detected an unhandled Promise rejection.
[00:10:06]                 │      TypeError: Failed to fetch"
[00:10:06]                 │ERROR browser[SEVERE] http://localhost:61131/42479/bundles/core/core.entry.js 5:2514 
[00:10:06]                 │ debg ... sleep(501) end
[00:10:06]                 │ debg in navigateTo url = http://localhost:61131/app/management/ingest/pipelines
[00:10:06]                 │ debg Waiting up to 20000ms for pipline list visible on screen...
[00:10:06]                 │ debg TestSubjects.find(pipelineList)
[00:10:06]                 │ debg Find.findByCssSelector('[data-test-subj="pipelineList"]') with timeout=10000
[00:10:16]                 │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="pipelineList"])
[00:10:16]                 │      Wait timed out after 10024ms
[00:10:17]                 │ debg TestSubjects.find(pipelineList)
[00:10:17]                 │ debg Find.findByCssSelector('[data-test-subj="pipelineList"]') with timeout=10000
[00:10:27]                 │ debg --- retry.waitFor error: Waiting for element to be located By(css selector, [data-test-subj="pipelineList"])
[00:10:27]                 │      Wait timed out after 10019ms
[00:10:27]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/logstash pipeline create new cancel button discards the pipeline and redirects to the list.png"
[00:10:28]                 │ info Current URL is: http://localhost:61131/app/management/ingest/pipelines
[00:10:28]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/logstash pipeline create new cancel button discards the pipeline and redirects to the list.html
[00:10:28]                 └- ✖ fail: logstash pipeline create new cancel button discards the pipeline and redirects to the list
[00:10:28]                 │      Error: timed out waiting for pipline list visible on screen -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="pipelineList"])
[00:10:28]                 │ Wait timed out after 10019ms
[00:10:28]                 │     at /dev/shm/workspace/parallel/13/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:10:28]                 │     at runMicrotasks (<anonymous>)
[00:10:28]                 │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:10:28]                 │       at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
[00:10:28]                 │       at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:10:28]                 │       at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
[00:10:28]                 │       at RetryService.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:59:5)
[00:10:28]                 │       at PipelineList.assertExists (test/functional/services/pipeline_list.js:167:7)
[00:10:28]                 │       at LogstashPageObject.gotoPipelineList (test/functional/page_objects/logstash_page.ts:17:5)
[00:10:28]                 │       at LogstashPageObject.gotoNewPipelineEditor (test/functional/page_objects/logstash_page.ts:21:5)
[00:10:28]                 │       at Context.<anonymous> (test/functional/apps/logstash/pipeline_create.js:95:9)
[00:10:28]                 │       at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:10:28]                 │ 
[00:10:28]                 │ 

Stack Trace

Error: timed out waiting for pipline list visible on screen -- last error: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="pipelineList"])
Wait timed out after 10019ms
    at /dev/shm/workspace/parallel/13/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at onFailure (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:39:13)
    at retryForSuccess (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at retryForTruthy (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry_for_truthy.ts:27:3)
    at RetryService.waitFor (/dev/shm/workspace/parallel/13/kibana/test/common/services/retry/retry.ts:59:5)
    at PipelineList.assertExists (test/functional/services/pipeline_list.js:167:7)
    at LogstashPageObject.gotoPipelineList (test/functional/page_objects/logstash_page.ts:17:5)
    at LogstashPageObject.gotoNewPipelineEditor (test/functional/page_objects/logstash_page.ts:21:5)
    at Context.<anonymous> (test/functional/apps/logstash/pipeline_create.js:95:9)
    at Object.apply (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

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.3MB 6.3MB +62.0B

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

cc @FrankHassanabad

@kibanamachine kibanamachine merged commit 7f950fb into elastic:7.14 Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants