Job stuck at cloning repository

Summary

I have install gitlab-runner on my MacOS machine, refers to runner install, register gitlab-runner, then I push a commit gitlab CI trigger a job, but the job stuck on "Reinitialized existing Git repository in xxx ", then I use gitlab-runner --debug run ,find the gitlab-runner has been stuck "Submitting job to coordinator... ok code=200" state until 1 hour timeout

Steps to reproduce

  1. push a commit or retry the failed job ,trigger CI job, always reproduce.
.gitlab-ci.yml
stages:
  - build

buildEySightDev:
  stage: build
  script:
    - fastlane dev
  only:
    - xinminghui
  cache:
    paths :
      - build
    key: "build"
    untracked: true

Actual behavior

Job stuck on "Reinitialized existing Git repository in xxx" state until 1 hour timeout, gitlab-runner stuck on "Submitting job to coordinator... ok code=200" state until 1 hour timeout.

Expected behavior

job can initialized git repository, and then build

Relevant logs and/or screenshots

job log
Running with gitlab-runner 12.2.0 (a987417a)
  on xinming_CI_Test 24f1a396
Using Shell executor...
Running on XinmingHuis-MacBook-Pro.local...
Fetching changes...
Reinitialized existing Git repository in /Users/essex/builds/24f1a396/0/EySight1_iOS/EySight/.git/
gitlab-runner log
Shell configuration: environment: []
dockercommand:
- sh
- -c
- "if [ -x /usr/local/bin/bash ]; then\n\texec /usr/local/bin/bash --login\nelif [
  -x /usr/bin/bash ]; then\n\texec /usr/bin/bash --login\nelif [ -x /bin/bash ]; then\n\texec
  /bin/bash --login\nelif [ -x /usr/local/bin/sh ]; then\n\texec /usr/local/bin/sh
  --login\nelif [ -x /usr/bin/sh ]; then\n\texec /usr/bin/sh --login\nelif [ -x /bin/sh
  ]; then\n\texec /bin/sh --login\nelif [ -x /busybox/sh ]; then\n\texec /busybox/sh
  --login\nelse\n\techo shell not found\n\texit 1\nfi\n\n"
command: bash
arguments:
- --login
passfile: false
extension: ""
  job=29968 project=85 runner=24f1a396
Using Shell executor...                             job=29968 project=85 runner=24f1a396
Waiting for signals...                              job=29968 project=85 runner=24f1a396
Executing build stage                               build_stage=prepare_script job=29968 project=85 runner=24f1a396
Executing build stage                               build_stage=get_sources job=29968 project=85 runner=24f1a396
Feeding runners to channel                          builds=1
Appending trace to coordinator... ok                code=202 job=29968 job-log=0-518 job-status=running runner=24f1a396 sent-log=0-517 status=202 Accepted
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396
Submitting job to coordinator... ok                 code=200 job=29968 job-status= runner=24f1a396

Environment description

I'm not using shared Runners, I'm using a specific Runner manually.

config.toml contents
concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "xinming_CI_Test"
  url = "http://gitlab.essexlg.com/"
  token = "24f1a39682181579e3a94aeab2ee47"
  executor = "shell"
  [runners.custom_build_dir]
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

Used GitLab Runner version

Possible fixes

Version: 12.2.0 Git revision: a987417a Git branch: 12-2-stable GO version: go1.8.7 Built: 2019-08-22T13:06:00+0000 OS/Arch: darwin/amd64

Edited Oct 16, 2019 by Steve Xuereb
Assignee Loading
Time tracking Loading