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

NAS-124675 / 23.10.0 / Fix make clean (by yocalebo) #516

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

bugclerk
Copy link
Contributor

Working on the new CI/CD infrastructure, I've had to forcefully stop running builds. Depending on when the build is interrupted, overlayfs mounts are left behind on the system.

However, when we run make clean this fails because the directories that are trying to be removed are backed by the mounted overlayfs mounts. We can safely ignore these errors and move on because make packages will clean up any left over overlay mounts for each package.

Finally, use os.scandir because it's more efficient and remove os.path.exists calls that occur before performing file I/O since that's a theoretical race condition.

Original PR: #515
Jira URL: https://ixsystems.atlassian.net/browse/NAS-124675

@yocalebo yocalebo merged commit 0a08343 into release/23.10.0 Oct 17, 2023
3 checks passed
@yocalebo yocalebo deleted the NAS-124675-23.10.0 branch October 17, 2023 15:50
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