arm_disable_flaky_tests
authorGo Compiler Team <team+go-compiler@tracker.debian.org>
Thu, 20 Apr 2023 14:32:58 +0000 (15:32 +0100)
committerSylvain Beucler <beuc@debian.org>
Thu, 20 Apr 2023 14:32:58 +0000 (15:32 +0100)
Reviewed-by: Sylvain Beucler <beuc@debian.org>
Last-Update: 2023-04-20

These tests are flaky on arm32 especially on arm32-on-arm64
buildds. Disabling.

Gbp-Pq: Name arm_disable_flaky_tests.patch

src/os/exec/exec_test.go
src/runtime/crash_test.go
src/runtime/pprof/pprof_test.go

index 7bb230806f95ad853fa6d0fc06d84484949ec39d..fd878de7b798a9083cc636e57ecc0056bf89c010 100644 (file)
@@ -535,6 +535,9 @@ func TestExtraFilesFDShuffle(t *testing.T) {
 }
 
 func TestExtraFiles(t *testing.T) {
+       if runtime.GOARCH == "arm" {
+               t.Skip("skipping on Debian/arm")
+       }
        testenv.MustHaveExec(t)
 
        if runtime.GOOS == "windows" {
index 2766b8850af33a0b4804cfb156166d8206caa4a1..3dfb73e63d478016ece06ebc914dcec6585aa108 100644 (file)
@@ -623,6 +623,9 @@ func TestBadTraceback(t *testing.T) {
 }
 
 func TestTimePprof(t *testing.T) {
+       if runtime.GOARCH == "arm" {
+               t.Skip("skipping on Debian/arm")
+       }
        fn := runTestProg(t, "testprog", "TimeProf")
        fn = strings.TrimSpace(fn)
        defer os.Remove(fn)
index 44d514393ea442f6b47984e943ccf26c73b6dc92..3e9dfc687b43f945f10cbd6836422b190c64f009 100644 (file)
@@ -131,6 +131,9 @@ func parseProfile(t *testing.T, valBytes []byte, f func(uintptr, []*profile.Loca
 }
 
 func testCPUProfile(t *testing.T, need []string, f func(dur time.Duration)) {
+       if runtime.GOARCH == "arm" {
+               t.Skip("skipping on Debian/arm")
+       }
        switch runtime.GOOS {
        case "darwin":
                switch runtime.GOARCH {