I am getting started with Gitlab CI for the first time and I am running into some problems.
I am using pytest to test python code that connects to a remote mysql server.
When running the job the runner hangs for around 8 minutes and then eventually I get the following error:
ERROR: Job failed (system failure): error during connect: Get https://10.142.2.210:2376/v1.18/containers/4edfdab9c46bae794c04b6e446593e3e89b58f82a8478b8ec1508297a78a3289/json: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "root") (executor_docker.go:965:1s)
I am not doing anything (that I know of) having to do with rsa certificates or anything of the sort.
I am behind a (notoriously annoying) proxy and think that might be the issue.
Does anyone know if the problem is indeed the problem, or if it’s something else? If it is the proxy, how can I set up proxy variables in Gitlab-CI without my proxy password being exposed?
Previous to this error I had errors regarding connection to the database. After some playing around I finally managed to not get errors that have to do with being refused by the database. Also running some local tests it seems that python can contact the remote database and the tests run fine. This leads me to believe that the problem doesn’t have anything to do with the database itself.
Thanks in advance for any help available!