[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

job matrix, concurrent job execution, job context isolation #1313

Open
AnthonyHeffnerXformative opened this issue Aug 22, 2022 · 2 comments
Open
Labels
area/runner Relating to errors in the runner confirmed/not-planned Those issues are confirmed, but not planned to be fixed. PR's get reviewed kind/bug Something isn't working stale-exempt Exempt from stale

Comments

@AnthonyHeffnerXformative

Bug report info

act version:            0.2.30
GOOS:                   darwin
GOARCH:                 amd64
NumCPU:                 16
Docker host:            DOCKER_HOST environment variable is unset/empty.
Sockets found:
        /var/run/docker.sock
Config files:           
        /Users/anthonyheffner/.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.18.4
        Module path:           command-line-arguments
        Main version:          
        Main path:             
        Main checksum:         
        Build settings:
                -compiler:            gc
                -ldflags:             -X main.version=0.2.30
                CGO_ENABLED:          1
                CGO_CFLAGS:           
                CGO_CPPFLAGS:         
                CGO_CXXFLAGS:         
                CGO_LDFLAGS:          
                GOARCH:               amd64
                GOOS:                 darwin
                GOAMD64:              v1
Docker Engine:
        Engine version:        20.10.17
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         cgroupfs
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:            
        OS arch:               x86_64
        OS kernel:             5.10.104-linuxkit
        OS CPU:                8
        OS memory:             7859 MB
        Security options:
                name=seccomp,profile=default
                name=cgroupns

Command used with act

act -j act-concurrency-issue

Describe issue

From log output, it appears when running there is some issue with correctly assigning and isolating matrix data to the job, this example shows that job 2 is picking up context from job 1:

[Distribute Workflows/act-concurrency-issue-2] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1.sh] user= workdir=./target_repo_1

Job 2, should be assign workdir=./target_repo_2, not 1.

Link to GitHub repository

No response

Workflow content

name: Distribute Workflows
on:
  workflow_dispatch:

jobs:
  build-matrix:
    runs-on: ubuntu-latest
    steps:
      - name: Set test matrix
        id: set-test-matrix
        shell: bash
        run: |
          JOB_CONTEXT=$(cat << EOF
          [
            {"target_repo": "target_repo_1", "builder": "builder_1"},
            {"target_repo": "target_repo_2", "builder": "builder_2"}
          ]
          EOF
          )

          JOB_CONTEXT="${JOB_CONTEXT//'%'/'%25'}"
          JOB_CONTEXT="${JOB_CONTEXT//$'\n'/'%0A'}"
          JOB_CONTEXT="${JOB_CONTEXT//$'\r'/'%0D'}"
          echo "::set-output name=matrix::$JOB_CONTEXT"

    outputs:
      matrix1: ${{ steps.set-test-matrix.outputs.matrix }}

  act-concurrency-issue:
    needs: build-matrix
    runs-on: ubuntu-latest
    strategy:
      matrix:
        job_context: ${{ fromJson(needs.build-matrix.outputs.matrix1) }}

        target_branch:
          # - main
          - develop
          # - staging

    steps:

      - name: Print Context
        shell: bash
        run: |
          printf "\nTarget Repo: ${{ matrix.job_context.target_repo }}\n"
          printf "Target Branch: ${{ matrix.target_branch }}\n"
          printf "Repo Builder: ${{ matrix.job_context.builder }}\n\n"

          mkdir ./${{ matrix.job_context.target_repo }}

      - name: Do Work
        shell: bash
        run: |
          printf "\nTarget Repo: ${{ matrix.job_context.target_repo }}\n"
          printf "Target Branch: ${{ matrix.target_branch }}\n"
          printf "Repo Builder: ${{ matrix.job_context.builder }}\n\n"

        working-directory: ./${{ matrix.job_context.target_repo }}

Relevant log output

Anthonys-MBP:builder anthonyheffner$ ./github-tests/distribute-workflows.test.sh
DEBU[0000] Loading environment from /Users/anthonyheffner/Documents/repos/xformative/builder/.env 
DEBU[0000] Loading secrets from /Users/anthonyheffner/Documents/repos/xformative/builder/.secrets 
DEBU[0000] Loading workflows from '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows' 
DEBU[0000] Loading workflows recursively                
DEBU[0000] Found workflow 'act-concurrency-issue.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/act-concurrency-issue.yml' 
DEBU[0000] Found workflow 'app-stack-deployment-schedule.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/app-stack-deployment-schedule.yml' 
DEBU[0000] Found workflow 'app-stack-deployment.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/app-stack-deployment.yml' 
DEBU[0000] Found workflow 'cleanup-repos.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/cleanup-repos.yml' 
DEBU[0000] Found workflow 'create-branches.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/create-branches.yml' 
DEBU[0000] Found workflow 'dependency-check.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/dependency-check.yml' 
DEBU[0000] Found workflow 'dependency-update.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/dependency-update.yml' 
DEBU[0000] Found workflow 'distribute-workflows.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/distribute-workflows.yml' 
DEBU[0000] Found workflow 'set-branch-protections.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/set-branch-protections.yml' 
DEBU[0000] Found workflow 'validate-deployment.yml' in '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/validate-deployment.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/act-concurrency-issue.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/app-stack-deployment-schedule.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/app-stack-deployment.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/cleanup-repos.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/create-branches.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/dependency-check.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/dependency-update.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/distribute-workflows.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/set-branch-protections.yml' 
DEBU[0000] Reading workflow '/Users/anthonyheffner/Documents/repos/xformative/builder/.github/workflows/validate-deployment.yml' 
DEBU[0000] Planning job: act-concurrency-issue          
DEBU[0000] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3' 
DEBU[0000] using github ref: refs/heads/develop         
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
[Distribute Workflows/build-matrix] [DEBUG] evaluating expression 'success()'
[Distribute Workflows/build-matrix] [DEBUG] expression 'success()' evaluated to 'true'
[Distribute Workflows/build-matrix] 🚀  Start image=catthehacker/ubuntu:act-latest
[Distribute Workflows/build-matrix]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[Distribute Workflows/build-matrix] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Distribute Workflows/build-matrix] [DEBUG] Image exists? true
[Distribute Workflows/build-matrix]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Distribute Workflows/build-matrix] [DEBUG] Created container name=act-Distribute-Workflows-build-matrix id=0c796336a0c2f5b74fb330339a51597d981ef9c6cd98dff7d161d1822dfe8843 from image catthehacker/ubuntu:act-latest (platform: )
[Distribute Workflows/build-matrix] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Distribute Workflows/build-matrix]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Distribute Workflows/build-matrix] [DEBUG] Starting container: 0c796336a0c2f5b74fb330339a51597d981ef9c6cd98dff7d161d1822dfe8843
[Distribute Workflows/build-matrix] [DEBUG] Started container: 0c796336a0c2f5b74fb330339a51597d981ef9c6cd98dff7d161d1822dfe8843
[Distribute Workflows/build-matrix] [DEBUG] Writing entry to tarball workflow/event.json len:2
[Distribute Workflows/build-matrix] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Distribute Workflows/build-matrix] [DEBUG] Writing entry to tarball workflow/paths.txt len:0
[Distribute Workflows/build-matrix] [DEBUG] Extracting content to '/var/run/act/'
[Distribute Workflows/build-matrix] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/build-matrix] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/build-matrix] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:set-test-matrix 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:build-matrix GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REF_NAME:develop GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:xformative/builder GITHUB_REPOSITORY_OWNER:xformative GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:172146208b743802e53c4e4d29a4d69d2b8598b3 GITHUB_TOKEN: GITHUB_WORKFLOW:Distribute Workflows GITHUB_WORKSPACE:/Users/anthonyheffner/Documents/repos/xformative/builder 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 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Distribute Workflows/build-matrix] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/build-matrix] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] evaluating expression ''
[Distribute Workflows/build-matrix] [DEBUG] expression '' evaluated to 'true'
[Distribute Workflows/build-matrix] ⭐ Run Main Set test matrix
[Distribute Workflows/build-matrix] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/build-matrix] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/build-matrix] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/build-matrix] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] Wrote command 

JOB_CONTEXT=$(cat << EOF
[
  {"target_repo": "target_repo_1", "builder": "builder_1"},
  {"target_repo": "target_repo_2", "builder": "builder_2"}
]
EOF
)

JOB_CONTEXT="${JOB_CONTEXT//'%'/'%25'}"
JOB_CONTEXT="${JOB_CONTEXT//$'\n'/'%0A'}"
JOB_CONTEXT="${JOB_CONTEXT//$'\r'/'%0D'}"
echo "::set-output name=matrix::$JOB_CONTEXT"


 to 'workflow/set-test-matrix.sh'
