cerc-io / hosting

Read-only mirror of https://git.vdb.to/cerc-io/hosting (Documentation and code related to laconic self-hosting)
https://git.vdb.to/cerc-io/hosting
2 stars 1 forks source link

Gitea runners failing to checkout #56

Closed roysc closed 1 year ago

roysc commented 1 year ago

Every job is failing to run actions/checkout@v3 and the cause is not obvious to me. See https://git.vdb.to/cerc-io/plugeth-statediff/actions/runs/86/jobs/1

Runner logs:

[Test/Run integration tests]   ☁  git clone 'https://github.com/actions/checkout' # ref=v3
[Test/Run integration tests] [DEBUG]   cloning https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Cloned https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Read action &{Checkout  Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} github-server-url:{The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com false } lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event.  Otherwise, uses the default branch.
 false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} set-safe-directory:{Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>` false true} sparse-checkout:{Do a sparse checkout on given patterns. Each pattern should be separated with new lines
 false } sparse-checkout-cone-mode:{Specifies whether to use cone-mode when doing a sparse checkout.
 false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.
[Test/Run integration tests]   ☁  git clone 'https://github.com/actions/checkout' # ref=v3
[Test/Run integration tests] [DEBUG]   cloning https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Cloned https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Read action &{Checkout  Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} github-server-url:{The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com false } lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event.  Otherwise, uses the default branch.
 false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} set-safe-directory:{Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>` false true} sparse-checkout:{Do a sparse checkout on given patterns. Each pattern should be separated with new lines
 false } sparse-checkout-cone-mode:{Specifies whether to use cone-mode when doing a sparse checkout.
 false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.
[Test/Run integration tests]   ☁  git clone 'https://github.com/actions/checkout' # ref=v3
[Test/Run integration tests] [DEBUG]   cloning https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Cloned https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Read action &{Checkout  Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} github-server-url:{The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com false } lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event.  Otherwise, uses the default branch.
 false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} set-safe-directory:{Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>` false true} sparse-checkout:{Do a sparse checkout on given patterns. Each pattern should be separated with new lines
 false } sparse-checkout-cone-mode:{Specifies whether to use cone-mode when doing a sparse checkout.
 false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.
[Test/Run integration tests]   ☁  git clone 'https://github.com/actions/checkout' # ref=v3
[Test/Run integration tests] [DEBUG]   cloning https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Cloned https://github.com/actions/checkout to /root/.cache/act/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Read action &{Checkout  Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} github-server-url:{The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com false } lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event.  Otherwise, uses the default branch.
 false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} set-safe-directory:{Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>` false true} sparse-checkout:{Do a sparse checkout on given patterns. Each pattern should be separated with new lines
 false } sparse-checkout-cone-mode:{Specifies whether to use cone-mode when doing a sparse checkout.
 false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.
[Test/Run integration tests] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.27.0.2:36891/ ACTIONS_RUNTIME_TOKEN:*** ACTIONS_RUNTIME_URL:https://git.vdb.to/api/actions_pipeline/ CI:true DOCKER_HOST:unix:///var/run/dind.sock GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:roysc GITHUB_API_URL:https://git.vdb.to/api/v1 GITHUB_BASE_REF:main GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL: GITHUB_HEAD_REF:update-ipld-eth-db GITHUB_JOB:integration-tests GITHUB_REF:refs/pull/13/head GITHUB_REF_NAME:13 GITHUB_REF_TYPE: GITHUB_REPOSITORY:cerc-io/plugeth-statediff GITHUB_REPOSITORY_OWNER:cerc-io GITHUB_RETENTION_DAYS: GITHUB_RUN_ID:498 GITHUB_RUN_NUMBER:86 GITHUB_SERVER_URL:https://git.vdb.to GITHUB_SHA:69fa11d6b1609469a19d75a0cd471238c88bb7e9 GITHUB_TOKEN:*** GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/cerc-io/plugeth-statediff INPUT_PATH:./plugeth-statediff ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/Run integration tests] ⭐ Run Main actions/checkout@v3
[Test/Run integration tests] [DEBUG] About to run action &{Checkout  Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} github-server-url:{The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com false } lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event.  Otherwise, uses the default branch.
 false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} set-safe-directory:{Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>` false true} sparse-checkout:{Do a sparse checkout on given patterns. Each pattern should be separated with new lines
 false } sparse-checkout-cone-mode:{Specifies whether to use cone-mode when doing a sparse checkout.
 false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.
[Test/Run integration tests] [DEBUG] type=remote-action actionDir=/root/.cache/act/actions-checkout@v3 actionPath= workdir=/cerc-io/plugeth-statediff actionCacheDir=/root/.cache/act actionName=actions-checkout@v3 containerActionDir=/var/run/act/actions/actions-checkout@v3
[Test/Run integration tests] [DEBUG] Removing /root/.cache/act/actions-checkout@v3/.gitignore before docker cp
[Test/Run integration tests] [DEBUG] /var/run/act/actions/actions-checkout@v3
[Test/Run integration tests]   🐳  docker cp src=/root/.cache/act/actions-checkout@v3/ dst=/var/run/act/actions/actions-checkout@v3/
[Test/Run integration tests] [DEBUG] Writing tarball /tmp/act4074982988 from /root/.cache/act/actions-checkout@v3/
[Test/Run integration tests] [DEBUG] Stripping prefix:/root/.cache/act/actions-checkout@v3/ src:/root/.cache/act/actions-checkout@v3/
[Test/Run integration tests] [DEBUG] Extracting content from '/tmp/act4074982988' to '/var/run/act/actions/actions-checkout@v3/'
[Test/Run integration tests] [DEBUG] executing remote job container: [node /var/run/act/actions/actions-checkout@v3/dist/index.js]
[Test/Run integration tests]   🐳  docker exec cmd=[node /var/run/act/actions/actions-checkout@v3/dist/index.js] user= workdir=
[Test/Run integration tests] [DEBUG] Exec command '[node /var/run/act/actions/actions-checkout@v3/dist/index.js]'
[Test/Run integration tests]   ❌  Failure - Main actions/checkout@v3
[Test/Run integration tests] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.27.0.2:36891/ ACTIONS_RUNTIME_TOKEN:*** ACTIONS_RUNTIME_URL:https://git.vdb.to/api/actions_pipeline/ CI:true DOCKER_HOST:unix:///var/run/dind.sock GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:roysc GITHUB_API_URL:https://git.vdb.to/api/v1 GITHUB_BASE_REF:main GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL: GITHUB_HEAD_REF:update-ipld-eth-db GITHUB_JOB:integration-tests GITHUB_REF:refs/pull/13/head GITHUB_REF_NAME:13 GITHUB_REF_TYPE: GITHUB_REPOSITORY:cerc-io/plugeth-statediff GITHUB_REPOSITORY_OWNER:cerc-io GITHUB_RETENTION_DAYS: GITHUB_RUN_ID:498 GITHUB_RUN_NUMBER:86 GITHUB_SERVER_URL:https://git.vdb.to GITHUB_SHA:69fa11d6b1609469a19d75a0cd471238c88bb7e9 GITHUB_TOKEN:*** GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/cerc-io/plugeth-statediff INPUT_PATH:./plugeth INPUT_REF:statediff-wip INPUT_REPOSITORY:cerc-io/plugeth ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/Run integration tests] [DEBUG] Skipping step 'actions/checkout@v3' due to ''
[Test/Run integration tests] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.27.0.2:36891/ ACTIONS_RUNTIME_TOKEN:*** ACTIONS_RUNTIME_URL:https://git.vdb.to/api/actions_pipeline/ CI:true DOCKER_HOST:unix:///var/run/dind.sock GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:roysc GITHUB_API_URL:https://git.vdb.to/api/v1 GITHUB_BASE_REF:main GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL: GITHUB_HEAD_REF:update-ipld-eth-db GITHUB_JOB:integration-tests GITHUB_REF:refs/pull/13/head GITHUB_REF_NAME:13 GITHUB_REF_TYPE: GITHUB_REPOSITORY:cerc-io/plugeth-statediff GITHUB_REPOSITORY_OWNER:cerc-io GITHUB_RETENTION_DAYS: GITHUB_RUN_ID:498 GITHUB_RUN_NUMBER:86 GITHUB_SERVER_URL:https://git.vdb.to GITHUB_SHA:69fa11d6b1609469a19d75a0cd471238c88bb7e9 GITHUB_TOKEN:*** GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/cerc-io/plugeth-statediff INPUT_PATH:./stack-orchestrator INPUT_REF:plugeth-testing INPUT_REPOSITORY:roysc/stack-orchestrator ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/Run integration tests] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.27.0.2:36891/ ACTIONS_RUNTIME_TOKEN:*** ACTIONS_RUNTIME_URL:https://git.vdb.to/api/actions_pipeline/ CI:true DOCKER_HOST:unix:///var/run/dind.sock GITHUB_ACTION:7 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:roysc GITHUB_API_URL:https://git.vdb.to/api/v1 GITHUB_BASE_REF:main GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL: GITHUB_HEAD_REF:update-ipld-eth-db GITHUB_JOB:integration-tests GITHUB_REF:refs/pull/13/head GITHUB_REF_NAME:13 GITHUB_REF_TYPE: GITHUB_REPOSITORY:cerc-io/plugeth-statediff GITHUB_REPOSITORY_OWNER:cerc-io GITHUB_RETENTION_DAYS: GITHUB_RUN_ID:498 GITHUB_RUN_NUMBER:86 GITHUB_SERVER_URL:https://git.vdb.to GITHUB_SHA:69fa11d6b1609469a19d75a0cd471238c88bb7e9 GITHUB_TOKEN:*** GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/cerc-io/plugeth-statediff INPUT_PATH:./system-tests INPUT_REF:main INPUT_REPOSITORY:cerc-io/system-tests ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/Run integration tests] [DEBUG] skipping post step for 'actions/checkout@v3'; main step was skipped
[Test/Run integration tests] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.27.0.2:36891/ ACTIONS_RUNTIME_TOKEN:*** ACTIONS_RUNTIME_URL:https://git.vdb.to/api/actions_pipeline/ CI:true DOCKER_HOST:unix:///var/run/dind.sock GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:roysc GITHUB_API_URL:https://git.vdb.to/api/v1 GITHUB_BASE_REF:main GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL: GITHUB_HEAD_REF:update-ipld-eth-db GITHUB_JOB:integration-tests GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/pull/13/head GITHUB_REF_NAME:13 GITHUB_REF_TYPE: GITHUB_REPOSITORY:cerc-io/plugeth-statediff GITHUB_REPOSITORY_OWNER:cerc-io GITHUB_RETENTION_DAYS: GITHUB_RUN_ID:498 GITHUB_RUN_NUMBER:86 GITHUB_SERVER_URL:https://git.vdb.to GITHUB_SHA:69fa11d6b1609469a19d75a0cd471238c88bb7e9 GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_TOKEN:*** GITHUB_WORKFLOW:Test GITHUB_WORKSPACE:/cerc-io/plugeth-statediff INPUT_CLEAN:true INPUT_FETCH-DEPTH:1 INPUT_GITHUB-SERVER-URL: INPUT_LFS:false INPUT_PATH:./plugeth-statediff INPUT_PERSIST-CREDENTIALS:true INPUT_REF: INPUT_REPOSITORY:cerc-io/plugeth-statediff INPUT_SET-SAFE-DIRECTORY:true INPUT_SPARSE-CHECKOUT: INPUT_SPARSE-CHECKOUT-CONE-MODE:true INPUT_SSH-KEY: INPUT_SSH-KNOWN-HOSTS: INPUT_SSH-STRICT:true INPUT_SUBMODULES:false INPUT_TOKEN:*** ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Test/Run integration tests] ⭐ Run Post actions/checkout@v3
[Test/Run integration tests] [DEBUG] run post step for 'actions/checkout@v3'
[Test/Run integration tests] [DEBUG] executing remote job container: [node /var/run/act/actions/actions-checkout@v3/dist/index.js]
[Test/Run integration tests]   🐳  docker exec cmd=[node /var/run/act/actions/actions-checkout@v3/dist/index.js] user= workdir=
[Test/Run integration tests] [DEBUG] Exec command '[node /var/run/act/actions/actions-checkout@v3/dist/index.js]'
[Test/Run integration tests]   ❌  Failure - Post actions/checkout@v3
roysc commented 1 year ago

Happening on every run starting with https://git.vdb.to/cerc-io/plugeth-statediff/actions/runs/77/jobs/1

dboreham commented 1 year ago

This should be fixed now.