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
While Running Runner.client, following error is thrown
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/__e/linux/amd64/node12/bin/node": stat /__e/linux/amd64/node12/bin/node: no such file or directory: unknown
To Reproduce
Steps to reproduce the behavior:
Go to
Run 'Runner.client'
See error
Expected behavior
To complete the run successfully
Runner Version and Platform
Version of your runner? 3.2.1
OS of the machine running the runner? OSX/Windows/Linux/... OSX
What's not working?
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/__e/linux/amd64/node12/bin/node": stat /__e/linux/amd64/node12/bin/node: no such file or directory: unknown
I'm unable to reproduce this problem (macOS 10.14), I need your help to identify the problem on your system.
post the output of ls -l /usr/local/opt/github-actions-runner/actions-runner/externals/linux/amd64/node12/bin to see permissions on macOS
Post the output of the following workflow to see permissions on Linux (Docker)
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: ls -l /__e/linux/amd64/node12/bin
Run sudo rm -rf /usr/local/opt/github-actions-runner/actions-runner/externals/, to let the runner downloading a fresh copy of node (even if any previous point fails to run)
Run Runner.Client again and post the output.
I hope to find a way to autofix this error inside the Runner.
Edit
Post the output of the following workflow to see architecture on Linux (Docker)
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: uname -a
Wait really? extracting the runner in /usr/local/opt/github-actions-runner/actions-runner doesn't work, maybe docker has no permission to bind mount that folder.
~/Downloads/runner works for me
I will close this issue. Guess it will be worthwhile to capture that the installation directory needs to be accessible to docker file sharing in readme.
Thank you very much for this great time-saving project.
I updated the ReadMe to reflect your issue. The official runner blocks docker on macOS runners, therefore this limitation is only relevant for this fork.
Uses in Composite Actions Ready for Experiments :) in 3.2.2
Activity
ChristopherHX commentedon Jul 29, 2021
I'm unable to reproduce this problem (macOS 10.14), I need your help to identify the problem on your system.
ls -l /usr/local/opt/github-actions-runner/actions-runner/externals/linux/amd64/node12/binto see permissions on macOSsudo rm -rf /usr/local/opt/github-actions-runner/actions-runner/externals/, to let the runner downloading a fresh copy of node (even if any previous point fails to run)Runner.Clientagain and post the output.I hope to find a way to autofix this error inside the Runner.
Edit
tar --versionbsdtar 2.8.3 - libarchive 2.8.3worked for me.bhvngt commentedon Jul 29, 2021
Thanks @ChristopherHX.
Here you go
output of
ls -l /usr/local/opt/github-actions-runner/actions-runner/externals/linux/amd64/node12/binon OSXRan
sudo rm -rf /usr/local/opt/github-actions-runner/actions-runner/externals/Ran
Runner.Clientwith followingjobHere's the output
Job Log Output
I have following
tar versionbsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.6bhvngt commentedon Jul 29, 2021
I ran
tar xvf actions-runner-osx-x64-3.2.1.tar.gzinside/usr/local/opt/github-actions-runner/actions-runnerit was successful. After that I ran the job once again and got the same error.
ChristopherHX commentedon Jul 29, 2021
I'm confused that mounting your non empty
/usr/local/opt/github-actions-runner/actions-runner/externalsdon't work.Could you please try to extracting the runner in your Home folder and not in opt ?e.g.
Open your home folder then
And try run your workflow with this one?
ChristopherHX commentedon Jul 29, 2021
Does this work? Just mounting it with docker not the runner
EDIT
Docker cannot mount
/usr/local/opt/github-actions-runner/actions-runner/externals, it is an empty folder in this case.ChristopherHX commentedon Jul 29, 2021
Wait really? extracting the runner in /usr/local/opt/github-actions-runner/actions-runner doesn't work, maybe docker has no permission to bind mount that folder.
~/Downloads/runner works for me
Related issue: docker/for-mac#3582
You need to store this runner in whitelisted locations:
https://stackoverflow.com/questions/45122459/mounts-denied-the-paths-are-not-shared-from-os-x-and-are-not-known-to-docke
bhvngt commentedon Jul 29, 2021
ohh.. got it... It wasn't listed as part of file sharing in my
dockerconfig. After adding that I ran this successfully. Thanks a lot @ChristopherHXbhvngt commentedon Jul 29, 2021
I will close this issue. Guess it will be worthwhile to capture that the installation directory needs to be accessible to
docker file sharingin readme.Thank you very much for this great time-saving project.
ChristopherHX commentedon Aug 6, 2021
I updated the ReadMe to reflect your issue. The official runner blocks docker on macOS runners, therefore this limitation is only relevant for this fork.
Uses in Composite Actions Ready for Experiments :) in 3.2.2