[Distribute Workflows/build-matrix] [DEBUG] Writing entry to tarball workflow/set-test-matrix.sh len:327
[Distribute Workflows/build-matrix] [DEBUG] Extracting content to '/var/run/act'
[Distribute Workflows/build-matrix]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/set-test-matrix.sh] user= workdir=
[Distribute Workflows/build-matrix] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/set-test-matrix.sh]'
[Distribute Workflows/build-matrix] [DEBUG] Working directory '/Users/anthonyheffner/Documents/repos/xformative/builder'
[Distribute Workflows/build-matrix]   ⚙  ::set-output:: matrix=[
  {"target_repo": "target_repo_1", "builder": "builder_1"},
  {"target_repo": "target_repo_2", "builder": "builder_2"}
]
[Distribute Workflows/build-matrix]   ✅  Success - Main Set test matrix
[Distribute Workflows/build-matrix] [DEBUG] Removed container: 0c796336a0c2f5b74fb330339a51597d981ef9c6cd98dff7d161d1822dfe8843
[Distribute Workflows/build-matrix] [DEBUG]   🐳  docker volume rm act-Distribute-Workflows-build-matrix
[Distribute Workflows/build-matrix] [DEBUG]   🐳  docker volume rm act-Distribute-Workflows-build-matrix-env
[Distribute Workflows/build-matrix] 🏁  Job succeeded
[Distribute Workflows/build-matrix] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/build-matrix] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/build-matrix] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/build-matrix] [DEBUG] expression '${{ steps.set-test-matrix.outputs.matrix }}' rewritten to 'format('{0}', steps.set-test-matrix.outputs.matrix)'
[Distribute Workflows/build-matrix] [DEBUG] evaluating expression 'format('{0}', steps.set-test-matrix.outputs.matrix)'
[Distribute Workflows/build-matrix] [DEBUG] expression 'format('{0}', steps.set-test-matrix.outputs.matrix)' evaluated to '%!t(string=[
  {"target_repo": "target_repo_1", "builder": "builder_1"},
  {"target_repo": "target_repo_2", "builder": "builder_2"}
])'
DEBU[0000] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3' 
DEBU[0000] using github ref: refs/heads/develop         
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3' 
DEBU[0000] using github ref: refs/heads/develop         
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] evaluating expression '${{ fromJson(needs.build-matrix.outputs.matrix1 ) }}' 
DEBU[0000] expression '${{ fromJson(needs.build-matrix.outputs.matrix1 ) }}' evaluated to '[map[%!t(string=builder):%!t(string=builder_1) %!t(string=target_repo):%!t(string=target_repo_1)] map[%!t(string=builder):%!t(string=builder_2) %!t(string=target_repo):%!t(string=target_repo_2)]]' 
DEBU[0000]                                              
DEBU[0000] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3' 
DEBU[0000] using github ref: refs/heads/develop         
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git' 
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
DEBU[0000] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3' 
DEBU[0000] using github ref: refs/heads/develop         
DEBU[0000] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3 
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] evaluating expression 'success()'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] evaluating expression 'success()'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression 'success()' evaluated to 'true'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] expression 'success()' evaluated to 'true'
[Distribute Workflows/act-concurrency-issue-2] 🚀  Start image=catthehacker/ubuntu:act-latest
[Distribute Workflows/act-concurrency-issue-1] 🚀  Start image=catthehacker/ubuntu:act-latest
[Distribute Workflows/act-concurrency-issue-2]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[Distribute Workflows/act-concurrency-issue-2] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Distribute Workflows/act-concurrency-issue-1]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[Distribute Workflows/act-concurrency-issue-1] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Image exists? true
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Image exists? true
[Distribute Workflows/act-concurrency-issue-1]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Created container name=act-Distribute-Workflows-act-concurrency-issue-1 id=faea9050fe7ce9b22b0c4e79e5400b38106500778d2764b9e0c79334dd437884 from image catthehacker/ubuntu:act-latest (platform: )
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Distribute Workflows/act-concurrency-issue-1]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Starting container: faea9050fe7ce9b22b0c4e79e5400b38106500778d2764b9e0c79334dd437884
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Removed container: 818368eb8685fdad0cb672c05c1a473a872a805c4a47cdaf833605ad8e833cfa
[Distribute Workflows/act-concurrency-issue-2] [DEBUG]   🐳  docker volume rm act-Distribute-Workflows-act-concurrency-issue-2
[Distribute Workflows/act-concurrency-issue-2] [DEBUG]   🐳  docker volume rm act-Distribute-Workflows-act-concurrency-issue-2-env
[Distribute Workflows/act-concurrency-issue-2]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Created container name=act-Distribute-Workflows-act-concurrency-issue-2 id=9abf08e65aa76f1e6dcaf65cee965cf7eb42460ecfd223099f9a9c17e075288b from image catthehacker/ubuntu:act-latest (platform: )
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Distribute Workflows/act-concurrency-issue-2]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Starting container: 9abf08e65aa76f1e6dcaf65cee965cf7eb42460ecfd223099f9a9c17e075288b
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Started container: faea9050fe7ce9b22b0c4e79e5400b38106500778d2764b9e0c79334dd437884
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Started container: 9abf08e65aa76f1e6dcaf65cee965cf7eb42460ecfd223099f9a9c17e075288b
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Writing entry to tarball workflow/event.json len:2
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Writing entry to tarball workflow/paths.txt len:0
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Extracting content to '/var/run/act/'
[Distribute Workflows/act-concurrency-issue-1] 🧪  Matrix: map[job_context:map[builder:builder_1 target_repo:target_repo_1] target_branch:develop]
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Writing entry to tarball workflow/event.json len:2
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Writing entry to tarball workflow/paths.txt len:0
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Extracting content to '/var/run/act/'
[Distribute Workflows/act-concurrency-issue-2] 🧪  Matrix: map[job_context:map[builder:builder_2 target_repo:target_repo_2] target_branch:develop]
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [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:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:act-concurrency-issue GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REF_NAME:develop GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:xformative/builder GITHUB_REPOSITORY_OWNER:xformative GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:172146208b743802e53c4e4d29a4d69d2b8598b3 GITHUB_TOKEN: GITHUB_WORKFLOW:Distribute Workflows GITHUB_WORKSPACE:/Users/anthonyheffner/Documents/repos/xformative/builder 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 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] evaluating expression ''
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression '' evaluated to 'true'
[Distribute Workflows/act-concurrency-issue-1] ⭐ Run Main Print Context
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression 'printf "\nTarget Repo: ${{ matrix.job_context.target_repo }}\n"
printf "Target Branch: ${{ matrix.target_branch }}\n"
printf "Repo Builder: ${{ matrix.job_context.builder }}\n\n"

mkdir ./${{ matrix.job_context.target_repo }}
' rewritten to 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"

mkdir ./{3}
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder, matrix.job_context.target_repo)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] evaluating expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"

mkdir ./{3}
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder, matrix.job_context.target_repo)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"

mkdir ./{3}
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder, matrix.job_context.target_repo)' evaluated to '%!t(string=printf "\nTarget Repo: target_repo_1\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_1\n\n"

mkdir ./target_repo_1
)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Wrote command 

printf "\nTarget Repo: target_repo_1\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_1\n\n"

mkdir ./target_repo_1


 to 'workflow/0.sh'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Writing entry to tarball workflow/0.sh len:136
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Extracting content to '/var/run/act'
[Distribute Workflows/act-concurrency-issue-1]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh] user= workdir=
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh]'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Working directory '/Users/anthonyheffner/Documents/repos/xformative/builder'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [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:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:act-concurrency-issue GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REF_NAME:develop GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:xformative/builder GITHUB_REPOSITORY_OWNER:xformative GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:172146208b743802e53c4e4d29a4d69d2b8598b3 GITHUB_TOKEN: GITHUB_WORKFLOW:Distribute Workflows GITHUB_WORKSPACE:/Users/anthonyheffner/Documents/repos/xformative/builder 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 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] evaluating expression ''
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] expression '' evaluated to 'true'
[Distribute Workflows/act-concurrency-issue-2] ⭐ Run Main Print Context
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] expression 'printf "\nTarget Repo: ${{ matrix.job_context.target_repo }}\n"
printf "Target Branch: ${{ matrix.target_branch }}\n"
printf "Repo Builder: ${{ matrix.job_context.builder }}\n\n"

mkdir ./${{ matrix.job_context.target_repo }}
' rewritten to 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"

mkdir ./{3}
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder, matrix.job_context.target_repo)'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] evaluating expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"

mkdir ./{3}
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder, matrix.job_context.target_repo)'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"

mkdir ./{3}
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder, matrix.job_context.target_repo)' evaluated to '%!t(string=printf "\nTarget Repo: target_repo_2\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_2\n\n"

mkdir ./target_repo_2
)'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Wrote command 

printf "\nTarget Repo: target_repo_2\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_2\n\n"

mkdir ./target_repo_2


 to 'workflow/0.sh'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Writing entry to tarball workflow/0.sh len:136
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Extracting content to '/var/run/act'
| 
| Target Repo: target_repo_1
| Target Branch: develop
| Repo Builder: builder_1
| 
[Distribute Workflows/act-concurrency-issue-1]   ✅  Success - Main Print Context
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh] user= workdir=
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh]'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Working directory '/Users/anthonyheffner/Documents/repos/xformative/builder'
| 
| Target Repo: target_repo_2
| Target Branch: develop
| Repo Builder: builder_2
| 
[Distribute Workflows/act-concurrency-issue-2]   ✅  Success - Main Print Context
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner 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:act-concurrency-issue GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REF_NAME:develop GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:xformative/builder GITHUB_REPOSITORY_OWNER:xformative GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:172146208b743802e53c4e4d29a4d69d2b8598b3 GITHUB_TOKEN: GITHUB_WORKFLOW:Distribute Workflows GITHUB_WORKSPACE:/Users/anthonyheffner/Documents/repos/xformative/builder 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 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] evaluating expression ''
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression '' evaluated to 'true'
[Distribute Workflows/act-concurrency-issue-1] ⭐ Run Main Do Work
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression './${{ matrix.job_context.target_repo }}' rewritten to 'format('./{0}', matrix.job_context.target_repo)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] evaluating expression 'format('./{0}', matrix.job_context.target_repo)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression 'format('./{0}', matrix.job_context.target_repo)' evaluated to '%!t(string=./target_repo_1)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression 'printf "\nTarget Repo: ${{ matrix.job_context.target_repo }}\n"
printf "Target Branch: ${{ matrix.target_branch }}\n"
printf "Repo Builder: ${{ matrix.job_context.builder }}\n\n"
' rewritten to 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] evaluating expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder)' evaluated to '%!t(string=printf "\nTarget Repo: target_repo_1\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_1\n\n"
)'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Wrote command 

printf "\nTarget Repo: target_repo_1\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_1\n\n"


 to 'workflow/1.sh'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Writing entry to tarball workflow/1.sh len:113
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Extracting content to '/var/run/act'
[Distribute Workflows/act-concurrency-issue-1]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1.sh] user= workdir=./target_repo_1
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1.sh]'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Working directory '/Users/anthonyheffner/Documents/repos/xformative/builder/./target_repo_1'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner 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:act-concurrency-issue GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/develop GITHUB_REF_NAME:develop GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:xformative/builder GITHUB_REPOSITORY_OWNER:xformative GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:172146208b743802e53c4e4d29a4d69d2b8598b3 GITHUB_TOKEN: GITHUB_WORKFLOW:Distribute Workflows GITHUB_WORKSPACE:/Users/anthonyheffner/Documents/repos/xformative/builder 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 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] evaluating expression ''
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] expression '' evaluated to 'true'
[Distribute Workflows/act-concurrency-issue-2] ⭐ Run Main Do Work
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] expression 'printf "\nTarget Repo: ${{ matrix.job_context.target_repo }}\n"
printf "Target Branch: ${{ matrix.target_branch }}\n"
printf "Repo Builder: ${{ matrix.job_context.builder }}\n\n"
' rewritten to 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder)'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] evaluating expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder)'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] expression 'format('printf "\nTarget Repo: {0}\n"
printf "Target Branch: {1}\n"
printf "Repo Builder: {2}\n\n"
', matrix.job_context.target_repo, matrix.target_branch, matrix.job_context.builder)' evaluated to '%!t(string=printf "\nTarget Repo: target_repo_2\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_2\n\n"
)'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Wrote command 

