[GH-ISSUE #1152] Issue: cannot create directory '/var/run/act/actions': Permission denied #648

Closed
opened 2026-03-01 21:45:12 +03:00 by kerem · 1 comment
Owner

Originally created by @opelx on GitHub (May 8, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1152

System information

  • Operating System: Windows 10
  • Architecture: x64 (64-bit)
  • Apple M1: no
  • Docker version: 20.10.14
  • Docker image used in act: ghcr.io/catthehacker/ubuntu:full-20.04
  • act version: act version 0.2.26

Expected behaviour

Should pass the example given

Actual behaviour

[CI/test] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user= workdir=
| mkdir: cannot create directory '/var/run/act/actions': Permission denied
[CI/test] Failure - actions/setup-node@v1
[CI/test] exit with FAILURE: 1
Error: Job 'test' failed

Workflow and/or repository

   $ git clone https://github.com/cplee/github-actions-demo.git
   $ cd .\github-actions-demo\
   $ .\act -l
   $ .\act -n
   $ .\act -v

Steps to reproduce

act output

PS H:\work\github-actions-demo> .\act -v
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading environment from H:\\work\\github-actions-demo\\.env"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading secrets from H:\\work\\github-actions-demo\\.secrets"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading workflows from 'H:\\work\\github-actions-demo\\.github\\workflows'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading workflows recursively"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found workflow 'main.yml' in 'H:\\work\\github-actions-demo\\.github\\workflows\\main.yml'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Reading workflow 'H:\\work\\github-actions-demo\\.github\\workflows\\main.yml'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Planning event: push"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="evaluating expression 'success()'"
time="2022-05-08T14:28:27+02:00" level=debug msg="expression 'success()' evaluated to 'true'"
[CI/test] 🚀  Start image=ghcr.io/catthehacker/ubuntu:full-20.04
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
[CI/test]   🐳  docker pull image=ghcr.io/catthehacker/ubuntu:full-20.04 platform= username= forcePull=false
[CI/test]   🐳  docker pull ghcr.io/catthehacker/ubuntu:full-20.04
time="2022-05-08T14:28:27+02:00" level=debug msg="Image exists? true"
[CI/test] Removed container: e922d25b22f27742ea5a43035e80bd0ec800674d3156fe2f1c3eb14f507f8cbf
[CI/test]   🐳  docker volume rm act-CI-test
[CI/test]   🐳  docker create image=ghcr.io/catthehacker/ubuntu:full-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test] Created container name=act-CI-test id=72d3832b4e13aebb804c11f3f3fb52509c47941b8097eb6ea1b38dbbf90cf03c from image ghcr.io/catthehacker/ubuntu:full-20.04 (platform: )
[CI/test] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[CI/test]   🐳  docker run image=ghcr.io/catthehacker/ubuntu:full-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test] Starting container: 72d3832b4e13aebb804c11f3f3fb52509c47941b8097eb6ea1b38dbbf90cf03c
[CI/test] Started container: 72d3832b4e13aebb804c11f3f3fb52509c47941b8097eb6ea1b38dbbf90cf03c
[CI/test]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[CI/test] Exec command '[mkdir -m 0777 -p /var/run/act]'
[CI/test] Working directory '/mnt/h/work/github-actions-demo'
[CI/test]   🐳  docker cp src=H:\work\github-actions-demo\. dst=\mnt\h\work\github-actions-demo
[CI/test]   🐳  docker exec cmd=[mkdir -p \mnt\h\work\github-actions-demo] user= workdir=
[CI/test] Exec command '[mkdir -p /mnt/h/work/github-actions-demo]'
[CI/test] Working directory '/mnt/h/work/github-actions-demo'
time="2022-05-08T14:28:27+02:00" level=debug msg="Writing tarball C:\\Users\\Olaf\\AppData\\Local\\Temp\\act1027997498 from H:\\work\\github-actions-demo\\."
time="2022-05-08T14:28:27+02:00" level=debug msg="Stripping prefix:H:\\work\\github-actions-demo\\ src:H:\\work\\github-actions-demo\\."
[CI/test] Extracting content from 'C:\Users\Olaf\AppData\Local\Temp\act1027997498' to '\mnt\h\work\github-actions-demo'
time="2022-05-08T14:28:27+02:00" level=debug msg="Writing entry to tarball workflow/event.json len:2"
time="2022-05-08T14:28:27+02:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0"
time="2022-05-08T14:28:27+02:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0"
[CI/test] Extracting content to '/var/run/act/'
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="evaluating expression ''"
time="2022-05-08T14:28:27+02:00" level=debug msg="expression '' evaluated to 'true'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
[CI/test] setupEnv => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/mnt/h/work/github-actions-demo GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config]
[CI/test] ⭐  Run actions/checkout@v2
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
[CI/test] Skipping local actions/checkout because workdir was already copied
[CI/test]   ✅  Success - actions/checkout@v2
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="evaluating expression ''"
time="2022-05-08T14:28:27+02:00" level=debug msg="expression '' evaluated to 'true'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
[CI/test] setupEnv => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/mnt/h/work/github-actions-demo GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config]
[CI/test] ⭐  Run actions/setup-node@v1
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
[CI/test]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v1
[CI/test]   cloning https://github.com/actions/setup-node to C:\Users\Olaf\.cache\act/actions-setup-node@v1
[CI/test] Unable to pull refs/heads/v1: non-fast-forward update
[CI/test] Cloned https://github.com/actions/setup-node to C:\Users\Olaf\.cache\act/actions-setup-node@v1
[CI/test] Checked out v1
time="2022-05-08T14:28:28+02:00" level=debug msg="Read action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use.  Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js   [] []} { }} from 'Unknown'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Read action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use.  Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js   [] []} { }} from 'Unknown'"
time="2022-05-08T14:28:28+02:00" level=debug msg="About to run action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use.  Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js   [] []} { }}"
time="2022-05-08T14:28:28+02:00" level=debug msg="type=3 actionDir=C:\\Users\\Olaf\\.cache\\act/actions-setup-node@v1 actionPath= workdir=H:\\work\\github-actions-demo actionCacheDir=C:\\Users\\Olaf\\.cache\\act actionName=actions-setup-node@v1 containerActionDir=/var/run/act/actions/actions-setup-node@v1"
time="2022-05-08T14:28:28+02:00" level=debug msg="Removing C:\\Users\\Olaf\\.cache\\act/actions-setup-node@v1/.gitignore before docker cp"
time="2022-05-08T14:28:28+02:00" level=debug msg=/var/run/act/actions/actions-setup-node@v1
[CI/test]   🐳  docker cp src=C:\Users\Olaf\.cache\act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/
[CI/test]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user= workdir=
[CI/test] Exec command '[mkdir -p /var/run/act/actions/actions-setup-node@v1/]'
[CI/test] Working directory '/mnt/h/work/github-actions-demo'
| mkdir: cannot create directory '/var/run/act/actions': Permission denied
[CI/test]   ❌  Failure - actions/setup-node@v1
[CI/test] exit with `FAILURE`: 1
time="2022-05-08T14:28:28+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:28+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:28+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:28+02:00" level=debug msg="evaluating expression ''"
time="2022-05-08T14:28:28+02:00" level=debug msg="expression '' evaluated to 'false'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Skipping step 'npm install' due to ''"
time="2022-05-08T14:28:28+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:28+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:28+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:28+02:00" level=debug msg="evaluating expression ''"
time="2022-05-08T14:28:28+02:00" level=debug msg="expression '' evaluated to 'false'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Skipping step 'npm test' due to ''"
time="2022-05-08T14:28:28+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'"
time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2022-05-08T14:28:28+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2022-05-08T14:28:28+02:00" level=debug msg="using github ref: refs/heads/master"
time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
Error: Job 'test' failed
Originally created by @opelx on GitHub (May 8, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1152 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## System information - Operating System: Windows 10 - Architecture: x64 (64-bit) - Apple M1: no - Docker version: 20.10.14 - Docker image used in `act`: ghcr.io/catthehacker/ubuntu:full-20.04 - `act` version: act version 0.2.26 ## Expected behaviour Should pass the example given ## Actual behaviour [CI/test] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user= workdir= | mkdir: cannot create directory '/var/run/act/actions': Permission denied [CI/test] ❌ Failure - actions/setup-node@v1 [CI/test] exit with `FAILURE`: 1 Error: Job 'test' failed ## Workflow and/or repository ``` $ git clone https://github.com/cplee/github-actions-demo.git $ cd .\github-actions-demo\ $ .\act -l $ .\act -n $ .\act -v ``` ## Steps to reproduce ## `act` output ``` PS H:\work\github-actions-demo> .\act -v time="2022-05-08T14:28:27+02:00" level=debug msg="Loading environment from H:\\work\\github-actions-demo\\.env" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading secrets from H:\\work\\github-actions-demo\\.secrets" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading workflows from 'H:\\work\\github-actions-demo\\.github\\workflows'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading workflows recursively" time="2022-05-08T14:28:27+02:00" level=debug msg="Found workflow 'main.yml' in 'H:\\work\\github-actions-demo\\.github\\workflows\\main.yml'" time="2022-05-08T14:28:27+02:00" level=debug msg="Reading workflow 'H:\\work\\github-actions-demo\\.github\\workflows\\main.yml'" time="2022-05-08T14:28:27+02:00" level=debug msg="Planning event: push" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="evaluating expression 'success()'" time="2022-05-08T14:28:27+02:00" level=debug msg="expression 'success()' evaluated to 'true'" [CI/test] 🚀 Start image=ghcr.io/catthehacker/ubuntu:full-20.04 time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" [CI/test] 🐳 docker pull image=ghcr.io/catthehacker/ubuntu:full-20.04 platform= username= forcePull=false [CI/test] 🐳 docker pull ghcr.io/catthehacker/ubuntu:full-20.04 time="2022-05-08T14:28:27+02:00" level=debug msg="Image exists? true" [CI/test] Removed container: e922d25b22f27742ea5a43035e80bd0ec800674d3156fe2f1c3eb14f507f8cbf [CI/test] 🐳 docker volume rm act-CI-test [CI/test] 🐳 docker create image=ghcr.io/catthehacker/ubuntu:full-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/test] Created container name=act-CI-test id=72d3832b4e13aebb804c11f3f3fb52509c47941b8097eb6ea1b38dbbf90cf03c from image ghcr.io/catthehacker/ubuntu:full-20.04 (platform: ) [CI/test] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [CI/test] 🐳 docker run image=ghcr.io/catthehacker/ubuntu:full-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/test] Starting container: 72d3832b4e13aebb804c11f3f3fb52509c47941b8097eb6ea1b38dbbf90cf03c [CI/test] Started container: 72d3832b4e13aebb804c11f3f3fb52509c47941b8097eb6ea1b38dbbf90cf03c [CI/test] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [CI/test] Exec command '[mkdir -m 0777 -p /var/run/act]' [CI/test] Working directory '/mnt/h/work/github-actions-demo' [CI/test] 🐳 docker cp src=H:\work\github-actions-demo\. dst=\mnt\h\work\github-actions-demo [CI/test] 🐳 docker exec cmd=[mkdir -p \mnt\h\work\github-actions-demo] user= workdir= [CI/test] Exec command '[mkdir -p /mnt/h/work/github-actions-demo]' [CI/test] Working directory '/mnt/h/work/github-actions-demo' time="2022-05-08T14:28:27+02:00" level=debug msg="Writing tarball C:\\Users\\Olaf\\AppData\\Local\\Temp\\act1027997498 from H:\\work\\github-actions-demo\\." time="2022-05-08T14:28:27+02:00" level=debug msg="Stripping prefix:H:\\work\\github-actions-demo\\ src:H:\\work\\github-actions-demo\\." [CI/test] Extracting content from 'C:\Users\Olaf\AppData\Local\Temp\act1027997498' to '\mnt\h\work\github-actions-demo' time="2022-05-08T14:28:27+02:00" level=debug msg="Writing entry to tarball workflow/event.json len:2" time="2022-05-08T14:28:27+02:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0" time="2022-05-08T14:28:27+02:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0" [CI/test] Extracting content to '/var/run/act/' time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="evaluating expression ''" time="2022-05-08T14:28:27+02:00" level=debug msg="expression '' evaluated to 'true'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" [CI/test] setupEnv => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/mnt/h/work/github-actions-demo GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config] [CI/test] ⭐ Run actions/checkout@v2 time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" [CI/test] Skipping local actions/checkout because workdir was already copied [CI/test] ✅ Success - actions/checkout@v2 time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="evaluating expression ''" time="2022-05-08T14:28:27+02:00" level=debug msg="expression '' evaluated to 'true'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" [CI/test] setupEnv => map[ACCEPT_EULA:Y ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache ANDROID_HOME:/usr/local/lib/android/sdk ANDROID_NDK_HOME:/usr/local/lib/android/sdk/ndk-bundle ANDROID_NDK_LATEST_HOME:/usr/local/lib/android/sdk/ndk/22.1.7171670 ANDROID_NDK_ROOT:/usr/local/lib/android/sdk/ndk-bundle ANDROID_SDK_ROOT:/usr/local/lib/android/sdk ANT_HOME:/usr/share/ant AZURE_EXTENSION_DIR:/opt/az/azcliextensions BOOTSTRAP_HASKELL_NONINTERACTIVE:1 CHROMEWEBDRIVER:/usr/local/share/chrome_driver CHROME_BIN:/usr/bin/google-chrome CI:true CONDA:/usr/share/miniconda DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner DOTNET_MULTILEVEL_LOOKUP:0 DOTNET_NOLOGO:1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE:1 GECKOWEBDRIVER:/usr/local/share/gecko_driver GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/mnt/h/work/github-actions-demo GOROOT_1_14_X64:/opt/hostedtoolcache/go/1.14.15/x64 GOROOT_1_15_X64:/opt/hostedtoolcache/go/1.15.15/x64 GOROOT_1_16_X64:/opt/hostedtoolcache/go/1.16.7/x64 GRAALVM_11_ROOT:/usr/local/graalvm/graalvm-ce-java11-21.2.0 GRADLE_HOME:/usr/share/gradle-7.2 HOMEBREW_CELLAR:/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:3650 HOMEBREW_NO_AUTO_UPDATE:1 HOMEBREW_PREFIX:/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY:/home/linuxbrew/.linuxbrew/Homebrew HOMEBREW_SHELLENV_PREFIX:/home/linuxbrew/.linuxbrew IMAGE_OS:ubuntu20 ImageOS:ubuntu20 ImageVersion:dev JAVA_HOME:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_11_X64:/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64 JAVA_HOME_8_X64:/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 LEIN_HOME:/usr/local/lib/lein LEIN_JAR:/usr/local/lib/lein/self-installs/leiningen-2.9.6-standalone.jar LSB_OS_VERSION:2004 LSB_RELEASE:20.04 NVM_DIR:/home/runner/.nvm PATH:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/opt/hostedtoolcache/node/14.17.5/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PIPX_BIN_DIR:/opt/pipx_bin PIPX_HOME:/opt/pipx RUNNER_PERFLOG:/dev/null RUNNER_TEMP:/home/runner/work/_temp RUNNER_TRACKING_ID: RUNNER_USER:runner RUN_TOOL_CACHE:/opt/hostedtoolcache SELENIUM_JAR_PATH:/usr/share/java/selenium-server-standalone.jar SWIFT_PATH:/usr/share/swift/usr/bin USER:runner VCPKG_INSTALLATION_ROOT:/usr/local/share/vcpkg XDG_CONFIG_HOME:/home/runner/.config] [CI/test] ⭐ Run actions/setup-node@v1 time="2022-05-08T14:28:27+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:27+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:27+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:27+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" [CI/test] ☁ git clone 'https://github.com/actions/setup-node' # ref=v1 [CI/test] cloning https://github.com/actions/setup-node to C:\Users\Olaf\.cache\act/actions-setup-node@v1 [CI/test] Unable to pull refs/heads/v1: non-fast-forward update [CI/test] Cloned https://github.com/actions/setup-node to C:\Users\Olaf\.cache\act/actions-setup-node@v1 [CI/test] Checked out v1 time="2022-05-08T14:28:28+02:00" level=debug msg="Read action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js [] []} { }} from 'Unknown'" time="2022-05-08T14:28:28+02:00" level=debug msg="Read action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js [] []} { }} from 'Unknown'" time="2022-05-08T14:28:28+02:00" level=debug msg="About to run action &{Setup Node.js environment GitHub Setup a Node.js environment and add it to the PATH, additionally providing proxy support map[always-auth:{Set always-auth in npmrc false false} node-version:{Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0 false 10.x} registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN false } scope:{Optional scope for authenticating against scoped registries false } version:{Deprecated. Use node-version instead. Will not be supported after October 1, 2019 false }] map[] {node12 map[] dist/index.js [] []} { }}" time="2022-05-08T14:28:28+02:00" level=debug msg="type=3 actionDir=C:\\Users\\Olaf\\.cache\\act/actions-setup-node@v1 actionPath= workdir=H:\\work\\github-actions-demo actionCacheDir=C:\\Users\\Olaf\\.cache\\act actionName=actions-setup-node@v1 containerActionDir=/var/run/act/actions/actions-setup-node@v1" time="2022-05-08T14:28:28+02:00" level=debug msg="Removing C:\\Users\\Olaf\\.cache\\act/actions-setup-node@v1/.gitignore before docker cp" time="2022-05-08T14:28:28+02:00" level=debug msg=/var/run/act/actions/actions-setup-node@v1 [CI/test] 🐳 docker cp src=C:\Users\Olaf\.cache\act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/ [CI/test] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user= workdir= [CI/test] Exec command '[mkdir -p /var/run/act/actions/actions-setup-node@v1/]' [CI/test] Working directory '/mnt/h/work/github-actions-demo' | mkdir: cannot create directory '/var/run/act/actions': Permission denied [CI/test] ❌ Failure - actions/setup-node@v1 [CI/test] exit with `FAILURE`: 1 time="2022-05-08T14:28:28+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:28+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:28+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:28+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:28+02:00" level=debug msg="evaluating expression ''" time="2022-05-08T14:28:28+02:00" level=debug msg="expression '' evaluated to 'false'" time="2022-05-08T14:28:28+02:00" level=debug msg="Skipping step 'npm install' due to ''" time="2022-05-08T14:28:28+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:28+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:28+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:28+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:28+02:00" level=debug msg="evaluating expression ''" time="2022-05-08T14:28:28+02:00" level=debug msg="expression '' evaluated to 'false'" time="2022-05-08T14:28:28+02:00" level=debug msg="Skipping step 'npm test' due to ''" time="2022-05-08T14:28:28+02:00" level=debug msg="Loading slug from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:28+02:00" level=debug msg="Loading revision from git directory 'H:\\work\\github-actions-demo\\.git'" time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2022-05-08T14:28:28+02:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2022-05-08T14:28:28+02:00" level=debug msg="using github ref: refs/heads/master" time="2022-05-08T14:28:28+02:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" Error: Job 'test' failed ```
kerem 2026-03-01 21:45:12 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@catthehacker commented on GitHub (May 8, 2022):

duplicate of #935

<!-- gh-comment-id:1120412018 --> @catthehacker commented on GitHub (May 8, 2022): duplicate of #935
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#648
No description provided.