You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In a GitHub-hosted runner the issue doesn't occur due to Azure clean-up strategy. While in the self-hosted runner is pretty common.
While the runtime creates the files owned by i.e. root under a non-root user (i.e. runner), the Post Checkout or whatever else fails to fully cleanup the working directory, resulting in further failures of the self-hosted and corruption of the pending steps / other workflows.
To Reproduce
Steps to reproduce the behavior:
Create self-hosted runner.
Run a workflow what's checking branch and creating a directory along with a file, both owned by root or other user.
Create another workflow step what's checking out the same or other branch or re-run the workflow under the same repo or any other under the same runner.
Expected behavior
Once the step is finished, GitHub runner attempts to use SUDO as to cleanup remainings of the _work directory, in order to make sure the work zone is ready for the rest of the tasks.
Runner Version and Platform
Linux-x64-2.230.0
OS of the machine running the runner? Debian 12 server
Describe the bug
In a GitHub-hosted runner the issue doesn't occur due to Azure clean-up strategy. While in the self-hosted runner is pretty common.
While the runtime creates the files owned by i.e.
root
under a non-root user (i.e.runner
), the Post Checkout or whatever else fails to fully cleanup the working directory, resulting in further failures of the self-hosted and corruption of the pending steps / other workflows.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Once the step is finished, GitHub runner attempts to use SUDO as to cleanup remainings of the
_work
directory, in order to make sure the work zone is ready for the rest of the tasks.Runner Version and Platform
Linux-x64-2.230.0
OS of the machine running the runner?
Debian 12
serverWhat's not working?
The final cleanup job of the runner.
Job Log Output
The log comes from https://github.com/GamePlayer-8/stoney-kernel/actions/runs/11687408761/job/32546565772
Runner and Worker's Diagnostic Logs
Worker_20241105-232849-utc.log
The text was updated successfully, but these errors were encountered: