-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Failing test: X-Pack Cloud Security Posture Functional Tests.x-pack/test/cloud_security_posture_functional/pages/findings·ts - Cloud Security Posture Findings Page "before all" hook in "Findings Page" #147998
Comments
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
/skip |
Skipped main: 0fd9c9f |
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security Posture) |
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
initial findings show that the test suite started failing with an error about a missing looks like it used to just log: kibana/x-pack/plugins/fleet/server/services/agents/status.ts Lines 69 to 77 in efb7cdd
now it always throws: kibana/x-pack/plugins/fleet/server/services/agents/status.ts Lines 110 to 113 in a9166da
this explains the error we see in both tests (FTR) and local development, as in both the CSP a quick fix in our plugin is to add a try/catch to wrap this:
but even if the above is correct, i still can't tell why it started failing on 549ab35 and not directly after a9166da. so there's probably more to it. one thing i noticed which is odd is that after elastic/integrations#4752 (comment) was released to EPR (Dec 4), all of our FTR tests passed, but started logging |
ok, the root issue here is that our FTR test ran with so timeline is like this:
which explains why our FTR tests passed in a9166da and started failing in 549ab35. initial fix is to use a fixed version number hard-coded in our FTR test, which will make them only run with that specific version. this means:
this seems like a simple solution, although a bit annoying in practice. there is also an option to always use latest package but run a custom package registry. at the time being, this wasn't explored any further. |
New failure: CI Build - main |
A test failed on a tracked branch
First failure: CI Build - main
The text was updated successfully, but these errors were encountered: