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

buildResultsRecorder - Permission Denied #866

Closed
sergeidyga opened this issue Aug 31, 2023 · 2 comments
Closed

buildResultsRecorder - Permission Denied #866

sergeidyga opened this issue Aug 31, 2023 · 2 comments
Milestone

Comments

@sergeidyga
Copy link

Build fails with Permission Denied

FAILURE: Build failed with an exception.

* Where:
Script '/home/gha-actions-runner/.gradle/init.d/gradle-build-action.build-result-capture-service.plugin.groovy' line: 58

* What went wrong:
Failed to stop service 'gradle-build-action-buildResultsRecorder'.
> /opt/actions-runner/_work/_temp/.build-results/__self-1693482877293.json (Permission denied)

ref to https://github.com/gradle/gradle-build-action/blob/8f08e41675472b8aa0aa2c356e8b2c1561af3bf9/src/resources/init-scripts/gradle-build-action.build-result-capture-service.plugin.groovy#L58C19-L58C19

@bigdaz
Copy link
Member

bigdaz commented Aug 31, 2023

Thanks for the report. Looks like the init script should be more tolerant of failures like this.

That said, it's odd that the action cannot write a file to the runner temp directory. Are you using self-hosted runners?

@sergeidyga
Copy link
Author

thanks you for your response! yes, self-hosted

@bigdaz bigdaz added this to the 2.11.0 milestone Dec 12, 2023
@bigdaz bigdaz closed this as completed in 77699ba Dec 12, 2023
bigdaz added a commit that referenced this issue Dec 23, 2023
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

No branches or pull requests

2 participants