[GH-ISSUE #717] Issue: actions/setup-node@v1 failing with error to get local cert #453

Closed
opened 2026-03-01 21:43:31 +03:00 by kerem · 4 comments
Owner

Originally created by @merlinstardust on GitHub (Jun 2, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/717

Act version

act version HEAD-8a9167d

Expected behaviour

actions/setup-node@v1 should succeed in setting up node

Actual behaviour

actions/setup-node@v1 fails with error unable to get local issuer certificate

[build/main] ⭐  Run Setup node
INFO[0006]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v1 
[build/main]   🐳  docker cp src=/Users/mepatterson/.cache/act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/
[build/main]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user=
[build/main]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-node@v1/dist/index.js] user=
[build/main]   💬  ::debug::isExplicit: 
[build/main]   💬  ::debug::explicit? false
[build/main]   💬  ::debug::evaluating 0 versions
[build/main]   💬  ::debug::match not found
[build/main]   ❗  ::error::unable to get local issuer certificate
[build/main]   ❌  Failure - Setup node

Workflow and/or repository

Repo Link to Workflow

Log
$ act -v
DEBU[0000] Loading environment from /Users/mepatterson/Code/messaging-components/.env 
DEBU[0000] Loading secrets from /Users/mepatterson/Code/messaging-components/.secrets 
DEBU[0000] Loading workflows from '/Users/mepatterson/Code/messaging-components/.github/workflows' 
DEBU[0000] Loading workflows recursively                
DEBU[0000] Found workflow 'main.yml' in '/Users/mepatterson/Code/messaging-components/.github/workflows/main.yml' 
DEBU[0000] Reading workflow '/Users/mepatterson/Code/messaging-components/.github/workflows/main.yml' 
DEBU[0000] Correcting if statements '/Users/mepatterson/Code/messaging-components/.github/workflows/main.yml' 
DEBU[0000] Planning event: push                         
DEBU[0000] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0000] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0000] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0000] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0000] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0000] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0000] using github ref: refs/heads/develop         
DEBU[0000] context env => map[ACT:true]                 
[build/main] 🧪  Matrix: map[node:12]
[build/main] 🚀  Start image=catthehacker/ubuntu:act-latest
DEBU[0000] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0000] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0000] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0000] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0000] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0000] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0000] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0000] using github ref: refs/heads/develop         
[build/main]   🐳  docker pull catthehacker/ubuntu:act-latest
DEBU[0000] Image exists? true                           
[build/main] Removed container: ae0ab8183423716517c4d625783aa44fc15b452c2e5d1f743c290fd298d45501
[build/main]   🐳  docker volume rm act-build-main
[build/main]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[build/main] Created container name=act-build-main id=2a9d2e07221e3ddb45593497899786fef937f409421206dc90d0484af0d74eb1 from image catthehacker/ubuntu:act-latest (platform: )
[build/main] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[build/main]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[build/main] Starting container: 2a9d2e07221e3ddb45593497899786fef937f409421206dc90d0484af0d74eb1
[build/main] Started container: 2a9d2e07221e3ddb45593497899786fef937f409421206dc90d0484af0d74eb1
[build/main]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
[build/main] Exec command '[mkdir -m 0777 -p /var/run/act]'
[build/main]   🐳  docker cp src=/Users/mepatterson/Code/messaging-components/. dst=/Users/mepatterson/Code/messaging-components
[build/main]   🐳  docker exec cmd=[mkdir -p /Users/mepatterson/Code/messaging-components] user=
[build/main] Exec command '[mkdir -p /Users/mepatterson/Code/messaging-components]'
DEBU[0000] Writing tarball /var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act058237482 from /Users/mepatterson/Code/messaging-components/. 
DEBU[0000] Stripping prefix:/Users/mepatterson/Code/messaging-components/ src:/Users/mepatterson/Code/messaging-components/. 
[build/main] Extracting content from '/var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act058237482' to '/Users/mepatterson/Code/messaging-components'
DEBU[0006] Writing entry to tarball workflow/event.json len:2 
DEBU[0006] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0006] Writing entry to tarball workflow/paths.txt len:0 
[build/main] Extracting content to '/var/run/act/'
DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0007] using github ref: refs/heads/develop         
DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0007] using github ref: refs/heads/develop         
DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
[build/main] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[build/main] ⭐  Run Checkout repo
DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0007] using github ref: refs/heads/develop         
[build/main] Skipping local actions/checkout because workdir was already copied
[build/main]   ✅  Success - Checkout repo
DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0007] using github ref: refs/heads/develop         
DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0007] using github ref: refs/heads/develop         
DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0007] using github ref: refs/heads/develop         
DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0007] Evaluating 'matrix['node']' instead of 'matrix.node' 
DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 INPUT_NODE-VERSION:${{ matrix.node }} ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] 
DEBU[0007] Evaluating 'matrix['node']' instead of 'matrix.node' 
[build/main] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 INPUT_NODE-VERSION:12 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[build/main] ⭐  Run Setup node
DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' 
DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' 
DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 
DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f 
DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 
DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 
DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 
DEBU[0007] using github ref: refs/heads/develop         
INFO[0007]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v1 
DEBU[0007]   cloning https://github.com/actions/setup-node to /Users/mepatterson/.cache/act/actions-setup-node@v1 
DEBU[0010] Unable to pull refs/heads/v1: non-fast-forward update 
DEBU[0010] Cloned https://github.com/actions/setup-node to /Users/mepatterson/.cache/act/actions-setup-node@v1 
DEBU[0010] Checked out v1                               
DEBU[0010] 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 '/Users/mepatterson/.cache/act/actions-setup-node@v1/action.yml' 
DEBU[0010] 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  [] [] []} { }} 
DEBU[0010] type=3 actionDir=/Users/mepatterson/.cache/act/actions-setup-node@v1 actionPath= Workdir=/Users/mepatterson/Code/messaging-components ActionCacheDir=/Users/mepatterson/.cache/act actionName=actions-setup-node@v1 containerActionDir=/var/run/act/actions/actions-setup-node@v1 
DEBU[0010] Removing /Users/mepatterson/.cache/act/actions-setup-node@v1/.gitignore before docker cp 
[build/main]   🐳  docker cp src=/Users/mepatterson/.cache/act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/
[build/main]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user=
[build/main] Exec command '[mkdir -p /var/run/act/actions/actions-setup-node@v1/]'
DEBU[0010] Writing tarball /var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act555294081 from /Users/mepatterson/.cache/act/actions-setup-node@v1/ 
DEBU[0010] Stripping prefix:/Users/mepatterson/.cache/act/actions-setup-node@v1/ src:/Users/mepatterson/.cache/act/actions-setup-node@v1/ 
[build/main] Extracting content from '/var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act555294081' to '/var/run/act/actions/actions-setup-node@v1/'
DEBU[0012] executing remote job container: [node /var/run/act/actions/actions-setup-node@v1/dist/index.js] 
[build/main]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-node@v1/dist/index.js] user=
[build/main] Exec command '[node /var/run/act/actions/actions-setup-node@v1/dist/index.js]'
[build/main]   💬  ::debug::isExplicit: 
[build/main]   💬  ::debug::explicit? false
[build/main]   💬  ::debug::evaluating 0 versions
[build/main]   💬  ::debug::match not found
[build/main]   ❗  ::error::unable to get local issuer certificate
[build/main]   ❌  Failure - Setup node
DEBU[0012] exit with `FAILURE`: 1                       
DEBU[0012] exit with `FAILURE`: 1                       
DEBU[0012] exit with `FAILURE`: 1                       
DEBU[0012] exit with `FAILURE`: 1                       
DEBU[0012] exit with `FAILURE`: 1                       
DEBU[0012] exit with `FAILURE`: 1                       
DEBU[0012] exit with `FAILURE`: 1                       
Error: exit with `FAILURE`: 1
Originally created by @merlinstardust on GitHub (Jun 2, 2021). Original GitHub issue: https://github.com/nektos/act/issues/717 ## Act version ```none act version HEAD-8a9167d ``` ## Expected behaviour `actions/setup-node@v1` should succeed in setting up node ## Actual behaviour `actions/setup-node@v1` fails with error `unable to get local issuer certificate` ``` [build/main] ⭐ Run Setup node INFO[0006] ☁ git clone 'https://github.com/actions/setup-node' # ref=v1 [build/main] 🐳 docker cp src=/Users/mepatterson/.cache/act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/ [build/main] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user= [build/main] 🐳 docker exec cmd=[node /var/run/act/actions/actions-setup-node@v1/dist/index.js] user= [build/main] 💬 ::debug::isExplicit: [build/main] 💬 ::debug::explicit? false [build/main] 💬 ::debug::evaluating 0 versions [build/main] 💬 ::debug::match not found [build/main] ❗ ::error::unable to get local issuer certificate [build/main] ❌ Failure - Setup node ``` ## Workflow and/or repository [Repo Link to Workflow](https://github.com/merlinpatt/paypal-messaging-components/blob/develop/.github/workflows/main.yml) <!-- - Provide workflow with which we can reproduce the issue OR - Provide link to your GitHub repository that contains the workflow <details> <summary>workflow</summary> ```none name: example workflow on: [push] jobs: [...] ``` </details> ## Steps to reproduce 1. Clone https://github.com/merlinpatt/paypal-messaging-components 2. Run `act` ## `act` output <!-- - Use `act` with `-v`/`--verbose` and paste output from your terminal in code block below --> <details> <summary>Log</summary> ```none[build/main] 🧪 Matrix: map[node:12] $ act -v DEBU[0000] Loading environment from /Users/mepatterson/Code/messaging-components/.env DEBU[0000] Loading secrets from /Users/mepatterson/Code/messaging-components/.secrets DEBU[0000] Loading workflows from '/Users/mepatterson/Code/messaging-components/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'main.yml' in '/Users/mepatterson/Code/messaging-components/.github/workflows/main.yml' DEBU[0000] Reading workflow '/Users/mepatterson/Code/messaging-components/.github/workflows/main.yml' DEBU[0000] Correcting if statements '/Users/mepatterson/Code/messaging-components/.github/workflows/main.yml' DEBU[0000] Planning event: push DEBU[0000] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0000] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0000] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0000] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0000] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0000] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0000] using github ref: refs/heads/develop DEBU[0000] context env => map[ACT:true] [build/main] 🧪 Matrix: map[node:12] [build/main] 🚀 Start image=catthehacker/ubuntu:act-latest DEBU[0000] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0000] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0000] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0000] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0000] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0000] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0000] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0000] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0000] using github ref: refs/heads/develop [build/main] 🐳 docker pull catthehacker/ubuntu:act-latest DEBU[0000] Image exists? true [build/main] Removed container: ae0ab8183423716517c4d625783aa44fc15b452c2e5d1f743c290fd298d45501 [build/main] 🐳 docker volume rm act-build-main [build/main] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [build/main] Created container name=act-build-main id=2a9d2e07221e3ddb45593497899786fef937f409421206dc90d0484af0d74eb1 from image catthehacker/ubuntu:act-latest (platform: ) [build/main] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [build/main] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [build/main] Starting container: 2a9d2e07221e3ddb45593497899786fef937f409421206dc90d0484af0d74eb1 [build/main] Started container: 2a9d2e07221e3ddb45593497899786fef937f409421206dc90d0484af0d74eb1 [build/main] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [build/main] Exec command '[mkdir -m 0777 -p /var/run/act]' [build/main] 🐳 docker cp src=/Users/mepatterson/Code/messaging-components/. dst=/Users/mepatterson/Code/messaging-components [build/main] 🐳 docker exec cmd=[mkdir -p /Users/mepatterson/Code/messaging-components] user= [build/main] Exec command '[mkdir -p /Users/mepatterson/Code/messaging-components]' DEBU[0000] Writing tarball /var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act058237482 from /Users/mepatterson/Code/messaging-components/. DEBU[0000] Stripping prefix:/Users/mepatterson/Code/messaging-components/ src:/Users/mepatterson/Code/messaging-components/. [build/main] Extracting content from '/var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act058237482' to '/Users/mepatterson/Code/messaging-components' DEBU[0006] Writing entry to tarball workflow/event.json len:2 DEBU[0006] Writing entry to tarball workflow/envs.txt len:0 DEBU[0006] Writing entry to tarball workflow/paths.txt len:0 [build/main] Extracting content to '/var/run/act/' DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0007] using github ref: refs/heads/develop DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0007] using github ref: refs/heads/develop DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [build/main] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [build/main] ⭐ Run Checkout repo DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0007] using github ref: refs/heads/develop [build/main] Skipping local actions/checkout because workdir was already copied [build/main] ✅ Success - Checkout repo DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0007] using github ref: refs/heads/develop DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0007] using github ref: refs/heads/develop DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0007] using github ref: refs/heads/develop DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0007] Evaluating 'matrix['node']' instead of 'matrix.node' DEBU[0007] context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 INPUT_NODE-VERSION:${{ matrix.node }} ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] DEBU[0007] Evaluating 'matrix['node']' instead of 'matrix.node' [build/main] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true 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:main GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REPOSITORY:merlinpatt/paypal-messaging-components GITHUB_REPOSITORY_OWNER:merlinpatt GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:8f428c79172de903dcdb80338991d55c7e37e667 GITHUB_TOKEN: GITHUB_WORKFLOW:build GITHUB_WORKSPACE:/Users/mepatterson/Code/messaging-components IMAGE_OS:ubuntu20 INPUT_NODE-VERSION:12 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [build/main] ⭐ Run Setup node DEBU[0007] Loading slug from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Loading revision from git directory '/Users/mepatterson/Code/messaging-components/.git' DEBU[0007] Found revision: 8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] HEAD points to '8f428c79172de903dcdb80338991d55c7e37e667' DEBU[0007] Reference: name=refs/heads/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/heads/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/remotes/origin/migrate-ci sha=90e78f06c191a4b29aad2d1c9bbc80165f868d25 DEBU[0007] Reference: name=refs/remotes/origin/release sha=e56f050f2ab7a2ba083201d0c6d4d4aba368763f DEBU[0007] Reference: name=refs/remotes/upstream/develop sha=8f428c79172de903dcdb80338991d55c7e37e667 DEBU[0007] Reference: name=refs/stash sha=2f314b39224a5b03ca93677ef04c1779a60cd9f7 DEBU[0007] Reference: name=HEAD sha=0000000000000000000000000000000000000000 DEBU[0007] using github ref: refs/heads/develop INFO[0007] ☁ git clone 'https://github.com/actions/setup-node' # ref=v1 DEBU[0007] cloning https://github.com/actions/setup-node to /Users/mepatterson/.cache/act/actions-setup-node@v1 DEBU[0010] Unable to pull refs/heads/v1: non-fast-forward update DEBU[0010] Cloned https://github.com/actions/setup-node to /Users/mepatterson/.cache/act/actions-setup-node@v1 DEBU[0010] Checked out v1 DEBU[0010] 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 '/Users/mepatterson/.cache/act/actions-setup-node@v1/action.yml' DEBU[0010] 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 [] [] []} { }} DEBU[0010] type=3 actionDir=/Users/mepatterson/.cache/act/actions-setup-node@v1 actionPath= Workdir=/Users/mepatterson/Code/messaging-components ActionCacheDir=/Users/mepatterson/.cache/act actionName=actions-setup-node@v1 containerActionDir=/var/run/act/actions/actions-setup-node@v1 DEBU[0010] Removing /Users/mepatterson/.cache/act/actions-setup-node@v1/.gitignore before docker cp [build/main] 🐳 docker cp src=/Users/mepatterson/.cache/act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/ [build/main] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-node@v1/] user= [build/main] Exec command '[mkdir -p /var/run/act/actions/actions-setup-node@v1/]' DEBU[0010] Writing tarball /var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act555294081 from /Users/mepatterson/.cache/act/actions-setup-node@v1/ DEBU[0010] Stripping prefix:/Users/mepatterson/.cache/act/actions-setup-node@v1/ src:/Users/mepatterson/.cache/act/actions-setup-node@v1/ [build/main] Extracting content from '/var/folders/pm/56k3m7l57nv270j7bn9kz0100000gp/T/act555294081' to '/var/run/act/actions/actions-setup-node@v1/' DEBU[0012] executing remote job container: [node /var/run/act/actions/actions-setup-node@v1/dist/index.js] [build/main] 🐳 docker exec cmd=[node /var/run/act/actions/actions-setup-node@v1/dist/index.js] user= [build/main] Exec command '[node /var/run/act/actions/actions-setup-node@v1/dist/index.js]' [build/main] 💬 ::debug::isExplicit: [build/main] 💬 ::debug::explicit? false [build/main] 💬 ::debug::evaluating 0 versions [build/main] 💬 ::debug::match not found [build/main] ❗ ::error::unable to get local issuer certificate [build/main] ❌ Failure - Setup node DEBU[0012] exit with `FAILURE`: 1 DEBU[0012] exit with `FAILURE`: 1 DEBU[0012] exit with `FAILURE`: 1 DEBU[0012] exit with `FAILURE`: 1 DEBU[0012] exit with `FAILURE`: 1 DEBU[0012] exit with `FAILURE`: 1 DEBU[0012] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1 ``` </details>
kerem 2026-03-01 21:43:31 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 3, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:873310192 --> @github-actions[bot] commented on GitHub (Jul 3, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@howin98 commented on GitHub (Mar 7, 2022):

what is the solution about that

<!-- gh-comment-id:1060663369 --> @howin98 commented on GitHub (Mar 7, 2022): what is the solution about that
Author
Owner

@seansica commented on GitHub (Jan 24, 2023):

Here is a solution that worked for me:

I was receiving this error because the default Docker image used did not have my workplace's root certificates available inside the container, so when it ran wget or curl (whatever tool is being used to download requisite setup tools like Python or Node), it failed with an SSL error.

The solution was to to create a custom image via docker image build . -f act.Dockerfile -t my-custom-act-image:

FROM catthehacker/ubuntu:act-latest

# Install your custom certs
# here

# Don't forget to set important environment variables
# Point relevant environment variables to concatenated certs:

ENV AWS_CA_BUNDLE /etc/ssl/certs/ca-certificates-plus-your-own.pem
ENV CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates-plus-your-own.pem
ENV NODE_EXTRA_CA_CERTS /etc/ssl/certs/ca-certificates-plus-your-own.pem
ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates-plus-your-own.pem
ENV SSL_CERT_FILE /etc/ssl/certs/ca-certificates-plus-your-own.pem

Then specify the custom image using the -P flag: act -P ubuntu-latest=my-custom-act-image

<!-- gh-comment-id:1402095010 --> @seansica commented on GitHub (Jan 24, 2023): Here is a solution that worked for me: I was receiving this error because the default Docker image used did not have my workplace's root certificates available inside the container, so when it ran `wget` or `curl` (whatever tool is being used to download requisite setup tools like Python or Node), it failed with an SSL error. The solution was to to create a custom image via `docker image build . -f act.Dockerfile -t my-custom-act-image`: ``` FROM catthehacker/ubuntu:act-latest # Install your custom certs # here # Don't forget to set important environment variables # Point relevant environment variables to concatenated certs: ENV AWS_CA_BUNDLE /etc/ssl/certs/ca-certificates-plus-your-own.pem ENV CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates-plus-your-own.pem ENV NODE_EXTRA_CA_CERTS /etc/ssl/certs/ca-certificates-plus-your-own.pem ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates-plus-your-own.pem ENV SSL_CERT_FILE /etc/ssl/certs/ca-certificates-plus-your-own.pem ``` Then specify the custom image using the `-P` flag: `act -P ubuntu-latest=my-custom-act-image`
Author
Owner

@codycodes commented on GitHub (Sep 11, 2024):

In addition to @seansica's answer, if your images are stored locally you'll probably want to use the --pull=false for act -P ubuntu-latest=my-custom-act-image --pull=false

<!-- gh-comment-id:2344965658 --> @codycodes commented on GitHub (Sep 11, 2024): In addition to @seansica's answer, if your images are stored locally you'll probably want to use the `--pull=false` for `act -P ubuntu-latest=my-custom-act-image --pull=false`
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#453
No description provided.