cplee / github-actions-demo

Demonstration of GitHub Actions
MIT License
143 stars 168 forks source link

starting container process caused: exec: "bash": executable file not found in $PATH: unknown #5

Open utility-hive opened 3 years ago

utility-hive commented 3 years ago

I have cloned the repo, npm install and then run:

act

[CI/test] 🚀  Start image=node:12.6-buster-slim
[CI/test]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test]   🐳  docker cp src=/home/luigi/projects/attendance-page/github-actions-demo/. dst=/github/workspace
[CI/test] ⭐  Run actions/checkout@v2
[CI/test]   ✅  Success - actions/checkout@v2
[CI/test] ⭐  Run actions/setup-node@v1
[CI/test]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v1
[CI/test]   🐳  docker cp src=/home/luigi/.cache/act/actions-setup-node@v1 dst=/actions/
[CI/test]   💬  ::debug::isExplicit: 
[CI/test]   💬  ::debug::explicit? false
[CI/test]   💬  ::debug::evaluating 0 versions
[CI/test]   💬  ::debug::match not found
[CI/test]   💬  ::debug::evaluating 434 versions
[CI/test]   💬  ::debug::matched: v10.23.1
[CI/test]   💬  ::debug::isExplicit: 10.23.1
[CI/test]   💬  ::debug::explicit? true
[CI/test]   💬  ::debug::checking cache: /opt/hostedtoolcache/node/10.23.1/x64
[CI/test]   💬  ::debug::not found
[CI/test]   💬  ::debug::Downloading https://nodejs.org/dist/v10.23.1/node-v10.23.1-linux-x64.tar.gz
[CI/test]   💬  ::debug::Destination /tmp/9f09aeb9-2af5-467e-be2d-03c00d9b2af1
[CI/test]   💬  ::debug::download complete
[CI/test]   💬  ::debug::Checking tar --version
[CI/test]   💬  ::debug::tar (GNU tar) 1.30%0ACopyright (C) 2017 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason.
| [command]/bin/tar xz --warning=no-unknown-keyword -C /tmp/d318e968-a7ec-4568-870f-4fcf6c8d2261 -f /tmp/9f09aeb9-2af5-467e-be2d-03c00d9b2af1
[CI/test]   💬  ::debug::Caching tool node 10.23.1 x64
[CI/test]   💬  ::debug::source dir: /tmp/d318e968-a7ec-4568-870f-4fcf6c8d2261/node-v10.23.1-linux-x64
[CI/test]   💬  ::debug::destination /opt/hostedtoolcache/node/10.23.1/x64
[CI/test]   💬  ::debug::finished caching tool
[CI/test]   ⚙  ::add-path:: /opt/hostedtoolcache/node/10.23.1/x64/bin
| [command]/opt/hostedtoolcache/node/10.23.1/x64/bin/node --version
| v10.23.1
| [command]/opt/hostedtoolcache/node/10.23.1/x64/bin/npm --version
| 6.14.10
[CI/test]   ❓  ##[add-matcher]/actions/actions-setup-node@v1/.github/tsc.json
[CI/test]   ❓  ##[add-matcher]/actions/actions-setup-node@v1/.github/eslint-stylish.json
[CI/test]   ❓  ##[add-matcher]/actions/actions-setup-node@v1/.github/eslint-compact.json
[CI/test]   ✅  Success - actions/setup-node@v1
[CI/test] ⭐  Run npm install
| OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "bash": executable file not found in $PATH: unknown
[CI/test]   ❌  Failure - npm install
Error: exit with `FAILURE`: 126
utility-hive commented 3 years ago

Temporary workaround