[GH-ISSUE #2432] actions/setup-node@v1 failed when running demo #1117

Closed
opened 2026-03-01 21:49:02 +03:00 by kerem · 0 comments
Owner

Originally created by @yetlinghao on GitHub (Aug 20, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2432

Bug report info

act --bug-report                                
act version:            0.2.65
GOOS:                   linux
GOARCH:                 amd64
NumCPU:                 128
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        /var/run/docker.sock
Config files:           
        /home/v-linghzhang/.config/act/actrc:
                -P ubuntu-latest=catthehacker/ubuntu:act-latest
                -P ubuntu-22.04=catthehacker/ubuntu:act-22.04
                -P ubuntu-20.04=catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
        Go version:            go1.21.12
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:         
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.65 -X main.commit=bda491e406db6c85865498ced18764bc00491a5e -X main.date=2024-08-01T02:22:32Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 linux
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         bda491e406db6c85865498ced18764bc00491a5e
                vcs.time:             2024-08-01T02:22:10Z
                vcs.modified:         false
Docker Engine:
        Engine version:        25.0.4
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         systemd
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Ubuntu 22.04.3 LTS
        OS type:               linux
        OS version:            22.04
        OS arch:               x86_64
        OS kernel:             5.15.0-118-generic
        OS CPU:                128
        OS memory:             2063922 MB
        Security options:
                name=apparmor
                name=seccomp,profile=builtin
                name=cgroupns

Command used with act

act

Describe issue

[CI/test] ::error::connect ENETUNREACH 2606:4700:10::6814:172e:443
[CI/test] Failure - Main actions/setup-node@v1
[CI/test] exitcode '1': failure
[CI/test] 🏁 Job failed
Error: Job 'test' failed

When im trying to run the demo project, got an error.

No response

Workflow content

name: CI
on: push

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v1
    - run: npm install
    - run: npm test

Relevant log output

➜  github-actions-demo git:(master) act
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' 
[CI/test] 🚀  Start image=catthehacker/ubuntu:act-latest
[CI/test]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[CI/test]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[CI/test]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[CI/test]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[CI/test]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v1
[CI/test] ⭐ Run Main actions/checkout@v2
[CI/test]   🐳  docker cp src=/home/v-linghzhang/play_act/github-actions-demo/. dst=/home/v-linghzhang/play_act/github-actions-demo
[CI/test]   ✅  Success - Main actions/checkout@v2
[CI/test] ⭐ Run Main actions/setup-node@v1
[CI/test]   🐳  docker cp src=/home/v-linghzhang/.cache/act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/
[CI/test]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.4/x64/bin/node /var/run/act/actions/actions-setup-node@v1/dist/index.js] user= workdir=
[CI/test]   💬  ::debug::isExplicit: 
[CI/test]   💬  ::debug::explicit? false
[CI/test]   💬  ::debug::evaluating 0 versions
[CI/test]   💬  ::debug::match not found
[CI/test]   ❓  ::error::connect ENETUNREACH
[CI/test]   ❌  Failure - Main actions/setup-node@v1
[CI/test] exitcode '1': failure
[CI/test] 🏁  Job failed
Error: Job 'test' failed

Additional information

No response

Originally created by @yetlinghao on GitHub (Aug 20, 2024). Original GitHub issue: https://github.com/nektos/act/issues/2432 ### Bug report info ```plain text act --bug-report act version: 0.2.65 GOOS: linux GOARCH: amd64 NumCPU: 128 Docker host: DOCKER_HOST environment variable is not set Sockets found: /var/run/docker.sock Config files: /home/v-linghzhang/.config/act/actrc: -P ubuntu-latest=catthehacker/ubuntu:act-latest -P ubuntu-22.04=catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=catthehacker/ubuntu:act-18.04 Build info: Go version: go1.21.12 Module path: github.com/nektos/act Main version: (devel) Main path: github.com/nektos/act Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -s -w -X main.version=0.2.65 -X main.commit=bda491e406db6c85865498ced18764bc00491a5e -X main.date=2024-08-01T02:22:32Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: linux GOAMD64: v1 vcs: git vcs.revision: bda491e406db6c85865498ced18764bc00491a5e vcs.time: 2024-08-01T02:22:10Z vcs.modified: false Docker Engine: Engine version: 25.0.4 Engine runtime: runc Cgroup version: 2 Cgroup driver: systemd Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Ubuntu 22.04.3 LTS OS type: linux OS version: 22.04 OS arch: x86_64 OS kernel: 5.15.0-118-generic OS CPU: 128 OS memory: 2063922 MB Security options: name=apparmor name=seccomp,profile=builtin name=cgroupns ``` ### Command used with act ```sh act ``` ### Describe issue [CI/test] ❓ ::error::connect ENETUNREACH 2606:4700:10::6814:172e:443 [CI/test] ❌ Failure - Main actions/setup-node@v1 [CI/test] exitcode '1': failure [CI/test] 🏁 Job failed Error: Job 'test' failed When im trying to run the demo project, got an error. ### Link to GitHub repository _No response_ ### Workflow content ```yml name: CI on: push jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 - run: npm install - run: npm test ``` ### Relevant log output ```sh ➜ github-actions-demo git:(master) act INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' [CI/test] 🚀 Start image=catthehacker/ubuntu:act-latest [CI/test] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true [CI/test] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [CI/test] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [CI/test] 🐳 docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir= [CI/test] ☁ git clone 'https://github.com/actions/setup-node' # ref=v1 [CI/test] ⭐ Run Main actions/checkout@v2 [CI/test] 🐳 docker cp src=/home/v-linghzhang/play_act/github-actions-demo/. dst=/home/v-linghzhang/play_act/github-actions-demo [CI/test] ✅ Success - Main actions/checkout@v2 [CI/test] ⭐ Run Main actions/setup-node@v1 [CI/test] 🐳 docker cp src=/home/v-linghzhang/.cache/act/actions-setup-node@v1/ dst=/var/run/act/actions/actions-setup-node@v1/ [CI/test] 🐳 docker exec cmd=[/opt/acttoolcache/node/18.20.4/x64/bin/node /var/run/act/actions/actions-setup-node@v1/dist/index.js] user= workdir= [CI/test] 💬 ::debug::isExplicit: [CI/test] 💬 ::debug::explicit? false [CI/test] 💬 ::debug::evaluating 0 versions [CI/test] 💬 ::debug::match not found [CI/test] ❓ ::error::connect ENETUNREACH [CI/test] ❌ Failure - Main actions/setup-node@v1 [CI/test] exitcode '1': failure [CI/test] 🏁 Job failed Error: Job 'test' failed ``` ### Additional information _No response_
kerem 2026-03-01 21:49:02 +03:00
  • closed this issue
  • added the
    kind/bug
    label
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#1117
No description provided.