-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
@KnisterPeter this pull request has failed checks 🛠 |
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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>
942654f
to
0638191
Compare
@catthehacker @cplee Can anyone of you review this change? |
pkg/runner/expression.go
Outdated
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@catthehacker @ cplee Can anyone of you review this change?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
0638191
to
697b4f3
Compare
I tested this + #793 together and discovered that: Both PR's might need a lot of addidtional tests, it seems to break easily. Fully detectable after enabling if of #793
Composite Action run on failure()
|
@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 |
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.
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
I believe you misunderstood this description, because this is applied to non empty conditions as well
This also applies to step level Examples for if job and step levelHowever 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 |
I've read through your PR, nice work so far. Does that makes sense? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
b3db1ae
to
9ef6684
Compare
This comment has been minimized.
This comment has been minimized.
9ef6684
to
0e963b9
Compare
5eb85f0
to
8514a65
Compare
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>
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>
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>
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>
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>
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>
@KnisterPeter this pull request has failed checks 🛠 |
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>
* 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>
This feature causes panic's on some errors, which aren't continueable
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 I will open issues about these later. |
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