Open
Description
Describe the bug
Very rarely on update of github actions runner safe_sleep.sh
hangs forever:
$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
...
actions+ 72298 96.3 0.0 4372 3328 ? R Apr02 1988:54 /bin/bash /home/actions-runner/safe_sleep.sh 1
...
I suspect it may happen sometimes if machine runs in cloud and is overloaded and/or overcommitted.
To Reproduce
Steps to reproduce the behavior:
- Download runner of version prior to version, for example, 2.322.
- Register and run runner.
- Runner updates itself. It can also take a task to complete in meantime.
Expected behavior
Update should not hang infinitely.
Runner Version and Platform
Runner 2.322
OS: Linux