From 0bfb1bded349088d378476c38304847209bd8296 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 30 Aug 2022 13:34:30 +0200 Subject: [PATCH] integration: TestNetworkLoopbackNat is broken on GitHub Runner Signed-off-by: CrazyMax (cherry picked from commit df731c745a53ff7f5db06e0baa0ebe73a3db235f) --- Makefile | 1 + hack/make/.integration-test-helpers | 1 + integration/container/nat_test.go | 1 + 3 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index ddad782563..d5a9be0da0 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,7 @@ DOCKER_ENVS := \ -e DOCKER_USERLANDPROXY \ -e DOCKERD_ARGS \ -e DELVE_PORT \ + -e GITHUB_ACTIONS \ -e TEST_FORCE_VALIDATE \ -e TEST_INTEGRATION_DIR \ -e TEST_SKIP_INTEGRATION \ diff --git a/hack/make/.integration-test-helpers b/hack/make/.integration-test-helpers index b8b4896ef4..87614fea03 100644 --- a/hack/make/.integration-test-helpers +++ b/hack/make/.integration-test-helpers @@ -150,6 +150,7 @@ test_env() { DOCKER_REMOTE_DAEMON="$DOCKER_REMOTE_DAEMON" \ DOCKER_ROOTLESS="$DOCKER_ROOTLESS" \ DOCKERFILE="$DOCKERFILE" \ + GITHUB_ACTIONS="$GITHUB_ACTIONS" \ GOCACHE="$GOCACHE" \ GOPATH="$GOPATH" \ GOTRACEBACK=all \ diff --git a/integration/container/nat_test.go b/integration/container/nat_test.go index 5567e01ab3..c94e5a556e 100644 --- a/integration/container/nat_test.go +++ b/integration/container/nat_test.go @@ -56,6 +56,7 @@ func TestNetworkLocalhostTCPNat(t *testing.T) { } func TestNetworkLoopbackNat(t *testing.T) { + skip.If(t, testEnv.GitHubActions, "FIXME: https://github.com/moby/moby/issues/41561") skip.If(t, testEnv.OSType == "windows", "FIXME") skip.If(t, testEnv.IsRemoteDaemon)