Skip to content

failsOnMKI: serverless Discover URL state tests #237086

@pheyos

Description

@pheyos

The serverless Discover URL state tests started to fail consistenly on MKI runs.

discover/group5 discover URL state should show a warning and fall back to the default data view when navigating to a URL with an invalid data view ID

Error message
Error: retry.try reached timeout 120000 ms
Error: expected 'https://bk-serverless-ftr-6905-f70b2bdedd96-e9f983.kb.eu-west-1.aws.qa.elastic.cloud/app/discover#/?_tab=(tabId:%278002f618-3926-41e3-81c1-41c4b2619b46%27)&_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(),dataSource:(dataViewId:%27logstash-*%27,type:dataView),filters:!(),interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))' to equal 'https://bk-serverless-ftr-6905-f70b2bdedd96-e9f983.kb.eu-west-1.aws.qa.elastic.cloud/app/discover#/?_tab=(tabId:%278691cf01-3b1a-4dd3-9823-f5bf8657e584%27)&_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(),dataSource:(dataViewId:%27logstash-*%27,type:dataView),filters:!(),interval:auto,query:(language:kuery,query:%27%27),sort:!(!(%27@timestamp%27,desc)))'
    at Assertion.assert (expect.js:100:11)
    at Assertion.apply (expect.js:227:8)
    at Assertion.be (expect.js:69:22)
    at _url_state.ts:63:50
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at runAttempt (retry_for_success.ts:29:15)
    at retryForSuccess (retry_for_success.ts:108:21)
    at RetryService.try (retry.ts:57:12)
    at Context. (_url_state.ts:62:7)
    at Object.apply (wrap_function.js:74:16)
    at onFailure (retry_for_success.ts:17:9)
    at retryForSuccess (retry_for_success.ts:91:7)
    at RetryService.try (retry.ts:57:12)
    at Context. (_url_state.ts:62:7)
    at Object.apply (wrap_function.js:74:16)

Failure screenshot:

Image

Additional information

Metadata

Metadata

Labels

Team:DataDiscoveryDiscover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//failed-testA test failure on a tracked branch, potentially flaky-testimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions