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

avoids crash on cache corruption #61356

Merged

Conversation

cmcmarrow
Copy link
Contributor

@cmcmarrow cmcmarrow commented Dec 13, 2021

What does this PR do?

Avoids crash on cache corruption

What issues does this PR fix or reference?

Fixes: #60170

Previous Behavior

Hard crash

New Behavior

Error is logged at error level

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@cmcmarrow cmcmarrow requested a review from a team as a code owner December 13, 2021 02:12
@cmcmarrow cmcmarrow requested review from garethgreenaway and removed request for a team December 13, 2021 02:12
@cmcmarrow
Copy link
Contributor Author

#33544

@cmcmarrow cmcmarrow added Phosphorus v3005.0 Release code name and version Needs-Testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases labels Dec 13, 2021
Copy link
Contributor

@waynew waynew left a comment

Choose a reason for hiding this comment

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

This would go well as part of my #61229 PR

Copy link
Contributor

@Ch3LL Ch3LL left a comment

Choose a reason for hiding this comment

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

needs test coverage and a changelog

@Ch3LL
Copy link
Contributor

Ch3LL commented Dec 21, 2021

bump @cmcmarrow did you see my review?

@garethgreenaway garethgreenaway changed the title avoids crash on cash corruption avoids crash on cache corruption Jan 19, 2022
@Ch3LL Ch3LL removed the Phosphorus v3005.0 Release code name and version label Feb 1, 2022
@MKLeb MKLeb requested review from MKLeb and removed request for MKLeb February 17, 2022 21:29
@cmcmarrow cmcmarrow requested a review from Ch3LL February 27, 2022 20:14
@cmcmarrow cmcmarrow removed the Needs-Testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases label Feb 28, 2022
twangboy
twangboy previously approved these changes Mar 1, 2022
@Ch3LL
Copy link
Contributor

Ch3LL commented Mar 3, 2022

Theres some test failures that need to be cleaned up

@Ch3LL
Copy link
Contributor

Ch3LL commented Aug 31, 2022

@cmcmarrow are you able to come back to this PR and fix the tests?

@Ch3LL Ch3LL requested a review from waynew October 10, 2022 20:01
Ch3LL
Ch3LL previously approved these changes Oct 10, 2022
@Ch3LL
Copy link
Contributor

Ch3LL commented Oct 10, 2022

@waynew can you re-review this please

@Ch3LL Ch3LL added the Sulfur v3006.0 release code name and version label Oct 10, 2022
@cmcmarrow cmcmarrow requested a review from twangboy October 10, 2022 20:40
whytewolf
whytewolf previously approved these changes Oct 10, 2022
MKLeb
MKLeb previously approved these changes Oct 10, 2022
twangboy
twangboy previously approved these changes Oct 10, 2022
@cmcmarrow cmcmarrow dismissed stale reviews from twangboy, MKLeb, whytewolf, and Ch3LL via 3f5405e October 10, 2022 21:39
@garethgreenaway garethgreenaway merged commit 810945d into saltstack:master Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sulfur v3006.0 release code name and version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] clean up routine tries to delete file with shutil.rmtree
8 participants