From 6772e930b67bb09bf22262c7378e7d2f67cf59d1 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Wed, 23 Dec 2020 14:01:20 -0500 Subject: [PATCH] ipv6: skip known-failing tests on OpenBSD 6.8 builders These tests are known to be failing on OpenBSD 6.8 and need investigation. The OpenBSD 6.8 builders are default TryBots now, so skip them to prevent people working on other packages from constantly getting a failure. Issue 42064 remains open to do the work of determining if the ipv6 package needs to be fixed, or if OpenBSD 6.8 has a problem and the test can be permanently skipped as unsupported. For golang/go#11811. Updates golang/go#42064. Updates golang/go#35712. Change-Id: I59883384e4dbce679cb1a4e8e2c3f0fa7983010b Reviewed-on: https://go-review.googlesource.com/c/net/+/280052 Run-TryBot: Dmitri Shuralyov TryBot-Result: Go Bot Reviewed-by: Alexander Rakoczy Trust: Dmitri Shuralyov --- ipv6/multicast_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ipv6/multicast_test.go b/ipv6/multicast_test.go index 0d7fb4a5..fb127c98 100644 --- a/ipv6/multicast_test.go +++ b/ipv6/multicast_test.go @@ -28,6 +28,11 @@ var packetConnReadWriteMulticastUDPTests = []struct { } func TestPacketConnReadWriteMulticastUDP(t *testing.T) { + if os.Getenv("GO_BUILDER_NAME") == "openbsd-amd64-68" || + os.Getenv("GO_BUILDER_NAME") == "openbsd-386-68" { + t.Skip(`this test is currently failing on OpenBSD 6.8 builders with "raw-read udp6: i/o timeout" ` + + `and needs investigation, see golang.org/issue/42064`) + } switch runtime.GOOS { case "fuchsia", "hurd", "js", "nacl", "plan9", "windows": t.Skipf("not supported on %s", runtime.GOOS) @@ -128,6 +133,11 @@ var packetConnReadWriteMulticastICMPTests = []struct { } func TestPacketConnReadWriteMulticastICMP(t *testing.T) { + if os.Getenv("GO_BUILDER_NAME") == "openbsd-amd64-68" || + os.Getenv("GO_BUILDER_NAME") == "openbsd-386-68" { + t.Skip(`this test is currently failing on OpenBSD 6.8 builders with "raw-read ip6: i/o timeout" ` + + `and needs investigation, see golang.org/issue/42064`) + } switch runtime.GOOS { case "fuchsia", "hurd", "js", "nacl", "plan9", "windows": t.Skipf("not supported on %s", runtime.GOOS)