Runners unable to checkout code from the gitlab.com

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The dedicated k8s runners and windows runners unable to checkout from the gitlab.com and pipelines are failed. Tested gitlab runners: 12.1.0, 12.2.0. 12.3.0. 12.9.0, 13.0.0, 13.0.1

Steps to reproduce

stages:
  - version

version:
  stage: version
  variables:
    GIT_STRATEGY: clone
    GIT_CHECKOUT: "true"
    GIT_DEPTH: 1000
  image:
    name: alpine/git
    entrypoint: ["sh"]
  script:
    - echo version

What is the current bug behavior?

There are 4 cases:

  1. Job stuck
 Running with gitlab-runner 13.0.0 (c127439c)
   on heavy-gitlab-runner-64dd997ff9-r5fqm nKz4BbS_
Preparing the "kubernetes" executor
00:00
 Using Kubernetes namespace: default
 Using Kubernetes executor with image $GIT_VERSION_IMAGE ...
Preparing environment
00:04
 Waiting for pod default/runner-nkz4bbs-project-15455766-concurrent-0lc54d to be running, status is Pending
 Running on runner-nkz4bbs-project-15455766-concurrent-0lc54d via heavy-gitlab-runner-64dd997ff9-r5fqm...
Getting source from Git repository
 Fetching changes with git depth set to 1000...
 Initialized empty Git repository in /builds/***/.git/
 Created fresh repository.
  1. Job failed with 502 code:
 Running with gitlab-runner 13.0.0 (c127439c)
   on heavy-gitlab-runner-64dd997ff9-r5fqm nKz4BbS_
Preparing the "kubernetes" executor
00:00
 Using Kubernetes namespace: default
 Using Kubernetes executor with image $GIT_VERSION_IMAGE ...
Preparing environment
00:04
 Waiting for pod default/runner-nkz4bbs-project-14215915-concurrent-06rqv6 to be running, status is Pending
 Running on runner-nkz4bbs-project-14215915-concurrent-06rqv6 via heavy-gitlab-runner-64dd997ff9-r5fqm...
Getting source from Git repository
 Fetching changes with git depth set to 900...
 Initialized empty Git repository in /builds/***/.git/
 Created fresh repository.
 From https://gitlab.com/***
  * [new ref]         refs/pipelines/152079433 -> refs/pipelines/152079433
  * [new branch]      develop                  -> origin/develop
 error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
 fatal: the remote end hung up unexpectedly
Uploading artifacts for failed job
00:00
 ERROR: Job failed: command terminated with exit code 1
  1. Job failed with PROTOCOL_ERROR code:
 Running with gitlab-runner 13.0.0 (c127439c)
   on heavy-gitlab-runner-64dd997ff9-r5fqm nKz4BbS_
Preparing the "kubernetes" executor
00:00
 Using Kubernetes namespace: default
 Using Kubernetes executor with image $GIT_VERSION_IMAGE ...
Preparing environment
00:04
 Waiting for pod default/runner-nkz4bbs-project-14215915-concurrent-0xl2xn to be running, status is Pending
 Running on runner-nkz4bbs-project-14215915-concurrent-0xl2xn via heavy-gitlab-runner-64dd997ff9-r5fqm...
Getting source from Git repository
00:48
 Fetching changes with git depth set to 1000...
 Initialized empty Git repository in /builds/***/.git/
 Created fresh repository.
 From https://gitlab.com/***
  * [new ref]         refs/pipelines/152079433 -> refs/pipelines/152079433
  * [new branch]      develop                  -> origin/develop
 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
 fatal: the remote end hung up unexpectedly
Uploading artifacts for failed job
00:01
 ERROR: Job failed: command terminated with exit code 1
  1. Job finish successfully

What is the expected correct behavior?

Job finish successfully

ZD Ticket (Internal):

Edited by 🤖 GitLab Bot 🤖