-
Notifications
You must be signed in to change notification settings - Fork 154
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
Pin agent version for integration tests #6682
Pin agent version for integration tests #6682
Conversation
This pull request does not have a backport label. Could you fix it @pchila? 🙏
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
The fleet bootstrap tests are failing because the A bunch of new tests are failing because they can't read the package version file which I've never seen happen before.
|
From what I see in the code
elastic-agent/pkg/testing/fixture_install.go Lines 157 to 159 in 093fb58
so the issue could be elsewhere, possible fleet-server is not starting for other reasons
I will try disabling
|
Adding some information after looking more closely to the errors for fleet server bootstrap tests, we have this log line
It looks like we cannot start fleet-server version 9.1.0 on a 9.0.0 Elasticsearch: there's a 9.1.0-SNAPSHOT stack available in CFT region so I am going to force Integration tests to use that version |
Quality Gate passedIssues Measures |
What does this PR do?
Pin elastic agent version to 9.0.0 for both packaging and integration tests to avoid issues while testing with previous minors and upgrade paths.
Elastic agent code and dependencies are still main/9.1.0-SNAPSHOT we simply package the agent as if it was a 9.0.0 version.
This change is not meant to be permanent and it's only meant to unblock merging PRs to main
Why is it important?
To avoid blocking PR merging on main
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself