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

fix: continue jobs + steps after failure #840

Merged
merged 13 commits into from
Dec 8, 2021
Merged

Conversation

KnisterPeter
Copy link
Member

To allow proper if expression handling on jobs and steps (like always,
success, failure, ...) we need to continue running all executors in
the prepared chain.
To keep the error handling intact we add an occurred error to the
go context and handle it later in the pipeline/chain.

Also we add the job result to the needs context to give expressions
access to it.
The needs object, failure and success functions are split between
run context (on jobs) and step context.

Closes #442

@KnisterPeter KnisterPeter requested a review from a team as a code owner October 14, 2021 20:47
@mergify
Copy link
Contributor

mergify bot commented Oct 14, 2021

@KnisterPeter this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label Oct 14, 2021
@codecov
Copy link

codecov bot commented Oct 14, 2021

Codecov Report

Merging #840 (4d505a8) into master (0f04942) will increase coverage by 7.46%.
The diff coverage is 62.01%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #840      +/-   ##
==========================================
+ Coverage   49.27%   56.73%   +7.46%     
==========================================
  Files          23       28       +5     
  Lines        2401     4158    +1757     
==========================================
+ Hits         1183     2359    +1176     
- Misses       1090     1592     +502     
- Partials      128      207      +79     
Impacted Files Coverage Δ
pkg/common/executor.go 46.90% <0.00%> (+2.03%) ⬆️
pkg/common/job_error.go 0.00% <0.00%> (ø)
pkg/common/outbound_ip.go 0.00% <0.00%> (ø)
pkg/common/testflag.go 0.00% <0.00%> (ø)
pkg/container/docker_volume.go 0.00% <0.00%> (ø)
pkg/model/action.go 0.00% <ø> (ø)
pkg/container/docker_run.go 5.53% <14.54%> (+3.60%) ⬆️
pkg/common/git.go 49.82% <31.81%> (-9.97%) ⬇️
pkg/runner/logger.go 65.43% <37.50%> (+1.28%) ⬆️
pkg/container/docker_auth.go 45.00% <45.00%> (ø)
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a545cea...4d505a8. Read the comment docs.

@mergify

This comment has been minimized.

@KnisterPeter

This comment has been minimized.

@mergify

This comment has been minimized.

@ChristopherHX

This comment has been minimized.

ZauberNerd added a commit to xing/act that referenced this pull request Oct 15, 2021
The `macos-latest` image was recently updated to macos 11 which does
not include virtualbox anymore.
This commit pins the previous version macos-10.15 until a more permament
fix can be found.
More information can be found in the discussion of this PR:
nektos#840 (comment)

Co-authored-by: Markus Wolf <mail@markus-wolf.de>
@ZauberNerd

This comment has been minimized.

@mergify

This comment has been minimized.

ZauberNerd added a commit to xing/act that referenced this pull request Oct 15, 2021
The `macos-latest` image was recently updated to macos 11 which does
not include virtualbox anymore.
This commit pins the previous version macos-10.15 until a more permament
fix can be found.
More information can be found in the discussion of this PR:
nektos#840 (comment)
and in the following issue and PR for the actions/virtual-environments:
actions/runner-images#4060
actions/runner-images#4010

Co-authored-by: Markus Wolf <mail@markus-wolf.de>
@mergify mergify bot removed the needs-work Extra attention is needed label Oct 15, 2021
@KnisterPeter
Copy link
Member Author

@catthehacker @cplee Can anyone of you review this change?

Comment on lines 376 to 392
return rc.getJobContext().Status == "success"
jobs := rc.Run.Workflow.Jobs
jobNeeds := rc.Run.Job().Needs()

for _, needs := range jobNeeds {
if jobs[needs].Result != "success" {
return false
}
}

return true
Copy link
Contributor

@ChristopherHX ChristopherHX Oct 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to check it recursive, not only the direct parents, which leads to unexpected false positives ( negatives for failure ). Here my cheat sheet of github actions job if actions/runner#491 (comment), success is also false if any previous jobs are skipped. My c# act-clone based on actions/runner successfully skips the job next.

Workflow and Log which demonstrates the bug, job next shouldn't run
on: push
jobs:
  fail:
    runs-on: ubuntu-latest
    steps:
    - run: exit 1
  suc1:
    if: success() || failure()
    needs:
    - fail
    runs-on: ubuntu-latest
    steps:
    - run: exit 0
  suc2:
    if: success() || failure()
    needs:
    - fail
    runs-on: ubuntu-latest
    steps:
    - run: exit 0
  next:
    needs:
    - suc1
    - suc2
    runs-on: ubuntu-latest
    steps:
    - run: echo should never reach here
    - run: exit 1

Unexpected log of this PR

bug-pr-840$ sudo '/home/christopher/Downloads/act-linux-amd64/act' -v
DEBU[0000] Loading environment from /home/christopher/bug-pr-840/.env 
DEBU[0000] Loading secrets from /home/christopher/bug-pr-840/.secrets 
DEBU[0000] Loading workflows from '/home/christopher/bug-pr-840/.github/workflows' 
DEBU[0000] Loading workflows recursively                
DEBU[0000] Found workflow 'success_after_failure.yml' in '/home/christopher/bug-pr-840/.github/workflows/success_after_failure.yml' 
DEBU[0000] Reading workflow '/home/christopher/bug-pr-840/.github/workflows/success_after_failure.yml' 
DEBU[0000] Correcting if statements '/home/christopher/bug-pr-840/.github/workflows/success_after_failure.yml' 
DEBU[0000] Planning event: push                         
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
DEBU[0000] context env => map[ACT:true]                 
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
DEBU[0000] context env => map[ACT:true]                 
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
DEBU[0000] context env => map[ACT:true]                 
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
DEBU[0000] context env => map[ACT:true]                 
DEBU[0000] expression 'success()' evaluated to 'true'   
[success_after_failure.yml/fail] 🚀  Start image=node:12.20.1-buster-slim
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
[success_after_failure.yml/fail]   🐳  docker pull image=node:12.20.1-buster-slim platform= username= forcePull=false
[success_after_failure.yml/fail]   🐳  docker pull node:12.20.1-buster-slim
DEBU[0000] Image exists? true                           
[success_after_failure.yml/fail]   🐳  docker create image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/fail] Created container name=act-success-after-failure-yml-fail id=224d09a0c91f2e5c8bbbc430a9ce673c0dd1dfd8b8e95a0a319405b860ceb25f from image node:12.20.1-buster-slim (platform: )
[success_after_failure.yml/fail] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[success_after_failure.yml/fail]   🐳  docker run image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/fail] Starting container: 224d09a0c91f2e5c8bbbc430a9ce673c0dd1dfd8b8e95a0a319405b860ceb25f
[success_after_failure.yml/fail] Started container: 224d09a0c91f2e5c8bbbc430a9ce673c0dd1dfd8b8e95a0a319405b860ceb25f
[success_after_failure.yml/fail]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[success_after_failure.yml/fail] Exec command '[mkdir -m 0777 -p /var/run/act]'
[success_after_failure.yml/fail] Working directory '/home/christopher/bug-pr-840'
DEBU[0000] Writing entry to tarball workflow/event.json len:2 
DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 
[success_after_failure.yml/fail] Extracting content to '/var/run/act/'
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
DEBU[0000] context env => map[ACT:true NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin YARN_VERSION:1.22.5] 
DEBU[0000] context env => map[]                         
DEBU[0000] context needs => map[]                       
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:fail GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:fail GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0000] context needs => map[]                       
[success_after_failure.yml/fail] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:fail GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5]
[success_after_failure.yml/fail] ⭐  Run exit 1
DEBU[0000] Wrote command '
exit 1
' to 'workflow/0'     
DEBU[0000] Writing entry to tarball workflow/0 len:6    
[success_after_failure.yml/fail] Extracting content to '/home/christopher/bug-pr-840'
[success_after_failure.yml/fail]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0] user= workdir=
[success_after_failure.yml/fail] Exec command '[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0]'
[success_after_failure.yml/fail] Working directory '/home/christopher/bug-pr-840'
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:fail GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0000] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:fail GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0000] context needs => map[]                       
[success_after_failure.yml/fail]   ❌  Failure - exit 1
[success_after_failure.yml/fail] Removed container: 224d09a0c91f2e5c8bbbc430a9ce673c0dd1dfd8b8e95a0a319405b860ceb25f
[success_after_failure.yml/fail]   🐳  docker volume rm act-success-after-failure-yml-fail
DEBU[0000] expression 'success() || failure()' evaluated to 'true' 
[success_after_failure.yml/suc1] 🚀  Start image=node:12.20.1-buster-slim
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
[success_after_failure.yml/suc1]   🐳  docker pull image=node:12.20.1-buster-slim platform= username= forcePull=false
[success_after_failure.yml/suc1]   🐳  docker pull node:12.20.1-buster-slim
DEBU[0000] Image exists? true                           
[success_after_failure.yml/suc1]   🐳  docker create image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/suc1] Created container name=act-success-after-failure-yml-suc1 id=0d26209bf05b073433b8f3a83c1b2ff448eac28214da566fc5a6b6983ba70c02 from image node:12.20.1-buster-slim (platform: )
[success_after_failure.yml/suc1] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[success_after_failure.yml/suc1]   🐳  docker run image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/suc1] Starting container: 0d26209bf05b073433b8f3a83c1b2ff448eac28214da566fc5a6b6983ba70c02
[success_after_failure.yml/suc1] Started container: 0d26209bf05b073433b8f3a83c1b2ff448eac28214da566fc5a6b6983ba70c02
[success_after_failure.yml/suc1]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[success_after_failure.yml/suc1] Exec command '[mkdir -m 0777 -p /var/run/act]'
[success_after_failure.yml/suc1] Working directory '/home/christopher/bug-pr-840'
DEBU[0001] Writing entry to tarball workflow/event.json len:2 
DEBU[0001] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0001] Writing entry to tarball workflow/paths.txt len:0 
[success_after_failure.yml/suc1] Extracting content to '/var/run/act/'
WARN[0001] unable to get git repo: unable to find git repo 
WARN[0001] unable to get git revision: unable to find git repo 
WARN[0001] unable to get git ref: unable to find git repo 
DEBU[0001] context env => map[ACT:true NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin YARN_VERSION:1.22.5] 
DEBU[0001] context env => map[]                         
DEBU[0001] context needs => map[fail:map[outputs:map[]]] 
WARN[0001] unable to get git repo: unable to find git repo 
WARN[0001] unable to get git revision: unable to find git repo 
WARN[0001] unable to get git ref: unable to find git repo 
WARN[0001] unable to get git repo: unable to find git repo 
WARN[0001] unable to get git revision: unable to find git repo 
WARN[0001] unable to get git ref: unable to find git repo 
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc1 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc1 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0001] context needs => map[fail:map[outputs:map[]]] 
[success_after_failure.yml/suc1] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc1 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5]
[success_after_failure.yml/suc1] ⭐  Run exit 0
DEBU[0001] Wrote command '
exit 0
' to 'workflow/0'     
DEBU[0001] Writing entry to tarball workflow/0 len:6    
[success_after_failure.yml/suc1] Extracting content to '/home/christopher/bug-pr-840'
[success_after_failure.yml/suc1]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0] user= workdir=
[success_after_failure.yml/suc1] Exec command '[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0]'
[success_after_failure.yml/suc1] Working directory '/home/christopher/bug-pr-840'
WARN[0001] unable to get git repo: unable to find git repo 
WARN[0001] unable to get git revision: unable to find git repo 
WARN[0001] unable to get git ref: unable to find git repo 
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc1 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc1 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0001] context needs => map[fail:map[outputs:map[]]] 
[success_after_failure.yml/suc1]   ✅  Success - exit 0
[success_after_failure.yml/suc1] Removed container: 0d26209bf05b073433b8f3a83c1b2ff448eac28214da566fc5a6b6983ba70c02
[success_after_failure.yml/suc1]   🐳  docker volume rm act-success-after-failure-yml-suc1
DEBU[0001] expression 'success() || failure()' evaluated to 'true' 
[success_after_failure.yml/suc2] 🚀  Start image=node:12.20.1-buster-slim
WARN[0001] unable to get git repo: unable to find git repo 
WARN[0001] unable to get git revision: unable to find git repo 
WARN[0001] unable to get git ref: unable to find git repo 
[success_after_failure.yml/suc2]   🐳  docker pull image=node:12.20.1-buster-slim platform= username= forcePull=false
[success_after_failure.yml/suc2]   🐳  docker pull node:12.20.1-buster-slim
DEBU[0001] Image exists? true                           
[success_after_failure.yml/suc2]   🐳  docker create image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/suc2] Created container name=act-success-after-failure-yml-suc2 id=52b4c5c3f94f3bb9897804a76406f4cb1a75babc6726f2b5be641d654f6d68c0 from image node:12.20.1-buster-slim (platform: )
[success_after_failure.yml/suc2] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[success_after_failure.yml/suc2]   🐳  docker run image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/suc2] Starting container: 52b4c5c3f94f3bb9897804a76406f4cb1a75babc6726f2b5be641d654f6d68c0
[success_after_failure.yml/suc2] Started container: 52b4c5c3f94f3bb9897804a76406f4cb1a75babc6726f2b5be641d654f6d68c0
[success_after_failure.yml/suc2]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[success_after_failure.yml/suc2] Exec command '[mkdir -m 0777 -p /var/run/act]'
[success_after_failure.yml/suc2] Working directory '/home/christopher/bug-pr-840'
DEBU[0002] Writing entry to tarball workflow/event.json len:2 
DEBU[0002] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0002] Writing entry to tarball workflow/paths.txt len:0 
[success_after_failure.yml/suc2] Extracting content to '/var/run/act/'
WARN[0002] unable to get git repo: unable to find git repo 
WARN[0002] unable to get git revision: unable to find git repo 
WARN[0002] unable to get git ref: unable to find git repo 
DEBU[0002] context env => map[ACT:true NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin YARN_VERSION:1.22.5] 
DEBU[0002] context env => map[]                         
DEBU[0002] context needs => map[fail:map[outputs:map[]]] 
WARN[0002] unable to get git repo: unable to find git repo 
WARN[0002] unable to get git revision: unable to find git repo 
WARN[0002] unable to get git ref: unable to find git repo 
WARN[0002] unable to get git repo: unable to find git repo 
WARN[0002] unable to get git revision: unable to find git repo 
WARN[0002] unable to get git ref: unable to find git repo 
DEBU[0002] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc2 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0002] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc2 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0002] context needs => map[fail:map[outputs:map[]]] 
[success_after_failure.yml/suc2] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc2 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5]
[success_after_failure.yml/suc2] ⭐  Run exit 0
DEBU[0002] Wrote command '
exit 0
' to 'workflow/0'     
DEBU[0002] Writing entry to tarball workflow/0 len:6    
[success_after_failure.yml/suc2] Extracting content to '/home/christopher/bug-pr-840'
[success_after_failure.yml/suc2]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0] user= workdir=
[success_after_failure.yml/suc2] Exec command '[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0]'
[success_after_failure.yml/suc2] Working directory '/home/christopher/bug-pr-840'
WARN[0002] unable to get git repo: unable to find git repo 
WARN[0002] unable to get git revision: unable to find git repo 
WARN[0002] unable to get git ref: unable to find git repo 
DEBU[0002] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc2 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0002] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:suc2 GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0002] context needs => map[fail:map[outputs:map[]]] 
[success_after_failure.yml/suc2]   ✅  Success - exit 0
[success_after_failure.yml/suc2] Removed container: 52b4c5c3f94f3bb9897804a76406f4cb1a75babc6726f2b5be641d654f6d68c0
[success_after_failure.yml/suc2]   🐳  docker volume rm act-success-after-failure-yml-suc2
DEBU[0002] expression 'success()' evaluated to 'true'   
[success_after_failure.yml/next] 🚀  Start image=node:12.20.1-buster-slim
WARN[0002] unable to get git repo: unable to find git repo 
WARN[0002] unable to get git revision: unable to find git repo 
WARN[0002] unable to get git ref: unable to find git repo 
[success_after_failure.yml/next]   🐳  docker pull image=node:12.20.1-buster-slim platform= username= forcePull=false
[success_after_failure.yml/next]   🐳  docker pull node:12.20.1-buster-slim
DEBU[0002] Image exists? true                           
[success_after_failure.yml/next]   🐳  docker create image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/next] Created container name=act-success-after-failure-yml-next id=84f9b79ba54255ec2b18935e1d29f959e2d827229c3958180b7ed8408e3fa04c from image node:12.20.1-buster-slim (platform: )
[success_after_failure.yml/next] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[success_after_failure.yml/next]   🐳  docker run image=node:12.20.1-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[success_after_failure.yml/next] Starting container: 84f9b79ba54255ec2b18935e1d29f959e2d827229c3958180b7ed8408e3fa04c
[success_after_failure.yml/next] Started container: 84f9b79ba54255ec2b18935e1d29f959e2d827229c3958180b7ed8408e3fa04c
[success_after_failure.yml/next]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[success_after_failure.yml/next] Exec command '[mkdir -m 0777 -p /var/run/act]'
[success_after_failure.yml/next] Working directory '/home/christopher/bug-pr-840'
DEBU[0003] Writing entry to tarball workflow/event.json len:2 
DEBU[0003] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0003] Writing entry to tarball workflow/paths.txt len:0 
[success_after_failure.yml/next] Extracting content to '/var/run/act/'
WARN[0003] unable to get git repo: unable to find git repo 
WARN[0003] unable to get git revision: unable to find git repo 
WARN[0003] unable to get git ref: unable to find git repo 
DEBU[0003] context env => map[ACT:true NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin YARN_VERSION:1.22.5] 
DEBU[0003] context env => map[]                         
DEBU[0003] context needs => map[suc1:map[outputs:map[]] suc2:map[outputs:map[]]] 
WARN[0003] unable to get git repo: unable to find git repo 
WARN[0003] unable to get git revision: unable to find git repo 
WARN[0003] unable to get git ref: unable to find git repo 
WARN[0003] unable to get git repo: unable to find git repo 
WARN[0003] unable to get git revision: unable to find git repo 
WARN[0003] unable to get git ref: unable to find git repo 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0003] context needs => map[suc1:map[outputs:map[]] suc2:map[outputs:map[]]] 
[success_after_failure.yml/next] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5]
[success_after_failure.yml/next] ⭐  Run echo should never reach here
DEBU[0003] Wrote command '
echo should never reach here
' to 'workflow/0' 
DEBU[0003] Writing entry to tarball workflow/0 len:28   
[success_after_failure.yml/next] Extracting content to '/home/christopher/bug-pr-840'
[success_after_failure.yml/next]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0] user= workdir=
[success_after_failure.yml/next] Exec command '[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/0]'
[success_after_failure.yml/next] Working directory '/home/christopher/bug-pr-840'
| should never reach here
WARN[0003] unable to get git repo: unable to find git repo 
WARN[0003] unable to get git revision: unable to find git repo 
WARN[0003] unable to get git ref: unable to find git repo 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0003] context needs => map[suc1:map[outputs:map[]] suc2:map[outputs:map[]]] 
[success_after_failure.yml/next]   ✅  Success - echo should never reach here
WARN[0003] unable to get git repo: unable to find git repo 
WARN[0003] unable to get git revision: unable to find git repo 
WARN[0003] unable to get git ref: unable to find git repo 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0003] context env => map[]                         
DEBU[0003] context needs => map[suc1:map[outputs:map[]] suc2:map[outputs:map[]]] 
WARN[0003] unable to get git repo: unable to find git repo 
WARN[0003] unable to get git revision: unable to find git repo 
WARN[0003] unable to get git ref: unable to find git repo 
WARN[0003] unable to get git repo: unable to find git repo 
WARN[0003] unable to get git revision: unable to find git repo 
WARN[0003] unable to get git ref: unable to find git repo 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0003] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0003] context needs => map[suc1:map[outputs:map[]] suc2:map[outputs:map[]]] 
[success_after_failure.yml/next] setupEnv => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5]
[success_after_failure.yml/next] ⭐  Run exit 1
DEBU[0003] Wrote command '
exit 1
' to 'workflow/1'     
DEBU[0003] Writing entry to tarball workflow/1 len:6    
[success_after_failure.yml/next] Extracting content to '/home/christopher/bug-pr-840'
[success_after_failure.yml/next]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/1] user= workdir=
[success_after_failure.yml/next] Exec command '[bash --noprofile --norc -e -o pipefail /home/christopher/bug-pr-840/workflow/1]'
[success_after_failure.yml/next] Working directory '/home/christopher/bug-pr-840'
WARN[0004] unable to get git repo: unable to find git repo 
WARN[0004] unable to get git revision: unable to find git repo 
WARN[0004] unable to get git ref: unable to find git repo 
DEBU[0004] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0004] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:next GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:success_after_failure.yml GITHUB_WORKSPACE:/home/christopher/bug-pr-840 ImageOS:ubuntu20 NODE_VERSION:12.20.1 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: YARN_VERSION:1.22.5] 
DEBU[0004] context needs => map[suc1:map[outputs:map[]] suc2:map[outputs:map[]]] 
[success_after_failure.yml/next]   ❌  Failure - exit 1
[success_after_failure.yml/next] Removed container: 84f9b79ba54255ec2b18935e1d29f959e2d827229c3958180b7ed8408e3fa04c
[success_after_failure.yml/next]   🐳  docker volume rm act-success-after-failure-yml-next
Error: Job 'fail' failed

Expected result from My c# act-clone based on actions/runner:

Starting Server...
Starting 1 Runner...
The server is listening on http://192.168.178.20:40395
No default github.ref found
Couldn't retrive github.sha
Scheduled Job: .github/workflows/success_after_failure.yml / fail
[.github/workflows/success_after_failure.yml / fail] Running: Set up job
| Current runner version: '3.3.3'
| Runner name: 'Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6'
| Machine name: 'XPS13'
| Prepare workflow directory
| ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
| '1.40'
| Docker daemon API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
| '1.40'
| Docker client API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Server.Os}}'
| 'linux'
| Docker server Os: 'linux'
| ##[command]/usr/bin/docker version --format '{{.Server.Arch}}'
| 'amd64'
| Docker server Arch: 'amd64'
| Prepare all required actions
[.github/workflows/success_after_failure.yml / fail] Succeeded: Set up job
[.github/workflows/success_after_failure.yml / fail] Running: Initialize containers
| ##[group]Checking docker version
| ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
| '1.40'
| Docker daemon API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
| '1.40'
| Docker client API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Server.Os}}'
| 'linux'
| Docker server Os: 'linux'
| ##[command]/usr/bin/docker version --format '{{.Server.Arch}}'
| 'amd64'
| Docker server Arch: 'amd64'
| ##[endgroup]
| ##[group]Clean up resources from previous jobs
| ##[command]/usr/bin/docker ps --all --quiet --no-trunc --filter "label=791b87"
| ##[command]/usr/bin/docker network prune --force --filter "label=791b87"
| ##[endgroup]
| ##[group]Create local container network
| ##[command]/usr/bin/docker network create --label 791b87 github_network_8d88cba5fb9e45b89a65567f81f5f90f
| 83dcbe784fd6591bdf9a0aecc2dc72c458004191a18fcbd825f9db2ef1eb595c
| ##[endgroup]
| ##[group]Starting job container
| ##[command]/usr/bin/docker pull node:12.20.1-buster-slim
| 12.20.1-buster-slim: Pulling from library/node
| Digest: sha256:ea7a59a1bd1ec4a4c565ef7136ee0950320e4db8ec4c0889488c0c29c16b6d9a
| Status: Image is up to date for node:12.20.1-buster-slim
| docker.io/library/node:12.20.1-buster-slim
| ##[command]/usr/bin/docker create --name 87969857eb0a4889ac3255efe796c55b_node12201busterslim_d83671 --label 791b87 --workdir /__w/Unknown/Unknown --network github_network_8d88cba5fb9e45b89a65567f81f5f90f  -e "HOME=/github/home" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work":"/__w" -v "/root/.local/share/gharun":"/__e":ro -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp":"/__w/_temp" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_actions":"/__w/_actions" -v "/root/.local/share/gharun/tool_cache":"/__t" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp/_github_home":"/github/home" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp/_github_workflow":"/github/workflow" --entrypoint "tail" node:12.20.1-buster-slim "-f" "/dev/null...
| 64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30
| ##[command]/usr/bin/docker start 64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30
| 64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30
| ##[command]/usr/bin/docker ps --all --filter id=64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30 --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
| 64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30 Up Less than a second
| ##[command]/usr/bin/docker inspect --format "{{range .Config.Env}}{{println .}}{{end}}" 64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30
| HOME=/github/home
| GITHUB_ACTIONS=true
| CI=true
| PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
| NODE_VERSION=12.20.1
| YARN_VERSION=1.22.5
| ##[endgroup]
| ##[group]Waiting for all services to be ready
| ##[endgroup]
[.github/workflows/success_after_failure.yml / fail] Succeeded: Initialize containers
[.github/workflows/success_after_failure.yml / fail] Running: Run exit 1
| ##[group]Run exit 1
| exit 1
| shell: sh -e {0}
| ##[endgroup]
| ##[error]Process completed with exit code 1.
[.github/workflows/success_after_failure.yml / fail] Failed: Run exit 1
[.github/workflows/success_after_failure.yml / fail] Running: Stop containers
| Stop and remove container: 87969857eb0a4889ac3255efe796c55b_node12201busterslim_d83671
| ##[command]/usr/bin/docker rm --force 64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30
| 64c6717e1a31597f7ebef84ba10b35d9ab86fb06134482d4b6bf1de0d8faae30
| Remove container network: github_network_8d88cba5fb9e45b89a65567f81f5f90f
| ##[command]/usr/bin/docker network rm github_network_8d88cba5fb9e45b89a65567f81f5f90f
| github_network_8d88cba5fb9e45b89a65567f81f5f90f
[.github/workflows/success_after_failure.yml / fail] Succeeded: Stop containers
[.github/workflows/success_after_failure.yml / fail] Running: Complete job
| Cleaning up orphan processes
[.github/workflows/success_after_failure.yml / fail] Succeeded: Complete job
[.github/workflows/success_after_failure.yml / fail] Job Completed with Status: Failed
[.github/workflows/success_after_failure.yml / suc1] Running: Set up job
| Current runner version: '3.3.3'
| Runner name: 'Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6'
| Machine name: 'XPS13'
| Prepare workflow directory
| ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
| '1.40'
| Docker daemon API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
| '1.40'
| Docker client API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Server.Os}}'
| 'linux'
| Docker server Os: 'linux'
| ##[command]/usr/bin/docker version --format '{{.Server.Arch}}'
| 'amd64'
| Docker server Arch: 'amd64'
| Prepare all required actions
[.github/workflows/success_after_failure.yml / suc1] Succeeded: Set up job
[.github/workflows/success_after_failure.yml / suc1] Running: Initialize containers
| ##[group]Checking docker version
| ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
| '1.40'
| Docker daemon API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
| '1.40'
| Docker client API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Server.Os}}'
| 'linux'
| Docker server Os: 'linux'
| ##[command]/usr/bin/docker version --format '{{.Server.Arch}}'
| 'amd64'
| Docker server Arch: 'amd64'
| ##[endgroup]
| ##[group]Clean up resources from previous jobs
| ##[command]/usr/bin/docker ps --all --quiet --no-trunc --filter "label=791b87"
| ##[command]/usr/bin/docker network prune --force --filter "label=791b87"
| ##[endgroup]
| ##[group]Create local container network
| ##[command]/usr/bin/docker network create --label 791b87 github_network_fa90eec76a2e4156800e255d637240ba
| 0cdf3dff9acd4fc63f3aa221b30353ce51ace19fbf1d49665a49863385e8f86c
| ##[endgroup]
| ##[group]Starting job container
| ##[command]/usr/bin/docker pull node:12.20.1-buster-slim
| 12.20.1-buster-slim: Pulling from library/node
| Digest: sha256:ea7a59a1bd1ec4a4c565ef7136ee0950320e4db8ec4c0889488c0c29c16b6d9a
| Status: Image is up to date for node:12.20.1-buster-slim
| docker.io/library/node:12.20.1-buster-slim
| ##[command]/usr/bin/docker create --name f7e757ac206145f4a729cd5e2a5e9111_node12201busterslim_0f23a2 --label 791b87 --workdir /__w/Unknown/Unknown --network github_network_fa90eec76a2e4156800e255d637240ba  -e "HOME=/github/home" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work":"/__w" -v "/root/.local/share/gharun":"/__e":ro -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp":"/__w/_temp" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_actions":"/__w/_actions" -v "/root/.local/share/gharun/tool_cache":"/__t" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp/_github_home":"/github/home" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp/_github_workflow":"/github/workflow" --entrypoint "tail" node:12.20.1-buster-slim "-f" "/dev/null...
| d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e
| ##[command]/usr/bin/docker start d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e
| d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e
| ##[command]/usr/bin/docker ps --all --filter id=d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
| d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e Up Less than a second
| ##[command]/usr/bin/docker inspect --format "{{range .Config.Env}}{{println .}}{{end}}" d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e
| HOME=/github/home
| GITHUB_ACTIONS=true
| CI=true
| PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
| NODE_VERSION=12.20.1
| YARN_VERSION=1.22.5
| ##[endgroup]
| ##[group]Waiting for all services to be ready
| ##[endgroup]
[.github/workflows/success_after_failure.yml / suc1] Succeeded: Initialize containers
[.github/workflows/success_after_failure.yml / suc1] Running: Run exit 0
| ##[group]Run exit 0
| exit 0
| shell: sh -e {0}
| ##[endgroup]
[.github/workflows/success_after_failure.yml / suc1] Succeeded: Run exit 0
[.github/workflows/success_after_failure.yml / suc1] Running: Stop containers
| Stop and remove container: f7e757ac206145f4a729cd5e2a5e9111_node12201busterslim_0f23a2
| ##[command]/usr/bin/docker rm --force d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e
| d08a4970ec9bd627aab859c7523c8174a02e2463f9146230598c9faa2f79bf1e
| Remove container network: github_network_fa90eec76a2e4156800e255d637240ba
| ##[command]/usr/bin/docker network rm github_network_fa90eec76a2e4156800e255d637240ba
| github_network_fa90eec76a2e4156800e255d637240ba
[.github/workflows/success_after_failure.yml / suc1] Succeeded: Stop containers
[.github/workflows/success_after_failure.yml / suc1] Running: Complete job
| Cleaning up orphan processes
[.github/workflows/success_after_failure.yml / suc1] Succeeded: Complete job
[.github/workflows/success_after_failure.yml / suc1] Job Completed with Status: Succeeded
[.github/workflows/success_after_failure.yml / suc2] Running: Set up job
| Current runner version: '3.3.3'
| Runner name: 'Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6'
| Machine name: 'XPS13'
| Prepare workflow directory
| ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
| '1.40'
| Docker daemon API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
| '1.40'
| Docker client API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Server.Os}}'
| 'linux'
| Docker server Os: 'linux'
| ##[command]/usr/bin/docker version --format '{{.Server.Arch}}'
| 'amd64'
| Docker server Arch: 'amd64'
| Prepare all required actions
[.github/workflows/success_after_failure.yml / suc2] Succeeded: Set up job
[.github/workflows/success_after_failure.yml / suc2] Running: Initialize containers
| ##[group]Checking docker version
| ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
| '1.40'
| Docker daemon API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
| '1.40'
| Docker client API version: '1.40'
| ##[command]/usr/bin/docker version --format '{{.Server.Os}}'
| 'linux'
| Docker server Os: 'linux'
| ##[command]/usr/bin/docker version --format '{{.Server.Arch}}'
| 'amd64'
| Docker server Arch: 'amd64'
| ##[endgroup]
| ##[group]Clean up resources from previous jobs
| ##[command]/usr/bin/docker ps --all --quiet --no-trunc --filter "label=791b87"
| ##[command]/usr/bin/docker network prune --force --filter "label=791b87"
| ##[endgroup]
| ##[group]Create local container network
| ##[command]/usr/bin/docker network create --label 791b87 github_network_5b00616a3741416aae1b59d3a27b7b78
| 94f51f211ec29217dba8e3002e471d666972aaff1d291f66715d4ad8de888b44
| ##[endgroup]
| ##[group]Starting job container
| ##[command]/usr/bin/docker pull node:12.20.1-buster-slim
| 12.20.1-buster-slim: Pulling from library/node
| Digest: sha256:ea7a59a1bd1ec4a4c565ef7136ee0950320e4db8ec4c0889488c0c29c16b6d9a
| Status: Image is up to date for node:12.20.1-buster-slim
| docker.io/library/node:12.20.1-buster-slim
| ##[command]/usr/bin/docker create --name 62cbd2426bdb4e08a1996a04b0d3fc2c_node12201busterslim_37c50d --label 791b87 --workdir /__w/Unknown/Unknown --network github_network_5b00616a3741416aae1b59d3a27b7b78  -e "HOME=/github/home" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work":"/__w" -v "/root/.local/share/gharun":"/__e":ro -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp":"/__w/_temp" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_actions":"/__w/_actions" -v "/root/.local/share/gharun/tool_cache":"/__t" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp/_github_home":"/github/home" -v "/root/.local/share/gharun/Agents/Agent-35a4541a-657f-4265-9a6d-b8fcd92749f6/_work/_temp/_github_workflow":"/github/workflow" --entrypoint "tail" node:12.20.1-buster-slim "-f" "/dev/null...
| 86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e
| ##[command]/usr/bin/docker start 86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e
| 86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e
| ##[command]/usr/bin/docker ps --all --filter id=86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
| 86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e Up Less than a second
| ##[command]/usr/bin/docker inspect --format "{{range .Config.Env}}{{println .}}{{end}}" 86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e
| GITHUB_ACTIONS=true
| CI=true
| HOME=/github/home
| PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
| NODE_VERSION=12.20.1
| YARN_VERSION=1.22.5
| ##[endgroup]
| ##[group]Waiting for all services to be ready
| ##[endgroup]
[.github/workflows/success_after_failure.yml / suc2] Succeeded: Initialize containers
[.github/workflows/success_after_failure.yml / suc2] Running: Run exit 0
| ##[group]Run exit 0
| exit 0
| shell: sh -e {0}
| ##[endgroup]
[.github/workflows/success_after_failure.yml / suc2] Succeeded: Run exit 0
[.github/workflows/success_after_failure.yml / suc2] Running: Stop containers
| Stop and remove container: 62cbd2426bdb4e08a1996a04b0d3fc2c_node12201busterslim_37c50d
| ##[command]/usr/bin/docker rm --force 86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e
| 86815895bbbadcd0f8ca322ab4f856e144c72420c922d58f95f35a28854d782e
| Remove container network: github_network_5b00616a3741416aae1b59d3a27b7b78
| ##[command]/usr/bin/docker network rm github_network_5b00616a3741416aae1b59d3a27b7b78
| github_network_5b00616a3741416aae1b59d3a27b7b78
[.github/workflows/success_after_failure.yml / suc2] Succeeded: Stop containers
[.github/workflows/success_after_failure.yml / suc2] Running: Complete job
| Cleaning up orphan processes
[.github/workflows/success_after_failure.yml / suc2] Succeeded: Complete job
[.github/workflows/success_after_failure.yml / suc2] Job Completed with Status: Succeeded
[.github/workflows/success_after_failure.yml / next] Job Completed with Status: Skipped
Workflow 0 finished with status Failure
All Workflows finished, at least one workflow failed
Stopped Server
Stopped Runner

Edit: Fixed typo, added expected log

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ @KnisterPeter

@catthehacker @ cplee Can anyone of you review this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. We will adjust accordingly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChristopherHX @catthehacker we implemented the recursive checks for parent jobs.
We've also added a simple test case for that.

We did not implement the undocumented behaviour you mentioned in the linked issue. If that is required, I guess we / you could implement that in a later PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine for me, undocumented behavior is not needed.
I guess running steps after failure, would be great for my github-act-runner project. Nice addition.

@ChristopherHX
Copy link
Contributor

I tested this + #793 together and discovered that:
Merging both this and #793 will cause heavy regression bugs in composite actions. Merging only one of them seems to be ok.

Both PR's might need a lot of addidtional tests, it seems to break easily.

Fully detectable after enabling if of #793
A step fails in composite, while job hasn't failed yet:

  • Composite actions finishs with success, but it should fail.
  • steps without success condition will run after failure

Composite Action run on failure()

  • every step success or failure prints failure
  • steps with success() don't run, because job failed already

Suggestion, don't make the then executor to finally and just use finally.

@KnisterPeter
Copy link
Member Author

@ChristopherHX Do you have a suggestion how to progress on this? I think one of the PRs should be merged first and the other one then might need additional work.

What we changed with our PR is, that we continue to run the executors even if there was a failure. The failure information is stored and used later on. That might be the cause of the problems we see in combination with #793

@ChristopherHX
Copy link
Contributor

ChristopherHX commented Nov 1, 2021

I don't know how to write tests for act to check if a certain step does or doesn't run after a failure, which is needed to catch these in unit tests.

Something weird is happening with your failure information, maybe because composite action steps are called recursive and your failure information need to mapped back to the parent context.

To reduce regression with full composite actions, please store the status of the success() function directly inside the runcontext. Then I would only need to reset it to success without have to alter the global job structure. this wasn't changed by your PR.

One of the regressions I noticed seems to happen on job level too.
on: push
jobs:
  mytest:
    runs-on: ubuntu-latest
    steps:
      - run: echo Success # ok
        shell: bash
      - run: echo Success # ok
        if: success()
        shell: bash
      - run: exit 1 # ok
        shell: bash
      - run: echo "Shouldn't run" # ok
        if: success()
        shell: bash
      - run: echo "Shouldn't run2" # This step runs, this doesn't happen before
        shell: bash
      - run: echo expected to run  # ok
        if: failure()
        shell: bash
time="2021-11-01T11:15:51+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:51+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:51+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest] 🚀  Start image=catthehacker/ubuntu:act-latest
time="2021-11-01T11:15:51+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:51+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:51+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[main.yml/mytest]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[main.yml/mytest]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[main.yml/mytest]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:52+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest] ⭐  Run echo Success
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/0.sh] user= workdir=
| Success
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest]   ✅  Success - echo Success
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest] ⭐  Run echo Success
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/1.sh] user= workdir=
| Success
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest]   ✅  Success - echo Success
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest] ⭐  Run exit 1
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/2.sh] user= workdir=
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest]   ❌  Failure - exit 1
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:53+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest] ⭐  Run echo "Shouldn't run2"
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/4.sh] user= workdir=
| Shouldn't run2
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest]   ✅  Success - echo "Shouldn't run2"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest] ⭐  Run echo expected to run
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/5.sh] user= workdir=
| expected to run
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:15:54+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest]   ✅  Success - echo expected to run
PS C:\Users\Christopher\act-composite-step-after-failure> go run . -W ..\main.yml -C .\wd\ -v
time="2021-11-01T11:16:55+01:00" level=debug msg="Loading environment from C:\\Users\\Christopher\\act-composite-step-after-failure\\wd\\.env"
time="2021-11-01T11:16:55+01:00" level=debug msg="Loading secrets from C:\\Users\\Christopher\\act-composite-step-after-failure\\wd\\.secrets"
time="2021-11-01T11:16:55+01:00" level=debug msg="Loading workflow 'C:\\Users\\Christopher\\act-composite-step-after-failure\\main.yml'"
time="2021-11-01T11:16:55+01:00" level=debug msg="Reading workflow 'C:\\Users\\Christopher\\act-composite-step-after-failure\\main.yml'"
time="2021-11-01T11:16:55+01:00" level=debug msg="Correcting if statements 'C:\\Users\\Christopher\\act-composite-step-after-failure\\main.yml'"
time="2021-11-01T11:16:55+01:00" level=debug msg="Planning event: push"
time="2021-11-01T11:16:55+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:16:55+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:16:55+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:16:55+01:00" level=debug msg="context env => map[ACT:true]"
time="2021-11-01T11:16:55+01:00" level=debug msg="expression 'success()' evaluated to 'true'"
[main.yml/mytest] 🚀  Start image=catthehacker/ubuntu:act-latest
time="2021-11-01T11:16:55+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:16:55+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:16:55+01:00" level=warning msg="unable to get git ref: unable to find git repo"
[main.yml/mytest]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[main.yml/mytest]   🐳  docker pull catthehacker/ubuntu:act-latest
time="2021-11-01T11:16:55+01:00" level=debug msg="Image exists? true"
[main.yml/mytest]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[main.yml/mytest] Created container name=act-main-yml-mytest id=8a936163f5312eefe110179f7cd25de0e2a6f073707989a49d56c9d6c4175492 from image catthehacker/ubuntu:act-latest (platform: )
[main.yml/mytest] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[main.yml/mytest]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[main.yml/mytest] Starting container: 8a936163f5312eefe110179f7cd25de0e2a6f073707989a49d56c9d6c4175492
[main.yml/mytest] Started container: 8a936163f5312eefe110179f7cd25de0e2a6f073707989a49d56c9d6c4175492
[main.yml/mytest]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[main.yml/mytest] Exec command '[mkdir -m 0777 -p /var/run/act]'
[main.yml/mytest] Working directory '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
time="2021-11-01T11:17:00+01:00" level=debug msg="Writing entry to tarball workflow/event.json len:2"
time="2021-11-01T11:17:00+01:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0"
time="2021-11-01T11:17:00+01:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0"
[main.yml/mytest] Extracting content to '/var/run/act/'
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context needs => map[]"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/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]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/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]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest] 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_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:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/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]
[main.yml/mytest] ⭐  Run echo Success
time="2021-11-01T11:17:00+01:00" level=debug msg="Wrote command '\necho Success\n' to 'workflow/0.sh'"
time="2021-11-01T11:17:00+01:00" level=debug msg="Writing entry to tarball workflow/0.sh len:12"
[main.yml/mytest] Extracting content to '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/0.sh] user= workdir=
[main.yml/mytest] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/0.sh]'
[main.yml/mytest] Working directory '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
| Success
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/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]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/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]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest]   ✅  Success - echo Success
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/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]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context needs => map[]"
time="2021-11-01T11:17:00+01:00" level=debug msg="expression 'success()' evaluated to 'true'"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:00+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest] 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_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:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[main.yml/mytest] ⭐  Run echo Success
time="2021-11-01T11:17:00+01:00" level=debug msg="Wrote command '\necho Success\n' to 'workflow/1.sh'"
time="2021-11-01T11:17:00+01:00" level=debug msg="Writing entry to tarball workflow/1.sh len:12"
[main.yml/mytest] Extracting content to '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/1.sh] user= workdir=
[main.yml/mytest] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/1.sh]'
[main.yml/mytest] Working directory '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
| Success
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:01+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:01+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest]   ✅  Success - echo Success
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:01+01:00" level=debug msg="context env => map[]"
time="2021-11-01T11:17:01+01:00" level=debug msg="context needs => map[]"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:01+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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]"
time="2021-11-01T11:17:01+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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]"
time="2021-11-01T11:17:01+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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]
[main.yml/mytest] ⭐  Run exit 1
time="2021-11-01T11:17:01+01:00" level=debug msg="Wrote command '\nexit 1\n' to 'workflow/2.sh'"
time="2021-11-01T11:17:01+01:00" level=debug msg="Writing entry to tarball workflow/2.sh len:6"
[main.yml/mytest] Extracting content to '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/2.sh] user= workdir=
[main.yml/mytest] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/2.sh]'
[main.yml/mytest] Working directory '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest]   ❌  Failure - exit 1
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context needs => map[]"
time="2021-11-01T11:17:02+01:00" level=debug msg="expression 'success()' evaluated to 'false'"
time="2021-11-01T11:17:02+01:00" level=debug msg="Skipping step 'echo \"Shouldn't run\"' due to 'success()'"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context needs => map[]"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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]
[main.yml/mytest] ⭐  Run echo "Shouldn't run2"
time="2021-11-01T11:17:02+01:00" level=debug msg="Wrote command '\necho \"Shouldn't run2\"\n' to 'workflow/4.sh'"
time="2021-11-01T11:17:02+01:00" level=debug msg="Writing entry to tarball workflow/4.sh len:21"
[main.yml/mytest] Extracting content to '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/4.sh] user= workdir=
[main.yml/mytest] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/4.sh]'
[main.yml/mytest] Working directory '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
| Shouldn't run2
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest]   ✅  Success - echo "Shouldn't run2"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context needs => map[]"
time="2021-11-01T11:17:02+01:00" level=debug msg="expression 'failure()' evaluated to 'true'"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:02+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[main.yml/mytest] ⭐  Run echo expected to run
time="2021-11-01T11:17:02+01:00" level=debug msg="Wrote command '\necho expected to run\n' to 'workflow/5.sh'"
time="2021-11-01T11:17:02+01:00" level=debug msg="Writing entry to tarball workflow/5.sh len:20"
[main.yml/mytest] Extracting content to '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
[main.yml/mytest]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/5.sh] user= workdir=
[main.yml/mytest] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/c/Users/Christopher/act-composite-step-after-failure/wd/workflow/5.sh]'
[main.yml/mytest] Working directory '/mnt/c/Users/Christopher/act-composite-step-after-failure/wd'
| expected to run
time="2021-11-01T11:17:03+01:00" level=warning msg="unable to get git repo: unable to find git repo"
time="2021-11-01T11:17:03+01:00" level=warning msg="unable to get git revision: unable to find git repo"
time="2021-11-01T11:17:03+01:00" level=warning msg="unable to get git ref: unable to find git repo"
time="2021-11-01T11:17:03+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:03+01:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:mytest GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF: GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/mnt/c/Users/Christopher/act-composite-step-after-failure/wd IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.1/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-11-01T11:17:03+01:00" level=debug msg="context needs => map[]"
[main.yml/mytest]   ✅  Success - echo expected to run
[main.yml/mytest] Removed container: 8a936163f5312eefe110179f7cd25de0e2a6f073707989a49d56c9d6c4175492
[main.yml/mytest]   🐳  docker volume rm act-main-yml-mytest

As described in the documentation, a default value of "success()" is
applied when no "if" value is present on the job.

https://docs.github.com/en/actions/learn-github-actions/expressions#job-status-check-functions

I believe you misunderstood this description, because this is applied to non empty conditions as well

You can use the following status check functions as expressions in if conditionals. A default status check of success() is applied unless you include one of these functions

This also applies to step level

Examples for if job and step level

However this leads to a bug of github actions: actions/runner#1173.

if: true

will be

if: success() && (true)
if: success()

will be

if: success()
if: failure()

will be

if: failure()
if: cancelled()

will be

if: cancelled()

Anyway I'm are not an authority of nektos/act and only use it for my github-act-runner experiment, for anything else I'm using my own local github actions taskrunner Runner.Server which has a far better feature parity than act

@KnisterPeter
Copy link
Member Author

Something weird is happening with your failure information, maybe because composite action steps are called recursive and your failure information need to mapped back to the parent context.

I've read through your PR, nice work so far.
One thing which came to my mind was, that it might be easier if the model is already a representation of what is to be executed instead of a template. By that I mean you are creating a lot of clones for the composite actions during the execution. If that was done at the model level, there is a place to store result information per 'instantiated' composite action.

Does that makes sense?

@mergify

This comment has been minimized.

@mergify mergify bot added the needs-work Extra attention is needed label Nov 1, 2021
@mergify

This comment has been minimized.

@mergify

This comment has been minimized.

@mergify mergify bot removed the needs-work Extra attention is needed label Nov 27, 2021
KnisterPeter added a commit to xing/act that referenced this pull request Nov 30, 2021
This change is a follow up of nektos#840
and integrates with nektos#793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
github-actions bot pushed a commit to xing/act that referenced this pull request Nov 30, 2021
This change is a follow up of nektos#840
and integrates with nektos#793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
github-actions bot pushed a commit to xing/act that referenced this pull request Dec 3, 2021
This change is a follow up of nektos#840
and integrates with nektos#793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
catthehacker
catthehacker previously approved these changes Dec 4, 2021
@mergify mergify bot requested a review from a team December 4, 2021 19:32
github-actions bot pushed a commit to xing/act that referenced this pull request Dec 6, 2021
This change is a follow up of nektos#840
and integrates with nektos#793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
github-actions bot pushed a commit to xing/act that referenced this pull request Dec 6, 2021
This change is a follow up of nektos#840
and integrates with nektos#793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
github-actions bot pushed a commit to xing/act that referenced this pull request Dec 6, 2021
This change is a follow up of nektos#840
and integrates with nektos#793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
cplee
cplee previously approved these changes Dec 8, 2021
@mergify
Copy link
Contributor

mergify bot commented Dec 8, 2021

@KnisterPeter this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label Dec 8, 2021
@ZauberNerd ZauberNerd dismissed stale reviews from cplee and catthehacker via 4d505a8 December 8, 2021 20:01
@mergify mergify bot removed the needs-work Extra attention is needed label Dec 8, 2021
@mergify mergify bot requested a review from a team December 8, 2021 20:11
@mergify mergify bot merged commit 1891c72 into nektos:master Dec 8, 2021
ChristopherHX pushed a commit to ChristopherHX/act that referenced this pull request Dec 8, 2021
This change is a follow up of nektos#840
and integrates with nektos#793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
mergify bot added a commit that referenced this pull request Dec 22, 2021
* Feature: uses in composite

* Negate logic

* Reduce complexity

* Update step_context.go

* Update step_context.go

* Update step_context.go

* Fix syntax error in test

* Bump

* Disable usage of actions/setup-node@v2

* Bump

* Fix step id collision

* Fix output command workaround

* Make secrets context inaccessible in composite

* Fix order after adding a workaround (needs tests)

Fixes #793 (comment)

* Evaluate env before passing one step deeper

If env would contain any inputs, steps ctx or secrets there was undefined behaviour

* [no ci] prepare secret test

* Initial test pass inputs as env

* Fix syntax error

* extend test also for direct invoke

* Fix passing provided env as composite output

* Fix syntax error

* toUpper 'no such secret', act has a bug

* fix indent

* Fix env outputs in composite

* Test env outputs of composite

* Fix inputs not defined in docker actions

* Fix interpolate args input of docker actions

* Fix lint

* AllowCompositeIf now defaults to true

see https://github.com/actions/runner/releases/tag/v2.284.0

* Fix lint

* Fix env of docker action.yml

* Test calling a local docker action from composite

With input context hirachy

* local-action-dockerfile Test pass on action/runner

It seems action/runner ignores overrides of args,
if the target docker action has the args property set.

* Fix exec permissions of docker-local-noargs

* Revert getStepsContext change

* fix: handle composite action on error and continue

This change is a follow up of #840
and integrates with #793

There are two things included here:

- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
  calling executor

Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>

* Patch inputs can be bool, float64 and string
for workflow_call
Also inputs is now always defined, but may be null

* Simplify cherry-picked commit

* Minor style adjustments

* Remove chmod +x from tests

now fails on windows like before

* Fix GITHUB_ACTION_PATH some action env vars

Fixes GITHUB_ACTION_REPOSITORY, GITHUB_ACTION_REF.

* Add comment to CompositeRestrictions

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se>
Co-authored-by: Ryan <me@hackerc.at>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@ChristopherHX
Copy link
Contributor

This feature causes panic's on some errors, which aren't continueable

  • fail to connect to docker => panic
  • fail to read ( local ) action => panic
    Finally executors are skipped by panic, therefore skipped cleanup.

However it is nice to have this functionality. Maybe I need to patch the finally executor on my fork to run even on panic, I depend on cleanup.

Weird, I don't even see my error messages about disabled composite features in my terminal: Write a composite action without a run step without shell and you don't see the error message ( only failure, but no hint why it failed )

I will open issues about these later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I can't get if: ${{ always() }} / if: always() working (with master)
5 participants