Skip to content

Instantly share code, notes, and snippets.

@arm2arm
Last active August 19, 2022 12:28
Show Gist options
  • Save arm2arm/cbbec7b0253566e8f9d1144eff862dff to your computer and use it in GitHub Desktop.
Save arm2arm/cbbec7b0253566e8f9d1144eff862dff to your computer and use it in GitHub Desktop.
Gitlab CI ERROR: Job failed: exit code 139

Enviroment:

  • gtilab runner working on the debian 10.x VM
  • runner requre dind to compile docker images and push them to the local registry

Error:

  • All is working only
  • Containers with the CentOS 5,6 or debian 8 are failing
  • message: ERROR: Job failed: exit code 139
  • any operation with syscalls are stopping workers docker container

Solution: Enable inside the runner VM the kernel vsyscall=emulate How: login to the debian VM

  • cat /proc/self/maps | egrep 'vdso|vsyscall'
  • echo 'GRUB_CMDLINE_LINUX_DEFAULT="vsyscall=emulate"' >> /etc/default/grub
  • update-grub
  • reboot

Refferences:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment