GitLab GPU test runners fail intermittently with "Could not resolve host: gitlab.com"
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
GitLab test runners fail intermittently with "fatal: unable to access '.git/': Could not resolve host: gitlab.com
Steps to reproduce
Put this block in your .gitlab-ci.yml, using the GPU test runner, trigger the test runner, and you will observe a failure about 20% of the time.
gpu_tests:
stage: test
tags:
- saas-linux-medium-amd64-gpu-standard
image: nvcr.io/nvidia/cuda:12.1.1-runtime-ubuntu22.04
script:
- nvidia-smi
What is the current bug behavior?
The test fails without running any scripts as it cannot access gitlab.com to pull the repo.
What is the expected correct behavior?
This test should pass.
Relevant logs and/or screenshots
Possible fixes
Maybe you have some misconfigured test runner machine.
Edited by 🤖 GitLab Bot 🤖
