elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.69k stars 8.24k forks source link

Failing test: Detection Engine - Exception Items Authentication Tests - Serverless Env - Essentials Tier.x-pack/test/security_solution_api_integration/test_suites/lists_and_exception_lists/authorization/exceptions/items/essentials_tier/editor·ts - Exception items APIs Authentication - Complete Tier @serverless @serverlessQA editor exception items API behaviors delete exception item should return 200 for editor #201487

Closed kibanamachine closed 1 day ago

kibanamachine commented 6 days ago

A test failed on a tracked branch

Error: expected 200 "OK", got 503 "Service Unavailable"
    at Context.apply (editor.ts:58:12)
    at Object.apply (wrap_function.js:74:30)
----
    at Test._assertStatus (node_modules/supertest/lib/test.js:252:14)
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1732322596316292869/elastic/kibana-on-merge/kibana/node_modules/supertest/lib/test.js:308:13
    at Test._assertFunction (node_modules/supertest/lib/test.js:285:13)
    at Test.assert (node_modules/supertest/lib/test.js:164:23)
    at localAssert (node_modules/supertest/lib/test.js:120:14)
    at fn (node_modules/supertest/lib/test.js:125:7)
    at Test.callback (node_modules/superagent/src/node/index.js:899:3)
    at fn (node_modules/superagent/src/node/index.js:1165:18)
    at IncomingMessage.<anonymous> (node_modules/superagent/src/node/parsers/json.js:19:7)
    at IncomingMessage.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

First failure: kibana-on-merge - main

elasticmachine commented 6 days ago

Pinging @elastic/security-detection-engine (Team:Detection Engine)

yctercero commented 1 day ago

Ran on MKI locally - all passing. These tests are very simple, they just hit an endpoint with a particular prebuilt role and check response. Seems to be some flake or issues with either the build or the way we create these roles.