printf "\nTarget Repo: target_repo_2\n"
printf "Target Branch: develop\n"
printf "Repo Builder: builder_2\n\n"


 to 'workflow/1.sh'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Writing entry to tarball workflow/1.sh len:113
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Extracting content to '/var/run/act'
| 
| Target Repo: target_repo_1
| Target Branch: develop
| Repo Builder: builder_1
| 
[Distribute Workflows/act-concurrency-issue-1]   ✅  Success - Main Do Work
[Distribute Workflows/act-concurrency-issue-2]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1.sh] user= workdir=./target_repo_1
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1.sh]'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Working directory '/Users/anthonyheffner/Documents/repos/xformative/builder/./target_repo_1'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Removed container: faea9050fe7ce9b22b0c4e79e5400b38106500778d2764b9e0c79334dd437884
[Distribute Workflows/act-concurrency-issue-1] [DEBUG]   🐳  docker volume rm act-Distribute-Workflows-act-concurrency-issue-1
[Distribute Workflows/act-concurrency-issue-1] [DEBUG]   🐳  docker volume rm act-Distribute-Workflows-act-concurrency-issue-1-env
[Distribute Workflows/act-concurrency-issue-1] 🏁  Job succeeded
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-1] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
| OCI runtime exec failed: exec failed: unable to start container process: chdir to cwd ("/Users/anthonyheffner/Documents/repos/xformative/builder/./target_repo_1") set in config.json failed: no such file or directory: unknown
[Distribute Workflows/act-concurrency-issue-2]   ❌  Failure - Main Do Work
[Distribute Workflows/act-concurrency-issue-2] exitcode '126': failure
[Distribute Workflows/act-concurrency-issue-2] 🏁  Job failed
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading slug from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Loading revision from git directory '/Users/anthonyheffner/Documents/repos/xformative/builder/.git'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] HEAD points to '172146208b743802e53c4e4d29a4d69d2b8598b3'
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] using github ref: refs/heads/develop
[Distribute Workflows/act-concurrency-issue-2] [DEBUG] Found revision: 172146208b743802e53c4e4d29a4d69d2b8598b3
Error: Job 'act-concurrency-issue' failed
Anthonys-MBP:builder anthonyheffner$

Additional information

No response

@AnthonyHeffnerXformative AnthonyHeffnerXformative added the kind/bug Something isn't working label Aug 22, 2022
@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added the stale label Sep 22, 2022
@ChristopherHX ChristopherHX added area/runner Relating to errors in the runner stale-exempt Exempt from stale and removed stale labels Sep 23, 2022
@ChristopherHX
Copy link
Contributor

setupShell and setupWorkingDirectory shall not replace the step model, instead this probably should move to the stepRun struct.

Otherwise runcontext.Steps() could clone every step, this is probably the fastest path to hide this bug.

act/pkg/runner/step_run.go

Lines 133 to 174 in 96ba76b

func (sr *stepRun) setupShell(ctx context.Context) {
rc := sr.RunContext
step := sr.Step
if step.Shell == "" {
step.Shell = rc.Run.Job().Defaults.Run.Shell
}
step.Shell = rc.NewExpressionEvaluator(ctx).Interpolate(ctx, step.Shell)
if step.Shell == "" {
step.Shell = rc.Run.Workflow.Defaults.Run.Shell
}
// current GitHub Runner behaviour is that default is `sh`,
// but if it's not container it validates with `which` command
// if `bash` is available, and provides `bash` if it is
// for now I'm going to leave below logic, will address it in different PR
// https://github.com/actions/runner/blob/9a829995e02d2db64efb939dc2f283002595d4d9/src/Runner.Worker/Handlers/ScriptHandler.cs#L87-L91
if rc.Run.Job().Container() != nil {
if rc.Run.Job().Container().Image != "" && step.Shell == "" {
step.Shell = "sh"
}
}
}
func (sr *stepRun) setupWorkingDirectory(ctx context.Context) {
rc := sr.RunContext
step := sr.Step
if step.WorkingDirectory == "" {
step.WorkingDirectory = rc.Run.Job().Defaults.Run.WorkingDirectory
}
// jobs can receive context values, so we interpolate
step.WorkingDirectory = rc.NewExpressionEvaluator(ctx).Interpolate(ctx, step.WorkingDirectory)
// but top level keys in workflow file like `defaults` or `env` can't
if step.WorkingDirectory == "" {
step.WorkingDirectory = rc.Run.Workflow.Defaults.Run.WorkingDirectory
}
}

@ChristopherHX ChristopherHX added the confirmed/not-planned Those issues are confirmed, but not planned to be fixed. PR's get reviewed label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/runner Relating to errors in the runner confirmed/not-planned Those issues are confirmed, but not planned to be fixed. PR's get reviewed kind/bug Something isn't working stale-exempt Exempt from stale
Projects
None yet
Development

No branches or pull requests

2 participants