The Search source Alert tests are failing when running against MKI projects.
Failures when running against Observability projects
Failing tests in the suite:
should navigate to alert results via link provided in notification
should display prev rule state after params update on clicking prev generated link
should display prev data view state after update on clicking prev generated link
should navigate to alert results via link provided in notification using adhoc data view
should display results after data view removal on clicking prev generated link
should display results after rule removal on following generated link
all with the same error message:
InvalidArgumentError: invalid argument
(Session info: chrome=126.0.6478.126)
at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13)
at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Task.exec (prevent_parallel_calls.ts:28:20)
Failures when running against Search projects
Failing tests in the suite:
"before all" hook for "should create an alert when there is no data view"
ResponseError: security_exception
Root causes:
security_exception: action [indices:admin/create] is unauthorized for user [testing-internal] with effective roles
[superuser] on restricted indices [.kibana_ingest], this action is granted by the index privileges [create_index,manage,all]
at SniffingTransport.request (node_modules/@elastic/transport/src/Transport.ts:564:17)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Indices.create (node_modules/@elastic/elasticsearch/src/api/api/indices.ts:251:12)
at Context. (search_source_alert.ts:377:9)
at Object.apply (wrap_function.js:73:16)
"after all" hook for "should check that there are no errors detected after an alert is created"
TypeError: Cannot read properties of undefined (reading 'id')
at Context. (search_source_alert.ts:383:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.apply (wrap_function.js:73:16)
Additional information
The tests are currently commented out for Security projects
The after all hook failure comes from trying to clean up an alert and data view that have not been created yet (because the suite failed before the test code created these)
The
Search source Alert
tests are failing when running against MKI projects.Failures when running against Observability projects
Failing tests in the suite:
should navigate to alert results via link provided in notification
should display prev rule state after params update on clicking prev generated link
should display prev data view state after update on clicking prev generated link
should navigate to alert results via link provided in notification using adhoc data view
should display results after data view removal on clicking prev generated link
should display results after rule removal on following generated link
all with the same error message:
Failures when running against Search projects
Failing tests in the suite:
"before all" hook for "should create an alert when there is no data view"
"after all" hook for "should check that there are no errors detected after an alert is created"
Additional information
after all hook
failure comes from trying to clean up an alert and data view that have not been created yet (because the suite failed before the test code created these)