`error: could not lock config file /builds/gitlab-org/gitlab.tmp/git-template/config: File exists ` on private-runners-manager-3.gitlab.com (#395503)
We experienced this error this morning in our master pipelines for gitlab-org/gitlab: https://gitlab.com/gitlab-org/gitlab/-/jobs/458606255
Running with gitlab-runner 12.8.0 (1b659122)
2 on prm-com-gitlab-org ae3bfce2
3
Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34 ...
00:20
4 Starting service postgres:9.6.17 ...
5 Pulling docker image postgres:9.6.17 ...
6 Using docker image sha256:0f9aa94007740b54238a4bfd881130b04a7c96ac1c0edfc8c1a7a8d14f3ebf55 for postgres:9.6.17 ...
7 Starting service redis:alpine ...
8 Pulling docker image redis:alpine ...
9 Using docker image sha256:b68707e68547e636f2544e9283f02beed46d536f644573c8b35c368f9abbe078 for redis:alpine ...
10 Starting service elasticsearch:6.4.2 ...
11 Pulling docker image elasticsearch:6.4.2 ...
12 Using docker image sha256:e47ebd7ec3eef5e48746af2ae376f180bbfbd23c7514b5b18a116f8349eb4c34 for elasticsearch:6.4.2 ...
13 Waiting for services to be up and running...
14 Authenticating with credentials from job payload (GitLab Registry)
15 Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34 ...
16 Using docker image sha256:0f9ca78298a31444537de457edb9067ada5eff69e276ed8949386f35b3760183 for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-9.6-graphicsmagick-1.3.34 ...
18
Running on runner-ae3bfce2-project-278964-concurrent-0 via runner-ae3bfce2-prm-1583289099-b56b4073...
00:02
20
$ eval "$CI_PRE_CLONE_SCRIPT"
01:08
21 Downloading archived master...
22 Connecting to storage.googleapis.com (172.217.203.128:443)
23 gitlab.tar.gz 16% |***** | 139M 0:00:05 ETA
24 gitlab.tar.gz 42% |************* | 356M 0:00:02 ETA
25 gitlab.tar.gz 88% |**************************** | 749M 0:00:00 ETA
26 gitlab.tar.gz 100% |********************************| 843M 0:00:00 ETA
27 Extracting tarball into /builds/gitlab-org/gitlab...
28 Fetching changes with git depth set to 20...
29 error: could not lock config file /builds/gitlab-org/gitlab.tmp/git-template/config: File exists
31
$ eval "$CI_PRE_CLONE_SCRIPT"
01:08
32 Downloading archived master...
33 Connecting to storage.googleapis.com (173.194.217.128:443)
34 gitlab.tar.gz 0% | | 418k 0:37:29 ETA
35 gitlab.tar.gz 46% |************** | 395M 0:00:02 ETA
36 gitlab.tar.gz 96% |****************************** | 811M 0:00:00 ETA
37 gitlab.tar.gz 100% |********************************| 843M 0:00:00 ETA
38 Extracting tarball into /builds/gitlab-org/gitlab...
39 Fetching changes with git depth set to 20...
40 error: could not lock config file /builds/gitlab-org/gitlab.tmp/git-template/config: File exists
42
$ eval "$CI_PRE_CLONE_SCRIPT"
01:08
43 Downloading archived master...
44 Connecting to storage.googleapis.com (173.194.217.128:443)
45 gitlab.tar.gz 3% |* | 28.8M 0:00:28 ETA
46 gitlab.tar.gz 39% |************ | 336M 0:00:03 ETA
47 gitlab.tar.gz 79% |************************* | 672M 0:00:00 ETA
48 gitlab.tar.gz 100% |********************************| 843M 0:00:00 ETA
49 Extracting tarball into /builds/gitlab-org/gitlab...
50 Fetching changes with git depth set to 20...
51 error: could not lock config file /builds/gitlab-org/gitlab.tmp/git-template/config: File exists