This is the error I’m getting intermittently. About 70% of the time. Retry the job (maybe a few times) and it works.
The runner is in our Kube/openshift cluster. It is accessing the https://gitlab.com
server. There is no proxy server involved. I do not believe there is a cert issue with https://gitlab.com
What other connections may this be released to?
Sometimes this error comes when
Preparing environment
Getting source from Git repository
Uploading artifacts for failed job
Uploading artifacts for successful job
Running with gitlab-runner 14.0.1 (c1edb478)
on ocpd2-devsecops-sub1-runner-6df989bf9c-dhskr iK5zyWfE
Preparing the "kubernetes" executor00:00
Using Kubernetes namespace: gitlab-runner
Using Kubernetes executor with image alpine:3.14.0@sha256:234cb88d3020898631af0ccbbcca9a66ae7306ecd30c9720690858c1b007d2a0 ...
Using attach strategy to execute scripts...
Preparing environment00:06
Waiting for pod gitlab-runner/runner-ik5zywfe-project-25560493-concurrent-1f6wcb to be running, status is Pending
Waiting for pod gitlab-runner/runner-ik5zywfe-project-25560493-concurrent-1f6wcb to be running, status is Pending
ContainersNotReady: "containers with unready status: [build helper]"
ContainersNotReady: "containers with unready status: [build helper]"
ERROR: Job failed (system failure): prepare environment: error dialing backend: x509: certificate signed by unknown authority. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
The Self-signed certificates or custom Certification Authorities | GitLab doesn’t help because there are no self-signed certs in, and it is intermittent.
I have the runner in log_level=debug
, but that is not is not giving me debug logging for the gitlab-runner-helper
which I think is where the issue is coming from.
How to collect debug level logs from gitlab-runner-helper?