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.15] normalize initialNamespaces (#110936) #111032

Closed

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.15:

@pgayvallet
Copy link
Contributor

retest

1 similar comment
@pgayvallet
Copy link
Contributor

retest

@kibanamachine
Copy link
Contributor Author

kibanamachine commented Sep 2, 2021

💔 Build Failed

Failed CI Steps


Test Failures

Kibana Pipeline / general / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/observability/alerts/index·ts.Observability specs Observability alerts Alerts table Renders the correct number of cells

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:15:26]         └-: Observability specs
[00:15:26]           └-> "before all" hook in "Observability specs"
[00:16:31]           └-: Observability alerts
[00:16:31]             └-> "before all" hook in "Observability alerts"
[00:16:31]             └-> "before all" hook in "Observability alerts"
[00:16:31]               │ info [x-pack/test/functional/es_archives/observability/alerts] Loading "mappings.json"
[00:16:31]               │ info [x-pack/test/functional/es_archives/observability/alerts] Loading "data.json.gz"
[00:16:31]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.apm.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:16:32]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.apm.alerts-default-000001"
[00:16:32]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.apm.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.apm.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.logs.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:16:32]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.logs.alerts-default-000001"
[00:16:32]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.logs.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.logs.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.metrics.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:16:32]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.metrics.alerts-default-000001"
[00:16:32]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.metrics.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.metrics.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 4 docs into ".internal.alerts-observability.apm.alerts-default-000001"
[00:16:32]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 5 docs into ".internal.alerts-observability.logs.alerts-default-000001"
[00:16:32]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 3 docs into ".internal.alerts-observability.metrics.alerts-default-000001"
[00:16:32]               │ debg navigateToActualUrl http://localhost:61131/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:16:32]               │ debg browser[INFO] http://localhost:61131/login?next=%2Fapp%2Fobservability%2Fcases%3F_t%3D1630622972780&msg=SESSION_EXPIRED 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:16:32]               │
[00:16: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:16:32]               │ debg browser[INFO] http://localhost:61131/login?next=%2Fapp%2Fobservability%2Falerts%3FrangeFrom%3D2021-08-31T13%253A36%253A22.109Z%26rangeTo%3D2021-09-01T13%253A36%253A22.109Z%26_t%3D1630622976076 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:16:32]               │
[00:16: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:16:33]               │ debg currentUrl = http://localhost:61131/login?next=%2Fapp%2Fobservability%2Falerts%3FrangeFrom%3D2021-08-31T13%253A36%253A22.109Z%26rangeTo%3D2021-09-01T13%253A36%253A22.109Z%26_t%3D1630622976076
[00:16:33]               │          appUrl = http://localhost:61131/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:16:33]               │ debg TestSubjects.find(kibanaChrome)
[00:16:33]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:33]               │ debg Found login page
[00:16:33]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:16:33]               │ debg TestSubjects.click(loginUsername)
[00:16:33]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:33]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:16:34]               │ERROR browser[SEVERE] http://localhost:61131/api/licensing/info - Failed to load resource: the server responded with a status of 401 (Unauthorized)
[00:16:34]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:16:34]               │ debg TestSubjects.click(loginPassword)
[00:16:34]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:34]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:16:34]               │ debg TestSubjects.click(loginSubmit)
[00:16:34]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:34]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:16:34]               │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:16:34]               │ proc [kibana]   log   [22:49:38.172] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:16:34]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:16:34]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:16:37]               │ debg browser[INFO] http://localhost:61131/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z&_t=1630622976076 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:16:37]               │
[00:16:37]               │ 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:16:38]               │ERROR browser[SEVERE] http://localhost:61131/43911/bundles/plugin/observability/8.0.0/observability.chunk.2.js 6:98456 "Error while fetching alerts" TypeError: Failed to fetch
[00:16:38]               │          at fetch_Fetch.fetchResponse (http://localhost:61131/43911/bundles/core/core.entry.js:6:27681)
[00:16:38]               │          at async http://localhost:61131/43911/bundles/core/core.entry.js:6:25046
[00:16:38]               │          at async http://localhost:61131/43911/bundles/core/core.entry.js:6:24952
[00:16:38]               │ debg browser[INFO] http://localhost:61131/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z&_t=1630622981177 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:16:38]               │
[00:16:38]               │ 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:16:38]               │ debg Finished login process currentUrl = http://localhost:61131/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:16:38]             └-: Alerts table
[00:16:38]               └-> "before all" hook for "Renders the table"
[00:16:38]               └-> Renders the table
[00:16:38]                 └-> "before each" hook: global before each for "Renders the table"
[00:16:38]                 │ debg TestSubjects.exists(events-viewer-panel)
[00:16:38]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="events-viewer-panel"]') with timeout=120000
[00:16:38]                 └- ✓ pass  (620ms) "Observability specs Observability alerts Alerts table Renders the table"
[00:16:38]               └-> Renders the correct number of cells
[00:16:38]                 └-> "before each" hook: global before each for "Renders the correct number of cells"
[00:16:38]                 │ debg TestSubjects.findAll(dataGridRowCell)
[00:16:38]                 │ debg Find.allByCssSelector('[data-test-subj="dataGridRowCell"]') with timeout=10000
[00:16:46]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/Jnm-QA4bR2m77ghIUuXe6w] update_mapping [_doc]
[00:16:49]                 │ info Taking screenshot "/dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/screenshots/failure/Observability specs Observability alerts Alerts table Renders the correct number of cells.png"
[00:16:49]                 │ERROR browser[SEVERE] http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 389:84011 Error: Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/0: string
[00:16:49]                 │      Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/1: Array<string>
[00:16:49]                 │          at http://localhost:61131/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js:3:91242
[00:16:49]                 │          at http://localhost:61131/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js:3:91364
[00:16:49]                 │          at ObservabilityActions (http://localhost:61131/43911/bundles/plugin/observability/8.0.0/observability.chunk.2.js:44:13140)
[00:16:49]                 │          at gs (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:59761)
[00:16:49]                 │          at Pa (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:107651)
[00:16:49]                 │          at Il (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:97334)
[00:16:49]                 │          at Nl (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:97146)
[00:16:49]                 │          at Cl (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:94325)
[00:16:49]                 │          at http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:46038
[00:16:49]                 │          at t.unstable_runWithPriority (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:398:3462)
[00:16:49]                 │ERROR browser[SEVERE] http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 389:84011 Error: Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/0: string
[00:16:49]                 │      Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/1: Array<string>
[00:16:49]                 │          at http://localhost:61131/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js:3:91242
[00:16:49]                 │          at http://localhost:61131/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js:3:91364
[00:16:49]                 │          at ObservabilityActions (http://localhost:61131/43911/bundles/plugin/observability/8.0.0/observability.chunk.2.js:44:13140)
[00:16:49]                 │          at gs (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:59761)
[00:16:49]                 │          at Pa (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:107651)
[00:16:49]                 │          at Il (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:97334)
[00:16:49]                 │          at Nl (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:97146)
[00:16:49]                 │          at Cl (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:94325)
[00:16:49]                 │          at http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:390:46038
[00:16:49]                 │          at t.unstable_runWithPriority (http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:398:3462)
[00:16:49]                 │ERROR browser[SEVERE] http://localhost:61131/43911/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 397:1638 Uncaught Error: Invalid value undefined supplied to : (Partial<{| …na.alert.instance.id: castSingle/1: Array<string>
[00:16:49]                 │ info Current URL is: http://localhost:61131/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:16:49]                 │ info Saving page source to: /dev/shm/workspace/parallel/13/kibana/x-pack/test/functional/failure_debug/html/Observability specs Observability alerts Alerts table Renders the correct number of cells.html
[00:16:49]                 └- ✖ fail: Observability specs Observability alerts Alerts table Renders the correct number of cells
[00:16:49]                 │      Error: expected 0 to equal 54
[00:16:49]                 │       at Assertion.assert (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:16:49]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:16:49]                 │       at Assertion.be (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:16:49]                 │       at Context.<anonymous> (test/functional/apps/observability/alerts/index.ts:48:33)
[00:16:49]                 │       at runMicrotasks (<anonymous>)
[00:16:49]                 │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:16:49]                 │       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:16:49]                 │ 
[00:16:49]                 │ 

Stack Trace

Error: expected 0 to equal 54
    at Assertion.assert (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/13/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Context.<anonymous> (test/functional/apps/observability/alerts/index.ts:48:33)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    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)

Kibana Pipeline / general / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/observability/alerts/index·ts.Observability specs Observability alerts Alerts table Renders the correct number of cells

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:04:44]         └-: Observability specs
[00:04:44]           └-> "before all" hook in "Observability specs"
[00:04:44]           └-: Observability alerts
[00:04:44]             └-> "before all" hook in "Observability alerts"
[00:04:44]             └-> "before all" hook in "Observability alerts"
[00:04:44]               │ info [x-pack/test/functional/es_archives/observability/alerts] Loading "mappings.json"
[00:04:44]               │ info [x-pack/test/functional/es_archives/observability/alerts] Loading "data.json.gz"
[00:04:44]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.apm.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:04:44]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.apm.alerts-default-000001"
[00:04:44]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.apm.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.apm.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:44]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:04:44]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.logs.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:04:44]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.logs.alerts-default-000001"
[00:04:44]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.logs.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.logs.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:44]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:04:44]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.metrics.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:04:44]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:04:45]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.metrics.alerts-default-000001"
[00:04:45]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.metrics.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.metrics.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:45]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:04:45]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 4 docs into ".internal.alerts-observability.apm.alerts-default-000001"
[00:04:45]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 5 docs into ".internal.alerts-observability.logs.alerts-default-000001"
[00:04:45]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 3 docs into ".internal.alerts-observability.metrics.alerts-default-000001"
[00:04:45]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:04:45]               │ debg navigateToActualUrl http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:04:45]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:04:45]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:04:45]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:04:45]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:04:45]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:47]               │ debg currentUrl = http://localhost:61211/login?next=%2Fapp%2Fobservability%2Falerts%3FrangeFrom%3D2021-08-31T13%253A36%253A22.109Z%26rangeTo%3D2021-09-01T13%253A36%253A22.109Z%26_t%3D1630622491078
[00:04:47]               │          appUrl = http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:04:47]               │ debg TestSubjects.find(kibanaChrome)
[00:04:47]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:48]               │ debg Found login page
[00:04:48]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:04:48]               │ debg TestSubjects.click(loginUsername)
[00:04:48]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:48]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:49]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:04:49]               │ debg TestSubjects.click(loginPassword)
[00:04:49]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:49]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:49]               │ debg TestSubjects.click(loginSubmit)
[00:04:49]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:49]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:49]               │ proc [kibana]   log   [22:41:35.638] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:04:49]               │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:04:50]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:50]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:53]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:04:53]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/W3A_wCuTRAOT-ZspV9Bk1g] update_mapping [_doc]
[00:04:54]               │ERROR browser[error] "Error while fetching alerts" (new TypeError("NetworkError when attempting to fetch resource.", "http://localhost:61211/43911/bundles/core/core.entry.js", 6))
[00:04:54]               │ERROR browser[error] (new ChunkLoadError("Loading chunk 0 failed.\n(error: http://localhost:61211/43911/bundles/plugin/data/kibana/data.chunk.0.js)", "http://localhost:61211/43911/bundles/plugin/data/kibana/data.plugin.js", 1))
[00:04:54]               │ERROR browser[error] (new ChunkLoadError("Loading chunk 0 failed.\n(error: http://localhost:61211/43911/bundles/plugin/timelines/1.0.0/timelines.chunk.0.js)", "http://localhost:61211/43911/bundles/plugin/timelines/1.0.0/timelines.plugin.js", 2))
[00:04:54]               │ debg browser[log] "Detected an unhandled Promise rejection.\nTypeError: NetworkError when attempting to fetch resource."
[00:04:54]               │ debg browser[log] "Detected an unhandled Promise rejection.\nAbortError: The operation was aborted. "
[00:04:54]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:55]               │ debg Finished login process currentUrl = http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:04:55]             └-: Alerts table
[00:04:55]               └-> "before all" hook for "Renders the table"
[00:04:55]               └-> Renders the table
[00:04:55]                 └-> "before each" hook: global before each for "Renders the table"
[00:04:55]                 │ debg TestSubjects.exists(events-viewer-panel)
[00:04:55]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="events-viewer-panel"]') with timeout=120000
[00:04:58]                 └- ✓ pass  (3.4s) "Observability specs Observability alerts Alerts table Renders the table"
[00:04:58]               └-> Renders the correct number of cells
[00:04:58]                 └-> "before each" hook: global before each for "Renders the correct number of cells"
[00:04:58]                 │ debg TestSubjects.findAll(dataGridRowCell)
[00:04:58]                 │ debg Find.allByCssSelector('[data-test-subj="dataGridRowCell"]') with timeout=10000
[00:05:01]                 │ERROR browser[error] (new Error("Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/0: string\nInvalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/1: Array<string>", "http://localhost:61211/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js", 3))
[00:05:01]                 │ERROR browser[error] (new Error("Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/0: string\nInvalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/1: Array<string>", "http://localhost:61211/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js", 3))
[00:05:05]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/W3A_wCuTRAOT-ZspV9Bk1g] update_mapping [_doc]
[00:05:08]                 │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/Observability specs Observability alerts Alerts table Renders the correct number of cells.png"
[00:05:08]                 │ info Current URL is: http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:05:08]                 │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/Observability specs Observability alerts Alerts table Renders the correct number of cells.html
[00:05:08]                 └- ✖ fail: Observability specs Observability alerts Alerts table Renders the correct number of cells
[00:05:08]                 │      Error: expected 0 to equal 54
[00:05:08]                 │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:05:08]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:05:08]                 │       at Assertion.be (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:05:08]                 │       at Context.<anonymous> (test/functional/apps/observability/alerts/index.ts:48:33)
[00:05:08]                 │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:05:08]                 │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:05:08]                 │ 
[00:05:08]                 │ 

Stack Trace

Error: expected 0 to equal 54
    at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Context.<anonymous> (test/functional/apps/observability/alerts/index.ts:48:33)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Kibana Pipeline / general / Firefox XPack UI Functional Tests.x-pack/test/functional/apps/observability/alerts/index·ts.Observability specs Observability alerts Alerts table Renders the correct number of cells

Link to Jenkins

Standard Out

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

[00:00:00]       │
[00:04:38]         └-: Observability specs
[00:04:38]           └-> "before all" hook in "Observability specs"
[00:04:38]           └-: Observability alerts
[00:04:38]             └-> "before all" hook in "Observability alerts"
[00:04:38]             └-> "before all" hook in "Observability alerts"
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Loading "mappings.json"
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Loading "data.json.gz"
[00:04:38]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.apm.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.apm.alerts-default-000001"
[00:04:38]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.apm.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.apm.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.logs.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.apm.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.logs.alerts-default-000001"
[00:04:38]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.logs.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.logs.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.internal.alerts-observability.metrics.alerts-default-000001] creating index, cause [api], templates [], shards [1]/[1]
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Created index ".internal.alerts-observability.metrics.alerts-default-000001"
[00:04:38]               │ debg [x-pack/test/functional/es_archives/observability/alerts] ".internal.alerts-observability.metrics.alerts-default-000001" settings {"index":{"lifecycle":{"name":".alerts-ilm-policy","rollover_alias":".alerts-observability.metrics.alerts-default"},"number_of_replicas":"1","number_of_shards":"1"}}
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 4 docs into ".internal.alerts-observability.apm.alerts-default-000001"
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 5 docs into ".internal.alerts-observability.logs.alerts-default-000001"
[00:04:38]               │ info [x-pack/test/functional/es_archives/observability/alerts] Indexed 3 docs into ".internal.alerts-observability.metrics.alerts-default-000001"
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ debg navigateToActualUrl http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.logs.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ info [o.e.x.i.IndexLifecycleTransition] [node-01] moving index [.internal.alerts-observability.metrics.alerts-default-000001] from [{"phase":"hot","action":"unfollow","name":"branch-check-unfollow-prerequisites"}] to [{"phase":"hot","action":"rollover","name":"check-rollover-ready"}] in policy [.alerts-ilm-policy]
[00:04:38]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:40]               │ debg currentUrl = http://localhost:61211/login?next=%2Fapp%2Fobservability%2Falerts%3FrangeFrom%3D2021-08-31T13%253A36%253A22.109Z%26rangeTo%3D2021-09-01T13%253A36%253A22.109Z%26_t%3D1630622100913
[00:04:40]               │          appUrl = http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:04:40]               │ debg TestSubjects.find(kibanaChrome)
[00:04:40]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:41]               │ debg Found login page
[00:04:41]               │ debg TestSubjects.setValue(loginUsername, test_user)
[00:04:41]               │ debg TestSubjects.click(loginUsername)
[00:04:41]               │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:41]               │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:42]               │ debg TestSubjects.setValue(loginPassword, changeme)
[00:04:42]               │ debg TestSubjects.click(loginPassword)
[00:04:42]               │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:42]               │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:42]               │ debg TestSubjects.click(loginSubmit)
[00:04:42]               │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:42]               │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:42]               │ proc [kibana]   log   [22:35:04.898] [info][plugins][routes][security] Logging in with provider "basic" (basic)
[00:04:42]               │ debg Find.waitForDeletedByCssSelector('.kibanaWelcomeLogo') with timeout=10000
[00:04:43]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:43]               │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"] nav:not(.ng-hide)') with timeout=60000
[00:04:44]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_task_manager_7.15.0_001/Ryh2LvFrR5u8BYXuJBXAmg] update_mapping [_doc]
[00:04:44]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:48]               │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/VOvAQtIpQxizFPcb8BXlBA] update_mapping [_doc]
[00:04:48]               │ERROR browser[error] "Error while fetching alerts" (new TypeError("NetworkError when attempting to fetch resource.", "http://localhost:61211/43911/bundles/core/core.entry.js", 6))
[00:04:48]               │ debg browser[log] "Detected an unhandled Promise rejection.\nTypeError: NetworkError when attempting to fetch resource."
[00:04:48]               │ debg browser[log] "Detected an unhandled Promise rejection.\nAbortError: The operation was aborted. "
[00:04:49]               │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:49]               │ debg Finished login process currentUrl = http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:04:49]             └-: Alerts table
[00:04:49]               └-> "before all" hook for "Renders the table"
[00:04:49]               └-> Renders the table
[00:04:49]                 └-> "before each" hook: global before each for "Renders the table"
[00:04:50]                 │ debg TestSubjects.exists(events-viewer-panel)
[00:04:50]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="events-viewer-panel"]') with timeout=120000
[00:04:54]                 └- ✓ pass  (4.3s) "Observability specs Observability alerts Alerts table Renders the table"
[00:04:54]               └-> Renders the correct number of cells
[00:04:54]                 └-> "before each" hook: global before each for "Renders the correct number of cells"
[00:04:54]                 │ debg TestSubjects.findAll(dataGridRowCell)
[00:04:54]                 │ debg Find.allByCssSelector('[data-test-subj="dataGridRowCell"]') with timeout=10000
[00:04:58]                 │ERROR browser[error] (new Error("Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/0: string\nInvalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/1: Array<string>", "http://localhost:61211/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js", 3))
[00:04:58]                 │ERROR browser[error] (new Error("Invalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/0: string\nInvalid value undefined supplied to : (Partial<{| @timestamp: castSingle, event.action: castSingle, event.kind: castSingle, tags: castArray, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.start: castSingle, kibana.alert.end: castSingle, kibana.alert.duration.us: castSingle, kibana.alert.severity: castSingle, kibana.alert.status: castSingle, kibana.alert.evaluation.threshold: castSingle, kibana.alert.evaluation.value: castSingle, kibana.version: castSingle, ecs.version: castSingle, kibana.alert.rule.severity: castSingle, kibana.alert.rule.risk_score: castSingle, kibana.alert.workflow_status: castSingle, kibana.alert.workflow_user: castSingle, kibana.alert.workflow_reason: castSingle, kibana.alert.system_status: castSingle, kibana.alert.action_group: castSingle, kibana.alert.reason: castSingle, kibana.alert.rule.author: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.id: castSingle, kibana.alert.rule.created_at: castSingle, kibana.alert.rule.created_by: castSingle, kibana.alert.rule.description: castSingle, kibana.alert.rule.enabled: castSingle, kibana.alert.rule.from: castSingle, kibana.alert.rule.interval: castSingle, kibana.alert.rule.license: castSingle, kibana.alert.rule.name: castSingle, kibana.alert.rule.note: castSingle, kibana.alert.rule.references: castArray, kibana.alert.rule.risk_score_mapping: castSingle, kibana.alert.rule.risk_score_mapping.field: castSingle, kibana.alert.rule.risk_score_mapping.operator: castSingle, kibana.alert.rule.risk_score_mapping.value: castSingle, kibana.alert.rule.rule_id: castSingle, kibana.alert.rule.rule_name_override: castSingle, kibana.alert.rule.severity_mapping: castSingle, kibana.alert.rule.severity_mapping.field: castSingle, kibana.alert.rule.severity_mapping.operator: castSingle, kibana.alert.rule.severity_mapping.value: castSingle, kibana.alert.rule.severity_mapping.severity: castSingle, kibana.alert.rule.tags: castArray, kibana.alert.rule.to: castSingle, kibana.alert.rule.type: castSingle, kibana.alert.rule.updated_at: castSingle, kibana.alert.rule.updated_by: castSingle, kibana.alert.rule.version: castSingle |}> & { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle })/1: { @timestamp: castSingle, kibana.alert.rule.rule_type_id: castSingle, kibana.alert.rule.consumer: castSingle, kibana.alert.rule.producer: castSingle, kibana.space_ids: castArray, kibana.alert.uuid: castSingle, kibana.alert.instance.id: castSingle, kibana.alert.status: castSingle, kibana.alert.rule.category: castSingle, kibana.alert.rule.uuid: castSingle, kibana.alert.rule.name: castSingle }/kibana.alert.instance.id: castSingle/1: Array<string>", "http://localhost:61211/43911/bundles/plugin/observability/8.0.0/observability.chunk.0.js", 3))
[00:05:02]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.15.0_001/VOvAQtIpQxizFPcb8BXlBA] update_mapping [_doc]
[00:05:04]                 │ info Taking screenshot "/dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/screenshots/failure/Observability specs Observability alerts Alerts table Renders the correct number of cells.png"
[00:05:04]                 │ info Current URL is: http://localhost:61211/app/observability/alerts?rangeFrom=2021-08-31T13%3A36%3A22.109Z&rangeTo=2021-09-01T13%3A36%3A22.109Z
[00:05:04]                 │ info Saving page source to: /dev/shm/workspace/parallel/21/kibana/x-pack/test/functional/failure_debug/html/Observability specs Observability alerts Alerts table Renders the correct number of cells.html
[00:05:04]                 └- ✖ fail: Observability specs Observability alerts Alerts table Renders the correct number of cells
[00:05:04]                 │      Error: expected 0 to equal 54
[00:05:04]                 │       at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:100:11)
[00:05:04]                 │       at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:227:8)
[00:05:04]                 │       at Assertion.be (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:69:22)
[00:05:04]                 │       at Context.<anonymous> (test/functional/apps/observability/alerts/index.ts:48:33)
[00:05:04]                 │       at runMicrotasks (<anonymous>)
[00:05:04]                 │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:05:04]                 │       at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:05:04]                 │ 
[00:05:04]                 │ 

Stack Trace

Error: expected 0 to equal 54
    at Assertion.assert (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:100:11)
    at Assertion.be.Assertion.equal (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:227:8)
    at Assertion.be (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/expect/expect.js:69:22)
    at Context.<anonymous> (test/functional/apps/observability/alerts/index.ts:48:33)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Object.apply (/dev/shm/workspace/parallel/21/kibana/node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

✅ unchanged

History

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

cc @pgayvallet

@pgayvallet
Copy link
Contributor

Seems to be depending on #109967, closing for now.

@pgayvallet pgayvallet closed this Sep 3, 2021
auto-merge was automatically disabled September 3, 2021 06:26

Pull request was closed

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