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

Issue: act fails to run setup-python when caching is enabled #933

Closed
georgettica opened this issue Dec 19, 2021 · 4 comments
Closed

Issue: act fails to run setup-python when caching is enabled #933

georgettica opened this issue Dec 19, 2021 · 4 comments
Labels
kind/bug Something isn't working

Comments

@georgettica
Copy link

System information

  • Operating System: macOS
  • Architecture: x64 (64-bit)
  • Apple M1: no
  • Docker version: 20.10.7
  • act version: 0.2.25

Expected behaviour

running the act should only fail on secrets missing

Actual behaviour

the act fails on caching the package

Workflow and/or repository

https://github.com/georgettica/ocm-sdk-go/blob/main/.github/workflows/publish-release.yaml

Steps to reproduce

git clone [email protected]:georgettica/ocm-sdk-go.git
cd ocm-sdk-go
act

act output

Log
$ act -v
DEBU[0000] Loading environment from /${USERDIR}/ocm-sdk-go/.env
DEBU[0000] Loading secrets from /${USERDIR}/ocm-sdk-go/.secrets
DEBU[0000] Loading workflows from '/${USERDIR}/ocm-sdk-go/.github/workflows'
DEBU[0000] Loading workflows recursively
DEBU[0000] Found workflow 'check-pull-request.yaml' in '/${USERDIR}/ocm-sdk-go/.github/workflows/check-pull-request.yaml'
DEBU[0000] Found workflow 'publish-release.yaml' in '/${USERDIR}/ocm-sdk-go/.github/workflows/publish-release.yaml'
DEBU[0000] Found workflow 'requirements.txt' in '/${USERDIR}/ocm-sdk-go/.github/workflows/requirements.txt'
DEBU[0000] Reading workflow '/${USERDIR}/ocm-sdk-go/.github/workflows/check-pull-request.yaml'
DEBU[0000] Correcting if statements '/${USERDIR}/ocm-sdk-go/.github/workflows/check-pull-request.yaml'
DEBU[0000] Reading workflow '/${USERDIR}/ocm-sdk-go/.github/workflows/publish-release.yaml'
DEBU[0000] Correcting if statements '/${USERDIR}/ocm-sdk-go/.github/workflows/publish-release.yaml'
DEBU[0000] Planning event: push
DEBU[0000] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0000] Found revision: ${REVISION}
DEBU[0000] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0000] Found revision: ${REVISION}
DEBU[0000] HEAD points to '${REVISION}'
DEBU[0000] using github ref: refs/tags/v0.1.225
DEBU[0000] context env => map[ACT:true]
DEBU[0000] context needs => map[]
[Publish release/Publish release] 🚀  Start image=catthehacker/ubuntu:act-latest
DEBU[0000] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0000] Found revision: ${REVISION}
DEBU[0000] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0000] Found revision: ${REVISION}
DEBU[0000] HEAD points to '${REVISION}'
DEBU[0000] using github ref: refs/tags/v0.1.225
[Publish release/Publish release]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=false
[Publish release/Publish release]   🐳  docker pull catthehacker/ubuntu:act-latest
DEBU[0000] Image exists? true
[Publish release/Publish release] Removed container: ${OLD_CONTAINER_ID}
[Publish release/Publish release]   🐳  docker volume rm act-Publish-release-Publish-release
[Publish release/Publish release]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Publish release/Publish release] Created container name=act-Publish-release-Publish-release id=${NEW_CONTAINER_ID} from image catthehacker/ubuntu:act-latest (platform: )
[Publish release/Publish release] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Publish release/Publish release]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Publish release/Publish release] Starting container: ${NEW_CONTAINER_ID}
[Publish release/Publish release] Started container: ${NEW_CONTAINER_ID}
[Publish release/Publish release]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[Publish release/Publish release] Exec command '[mkdir -m 0777 -p /var/run/act]'
[Publish release/Publish release] Working directory '/${USERDIR}/ocm-sdk-go'
[Publish release/Publish release]   🐳  docker cp src=/${USERDIR}/ocm-sdk-go/. dst=/${USERDIR}/ocm-sdk-go
[Publish release/Publish release]   🐳  docker exec cmd=[mkdir -p /${USERDIR}/ocm-sdk-go] user= workdir=
[Publish release/Publish release] Exec command '[mkdir -p /${USERDIR}/ocm-sdk-go]'
[Publish release/Publish release] Working directory '/${USERDIR}/ocm-sdk-go'
DEBU[0001] Writing tarball ${TMPDIR} from /${USERDIR}/ocm-sdk-go/.
DEBU[0001] Stripping prefix:/${USERDIR}/ocm-sdk-go/ src:/${USERDIR}/ocm-sdk-go/.
[Publish release/Publish release] Extracting content from '${TMPDIR}' to '/${USERDIR}/ocm-sdk-go'
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
[Publish release/Publish release] Extracting content to '/var/run/act/'
DEBU[0001] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] HEAD points to '${REVISION}'
DEBU[0001] using github ref: refs/tags/v0.1.225
DEBU[0001] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] HEAD points to '${REVISION}'
DEBU[0001] using github ref: refs/tags/v0.1.225
DEBU[0001] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0001] context needs => map[]
DEBU[0001] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
[Publish release/Publish release] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
[Publish release/Publish release] ⭐  Run Checkout the source
DEBU[0001] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] HEAD points to '${REVISION}'
DEBU[0001] using github ref: refs/tags/v0.1.225
[Publish release/Publish release] Skipping local actions/checkout because workdir was already copied
[Publish release/Publish release]   ✅  Success - Checkout the source
DEBU[0001] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0001] Found revision: ${REVISION}
DEBU[0001] HEAD points to '${REVISION}'
DEBU[0001] using github ref: refs/tags/v0.1.225
DEBU[0002] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] HEAD points to '${REVISION}'
DEBU[0002] using github ref: refs/tags/v0.1.225
DEBU[0002] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0002] context needs => map[]
DEBU[0002] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] HEAD points to '${REVISION}'
DEBU[0002] using github ref: refs/tags/v0.1.225
DEBU[0002] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0002] context needs => map[]
DEBU[0002] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] HEAD points to '${REVISION}'
DEBU[0002] using github ref: refs/tags/v0.1.225
DEBU[0002] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0002] context needs => map[]
DEBU[0002] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 INPUT_CACHE:pip INPUT_PYTHON-VERSION:3.10 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
[Publish release/Publish release] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 INPUT_CACHE:pip INPUT_PYTHON-VERSION:3.10 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
[Publish release/Publish release] ⭐  Run Setup Python
DEBU[0002] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0002] Found revision: ${REVISION}
DEBU[0002] HEAD points to '${REVISION}'
DEBU[0002] using github ref: refs/tags/v0.1.225
INFO[0002]   ☁  git clone 'https://github.com/actions/setup-python' # ref=v2
DEBU[0002]   cloning https://github.com/actions/setup-python to /Users/rong/.cache/act/actions-setup-python@v2
DEBU[0002] Unable to pull refs/heads/v2: worktree contains unstaged changes
DEBU[0002] Cloned https://github.com/actions/setup-python to /Users/rong/.cache/act/actions-setup-python@v2
DEBU[0003] Checked out v2
DEBU[0003] Read action &{Setup Python GitHub Set up a specific version of Python and add the command-line tools to the PATH. map[architecture:{The target architecture (x86, x64) of the Python interpreter. false } cache:{Used to specify a package manager for caching in the default directory. Supported values: pip, pipenv. false } cache-dependency-path:{Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies. false } python-version:{Version range or exact version of a Python version to use, using SemVer's version range syntax. false 3.x} token:{Used to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user. false ${{ github.token }}}] map[python-version:{The installed python version. Useful when given a version range as input. }] {node12 map[] dist/setup/index.js   [] []} {yellow code}} from 'Unknown'
DEBU[0003] About to run action &{Setup Python GitHub Set up a specific version of Python and add the command-line tools to the PATH. map[architecture:{The target architecture (x86, x64) of the Python interpreter. false } cache:{Used to specify a package manager for caching in the default directory. Supported values: pip, pipenv. false } cache-dependency-path:{Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies. false } python-version:{Version range or exact version of a Python version to use, using SemVer's version range syntax. false 3.x} token:{Used to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user. false ${{ github.token }}}] map[python-version:{The installed python version. Useful when given a version range as input. }] {node12 map[] dist/setup/index.js   [] []} {yellow code}}
DEBU[0003] Evaluating 'github['token']' instead of 'github.token'
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] Evaluating 'github['token']' instead of 'github.token'
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0003] Found revision: ${REVISION}
DEBU[0003] HEAD points to '${REVISION}'
DEBU[0003] using github ref: refs/tags/v0.1.225
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] context needs => map[]
DEBU[0003] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 INPUT_ARCHITECTURE: INPUT_CACHE:pip INPUT_CACHE-DEPENDENCY-PATH: INPUT_PYTHON-VERSION:3.10 INPUT_TOKEN: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0003] type=3 actionDir=/Users/rong/.cache/act/actions-setup-python@v2 actionPath= workdir=/${USERDIR}/ocm-sdk-go actionCacheDir=/Users/rong/.cache/act actionName=actions-setup-python@v2 containerActionDir=/var/run/act/actions/actions-setup-python@v2
DEBU[0003] Removing /Users/rong/.cache/act/actions-setup-python@v2/.gitignore before docker cp
DEBU[0003] /var/run/act/actions/actions-setup-python@v2
[Publish release/Publish release]   🐳  docker cp src=/Users/rong/.cache/act/actions-setup-python@v2/ dst=/var/run/act/actions/actions-setup-python@v2/
[Publish release/Publish release]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-python@v2/] user= workdir=
[Publish release/Publish release] Exec command '[mkdir -p /var/run/act/actions/actions-setup-python@v2/]'
[Publish release/Publish release] Working directory '/${USERDIR}/ocm-sdk-go'
DEBU[0003] Writing tarball /var/folders/52/xjgvxj6d39d3wsspv7prff640000gn/T/act546193929 from /Users/rong/.cache/act/actions-setup-python@v2/
DEBU[0003] Stripping prefix:/Users/rong/.cache/act/actions-setup-python@v2/ src:/Users/rong/.cache/act/actions-setup-python@v2/
[Publish release/Publish release] Extracting content from '${ANOTHER_TMPDIR}' to '/var/run/act/actions/actions-setup-python@v2/'
DEBU[0003] executing remote job container: [node /var/run/act/actions/actions-setup-python@v2/dist/setup/index.js]
[Publish release/Publish release]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-python@v2/dist/setup/index.js] user= workdir=
[Publish release/Publish release] Exec command '[node /var/run/act/actions/actions-setup-python@v2/dist/setup/index.js]'
[Publish release/Publish release] Working directory '/${USERDIR}/ocm-sdk-go'
[Publish release/Publish release]   💬  ::debug::Semantic version spec of 3.10 is 3.10
[Publish release/Publish release]   💬  ::debug::isExplicit:
[Publish release/Publish release]   💬  ::debug::explicit? false
[Publish release/Publish release]   💬  ::debug::evaluating 0 versions
[Publish release/Publish release]   💬  ::debug::match not found
| Version 3.10 was not found in the local cache
[Publish release/Publish release]   💬  ::debug::check 3.11.0-alpha.2 satisfies 3.10
[Publish release/Publish release]   💬  ::debug::check 3.11.0-alpha.1 satisfies 3.10
[Publish release/Publish release]   💬  ::debug::check 3.10.1 satisfies 3.10
[Publish release/Publish release]   💬  ::debug::x64===x64 && linux===linux
[Publish release/Publish release]   💬  ::debug::x64===x64 && linux===linux
[Publish release/Publish release]   💬  ::debug::matched 3.10.1
| Version 3.10 is available for downloading
| Download from "https://github.com/actions/python-versions/releases/download/3.10.1-120279/python-3.10.1-linux-20.04-x64.tar.gz"
[Publish release/Publish release]   💬  ::debug::Downloading https://github.com/actions/python-versions/releases/download/3.10.1-120279/python-3.10.1-linux-20.04-x64.tar.gz
[Publish release/Publish release]   💬  ::debug::Destination /tmp/82d158a1-9270-4dd9-ab6b-5a844cc0bfaf
[Publish release/Publish release]   💬  ::debug::download complete
| Extract downloaded archive
[Publish release/Publish release]   💬  ::debug::Checking tar --version
[Publish release/Publish release]   💬  ::debug::tar (GNU tar) 1.30%0ACopyright (C) 2017 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason.
| [command]/usr/bin/tar xz --warning=no-unknown-keyword -C /tmp/51c3ab90-65fa-4cf9-9add-084d6c1e7c8a -f /tmp/82d158a1-9270-4dd9-ab6b-5a844cc0bfaf
| Execute installation script
| Check if Python hostedtoolcache folder exist...
| Creating Python hostedtoolcache folder...
| Create Python 3.10.1 folder
| Copy Python binaries to hostedtoolcache folder
| Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
| Upgrading pip...
| Looking in links: /tmp/tmp0xmhc3pg
| Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.10.1/x64/lib/python3.10/site-packages (58.1.0)
| Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.1/x64/lib/python3.10/site-packages (21.2.4)
[Publish release/Publish release]   ❗  ::error::WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
| Collecting pip
| Downloading pip-21.3.1-py3-none-any.whl (1.7 MB)
| Installing collected packages: pip
| Successfully installed pip-21.3.1
[Publish release/Publish release]   ❗  ::error::WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
| Create complete file
[Publish release/Publish release]   💬  ::debug::isExplicit:
[Publish release/Publish release]   💬  ::debug::explicit? false
[Publish release/Publish release]   💬  ::debug::isExplicit: 3.10.1
[Publish release/Publish release]   💬  ::debug::explicit? true
[Publish release/Publish release]   💬  ::debug::evaluating 1 versions
[Publish release/Publish release]   💬  ::debug::matched: 3.10.1
[Publish release/Publish release]   💬  ::debug::checking cache: /opt/hostedtoolcache/Python/3.10.1/x64
[Publish release/Publish release]   💬  ::debug::Found tool in cache Python 3.10.1 x64
[Publish release/Publish release]   ⚙  ::set-output:: python-version=3.10.1
| Successfully setup CPython (3.10.1)
[Publish release/Publish release]   💬  ::debug::followSymbolicLinks 'true'
[Publish release/Publish release]   💬  ::debug::followSymbolicLinks 'true'
[Publish release/Publish release]   💬  ::debug::implicitDescendants 'true'
[Publish release/Publish release]   💬  ::debug::matchDirectories 'true'
[Publish release/Publish release]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Publish release/Publish release]   💬  ::debug::Search path '/${USERDIR}/ocm-sdk-go'
[Publish release/Publish release]   💬  ::debug::/${USERDIR}/ocm-sdk-go/.github/workflows/requirements.txt
[Publish release/Publish release]   💬  ::debug::Found 1 files to hash.
| [command]/opt/hostedtoolcache/Python/3.10.1/x64/bin/pip cache dir
| /root/.cache/pip
[Publish release/Publish release]   💬  ::debug::global cache directory path is /root/.cache/pip
[Publish release/Publish release]   ❓  ::save-state name=cache-paths::["/root/.cache/pip"]
[Publish release/Publish release]   ❓  ::save-state name=cache-primary-key::setup-python-Linux-pip-5b8a201e3583bb0699a8a6aaa3671adf73af30e732b7160c2003440fd62dd132
[Publish release/Publish release]   💬  ::debug::Resolved Keys:
[Publish release/Publish release]   💬  ::debug::["setup-python-Linux-pip-5b8a201e3583bb0699a8a6aaa3671adf73af30e732b7160c2003440fd62dd132","setup-python-Linux-pip"]
[Publish release/Publish release]   💬  ::debug::Checking zstd --version
[Publish release/Publish release]   💬  ::debug::*** zstd command line interface 64-bits v1.4.4, by Yann Collet ***
[Publish release/Publish release]   💬  ::debug::getCacheEntry - Attempt 1 of 2 failed with error: Cache Service Url not found, unable to restore cache.
[Publish release/Publish release]   💬  ::debug::getCacheEntry - Attempt 2 of 2 failed with error: Cache Service Url not found, unable to restore cache.
[Publish release/Publish release]   ❗  ::error::getCacheEntry failed: Cache Service Url not found, unable to restore cache.
[Publish release/Publish release]   ❌  Failure - Setup Python
DEBU[0025] exit with `FAILURE`: 1
DEBU[0025] exit with `FAILURE`: 1
DEBU[0025] exit with `FAILURE`: 1
DEBU[0025] Loading slug from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0025] Found revision: ${REVISION}
DEBU[0025] Loading revision from git directory '/${USERDIR}/ocm-sdk-go/.git'
DEBU[0025] Found revision: ${REVISION}
DEBU[0025] HEAD points to '${REVISION}'
DEBU[0025] using github ref: refs/tags/v0.1.225
DEBU[0025] 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:Publish release GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/tags/v0.1.225 GITHUB_REPOSITORY:georgettica/ocm-sdk-go GITHUB_REPOSITORY_OWNER:georgettica GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:${REVISION} GITHUB_TOKEN: GITHUB_WORKFLOW:Publish release GITHUB_WORKSPACE:/${USERDIR}/ocm-sdk-go IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/14.18.2/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]
DEBU[0025] context needs => map[]
Error: exit with `FAILURE`: 1
@georgettica georgettica added the kind/bug Something isn't working label Dec 19, 2021
@georgettica
Copy link
Author

should I also open a corresponding issue in https://github.com/actions/setup-python/issues ?

@georgettica georgettica changed the title Issue: <shortly describe issue> Issue: act fails to run setup-python when caching is enabled Dec 19, 2021
@catthehacker
Copy link
Member

We don't support caching and since it's built into the setup-python action, I don't think we can do anything in this case.
Workaround would be to not use cache: pip

@georgettica
Copy link
Author

I'll. Lose this as it won't be solved
If there is another workaround ( like using the cache action directly but ignoring when using act)
It would be preferred

@catthehacker
Copy link
Member

If there is another workaround ( like using the cache action directly but ignoring when using act)

Yes, https://github.com/nektos/act#skipping-steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants