From 829b6c29971fea41c1360d301768fdf1c8b4c4c6 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Mon, 12 May 2025 15:20:20 +0100 Subject: [PATCH] tests/docker: Set dns explicitly Since https://github.com/moby/moby/pull/48290 the resolve.conf settings have changed, which were pulled into the gh runner image 20250504.1.0 mean we are getting hostname resolution issues. Try and set the dns explicitly to see if that helps. Signed-off-by: stevenhorsman --- tests/integration/docker/gha-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/docker/gha-run.sh b/tests/integration/docker/gha-run.sh index 6860cd108a..1a3e30cd9f 100755 --- a/tests/integration/docker/gha-run.sh +++ b/tests/integration/docker/gha-run.sh @@ -28,8 +28,8 @@ function run() { info "Running docker with runc" sudo docker run --rm --entrypoint nping "${image}" --tcp-connect -c 2 -p 80 www.github.com - info "Running docker with Kata Containers (${KATA_HYPERVISOR})" - sudo docker run --rm --runtime io.containerd.kata-${KATA_HYPERVISOR}.v2 --entrypoint nping "${image}" --tcp-connect -c 2 -p 80 www.github.com + info "Running docker with Kata Containers (${KATA_HYPERVISOR}) and --dns=8.8.8.8" + sudo docker run --rm --dns=8.8.8.8 --dns=2001:4860:4860::8888 --runtime io.containerd.kata-${KATA_HYPERVISOR}.v2 --entrypoint nping "${image}" --tcp-connect -c 2 -p 80 www.github.com } function main() {