Skip to content
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

TestFleetAirGappedUpgrade fails with "context deadline exceeded. upgrade watcher did not start" #4091

Closed
belimawr opened this issue Jan 17, 2024 · 3 comments · Fixed by #4095
Assignees
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team

Comments

@belimawr
Copy link
Contributor

Flaky Test

@belimawr belimawr added the Team:Elastic-Agent Label for the Agent team label Jan 17, 2024
@belimawr belimawr self-assigned this Jan 17, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@belimawr
Copy link
Contributor Author

The test is failing because the Elastic-Agent is trying to upgrade to the same version, with the same hash. That causes extracting the archive to fail.

We can see the following error messages in the logs:

Failed to unpack upgrade artifact

upgrade to version 8.13.0-SNAPSHOT failed: TarInstaller: creating file /opt/Elastic/Agent/data/elastic-agent-17f048/elastic-agent: open /opt/Elastic/Agent/data/elastic-agent-17f048/elastic-agent: text file busy

@cmacknz
Copy link
Member

cmacknz commented Jan 17, 2024

Duplicate of #4089, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants