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

WSL: Ignore errors when shutting down #7985

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Dec 20, 2024

When shutting down, ignore errors taking down the individual services or when killing network-setup. Since we will terminate the WSL distribution anyway, any errors at that stage are harmless.

This appears to fix issues with Windows E2E tests; it seems like we end up falling over trying to shut down and disrupt the following test step.

Fixes: #7939, #7983

When shutting down, ignore errors taking down the individual services or
when killing network-setup.  Since we will terminate the WSL distribution
anyway, any errors at that stage are harmless.

This appears to fix issues with Windows E2E tests; it seems like we end up
falling over trying to shut down and disrupt the following test step.

Signed-off-by: Mark Yen <[email protected]>
This just updates the logging to make it easier for debugging.  No
functional change.

Signed-off-by: Mark Yen <[email protected]>
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@jandubois jandubois merged commit 2c7284d into rancher-sandbox:main Dec 20, 2024
20 checks passed
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.

E2E Tests are sometimes failing on Windows CI
2 participants