Skip to content

Job cat`t start becouse use old verison git

Summary

Job dosn`t start

Steps to reproduce

1 Config

stages:
  - build
  - code-standard
  - test
.build:
  stage: build
  script:
    - php console-ci.phar build --project_id $CI_PROJECT_ID --token $TOKEN_GITLAB_API
  retry: 2
  only:
    refs:
      - merge_requests
      - triggers
d1.pdqa:
  extends: .build
  tags:
    - stage-test
  only:
    variables:
      - $CI_MERGE_REQUEST_LABELS =~ /test/i

2 I sended 2 mergerequst

3 Runner started

3 I get error

What is the current bug behavior?

Runner can`t start becouse both runner used one build path

Its repropduced only in runner 11.9.2 in 11.9.1 All work well

What is the expected correct behavior?

run job after MR in separeated directories

Relevant logs and/or screenshots

Running with gitlab-runner 11.9.2 (fa86510e)
  on stage-test yMEso5rx
Using SSH executor...
Running on d1.XXXXXX.com via d1.XXXXXX.com...
warning: templates not found builds/yMEso5rx/0/kudja/postel-deluxe.tmp/git-template
Reinitialized existing Git repository in /home/qapd/builds/yMEso5rx/0/XXXX/XXXXXX/.git/
Clean repository
Fetching changes with git depth set to 10...
fatal: remote origin already exists.
fatal: git fetch-pack: expected shallow list
ERROR: Job failed: Process exited with: 1. Reason was:  ()
Edited by Dmitriy Ronzhin