跑 gitlab-runner 的系统是 ubuntu 16.04 ,gitlab-runner 的版本是 10.7.2 ,执行 job 时的错误提示如下:
Using Shell executor...
mesg: ttyname failed: Inappropriate ioctl for device
...
Skipping Git submodules setup
mesg: ttyname failed: Inappropriate ioctl for device
mesg: ttyname failed: Inappropriate ioctl for device
mesg: ttyname failed: Inappropriate ioctl for device
....
$ sudo chown -R gitlab-runner:gitlab-runner .
mesg: ttyname failed: Inappropriate ioctl for device
mesg: ttyname failed: Inappropriate ioctl for device
mesg: ttyname failed: Inappropriate ioctl for device
该错误时未影响 job 的正常执行。
请问如何消除这个错误提示?