github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/debian/patches/test--skip-pkg-signal-flaky-tests.patch (about) 1 From: Arnaud Rebillout <elboulangero@gmail.com> 2 Date: Wed, 09 Dec 2020 09:38:34 +0700 3 Subject: Skip some pkg/signal linux tests 4 5 Issue mentioned upstream at <https://github.com/moby/moby/pull/40353>, 6 there was a tentative fix at <https://github.com/moby/moby/pull/40496>, 7 but the issue is still present. 8 9 === Failed 10 === FAIL: pkg/signal TestCatchAll (0.00s) 11 signal_linux_test.go:32: assertion failed: urgent I/O condition (string) != hangup (string) 12 signal_linux_test.go:32: assertion failed: hangup (string) != child exited (string) 13 signal_linux_test.go:32: assertion failed: child exited (string) != illegal instruction (string) 14 signal_linux_test.go:32: assertion failed: illegal instruction (string) != floating point exception (string) 15 signal_linux_test.go:32: assertion failed: floating point exception (string) != child exited (string) 16 17 Index: docker/engine/pkg/signal/signal_linux_test.go 18 =================================================================== 19 --- docker.orig/engine/pkg/signal/signal_linux_test.go 20 +++ docker/engine/pkg/signal/signal_linux_test.go 21 @@ -14,6 +14,7 @@ import ( 22 ) 23 24 func TestCatchAll(t *testing.T) { 25 + t.Skip("DM - Skip flaky test") 26 sigs := make(chan os.Signal, 1) 27 CatchAll(sigs) 28 defer StopCatch(sigs) 29 @@ -53,6 +54,7 @@ func TestCatchAllIgnoreSigUrg(t *testing 30 } 31 32 func TestStopCatch(t *testing.T) { 33 + t.Skip("DM - Skip flaky test") 34 signal := SignalMap["HUP"] 35 channel := make(chan os.Signal, 1) 36 CatchAll(channel)