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

Image building fails during cleanup when bind mount has read-only content #40760

Closed
wilkinsona opened this issue May 14, 2024 · 0 comments
Closed
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

We're seeing failures like this on CI:

Caused by: java.nio.file.AccessDeniedException: /tmp/junit-image-pack-gradle-10097551270091885690-work-layers/spring-boot_test-info	
	at org.springframework.util.FileSystemUtils$1.postVisitDirectory(FileSystemUtils.java:95)	
	at org.springframework.util.FileSystemUtils$1.postVisitDirectory(FileSystemUtils.java:87)	
	at org.springframework.util.FileSystemUtils.deleteRecursively(FileSystemUtils.java:87)	
	at org.springframework.boot.buildpack.platform.build.Lifecycle.deleteBind(Lifecycle.java:324)	
	... 120 more

spring-boot_test-info is read-only which prevents it from being deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants