[GH-ISSUE #1307] actions/checkout lstat of non-existent file causes failure #707

Closed
opened 2026-03-01 21:45:42 +03:00 by kerem · 3 comments
Owner

Originally created by @GMNGeoffrey on GitHub (Aug 16, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1307

Bug report info

act version:            0.2.29
GOOS:                   linux
GOARCH:                 amd64
NumCPU:                 96
Docker host:            DOCKER_HOST environment variable is unset/empty.
Sockets found:
        /var/run/docker.sock
Config files:           
        /usr/local/google/home/gcmn/.actrc:
                -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
                -P ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04
                -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04
Build info:
        Go version:            go1.18.3
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:         
        Build settings:
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.29 -X main.commit=9499612b5818774c5c6d73fbf2596ed464b7b01d -X main.date=2022-07-01T02:54:35Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 linux
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         9499612b5818774c5c6d73fbf2596ed464b7b01d
                vcs.time:             2022-06-30T02:19:35Z
                vcs.modified:         false
Docker Engine:
        Engine version:        20.10.2
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         systemd
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Debian GNU/Linux [redacted. Google internal]
        OS type:               linux
        OS version:            [redacted]
        OS arch:               x86_64
        OS kernel:             [redacted]
        OS CPU:                96
        OS memory:             181315 MB
        Security options:
                name=apparmor
                name=seccomp,profile=default
                name=cgroupns

Command used with act

act pull_request -j should_run

Describe issue

When running this workflow act fails trying lstat a directory or file that doesn't exist. I don't know why it's referencing this directory that doesn't exist and has never existed at the root of the repo.

My actual workflow is at github.com/iree-org/iree@e91e0896c5. I've attached the pared down version of the workflow file, which also reproduced the issue. I also deleted all the other workflow files in the directory, since it seemed to be parsing those.

https://github.com/iree-org/iree

Workflow content

on:
  pull_request:

jobs:
  should_run:
    runs-on: ubuntu-20.04
    steps:
      - name: "Checking out repository"
        uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2

Relevant log output

Short log:

[ci.yml/should_run] 🚀  Start image=ghcr.io/catthehacker/ubuntu:act-20.04
[ci.yml/should_run]   🐳  docker pull image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= username= forcePull=false
[ci.yml/should_run]   🐳  docker create image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[ci.yml/should_run]   🐳  docker run image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[ci.yml/should_run]   🐳  docker exec cmd=[chown -R 0:0 /usr/local/google/home/gcmn/src/iree] user=0 workdir=
[ci.yml/should_run] ⭐ Run Main Checking out repository
[ci.yml/should_run]   🐳  docker cp src=/usr/local/google/home/gcmn/src/iree/. dst=/usr/local/google/home/gcmn/src/iree
[ci.yml/should_run]   ❌  Failure - Main Checking out repository
[ci.yml/should_run] lstat benchmark: no such file or directory
[ci.yml/should_run] 🏁  Job failed
Error: Job 'should_run' failed

Full log:

Full log
time="2022-08-16T14:06:03-07:00" level=debug msg="Loading environment from /usr/local/google/home/gcmn/src/iree/.env"
time="2022-08-16T14:06:03-07:00" level=debug msg="Loading secrets from /usr/local/google/home/gcmn/src/iree/.secrets"
time="2022-08-16T14:06:03-07:00" level=debug msg="Loading workflows from '/usr/local/google/home/gcmn/src/iree/.github/workflows'"
time="2022-08-16T14:06:03-07:00" level=debug msg="Loading workflows recursively"
time="2022-08-16T14:06:03-07:00" level=debug msg="Found workflow 'ci.yml' in '/usr/local/google/home/gcmn/src/iree/.github/workflows/ci.yml'"
time="2022-08-16T14:06:03-07:00" level=debug msg="Reading workflow '/usr/local/google/home/gcmn/src/iree/.github/workflows/ci.yml'"
time="2022-08-16T14:06:03-07:00" level=debug msg="Planning job: should_run"
time="2022-08-16T14:06:03-07:00" level=debug msg="Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'"
time="2022-08-16T14:06:03-07:00" level=debug msg="Found revision: e91e0896c565c57fc755179745531a7b38757aab\n"
time="2022-08-16T14:06:03-07:00" level=debug msg="evaluating expression '/usr/local/google/home/gcmn/build/iree/benchmarks/compiler/bindings/python:/usr/local/google/home/gcmn/build/iree/benchmarks/runtime/bindings/python'"
time="2022-08-16T14:06:03-07:00" level=debug msg="expression '/usr/local/google/home/gcmn/build/iree/benchmarks/compiler/bindings/python:/usr/local/google/home/gcmn/build/iree/benchmarks/runtime/bindings/python' evaluated to '%!t(<nil>)'"
time="2022-08-16T14:06:03-07:00" level=debug msg="evaluating expression 'true'"
time="2022-08-16T14:06:03-07:00" level=debug msg="expression 'true' evaluated to 'true'"
[ci.yml/should_run] [DEBUG] evaluating expression 'success()'
[ci.yml/should_run] [DEBUG] expression 'success()' evaluated to 'true'
[ci.yml/should_run] 🚀  Start image=ghcr.io/catthehacker/ubuntu:act-20.04
[ci.yml/should_run]   🐳  docker pull image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= username= forcePull=false
[ci.yml/should_run] [DEBUG]   🐳  docker pull ghcr.io/catthehacker/ubuntu:act-20.04
[ci.yml/should_run] [DEBUG] Image exists? true
[ci.yml/should_run]   🐳  docker create image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[ci.yml/should_run] [DEBUG] Created container name=act-ci-yml-should-run id=932ad1e23eafc51ca9871cbe1a56da782c967e65f96499097ee448977390c395 from image ghcr.io/catthehacker/ubuntu:act-20.04 (platform: )
[ci.yml/should_run] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[ci.yml/should_run]   🐳  docker run image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[ci.yml/should_run] [DEBUG] Starting container: 932ad1e23eafc51ca9871cbe1a56da782c967e65f96499097ee448977390c395
[ci.yml/should_run] [DEBUG] Started container: 932ad1e23eafc51ca9871cbe1a56da782c967e65f96499097ee448977390c395
[ci.yml/should_run]   🐳  docker exec cmd=[chown -R 0:0 /usr/local/google/home/gcmn/src/iree] user=0 workdir=
[ci.yml/should_run] [DEBUG] Exec command '[chown -R 0:0 /usr/local/google/home/gcmn/src/iree]'
[ci.yml/should_run] [DEBUG] Working directory '/usr/local/google/home/gcmn/src/iree'
[ci.yml/should_run] [DEBUG] Writing entry to tarball workflow/event.json len:2
[ci.yml/should_run] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[ci.yml/should_run] [DEBUG] Writing entry to tarball workflow/paths.txt len:0
[ci.yml/should_run] [DEBUG] Extracting content to '/var/run/act/'
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
[ci.yml/should_run] [DEBUG] Skipping local actions/checkout because workdir was already copied
[ci.yml/should_run] [DEBUG] skip pre step for 'Checking out repository': no action model available
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
[ci.yml/should_run] [DEBUG] Skipping local actions/checkout because workdir was already copied
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
[ci.yml/should_run] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner 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:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:should_run GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s(<nil>)/merge GITHUB_REF_NAME: GITHUB_REF_TYPE: GITHUB_REPOSITORY:GMNGeoffrey/iree GITHUB_REPOSITORY_OWNER:GMNGeoffrey GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e91e0896c565c57fc755179745531a7b38757aab GITHUB_TOKEN: GITHUB_WORKFLOW:ci.yml GITHUB_WORKSPACE:/usr/local/google/home/gcmn/src/iree IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.16.0/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 PYTHONPATH:/usr/local/google/home/gcmn/build/iree/benchmarks/compiler/bindings/python:/usr/local/google/home/gcmn/build/iree/benchmarks/runtime/bindings/python RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
[ci.yml/should_run] [DEBUG] evaluating expression ''
[ci.yml/should_run] [DEBUG] expression '' evaluated to 'true'
[ci.yml/should_run] ⭐ Run Main Checking out repository
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
[ci.yml/should_run]   🐳  docker cp src=/usr/local/google/home/gcmn/src/iree/. dst=/usr/local/google/home/gcmn/src/iree
[ci.yml/should_run] [DEBUG] Writing tarball /tmp/act1968374743 from /usr/local/google/home/gcmn/src/iree/.
[ci.yml/should_run] [DEBUG] Stripping prefix:/usr/local/google/home/gcmn/src/iree/ src:/usr/local/google/home/gcmn/src/iree/.
[ci.yml/should_run]   ❌  Failure - Main Checking out repository
[ci.yml/should_run] lstat benchmark: no such file or directory
[ci.yml/should_run] [DEBUG] skipping post step for 'Checking out repository': no action model available
[ci.yml/should_run] 🏁  Job failed
[ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'
[ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab
Error: Job 'should_run' failed

Additional information

No response

Originally created by @GMNGeoffrey on GitHub (Aug 16, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1307 ### Bug report info ```plain text act version: 0.2.29 GOOS: linux GOARCH: amd64 NumCPU: 96 Docker host: DOCKER_HOST environment variable is unset/empty. Sockets found: /var/run/docker.sock Config files: /usr/local/google/home/gcmn/.actrc: -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest -P ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04 Build info: Go version: go1.18.3 Module path: github.com/nektos/act Main version: (devel) Main path: github.com/nektos/act Main checksum: Build settings: -compiler: gc -ldflags: -s -w -X main.version=0.2.29 -X main.commit=9499612b5818774c5c6d73fbf2596ed464b7b01d -X main.date=2022-07-01T02:54:35Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: linux GOAMD64: v1 vcs: git vcs.revision: 9499612b5818774c5c6d73fbf2596ed464b7b01d vcs.time: 2022-06-30T02:19:35Z vcs.modified: false Docker Engine: Engine version: 20.10.2 Engine runtime: runc Cgroup version: 2 Cgroup driver: systemd Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Debian GNU/Linux [redacted. Google internal] OS type: linux OS version: [redacted] OS arch: x86_64 OS kernel: [redacted] OS CPU: 96 OS memory: 181315 MB Security options: name=apparmor name=seccomp,profile=default name=cgroupns ``` ### Command used with act ```sh act pull_request -j should_run ``` ### Describe issue When running this workflow act fails trying lstat a directory or file that doesn't exist. I don't know why it's referencing this directory that doesn't exist and has never existed at the root of the repo. My actual workflow is at https://github.com/iree-org/iree/commit/e91e0896c565c57fc755179745531a7b38757aab. I've attached the pared down version of the workflow file, which also reproduced the issue. I also deleted all the other workflow files in the directory, since it seemed to be parsing those. ### Link to GitHub repository https://github.com/iree-org/iree ### Workflow content ```yml on: pull_request: jobs: should_run: runs-on: ubuntu-20.04 steps: - name: "Checking out repository" uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # v2 ``` ### Relevant log output Short log: ```sh [ci.yml/should_run] 🚀 Start image=ghcr.io/catthehacker/ubuntu:act-20.04 [ci.yml/should_run] 🐳 docker pull image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= username= forcePull=false [ci.yml/should_run] 🐳 docker create image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [ci.yml/should_run] 🐳 docker run image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [ci.yml/should_run] 🐳 docker exec cmd=[chown -R 0:0 /usr/local/google/home/gcmn/src/iree] user=0 workdir= [ci.yml/should_run] ⭐ Run Main Checking out repository [ci.yml/should_run] 🐳 docker cp src=/usr/local/google/home/gcmn/src/iree/. dst=/usr/local/google/home/gcmn/src/iree [ci.yml/should_run] ❌ Failure - Main Checking out repository [ci.yml/should_run] lstat benchmark: no such file or directory [ci.yml/should_run] 🏁 Job failed Error: Job 'should_run' failed ``` Full log: <details> <summary>Full log</summary> ```sh time="2022-08-16T14:06:03-07:00" level=debug msg="Loading environment from /usr/local/google/home/gcmn/src/iree/.env" time="2022-08-16T14:06:03-07:00" level=debug msg="Loading secrets from /usr/local/google/home/gcmn/src/iree/.secrets" time="2022-08-16T14:06:03-07:00" level=debug msg="Loading workflows from '/usr/local/google/home/gcmn/src/iree/.github/workflows'" time="2022-08-16T14:06:03-07:00" level=debug msg="Loading workflows recursively" time="2022-08-16T14:06:03-07:00" level=debug msg="Found workflow 'ci.yml' in '/usr/local/google/home/gcmn/src/iree/.github/workflows/ci.yml'" time="2022-08-16T14:06:03-07:00" level=debug msg="Reading workflow '/usr/local/google/home/gcmn/src/iree/.github/workflows/ci.yml'" time="2022-08-16T14:06:03-07:00" level=debug msg="Planning job: should_run" time="2022-08-16T14:06:03-07:00" level=debug msg="Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git'" time="2022-08-16T14:06:03-07:00" level=debug msg="Found revision: e91e0896c565c57fc755179745531a7b38757aab\n" time="2022-08-16T14:06:03-07:00" level=debug msg="evaluating expression '/usr/local/google/home/gcmn/build/iree/benchmarks/compiler/bindings/python:/usr/local/google/home/gcmn/build/iree/benchmarks/runtime/bindings/python'" time="2022-08-16T14:06:03-07:00" level=debug msg="expression '/usr/local/google/home/gcmn/build/iree/benchmarks/compiler/bindings/python:/usr/local/google/home/gcmn/build/iree/benchmarks/runtime/bindings/python' evaluated to '%!t(<nil>)'" time="2022-08-16T14:06:03-07:00" level=debug msg="evaluating expression 'true'" time="2022-08-16T14:06:03-07:00" level=debug msg="expression 'true' evaluated to 'true'" [ci.yml/should_run] [DEBUG] evaluating expression 'success()' [ci.yml/should_run] [DEBUG] expression 'success()' evaluated to 'true' [ci.yml/should_run] 🚀 Start image=ghcr.io/catthehacker/ubuntu:act-20.04 [ci.yml/should_run] 🐳 docker pull image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= username= forcePull=false [ci.yml/should_run] [DEBUG] 🐳 docker pull ghcr.io/catthehacker/ubuntu:act-20.04 [ci.yml/should_run] [DEBUG] Image exists? true [ci.yml/should_run] 🐳 docker create image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [ci.yml/should_run] [DEBUG] Created container name=act-ci-yml-should-run id=932ad1e23eafc51ca9871cbe1a56da782c967e65f96499097ee448977390c395 from image ghcr.io/catthehacker/ubuntu:act-20.04 (platform: ) [ci.yml/should_run] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [ci.yml/should_run] 🐳 docker run image=ghcr.io/catthehacker/ubuntu:act-20.04 platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [ci.yml/should_run] [DEBUG] Starting container: 932ad1e23eafc51ca9871cbe1a56da782c967e65f96499097ee448977390c395 [ci.yml/should_run] [DEBUG] Started container: 932ad1e23eafc51ca9871cbe1a56da782c967e65f96499097ee448977390c395 [ci.yml/should_run] 🐳 docker exec cmd=[chown -R 0:0 /usr/local/google/home/gcmn/src/iree] user=0 workdir= [ci.yml/should_run] [DEBUG] Exec command '[chown -R 0:0 /usr/local/google/home/gcmn/src/iree]' [ci.yml/should_run] [DEBUG] Working directory '/usr/local/google/home/gcmn/src/iree' [ci.yml/should_run] [DEBUG] Writing entry to tarball workflow/event.json len:2 [ci.yml/should_run] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [ci.yml/should_run] [DEBUG] Writing entry to tarball workflow/paths.txt len:0 [ci.yml/should_run] [DEBUG] Extracting content to '/var/run/act/' [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab [ci.yml/should_run] [DEBUG] Skipping local actions/checkout because workdir was already copied [ci.yml/should_run] [DEBUG] skip pre step for 'Checking out repository': no action model available [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab [ci.yml/should_run] [DEBUG] Skipping local actions/checkout because workdir was already copied [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab [ci.yml/should_run] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner 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:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:should_run GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/pull/%!s(<nil>)/merge GITHUB_REF_NAME: GITHUB_REF_TYPE: GITHUB_REPOSITORY:GMNGeoffrey/iree GITHUB_REPOSITORY_OWNER:GMNGeoffrey GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e91e0896c565c57fc755179745531a7b38757aab GITHUB_TOKEN: GITHUB_WORKFLOW:ci.yml GITHUB_WORKSPACE:/usr/local/google/home/gcmn/src/iree IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.16.0/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 PYTHONPATH:/usr/local/google/home/gcmn/build/iree/benchmarks/compiler/bindings/python:/usr/local/google/home/gcmn/build/iree/benchmarks/runtime/bindings/python RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab [ci.yml/should_run] [DEBUG] evaluating expression '' [ci.yml/should_run] [DEBUG] expression '' evaluated to 'true' [ci.yml/should_run] ⭐ Run Main Checking out repository [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab [ci.yml/should_run] 🐳 docker cp src=/usr/local/google/home/gcmn/src/iree/. dst=/usr/local/google/home/gcmn/src/iree [ci.yml/should_run] [DEBUG] Writing tarball /tmp/act1968374743 from /usr/local/google/home/gcmn/src/iree/. [ci.yml/should_run] [DEBUG] Stripping prefix:/usr/local/google/home/gcmn/src/iree/ src:/usr/local/google/home/gcmn/src/iree/. [ci.yml/should_run] ❌ Failure - Main Checking out repository [ci.yml/should_run] lstat benchmark: no such file or directory [ci.yml/should_run] [DEBUG] skipping post step for 'Checking out repository': no action model available [ci.yml/should_run] 🏁 Job failed [ci.yml/should_run] [DEBUG] Loading slug from git directory '/usr/local/google/home/gcmn/src/iree/.git' [ci.yml/should_run] [DEBUG] Found revision: e91e0896c565c57fc755179745531a7b38757aab Error: Job 'should_run' failed ``` </details> ### Additional information _No response_
kerem 2026-03-01 21:45:42 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@ChristopherHX commented on GitHub (Aug 16, 2022):

This was a bug of act v0.2.29, but in v0.2.30 a fix has been merged https://github.com/nektos/act/pull/1282.

What about upgrading act to v0.2.30? There is a bug in submodule handling in v0.2.29.

<!-- gh-comment-id:1217231086 --> @ChristopherHX commented on GitHub (Aug 16, 2022): This was a bug of act v0.2.29, but in v0.2.30 a fix has been merged https://github.com/nektos/act/pull/1282. What about upgrading act to v0.2.30? There is a bug in submodule handling in v0.2.29.
Author
Owner

@GMNGeoffrey commented on GitHub (Aug 16, 2022):

Sure I'm happy to upgrade :-) I searched the issues and didn't find anything open or closed that looked like the same issue

<!-- gh-comment-id:1217247767 --> @GMNGeoffrey commented on GitHub (Aug 16, 2022): Sure I'm happy to upgrade :-) I searched the issues and didn't find anything open or closed that looked like the same issue
Author
Owner

@GMNGeoffrey commented on GitHub (Aug 16, 2022):

Huh, I don't quite understand why I was affected by that issue or why it only just started happening. The submodule name does match the git repo name. But no matter, upgrading to 0.2.30 fixed the issue, thanks!

<!-- gh-comment-id:1217270561 --> @GMNGeoffrey commented on GitHub (Aug 16, 2022): Huh, I don't quite understand why I was affected by that issue or why it only just started happening. The submodule name *does* match the git repo name. But no matter, upgrading to 0.2.30 fixed the issue, thanks!
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#707
No description provided.