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

ci: add delay on podvm smoke-test #2269

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mkulke
Copy link
Collaborator

@mkulke mkulke commented Jan 30, 2025

1s delay between claiming an IP address and launching kata-agent is not enough in some cases, resulting in a flaky test.

Changing the delay before attempting to connect to the agent to 5s seems to resolve the issue. Running the test in a loop with 25+ launches didn't produce a failure, while doing the same with the original 1s delay, will result in "connection refused" failure after a couple of runs.

@mkulke mkulke requested a review from a team as a code owner January 30, 2025 09:34
Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks fine, DCO sign off is expecting [email protected], so failing though

1s delay between claiming an IP address and launching kata-agent is not
enough in some cases, resulting in a flaky test.

Changing the delay before attempting to connect to the agent to 5s seems
to resolve the issue. Running the test in a loop with 25+ launches didn't
produce a failure, while doing the same with the original 1s delay, will
result in "connection refused" failure after a couple of runs.

Signed-off-by: Magnus Kulke <[email protected]>
@mkulke mkulke force-pushed the mkulke/fix-smoketest-flakyness branch from b0bc946 to 49e6f5b Compare January 30, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants