Skip to content

Docker: error cannot run ssh: No such file or directory

toml:

concurrent = 1
check_internal = 0
[[runners]]
  name = linux-runner-1-docker
  url = <own>
  token = <own>
  executor = "docker"
  builds_dir = "/builds"
  pre_clone_script = "echo $PATH; ls -la /usr/bin"
  [runners.docker]
    tls_verify = false
    image = "microsoft/dotnet:1.1.0-sdk-projectjson"
    privileged = false
    disable_cache = false
    volumes  = ["/cache", "/home/ubuntu/builds:/builds", "/home/ubuntu:root"]
  [runners.cache]

log:

 Running with gitlab-ci-multi-runner 1.10.0 (4a71a97)
Using Docker executor with image microsoft/dotnet:1.1.0-sdk-projectjson ...
Pulling docker image microsoft/dotnet:1.1.0-sdk-projectjson ...
Running on runner-e673e39d-project-175-concurrent-0 via 44aae9799f0d...
$ echo $PATH; ls -la /usr/bin
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
total 20252
drwxr-xr-x    2 root     root          4096 Jan 22 11:38 .
drwxr-xr-x    8 root     root          4096 Jan 22 11:38 ..
-rw-rw-rw-    1 root     root            90 Jan 22 11:37 Dockerfile.arm
-rw-rw-rw-    1 root     root            82 Jan 22 11:37 Dockerfile.x86_64
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 [ -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 [[ -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 awk -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 basename -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 beep -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 blkdiscard -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 bunzip2 -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 bzcat -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 bzip2 -> /bin/busybox
-rwxr-xr-x    2 root     root         36713 Oct 25 11:54 c2ph
-rwxr-xr-x    1 root     root         14056 Dec 11 17:18 c_rehash
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 cal -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 chvt -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 cksum -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 clear -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 cmp -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 comm -> /bin/busybox
-rwxr-xr-x    1 root     root         12792 Oct 25 11:54 corelist
-rwxr-xr-x    1 root     root          7427 Oct 25 11:54 cpan
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 crontab -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 cryptpw -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 cut -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 dc -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 deallocvt -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 diff -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 dirname -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 dos2unix -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 du -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 dumpleases -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 eject -> /bin/busybox
-rwxr-xr-x    1 root     root          3028 Oct 25 11:54 encguess
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 env -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 expand -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 expr -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 find -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 flock -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 fold -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 free -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 ftpget -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 ftpput -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 fuser -> /bin/busybox
-rwxr-xr-x    1 root     root         31496 Nov  1 11:31 getconf
-rwxr-xr-x    1 root     root         36672 Nov  1 11:31 getent
-rwxr-xr-x  117 root     root       2111920 Dec  1 07:14 git
-rwxr-xr-x  117 root     root       2111920 Dec  1 07:14 git-receive-pack
-rwxr-xr-x    2 root     root       1078424 Dec  1 07:14 git-shell
-rwxr-xr-x  117 root     root       2111920 Dec  1 07:14 git-upload-archive
-rwxr-xr-x    2 root     root       1160416 Dec  1 07:14 git-upload-pack
-rwxrwxrwx    1 root     root            33 Jan 22 11:37 gitlab-runner-build
-rwxrwxrwx    1 root     root            61 Jan 22 11:37 gitlab-runner-cache
-rwxr-xr-x    1 root     root      11448819 Jan 22 11:38 gitlab-runner-helper
-rwxrwxrwx    1 root     root           325 Jan 22 11:37 gitlab-runner-service
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 groups -> /bin/busybox
-rwxr-xr-x    1 root     root         29162 Oct 25 11:54 h2ph
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 hd -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 head -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 hexdump -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 hostid -> /bin/busybox
-rwxr-xr-x    1 root     root         20464 Nov  1 11:31 iconv
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 id -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 install -> /bin/busybox
-rwxr-xr-x    1 root     root          4249 Oct 25 11:54 instmodsh
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 ipcrm -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 ipcs -> /bin/busybox
-rwxr-xr-x    1 root     root          3918 Oct 25 11:54 json_pp
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 killall -> /bin/busybox
lrwxrwxrwx    1 root     root            29 Dec 26 21:32 ldd -> ../../lib/ld-musl-x86_64.so.1
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 less -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 logger -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 lsof -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 lsusb -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 lzcat -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 lzma -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 lzopcat -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 md5sum -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 mesg -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 microcom -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 mkfifo -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 mkpasswd -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 nc -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 nmeter -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 nohup -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 nsenter -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 nslookup -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 od -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 openvt -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 passwd -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 patch -> /bin/busybox
-rwxr-xr-x    2 root     root          9880 Oct 25 11:54 perl
-rwxr-xr-x    2 root     root          9880 Oct 25 11:54 perl5.24.0
-rwxr-xr-x    2 root     root         45355 Oct 25 11:54 perlbug
-rwxr-xr-x    1 root     root           224 Oct 25 11:54 perldoc
-rwxr-xr-x    2 root     root         45355 Oct 25 11:54 perlthanks
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 pgrep -> /bin/busybox
-rwxr-xr-x    1 root     root          8319 Oct 25 11:54 piconv
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 pkill -> /bin/busybox
-rwxr-xr-x    1 root     root          4531 Oct 25 11:54 pl2pm
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 pmap -> /bin/busybox
-rwxr-xr-x    1 root     root          4096 Oct 25 11:54 pod2html
-rwxr-xr-x    1 root     root         14169 Oct 25 11:54 pod2man
-rwxr-xr-x    1 root     root         10979 Oct 25 11:54 pod2text
-rwxr-xr-x    1 root     root          3948 Oct 25 11:54 pod2usage
-rwxr-xr-x    1 root     root          3699 Oct 25 11:54 podchecker
-rwxr-xr-x    1 root     root          2527 Oct 25 11:54 podselect
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 printf -> /bin/busybox
-rwxr-xr-x    1 root     root         13550 Oct 25 11:54 prove
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 pscan -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 pstree -> /bin/busybox
-rwxr-xr-x    2 root     root         36713 Oct 25 11:54 pstruct
-rwxr-xr-x    1 root     root          3524 Oct 25 11:54 ptar
-rwxr-xr-x    1 root     root          2590 Oct 25 11:54 ptardiff
-rwxr-xr-x    1 root     root          4354 Oct 25 11:54 ptargrep
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 pwdx -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 readlink -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 realpath -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 renice -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 reset -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 resize -> /bin/busybox
-rwxr-xr-x    1 root     root         75520 Oct 26 09:18 scanelf
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 seq -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 setkeycodes -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 setsid -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 sha1sum -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 sha256sum -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 sha3sum -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 sha512sum -> /bin/busybox
-rwxr-xr-x    1 root     root          9332 Oct 25 11:54 shasum
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 showkey -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 shuf -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 smemcap -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 sort -> /bin/busybox
-rwxr-xr-x    1 root     root         18768 Oct 25 11:54 splain
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 split -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 strings -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 sum -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 tac -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 tail -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 tee -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 telnet -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 test -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 tftp -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 time -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 timeout -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 top -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 tr -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 traceroute -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 traceroute6 -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 truncate -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 tty -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 ttysize -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 udhcpc6 -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unexpand -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 uniq -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unix2dos -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unlink -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unlzma -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unlzop -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unshare -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unxz -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 unzip -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 uptime -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 uudecode -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 uuencode -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 vi -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 vlock -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 volname -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 wc -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 wget -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 which -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 whoami -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 whois -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 xargs -> /bin/busybox
-rwxr-xr-x    1 root     root         22168 Oct 25 14:04 xmlwf
-rwxr-xr-x    1 root     root          5126 Oct 25 11:54 xsubpp
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 xzcat -> /bin/busybox
lrwxrwxrwx    1 root     root            12 Dec 26 21:32 yes -> /bin/busybox
-rwxr-xr-x    1 root     root         48459 Oct 25 11:54 zipdetails
Fetching changes...
HEAD is now at Update .gitlab-ci.yml
Checking out as master...
Updating/initializing submodules recursively...
Synchronizing submodule url for ''
Cloning into ''...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '' into submodule path '' failed
Failed to clone ''. Retry scheduled
Cloning into ''...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '' into submodule path '' failed
Failed to clone '' a second time, aborting
ERROR: Build failed: exit code 1

What I'm doing wrong?