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.16] [Stack monitoring] Remove getAngularInjector and duplicated angular components (#115593) #115826

Merged
merged 3 commits into from
Oct 21, 2021

Conversation

estermv
Copy link
Contributor

@estermv estermv commented Oct 20, 2021

Backports the following commits to 7.16:

…omponents (elastic#115593)

* remove getAngularInjector and old angular components

* Remove suffix from CcrShardReact component

* Remove suffix from ElasticsearchOverviewReact component

* Remove suffix from indexReact component

* Remove suffix from NodeReact component

* Remove suffix from ShardActivityReact

* Remove suffix from ShardAllocationReact component and its childs

* Fix import

* fix translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js
@estermv estermv enabled auto-merge (squash) October 20, 2021 17:04
@kibanamachine
Copy link
Contributor

kibanamachine commented Oct 20, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / jest / Jest Tests.x-pack/plugins/task_manager/server.TaskPool run cancels expired tasks prior to running new tasks

Link to Jenkins

Standard Out

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


Stack Trace

Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

Expected: "Cancelling task TaskType \"shooooo\" as it expired at 2021-10-20T17:34:45.132Z after running for 05m 30s (with timeout set at 5m)."
Received: "Cancelling task TaskType \"shooooo\" as it expired at 2021-10-20T17:34:45.132Z after running for 05m 32s (with timeout set at 5m)."

Number of calls: 1
    at Object.<anonymous> (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/x-pack/plugins/task_manager/server/task_pool.test.ts:271:25)
    at _callCircusTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-circus/build/run.js:212:5)
    at _runTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-circus/build/run.js:149:3)
    at _runTestsForDescribeBlock (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-circus/build/run.js:63:9)
    at _runTestsForDescribeBlock (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-circus/build/run.js:57:9)
    at run (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-circus/build/run.js:25:3)
    at runAndTransformResultsToJestFormat (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:176:21)
    at jestAdapter (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:109:19)
    at runTestInternal (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-runner/build/runTest.js:380:16)
    at runTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-runner/build/runTest.js:472:34)
    at Object.worker (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-runner/build/testWorker.js:133:12)

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/dashboard/feature_controls/time_to_visualize_security·ts.dashboard feature controls dashboard time to visualize security visualize by value works without library save permissions can add a markdown panel by value

Link to Jenkins

Standard Out

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

[00:00:00]     │
[00:00:00]       └-: dashboard
[00:00:00]         └-> "before all" hook in "dashboard"
[00:00:00]         └-: feature controls
[00:00:00]           └-> "before all" hook in "feature controls"
[00:06:02]           └-: dashboard time to visualize security
[00:06:02]             └-> "before all" hook in "dashboard time to visualize security"
[00:06:02]             └-> "before all" hook in "dashboard time to visualize security"
[00:06:02]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Loading "mappings.json"
[00:06:02]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Loading "data.json"
[00:06:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_7.16.0_001/kgdJ351vRSm1UHtq-E5gEQ] deleting index
[00:06:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/5Nfe1fCuQdq-J11lKXlvCw] deleting index
[00:06:02]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.16.0_001/xnx0Y2k-S_-1epacxfnrDA] deleting index
[00:06:02]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_task_manager_7.16.0_001"
[00:06:02]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_7.16.0_001"
[00:06:02]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Deleted existing index ".kibana_1"
[00:06:02]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[0]
[00:06:02]               │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:06:02]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Created index ".kibana_1"
[00:06:02]               │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] ".kibana_1" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:06:02]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_1/b6WSlVtJTDWvHFm2WjnMbw] update_mapping [doc]
[00:06:02]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_1/b6WSlVtJTDWvHFm2WjnMbw] update_mapping [doc]
[00:06:02]               │ info [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Indexed 7 docs into ".kibana"
[00:06:02]               │ debg Migrating saved objects
[00:06:02]               │ proc [kibana]   log   [17:42:59.407] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 4ms.
[00:06:02]               │ proc [kibana]   log   [17:42:59.410] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 19ms.
[00:06:02]               │ proc [kibana]   log   [17:42:59.415] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 5ms.
[00:06:02]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_7.16.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:06:02]               │ 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:06:02]               │ proc [kibana]   log   [17:42:59.424] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 9ms.
[00:06:03]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/b6WSlVtJTDWvHFm2WjnMbw]]
[00:06:03]               │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager_7.16.0_001][0]]]).
[00:06:03]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:06:03]               │ proc [kibana]   log   [17:42:59.517] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 110ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.535] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 111ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.540] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 5ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.555] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 38ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.555] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 152ms
[00:06:03]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.16.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:06:03]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.16.0_reindex_temp]
[00:06:03]               │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.16.0_reindex_temp][0]]]).
[00:06:03]               │ proc [kibana]   log   [17:42:59.607] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 67ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.612] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 5ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.619] [info][savedobjects-service] [.kibana] Starting to process 7 documents.
[00:06:03]               │ proc [kibana]   log   [17:42:59.619] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_TRANSFORM. took: 7ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.637] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_TRANSFORM -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 18ms.
[00:06:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_reindex_temp/pF3jLGTnTzCXNtgQnQsFHA] update_mapping [_doc]
[00:06:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_reindex_temp/pF3jLGTnTzCXNtgQnQsFHA] update_mapping [_doc]
[00:06:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_reindex_temp/pF3jLGTnTzCXNtgQnQsFHA] update_mapping [_doc]
[00:06:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_reindex_temp/pF3jLGTnTzCXNtgQnQsFHA] update_mapping [_doc]
[00:06:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_reindex_temp/pF3jLGTnTzCXNtgQnQsFHA] update_mapping [_doc]
[00:06:03]               │ proc [kibana]   log   [17:42:59.783] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 146ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.790] [info][savedobjects-service] [.kibana] Processed 7 documents out of 7.
[00:06:03]               │ proc [kibana]   log   [17:42:59.790] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 7ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.793] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 3ms.
[00:06:03]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_7.16.0_reindex_temp/pF3jLGTnTzCXNtgQnQsFHA]]
[00:06:03]               │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_7.16.0_reindex_temp]
[00:06:03]               │ proc [kibana]   log   [17:42:59.838] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 45ms.
[00:06:03]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_7.16.0_reindex_temp] metadata
[00:06:03]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.16.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:06:03]               │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.16.0_001]
[00:06:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/LgfJgF61RAux_DNuGpHKKQ] create_mapping [_doc]
[00:06:03]               │ info [o.e.c.r.a.AllocationService] [node-01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_7.16.0_001][0]]]).
[00:06:03]               │ proc [kibana]   log   [17:42:59.961] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 123ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.965] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.969] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.976] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 7ms.
[00:06:03]               │ proc [kibana]   log   [17:42:59.979] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 3ms.
[00:06:03]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/LgfJgF61RAux_DNuGpHKKQ] update_mapping [_doc]
[00:06:03]               │ proc [kibana]   log   [17:43:00.055] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 76ms.
[00:06:03]               │ info [o.e.t.LoggingTaskListener] [node-01] 9189 finished with response BulkByScrollResponse[took=31.5ms,timed_out=false,sliceId=null,updated=7,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:06:03]               │ proc [kibana]   log   [17:43:00.161] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 106ms.
[00:06:03]               │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.16.0_reindex_temp/pF3jLGTnTzCXNtgQnQsFHA] deleting index
[00:06:03]               │ proc [kibana]   log   [17:43:00.202] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 41ms.
[00:06:03]               │ proc [kibana]   log   [17:43:00.202] [info][savedobjects-service] [.kibana] Migration completed after 811ms
[00:06:03]               │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Migrated Kibana index after loading Kibana data
[00:06:04]               │ debg [x-pack/test/functional/es_archives/dashboard/feature_controls/security] Ensured that default space exists in .kibana
[00:06:04]               │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyPieChartsLibrary":true}
[00:06:05]               │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "mappings.json"
[00:06:05]               │ info [x-pack/test/functional/es_archives/logstash_functional] Loading "data.json.gz"
[00:06:05]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:06:05]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:06:05]               │ info [x-pack/test/functional/es_archives/logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:06:07]               │ debg SecurityPage.forceLogout
[00:06:07]               │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:06:07]               │ debg Already on the login page, not forcing anything
[00:06:07]               │ debg creating role dashboard_write_vis_read
[00:06:07]               │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [dashboard_write_vis_read]
[00:06:07]               │ debg creating user dashboard_write_vis_read_user
[00:06:07]               │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [dashboard_write_vis_read_user]
[00:06:07]               │ debg created user dashboard_write_vis_read_user
[00:06:07]               │ debg TestSubjects.exists(loginForm)
[00:06:07]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:07]               │ debg Waiting for Login Form to appear.
[00:06:07]               │ debg Waiting up to 100000ms for login form...
[00:06:07]               │ debg TestSubjects.exists(loginForm)
[00:06:07]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="loginForm"]') with timeout=2500
[00:06:07]               │ debg TestSubjects.setValue(loginUsername, dashboard_write_vis_read_user)
[00:06:07]               │ debg TestSubjects.click(loginUsername)
[00:06:07]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:07]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:06:08]               │ debg TestSubjects.setValue(loginPassword, dashboard_write_vis_read_user-password)
[00:06:08]               │ debg TestSubjects.click(loginPassword)
[00:06:08]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:08]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:06:08]               │ debg TestSubjects.click(loginSubmit)
[00:06:08]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:08]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:06:08]               │ debg Waiting for login result, expected: undefined.
[00:06:08]               │ debg Waiting up to 20000ms for logout button visible...
[00:06:08]               │ debg TestSubjects.exists(userMenuButton)
[00:06:08]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:06:08]               │ proc [kibana]   log   [17:43:04.870] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:06:10]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/LgfJgF61RAux_DNuGpHKKQ] update_mapping [_doc]
[00:06:10]               │ debg browser[INFO] http://localhost:6171/app/home 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:06:10]               │
[00:06:10]               │ debg browser[INFO] http://localhost:6171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:06:11]               │ debg TestSubjects.exists(userMenu)
[00:06:11]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:06:13]               │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:06:14]               │ debg TestSubjects.click(userMenuButton)
[00:06:14]               │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:14]               │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:06:14]               │ debg TestSubjects.exists(userMenu)
[00:06:14]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=120000
[00:06:14]               │ debg TestSubjects.exists(userMenu > logoutLink)
[00:06:14]               │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:09:11]             └-: visualize by value works without library save permissions
[00:09:11]               └-> "before all" hook for "can add a markdown panel by value"
[00:09:11]               └-> "before all" hook for "can add a markdown panel by value"
[00:09:11]                 │ debg navigating to dashboard url: http://localhost:6171/app/dashboards#/list
[00:09:11]                 │ debg navigate to: http://localhost:6171/app/dashboards#/list
[00:09:12]                 │ debg browser[INFO] http://localhost:6171/app/dashboards?_t=1634751968309#/list 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:12]                 │
[00:09:12]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:12]                 │ debg ... sleep(700) start
[00:09:12]                 │ debg ... sleep(700) end
[00:09:12]                 │ debg returned from get, calling refresh
[00:09:13]                 │ debg browser[INFO] http://localhost:6171/app/dashboards?_t=1634751968309#/list 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:13]                 │
[00:09:13]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:14]                 │ debg currentUrl = http://localhost:6171/app/dashboards#/list
[00:09:14]                 │          appUrl = http://localhost:6171/app/dashboards#/list
[00:09:14]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:14]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:14]                 │ debg ... sleep(501) start
[00:09:15]                 │ debg ... sleep(501) end
[00:09:15]                 │ debg in navigateTo url = http://localhost:6171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:09:15]                 │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:09:15]                 │ debg ... sleep(501) start
[00:09:16]                 │ debg ... sleep(501) end
[00:09:16]                 │ debg in navigateTo url = http://localhost:6171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:09:16]                 │ debg isGlobalLoadingIndicatorVisible
[00:09:16]                 │ debg TestSubjects.exists(globalLoadingIndicator)
[00:09:16]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:09:16]                 │ debg browser[INFO] http://localhost:6171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now)) 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:16]                 │
[00:09:16]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:17]                 │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:09:17]                 │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:09:18]                 │ debg TestSubjects.exists(newItemButton)
[00:09:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:18]                 │ debg TestSubjects.click(newItemButton)
[00:09:18]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:18]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:18]                 │ debg TestSubjects.exists(dashboardCreateConfirm)
[00:09:18]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardCreateConfirm"]') with timeout=2500
[00:09:21]                 │ warn browser[SEVERE] http://localhost:6171/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:09:21]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardCreateConfirm"] is not displayed
[00:09:21]                 │ debg waitForRenderComplete
[00:09:21]                 │ debg in getSharedItemsCount
[00:09:21]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:09:21]                 │ debg Renderable.waitForRender for 0 elements
[00:09:21]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:09:32]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:09:33]               └-> can add a markdown panel by value
[00:09:33]                 └-> "before each" hook: global before each for "can add a markdown panel by value"
[00:09:33]                 │ debg navigating to dashboard url: http://localhost:6171/app/dashboards#/list
[00:09:33]                 │ debg navigate to: http://localhost:6171/app/dashboards#/list
[00:09:33]                 │ debg browser[INFO] http://localhost:6171/app/dashboards?_t=1634751989464#/list 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:6171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:33]                 │ debg ... sleep(700) start
[00:09:33]                 │ debg ... sleep(700) end
[00:09:33]                 │ debg returned from get, calling refresh
[00:09:34]                 │ warn browser[SEVERE] http://localhost:6171/45482/bundles/core/core.entry.js 7:106460 TypeError: Failed to fetch
[00:09:34]                 │          at fetch_Fetch.fetchResponse (http://localhost:6171/45482/bundles/core/core.entry.js:8:56535)
[00:09:34]                 │          at async http://localhost:6171/45482/bundles/core/core.entry.js:8:55123
[00:09:34]                 │          at async http://localhost:6171/45482/bundles/core/core.entry.js:8:55080
[00:09:35]                 │ debg browser[INFO] http://localhost:6171/app/dashboards?_t=1634751989464#/list 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:35]                 │
[00:09:35]                 │ debg browser[INFO] http://localhost:6171/bootstrap.js 41:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:09:35]                 │ debg currentUrl = http://localhost:6171/app/dashboards#/list
[00:09:35]                 │          appUrl = http://localhost:6171/app/dashboards#/list
[00:09:35]                 │ debg TestSubjects.find(kibanaChrome)
[00:09:35]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:09:35]                 │ debg ... sleep(501) start
[00:09:36]                 │ debg ... sleep(501) end
[00:09:36]                 │ debg in navigateTo url = http://localhost:6171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:09:36]                 │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:09:36]                 │ debg ... sleep(501) start
[00:09:37]                 │ debg ... sleep(501) end
[00:09:37]                 │ debg in navigateTo url = http://localhost:6171/app/dashboards#/list?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:09:37]                 │ debg TestSubjects.exists(newItemButton)
[00:09:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:37]                 │ debg TestSubjects.click(newItemButton)
[00:09:37]                 │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:37]                 │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:09:37]                 │ debg TestSubjects.exists(dashboardCreateConfirm)
[00:09:37]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="dashboardCreateConfirm"]') with timeout=2500
[00:09:40]                 │ warn browser[SEVERE] http://localhost:6171/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:09:40]                 │ debg --- retry.tryForTime error: [data-test-subj="dashboardCreateConfirm"] is not displayed
[00:09:40]                 │ debg waitForRenderComplete
[00:09:40]                 │ debg in getSharedItemsCount
[00:09:40]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:09:40]                 │ debg Renderable.waitForRender for 0 elements
[00:09:40]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:09:47]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_7.16.0_001/TycmmZoIRqGKAcH8PUkZ9A] update_mapping [_doc]
[00:09:50]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:09:51]                 │ debg waitForRenderComplete
[00:09:51]                 │ debg in getSharedItemsCount
[00:09:51]                 │ debg Find.findByCssSelector('[data-shared-items-count]') with timeout=10000
[00:09:51]                 │ debg Renderable.waitForRender for 0 elements
[00:09:51]                 │ debg Find.allByCssSelector('[data-render-complete="true"]') with timeout=10000
[00:10:01]                 │ debg Find.allByCssSelector('[data-loading]') with timeout=1000
[00:10:02]                 │ debg DashboardAddPanel.clickQuickButtonmarkdown
[00:10:02]                 │ debg TestSubjects.click(dashboardQuickButtonmarkdown)
[00:10:02]                 │ debg Find.clickByCssSelector('[data-test-subj="dashboardQuickButtonmarkdown"]') with timeout=10000
[00:10:02]                 │ debg Find.findByCssSelector('[data-test-subj="dashboardQuickButtonmarkdown"]') with timeout=10000
[00:10:02]                 │ debg TestSubjects.find(markdownTextarea)
[00:10:02]                 │ debg Find.findByCssSelector('[data-test-subj="markdownTextarea"]') with timeout=10000
[00:10:03]                 │ warn browser[SEVERE] http://localhost:6171/api/kibana/settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
[00:10:03]                 │ debg -- isNewChartsLibraryEnabled = false
[00:10:03]                 │ debg TestSubjects.find(visualizationLoader)
[00:10:03]                 │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:10:03]                 │ debg Before Rendering count 1
[00:10:03]                 │ debg TestSubjects.clickWhenNotDisabled(visualizeEditorRenderButton)
[00:10:03]                 │ debg Find.clickByCssSelectorWhenNotDisabled('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:10:03]                 │ debg Find.findByCssSelector('[data-test-subj="visualizeEditorRenderButton"]') with timeout=10000
[00:10:04]                 │ warn WebElementWrapper.click: element click intercepted: Element <button class="euiButton euiButton--primary euiButton--small euiButton--fill" type="button" data-test-subj="visualizeEditorRenderButton">...</button> is not clickable at point (1444, 976). Other element would receive the click: <div class="euiToast euiToast--danger euiGlobalToastListItem" id="1">...</div>
[00:10:04]                 │        (Session info: headless chrome=94.0.4606.81)
[00:10:04]                 │ debg finding element 'By(css selector, [data-test-subj="visualizeEditorRenderButton"])' again, 2 attempts left
[00:10:06]                 │ warn WebElementWrapper.click: element click intercepted: Element <button class="euiButton euiButton--primary euiButton--small euiButton--fill" type="button" data-test-subj="visualizeEditorRenderButton">...</button> is not clickable at point (1444, 976). Other element would receive the click: <div class="euiToast euiToast--danger euiGlobalToastListItem" id="1">...</div>
[00:10:06]                 │        (Session info: headless chrome=94.0.4606.81)
[00:10:06]                 │ debg finding element 'By(css selector, [data-test-subj="visualizeEditorRenderButton"])' again, 1 attempts left
[00:10:07]                 │ warn WebElementWrapper.click: element click intercepted: Element <button class="euiButton euiButton--primary euiButton--small euiButton--fill" type="button" data-test-subj="visualizeEditorRenderButton">...</button> is not clickable at point (1444, 976). Other element would receive the click: <div class="euiToast euiToast--danger euiGlobalToastListItem" id="1">...</div>
[00:10:07]                 │        (Session info: headless chrome=94.0.4606.81)
[00:10:07]                 │ debg finding element 'By(css selector, [data-test-subj="visualizeEditorRenderButton"])' again, 0 attempts left
[00:10:08]                 │ info Taking screenshot "/dev/shm/workspace/parallel/7/kibana/x-pack/test/functional/screenshots/failure/dashboard feature controls dashboard time to visualize security visualize by value works without library save permissions can add a markdown panel by value.png"
[00:10:08]                 │ info Current URL is: http://localhost:6171/app/visualize#/create?type=markdown&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(fontSize:12,markdown:%27%27,openLinksInNewTab:!f),title:%27%27,type:markdown))
[00:10:08]                 │ info Saving page source to: /dev/shm/workspace/parallel/7/kibana/x-pack/test/functional/failure_debug/html/dashboard feature controls dashboard time to visualize security visualize by value works without library save permissions can add a markdown panel by value.html
[00:10:08]                 └- ✖ fail: dashboard feature controls dashboard time to visualize security visualize by value works without library save permissions can add a markdown panel by value
[00:10:08]                 │      ElementClickInterceptedError: element click intercepted: Element <button class="euiButton euiButton--primary euiButton--small euiButton--fill" type="button" data-test-subj="visualizeEditorRenderButton">...</button> is not clickable at point (1444, 976). Other element would receive the click: <div class="euiToast euiToast--danger euiGlobalToastListItem" id="1">...</div>
[00:10:08]                 │   (Session info: headless chrome=94.0.4606.81)
[00:10:08]                 │       at Object.throwDecodedError (/dev/shm/workspace/parallel/7/kibana/node_modules/selenium-webdriver/lib/error.js:517:15)
[00:10:08]                 │       at parseHttpResponse (/dev/shm/workspace/parallel/7/kibana/node_modules/selenium-webdriver/lib/http.js:643:13)
[00:10:08]                 │       at Executor.execute (/dev/shm/workspace/parallel/7/kibana/node_modules/selenium-webdriver/lib/http.js:569:28)
[00:10:08]                 │       at runMicrotasks (<anonymous>)
[00:10:08]                 │       at processTicksAndRejections (node:internal/process/task_queues:96:5)
[00:10:08]                 │       at Task.exec (/dev/shm/workspace/parallel/7/kibana/test/functional/services/remote/prevent_parallel_calls.ts:28:20)
[00:10:08]                 │ 
[00:10:08]                 │ 

Stack Trace

ElementClickInterceptedError: element click intercepted: Element <button class="euiButton euiButton--primary euiButton--small euiButton--fill" type="button" data-test-subj="visualizeEditorRenderButton">...</button> is not clickable at point (1444, 976). Other element would receive the click: <div class="euiToast euiToast--danger euiGlobalToastListItem" id="1">...</div>
  (Session info: headless chrome=94.0.4606.81)
    at Object.throwDecodedError (/dev/shm/workspace/parallel/7/kibana/node_modules/selenium-webdriver/lib/error.js:517:15)
    at parseHttpResponse (/dev/shm/workspace/parallel/7/kibana/node_modules/selenium-webdriver/lib/http.js:643:13)
    at Executor.execute (/dev/shm/workspace/parallel/7/kibana/node_modules/selenium-webdriver/lib/http.js:569:28)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Task.exec (/dev/shm/workspace/parallel/7/kibana/test/functional/services/remote/prevent_parallel_calls.ts:28:20) {
  remoteStacktrace: '#0 0x563a45ef98f3 <unknown>\n' +
    '#1 0x563a459deba8 <unknown>\n' +
    '#2 0x563a45a1bf0a <unknown>\n' +
    '#3 0x563a45a199b4 <unknown>\n' +
    '#4 0x563a45a1713a <unknown>\n' +
    '#5 0x563a45a15aec <unknown>\n' +
    '#6 0x563a45a09818 <unknown>\n' +
    '#7 0x563a45a31e72 <unknown>\n' +
    '#8 0x563a45a09593 <unknown>\n' +
    '#9 0x563a45a31f7e <unknown>\n' +
    '#10 0x563a45a44dac <unknown>\n' +
    '#11 0x563a45a31d63 <unknown>\n' +
    '#12 0x563a45a08144 <unknown>\n' +
    '#13 0x563a45a09135 <unknown>\n' +
    '#14 0x563a45f28c3e <unknown>\n' +
    '#15 0x563a45f3e6b7 <unknown>\n' +
    '#16 0x563a45f29b95 <unknown>\n' +
    '#17 0x563a45f3fb05 <unknown>\n' +
    '#18 0x563a45f1e2ab <unknown>\n' +
    '#19 0x563a45f5a248 <unknown>\n' +
    '#20 0x563a45f5a3c8 <unknown>\n' +
    '#21 0x563a45f7533d <unknown>\n' +
    '#22 0x7ff9bd3106ba start_thread\n'
}

Kibana Pipeline / general / X-Pack API Integration Tests.x-pack/test/api_integration/apis/ml/jobs/categorization_field_examples·ts.apis Machine Learning jobs Categorization example endpoint - valid with good number of tokens

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]     │
[00:00:00]       └-: apis
[00:00:00]         └-> "before all" hook in "apis"
[00:09:53]         └-: Machine Learning
[00:09:53]           └-> "before all" hook in "Machine Learning"
[00:09:53]           └-> "before all" hook in "Machine Learning"
[00:09:53]             │ debg creating role ft_ml_source
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_source]
[00:09:53]             │ debg creating role ft_ml_source_readonly
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_source_readonly]
[00:09:53]             │ debg creating role ft_ml_dest
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_dest]
[00:09:53]             │ debg creating role ft_ml_dest_readonly
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_dest_readonly]
[00:09:53]             │ debg creating role ft_ml_ui_extras
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_ml_ui_extras]
[00:09:53]             │ debg creating role ft_default_space_ml_all
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space_ml_all]
[00:09:53]             │ debg creating role ft_default_space1_ml_all
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space1_ml_all]
[00:09:53]             │ debg creating role ft_all_spaces_ml_all
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_all_spaces_ml_all]
[00:09:53]             │ debg creating role ft_default_space_ml_read
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space_ml_read]
[00:09:53]             │ debg creating role ft_default_space1_ml_read
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space1_ml_read]
[00:09:53]             │ debg creating role ft_all_spaces_ml_read
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_all_spaces_ml_read]
[00:09:53]             │ debg creating role ft_default_space_ml_none
[00:09:53]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [node-01] added role [ft_default_space_ml_none]
[00:09:53]             │ debg creating user ft_ml_poweruser
[00:09:53]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser]
[00:09:53]             │ debg created user ft_ml_poweruser
[00:09:53]             │ debg creating user ft_ml_poweruser_spaces
[00:09:53]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_spaces]
[00:09:53]             │ debg created user ft_ml_poweruser_spaces
[00:09:53]             │ debg creating user ft_ml_poweruser_space1
[00:09:53]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_space1]
[00:09:53]             │ debg created user ft_ml_poweruser_space1
[00:09:53]             │ debg creating user ft_ml_poweruser_all_spaces
[00:09:53]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_poweruser_all_spaces]
[00:09:53]             │ debg created user ft_ml_poweruser_all_spaces
[00:09:53]             │ debg creating user ft_ml_viewer
[00:09:54]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer]
[00:09:54]             │ debg created user ft_ml_viewer
[00:09:54]             │ debg creating user ft_ml_viewer_spaces
[00:09:54]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer_spaces]
[00:09:54]             │ debg created user ft_ml_viewer_spaces
[00:09:54]             │ debg creating user ft_ml_viewer_space1
[00:09:54]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer_space1]
[00:09:54]             │ debg created user ft_ml_viewer_space1
[00:09:54]             │ debg creating user ft_ml_viewer_all_spaces
[00:09:54]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_viewer_all_spaces]
[00:09:54]             │ debg created user ft_ml_viewer_all_spaces
[00:09:54]             │ debg creating user ft_ml_unauthorized
[00:09:54]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_unauthorized]
[00:09:54]             │ debg created user ft_ml_unauthorized
[00:09:54]             │ debg creating user ft_ml_unauthorized_spaces
[00:09:54]             │ info [o.e.x.s.a.u.TransportPutUserAction] [node-01] added user [ft_ml_unauthorized_spaces]
[00:09:54]             │ debg created user ft_ml_unauthorized_spaces
[00:14:08]           └-: jobs
[00:14:08]             └-> "before all" hook in "jobs"
[00:14:08]             └-: Categorization example endpoint - 
[00:14:08]               └-> "before all" hook for "valid with good number of tokens"
[00:14:08]               └-> "before all" hook for "valid with good number of tokens"
[00:14:08]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Loading "mappings.json"
[00:14:08]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Loading "data.json.gz"
[00:14:08]                 │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [ft_categorization] creating index, cause [api], templates [], shards [1]/[0]
[00:14:08]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Created index "ft_categorization"
[00:14:08]                 │ debg [x-pack/test/functional/es_archives/ml/categorization] "ft_categorization" settings {"index":{"number_of_replicas":"0","number_of_shards":"1"}}
[00:14:09]                 │ info [x-pack/test/functional/es_archives/ml/categorization] Indexed 1501 docs into "ft_categorization"
[00:14:09]                 │ debg applying update to kibana config: {"dateFormat:tz":"UTC"}
[00:14:09]               └-> valid with good number of tokens
[00:14:09]                 └-> "before each" hook: global before each for "valid with good number of tokens"
[00:14:10]                 └- ✖ fail: apis Machine Learning jobs Categorization example endpoint -  valid with good number of tokens
[00:14:10]                 │       Error: expected [ { id: 3,
[00:14:10]                 │     valid: 'valid',
[00:14:10]                 │     message: '1000 field values analyzed, 96% contain 3 or more tokens.' } ] to sort of equal [ { id: 3,
[00:14:10]                 │     valid: 'valid',
[00:14:10]                 │     message: '1000 field values analyzed, 95% contain 3 or more tokens.' } ]
[00:14:10]                 │       + expected - actual
[00:14:10]                 │ 
[00:14:10]                 │        [
[00:14:10]                 │          {
[00:14:10]                 │            "id": 3
[00:14:10]                 │       -    "message": "1000 field values analyzed, 96% contain 3 or more tokens."
[00:14:10]                 │       +    "message": "1000 field values analyzed, 95% contain 3 or more tokens."
[00:14:10]                 │            "valid": "valid"
[00:14:10]                 │          }
[00:14:10]                 │        ]
[00:14:10]                 │       
[00:14:10]                 │       at Assertion.assert (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:14:10]                 │       at Assertion.eql (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/expect/expect.js:244:8)
[00:14:10]                 │       at Context.<anonymous> (test/api_integration/apis/ml/jobs/categorization_field_examples.ts:304:42)
[00:14:10]                 │       at runMicrotasks (<anonymous>)
[00:14:10]                 │       at processTicksAndRejections (node:internal/process/task_queues:96:5)
[00:14:10]                 │       at Object.apply (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:14:10]                 │ 
[00:14:10]                 │ 

Stack Trace

Error: expected [ { id: 3,
    valid: 'valid',
    message: '1000 field values analyzed, 96% contain 3 or more tokens.' } ] to sort of equal [ { id: 3,
    valid: 'valid',
    message: '1000 field values analyzed, 95% contain 3 or more tokens.' } ]
    at Assertion.assert (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.eql (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/expect/expect.js:244:8)
    at Context.<anonymous> (test/api_integration/apis/ml/jobs/categorization_field_examples.ts:304:42)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.apply (/dev/shm/workspace/parallel/22/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16) {
  actual: '[\n' +
    '  {\n' +
    '    "id": 3\n' +
    '    "message": "1000 field values analyzed, 96% contain 3 or more tokens."\n' +
    '    "valid": "valid"\n' +
    '  }\n' +
    ']',
  expected: '[\n' +
    '  {\n' +
    '    "id": 3\n' +
    '    "message": "1000 field values analyzed, 95% contain 3 or more tokens."\n' +
    '    "valid": "valid"\n' +
    '  }\n' +
    ']',
  showDiff: true
}

Metrics [docs]

‼️ ERROR: no builds found for mergeBase sha [18a137c]

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

@estermv
Copy link
Contributor Author

estermv commented Oct 21, 2021

@elasticmachine merge upstream

@estermv estermv merged commit d1ac821 into elastic:7.16 Oct 21, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
monitoring 523 516 -7

Async chunks

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

id before after diff
monitoring 487.4KB 483.6KB -3.8KB

Page load bundle

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

id before after diff
monitoring 20.2KB 20.1KB -80.0B

History

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

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