You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you ever encounter weird phenomena like these:
Running with gitlab-runner 13.8.0 (775dd39d) on newest xxxxxxResolving secrets00:00Preparing the "docker" executor...Preparing environment00:01Running on runner-xxxxxxxx-project-169-concurrent-0 via c9efa222138c...Getting source from Git repository00:04Fetching changes with git depth set to 50...Reinitialized existing Git repository in /builds/<group>/<project>/.git/fatal: shallow file has changed since we read itCleaning up file based variables00:02ERROR: Job failed: exit code 1
?
It happens randomly to different jobs (mostly linux and windows export stages), sometimes files go missing, sometimes I get this. It's frustrating. I'm running a docker-in-docker gitlab-runner setup.
EDIT: I am running a docker-in-docker runner configuration and set concurrent=4 in the runner toml file so there should never be more jobs than this setting allows. I was able to workaround this issue by adding retries to the jobs inside the .gitlab-ci.yml file. Unsure if this is a GitLab, Godot command line or godot-ci -specific bug.
The text was updated successfully, but these errors were encountered:
I run into the same issue today, for me it turned out that I was using 2 gitlab-runner services on the same runner config:
One that I'd started after registering a runner using gitlab-runner run
And another running in the background from the gitlab-runner.service. I didn't think I would have that one since I never explicitly run gitlab-runner install/start.
Also noticed that, something weird was going on since even though I had set concurrent = 1, two jobs were being picked up at the same time on my custom runner.
I figured it out when, finally, I tried to create the service seeing that it was already there 🤦♂️
The issue was resolved after killing the manually started runner ^ ^
TLDR
If you have manually started a runner (eg. using gitlab-runner run) make sure that there is no other runner instance running against the same config (could be a manual or a service one - eg if systemctl status gitlab-runner.service shows the service as active)
Did you ever encounter weird phenomena like these:
?
It happens randomly to different jobs (mostly linux and windows export stages), sometimes files go missing, sometimes I get this. It's frustrating. I'm running a docker-in-docker gitlab-runner setup.
EDIT: I am running a docker-in-docker runner configuration and set
concurrent=4
in the runner toml file so there should never be more jobs than this setting allows. I was able to workaround this issue by adding retries to the jobs inside the.gitlab-ci.yml
file. Unsure if this is a GitLab, Godot command line or godot-ci -specific bug.The text was updated successfully, but these errors were encountered: