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.x] Alert creation and freeform selection (#111883) #113444

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

Allow selecting any service name, transaction type (where appropriate), and environment when creating and editing rules, both in APM and Stack Management.

- Create /internal/apm/suggestions endpoint that uses `terms_enum`
- Use combo box for environment, service name, and transaction type with suggestions endpoint on all alerts
- Remove "Go to APM" callouts on new alert creation
- Wrap calls to `createCallApmApi` in alert triggers with `useEffect`
- Use `getEnvironmentLabel` for value in environment field expression
- Make all `AlertParams` fields optional (except in latency threshold alert)
- Add e2e tests for creating an alert
- Remove `NewAlertEmptyPrompt` component and `isNewApmRuleFromStackManagement` helper
- Replace `maxServiceEnvironments` and `maxServiceSelections` config options with `maxSuggestions` advanced setting.


![CleanShot 2021-09-28 at 10 35 58](https://user-images.githubusercontent.com/9912/135119948-e247615a-d235-4feb-b197-b803f165ad1e.gif)

Fixes elastic#106786
@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/status_page/status_page·ts.Status page Status Page allows user to navigate without authentication

Link to Jenkins

Standard Out

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

[00:00:00]     │
[00:03:39]       └-: Status page
[00:03:39]         └-> "before all" hook in "Status page"
[00:03:39]         └-: Status Page
[00:03:39]           └-> "before all" hook for "allows user to navigate without authentication"
[00:03:39]           └-> "before all" hook for "allows user to navigate without authentication"
[00:03:39]             │ info [x-pack/test/functional/es_archives/empty_kibana] Loading "mappings.json"
[00:03:39]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.16.0_001/94kwj8AuTGqlXSx1OtnM_Q] deleting index
[00:03:39]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_7.16.0_001/G1KaNb-bTTugvLrTnaKGCA] deleting index
[00:03:39]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/gAxF3hxiSACT63nx2rjsHg] deleting index
[00:03:39]             │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_task_manager_7.16.0_001"
[00:03:39]             │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_7.16.0_001"
[00:03:39]             │ info [x-pack/test/functional/es_archives/empty_kibana] Deleted existing index ".kibana_1"
[00:03:39]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:03:39]             │ info [x-pack/test/functional/es_archives/empty_kibana] Created index ".kibana_1"
[00:03:39]             │ debg [x-pack/test/functional/es_archives/empty_kibana] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:03:39]             │ debg Migrating saved objects
[00:03:39]             │ proc [kibana]   log   [16:51:24.579] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 3ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.581] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 7ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.583] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 2ms.
[00:03:39]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_7.16.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:03:39]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.16.0_001]
[00:03:39]             │ proc [kibana]   log   [16:51:24.588] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 5ms.
[00:03:39]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/lPzI2l45QE6PPfs1Boqt_w]]
[00:03:39]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:03:39]             │ proc [kibana]   log   [16:51:24.666] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 87ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.686] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 98ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.691] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 5ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.710] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 44ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.710] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 134ms
[00:03:39]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.16.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:03:39]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.16.0_reindex_temp]
[00:03:39]             │ proc [kibana]   log   [16:51:24.767] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 76ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.771] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.777] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 6ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.781] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:03:39]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_7.16.0_reindex_temp/dQo2Tr_uQAG5K-Gvm5pd9w]]
[00:03:39]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_7.16.0_reindex_temp]
[00:03:39]             │ proc [kibana]   log   [16:51:24.829] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 48ms.
[00:03:39]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_7.16.0_reindex_temp] metadata
[00:03:39]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.16.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:03:39]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.16.0_001]
[00:03:39]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/iHoImKd3Qs2B5Wq5CTvwCQ] create_mapping [_doc]
[00:03:39]             │ proc [kibana]   log   [16:51:24.933] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 104ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.938] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 5ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.942] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.949] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:03:39]             │ proc [kibana]   log   [16:51:24.951] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 2ms.
[00:03:39]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/iHoImKd3Qs2B5Wq5CTvwCQ] update_mapping [_doc]
[00:03:39]             │ proc [kibana]   log   [16:51:25.023] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 72ms.
[00:03:39]             │ info [o.e.t.LoggingTaskListener] [node-01] 8701 finished with response BulkByScrollResponse[took=2.5ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:03:39]             │ proc [kibana]   log   [16:51:25.128] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:03:39]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.16.0_reindex_temp/dQo2Tr_uQAG5K-Gvm5pd9w] deleting index
[00:03:40]             │ proc [kibana]   log   [16:51:25.184] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 56ms.
[00:03:40]             │ proc [kibana]   log   [16:51:25.184] [info][savedobjects-service] [.kibana] Migration completed after 610ms
[00:03:40]             │ debg [x-pack/test/functional/es_archives/empty_kibana] Migrated Kibana index after loading Kibana data
[00:03:40]             │ debg [x-pack/test/functional/es_archives/empty_kibana] Ensured that default space exists in .kibana
[00:03:40]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyPieChartsLibrary":true}
[00:03:40]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/iHoImKd3Qs2B5Wq5CTvwCQ] update_mapping [_doc]
[00:03:42]           └-> allows user to navigate without authentication
[00:03:42]             └-> "before each" hook: global before each for "allows user to navigate without authentication"
[00:03:42]             │ debg SecurityPage.forceLogout
[00:03:42]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:03:42]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:03:43]             │ debg Redirecting to /logout to force the logout
[00:03:43]             │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:43]             │ debg Waiting on the login form to appear
[00:03:43]             │ debg Waiting for Login Page to appear.
[00:03:43]             │ debg Waiting up to 100000ms for login page...
[00:03:43]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:03:58]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:03:58]             │ERROR browser[error] (new Error("Setup lifecycle of \"monitoring\" plugin wasn't completed in 10sec. Consider disabling the plugin and re-start.", "http://localhost:6161/44738/bundles/core/core.entry.js", 8))
[00:03:58]             │ debg browser[log] "Detected an unhandled Promise rejection.\nError: Setup lifecycle of \"monitoring\" plugin wasn't completed in 10sec. Consider disabling the plugin and re-start."
[00:03:58]             │ debg browser[log] "Detected an unhandled Promise rejection.\nEmptyError: no elements in sequence"
[00:03:59]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:01]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:02]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:05]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:06]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:08]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:09]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:12]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:13]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:15]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:16]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:19]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:20]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:22]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:23]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:26]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:27]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:29]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:30]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:33]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:34]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:36]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:37]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:40]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:41]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:43]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_7.16.0_001/GEUT_bSZRUS_4PZWMRKF2A] update_mapping [_doc]
[00:04:44]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:45]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:47]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:48]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:51]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:52]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:54]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:55]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:04:58]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:04:59]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:01]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:02]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:05]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:06]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:08]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:09]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:12]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:13]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:15]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:16]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:19]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:20]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:22]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:23]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:26]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:27]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:29]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:30]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:33]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:34]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:36]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:37]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:40]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:41]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:44]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:45]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:47]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:48]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:51]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:52]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:54]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:55]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:05:58]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:05:59]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:01]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:02]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:05]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:06]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:08]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:09]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:12]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:13]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:15]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:16]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:19]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:20]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:22]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:23]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:26]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:27]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:29]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:30]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:33]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:34]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:36]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:37]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:40]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:41]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:44]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:45]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:47]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:48]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:51]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:52]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:54]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:55]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:06:58]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:06:59]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:01]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:02]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:05]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:06]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:08]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:09]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:12]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:13]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:15]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:16]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:19]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:20]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:22]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:23]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:26]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:27]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:29]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:30]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:33]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:34]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:36]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:37]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:40]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:41]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:43]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:44]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:47]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:48]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:50]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:51]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:54]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:55]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:07:58]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:07:59]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:01]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:02]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:05]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:06]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:08]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:09]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:12]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:13]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:15]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:16]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:19]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:20]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:22]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:23]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:26]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:27]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:29]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:30]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:33]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:34]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:36]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:37]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:40]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:41]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:43]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:44]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:47]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:48]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:51]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:52]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:54]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:55]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:08:58]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:08:59]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:01]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:02]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:05]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:06]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:08]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:09]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:12]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:13]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:15]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:16]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:19]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:20]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:22]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:23]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:26]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:27]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:29]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:30]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:33]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:34]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:36]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:37]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:40]             │ debg --- retry.tryForTime error: .login-form is not displayed
[00:09:41]             │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:09:42]             └- ✖ fail: Status page Status Page allows user to navigate without authentication
[00:09:42]             │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/apps/status_page/status_page.ts)
[00:09:42]             │       at listOnTimeout (internal/timers.js:557:17)
[00:09:42]             │       at processTimers (internal/timers.js:500:7)
[00:09:42]             │ 
[00:09:42]             │ 

Stack Trace

Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/6/kibana/x-pack/test/functional/apps/status_page/status_page.ts)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
observability 232 234 +2

Async chunks

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

id before after diff
apm 2.7MB 2.7MB -2.0KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
apm 36 37 +1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observability 28.6KB 28.6KB +6.0B
Unknown metric groups

API count

id before after diff
observability 232 234 +2

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

cc @smith

@kibanamachine kibanamachine merged commit 0a41af9 into elastic:7.x Sep 29, 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