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

FilePermissionTest fails on release_build.sh #925

Closed
lqiu96 opened this issue Apr 28, 2023 · 1 comment · Fixed by #926
Closed

FilePermissionTest fails on release_build.sh #925

lqiu96 opened this issue Apr 28, 2023 · 1 comment · Fixed by #926

Comments

@lqiu96
Copy link
Contributor

lqiu96 commented Apr 28, 2023

Logs:

[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.009 s <<< FAILURE! - in com.google.cloud.tools.io.FilePermissionsTest
[ERROR] testDirectoryCannotBeCreatedDueToUnwritableParent(com.google.cloud.tools.io.FilePermissionsTest)  Time elapsed: 0.006 s  <<< FAILURE!
java.lang.AssertionError: Can create directory in non-writable parent
	at com.google.cloud.tools.io.FilePermissionsTest.testDirectoryCannotBeCreatedDueToUnwritableParent(FilePermissionsTest.java:102)

It fails on the release_build.sh script, but passes in the CIs. Not sure why...

@lqiu96
Copy link
Contributor Author

lqiu96 commented Apr 28, 2023

I see there is code inside the CI script about not running the PermissionsTest: https://github.com/GoogleCloudPlatform/appengine-plugins-core/blob/2d173bcdf7130e3b98764f99f6997f5c82a3305b/kokoro/continuous.sh#L17-L24

Might need to copy that cover for the release script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant