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

fix(agent): flush dns cache during initialization #120

Merged
merged 4 commits into from
Sep 28, 2024

Conversation

fallard84
Copy link
Contributor

@fallard84 fallard84 commented Sep 28, 2024

Since our agent is installing some apt packages, some of the apt sources related domains/ips get cached on the runner. This cache prevents our agent from correctly working if apt is used immediately after the agent is installed, as it can be seen from the test-integration job in our CI being flaky.

This PR is also fixing another issue with the test-integration with virtualbox. Using virtualbox as the VM provider in vagrant started to failed recently with the latest version of the runner image for ubuntu-22.04 (ref).

The two are fixed together since it is the only way to make the test-integration CI job to pass reliably.

@fallard84 fallard84 enabled auto-merge (squash) September 28, 2024 02:42
@fallard84 fallard84 merged commit 90306e1 into main Sep 28, 2024
19 checks passed
@fallard84 fallard84 deleted the fallard84/flush-dns-caches branch September 28, 2024 02:42
fallard84 pushed a commit that referenced this pull request Sep 28, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.8.2](v0.8.1...v0.8.2)
(2024-09-28)


### Bug Fixes

* **agent:** flush dns cache during initialization
([#120](#120))
([90306e1](90306e1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant