I run into this same problem a couple of times now. After awhile one of our runners always get the same error message and the build fails. On the other runners everything works fine. The only way to solve it seems to disable the runner. Anyone got any idea?
When another runner picks it up, it works fine. All runners are on the same linux machine with docker.
Running with gitlab-runner 11.2.0 (35e8515d) on ems-runner-4 d6c21fa3 Using Docker executor with image maven:3.5.3-jdk-8 ... Pulling docker image maven:3.5.3-jdk-8 ... Using docker image sha256:878388a112cc040e350e848dd39bf1cabc09653adb7ede6f050cbd16a7503de6 for maven:3.5.3-jdk-8 ... Running on runner-d6c21fa3-project-10018435-concurrent-0 via f4309158f309... Fetching changes... error: object file .git/objects/15/3b17126de09d1e9932ba2acbea5007009e3749 is empty error: object file .git/objects/15/3b17126de09d1e9932ba2acbea5007009e3749 is empty fatal: loose object 153b17126de09d1e9932ba2acbea5007009e3749 (stored in .git/objects/15/3b17126de09d1e9932ba2acbea5007009e3749) is corrupt ERROR: Job failed: exit code 1