[Bug 2061742] Re: frequent TestCrashDumpsAllThreads failures on linux/s390x

Launchpad Bug Tracker 2061742 at bugs.launchpad.net
Wed Apr 17 14:14:18 UTC 2024


This bug was fixed in the package golang-1.22 - 1.22.2-2

---------------
golang-1.22 (1.22.2-2) unstable; urgency=medium

  * Team upload
  * Skip flaky TestCrashDumpsAllThreads on s390x (LP: #2061742)
    https://github.com/golang/go/issues/64650

 -- Shengjing Zhu <zhsj at debian.org>  Tue, 16 Apr 2024 16:13:31 +0800

** Changed in: golang-1.22 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.22 in Ubuntu.
https://bugs.launchpad.net/bugs/2061742

Title:
  frequent TestCrashDumpsAllThreads failures on linux/s390x

Status in golang-1.22 package in Ubuntu:
  Fix Released

Bug description:
  --- FAIL: TestCrashDumpsAllThreads (0.29s)
      crash_unix_test.go:149: found 1 instances of main.crashDumpsAllThreadsLoop; expected 4
      crash_unix_test.go:150: SIGQUIT: quit
          PC=0x1013c6 m=0 sigcode=0
          
          goroutine 21 gp=0xc000082a80 m=0 mp=0x20d0c0 [running]:
          main.crashDumpsAllThreadsLoop(...)
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/crashdump.go:44
          main.CrashDumpsAllThreads.gowrap1()
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/crashdump.go:24 +0x66 fp=0xc00003ffd8 sp=0xc00003ffc8 pc=0x1013c6
          runtime.goexit({})
          	/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc00003ffd8 sp=0xc00003ffd8 pc=0x94262
          created by main.CrashDumpsAllThreads in goroutine 1
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/crashdump.go:24 +0x54
          
          goroutine 1 gp=0xc0000041c0 m=nil [select (no cases)]:
          runtime.gopark(0x0, 0x0, 0xa, 0x1, 0x1)
          	/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000092df0 sp=0xc000092dd8 pc=0x597c6
          runtime.block()
          	/usr/lib/go-1.22/src/runtime/select.go:103 +0x3c fp=0xc000092e18 sp=0xc000092df0 pc=0x6f47c
          main.CrashDumpsAllThreads()
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/crashdump.go:38 +0x254 fp=0xc000092ec8 sp=0xc000092e18 pc=0x101344
          main.main()
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/main.go:34 +0x1ac fp=0xc000092f68 sp=0xc000092ec8 pc=0x1080fc
          runtime.main()
          	/usr/lib/go-1.22/src/runtime/proc.go:271 +0x2f2 fp=0xc000092fd8 sp=0xc000092f68 pc=0x59242
          runtime.goexit({})
          	/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc000092fd8 sp=0xc000092fd8 pc=0x94262
          
          goroutine 2 gp=0xc000004700 m=nil [force gc (idle)]:
          runtime.gopark(0x148838, 0x20c480, 0x11, 0xa, 0x1)
          	/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000042fb0 sp=0xc000042f98 pc=0x597c6
          runtime.goparkunlock(...)
          	/usr/lib/go-1.22/src/runtime/proc.go:408
          runtime.forcegchelper()
          	/usr/lib/go-1.22/src/runtime/proc.go:326 +0xd2 fp=0xc000042fd8 sp=0xc000042fb0 pc=0x595c2
          runtime.goexit({})
          	/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc000042fd8 sp=0xc000042fd8 pc=0x94262
          created by runtime.init.5 in goroutine 1
          	/usr/lib/go-1.22/src/runtime/proc.go:314 +0x30
          
          goroutine 3 gp=0xc000004c40 m=nil [GC sweep wait]:
          runtime.gopark(0x148838, 0x20c680, 0xc, 0x9, 0x1)
          	/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000043790 sp=0xc000043778 pc=0x597c6
          runtime.goparkunlock(...)
          	/usr/lib/go-1.22/src/runtime/proc.go:408
          runtime.bgsweep(0xc00001a070)
          	/usr/lib/go-1.22/src/runtime/mgcsweep.go:278 +0xaa fp=0xc0000437c8 sp=0xc000043790 pc=0x3efca
          runtime.gcenable.gowrap1()
          	/usr/lib/go-1.22/src/runtime/mgc.go:203 +0x5e fp=0xc0000437d8 sp=0xc0000437c8 pc=0x30b7e
          runtime.goexit({})
          	/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0000437d8 sp=0xc0000437d8 pc=0x94262
          created by runtime.gcenable in goroutine 1
          	/usr/lib/go-1.22/src/runtime/mgc.go:203 +0xa8
          
          goroutine 4 gp=0xc000004e00 m=nil [GC scavenge wait]:
          runtime.gopark(0x148838, 0x20c8e0, 0xd, 0xa, 0x2)
          	/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000043f80 sp=0xc000043f68 pc=0x597c6
          runtime.goparkunlock(...)
          	/usr/lib/go-1.22/src/runtime/proc.go:408
          runtime.(*scavengerState).park(0x20c8e0)
          	/usr/lib/go-1.22/src/runtime/mgcscavenge.go:425 +0x72 fp=0xc000043fa8 sp=0xc000043f80 pc=0x3c252
          runtime.bgscavenge(0xc00001a070)
          	/usr/lib/go-1.22/src/runtime/mgcscavenge.go:653 +0x5a fp=0xc000043fc8 sp=0xc000043fa8 pc=0x3c90a
          runtime.gcenable.gowrap2()
          	/usr/lib/go-1.22/src/runtime/mgc.go:204 +0x5e fp=0xc000043fd8 sp=0xc000043fc8 pc=0x30afe
          runtime.goexit({})
          	/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc000043fd8 sp=0xc000043fd8 pc=0x94262
          created by runtime.gcenable in goroutine 1
          	/usr/lib/go-1.22/src/runtime/mgc.go:204 +0x10e
          
          goroutine 17 gp=0xc000082380 m=nil [finalizer wait]:
          runtime.gopark(0x1485b0, 0x279f38, 0x10, 0xa, 0x1)
          	/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000042718 sp=0xc000042700 pc=0x597c6
          runtime.runfinq()
          	/usr/lib/go-1.22/src/runtime/mfinal.go:194 +0x13a fp=0xc0000427d8 sp=0xc000042718 pc=0x2f68a
          runtime.goexit({})
          	/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0000427d8 sp=0xc0000427d8 pc=0x94262
          created by runtime.createfing in goroutine 1
          	/usr/lib/go-1.22/src/runtime/mfinal.go:164 +0x64
          
          goroutine 18 gp=0xc000082540 m=5 mp=0xc000080008 [running]:
          	goroutine running on other thread; stack unavailable
          created by main.CrashDumpsAllThreads in goroutine 1
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/crashdump.go:24 +0x54
          
          goroutine 19 gp=0xc000082700 m=2 mp=0xc000015008 [running]:
          	goroutine running on other thread; stack unavailable
          created by main.CrashDumpsAllThreads in goroutine 1
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/crashdump.go:24 +0x54
          
          goroutine 20 gp=0xc0000828c0 m=3 mp=0xc000015808 [running]:
          	goroutine running on other thread; stack unavailable
          created by main.CrashDumpsAllThreads in goroutine 1
          	/usr/lib/go-1.22/src/runtime/testdata/testprog/crashdump.go:24 +0x54
          
          r0   0x166e406	r1   0x20d330
          r2   0x0	r3   0xc000082a80
          r4   0x20d0c0	r5   0x0
          r6   0x101360	r7   0xc00003f800
          r8   0x5bd20	r9   0x3ff867fe4d0
          r10  0x0	r11  0x1c28f5c28f4a669d
          r12  0xc0000a4090	r13  0xc000082a80
          r14  0x1013be	r15  0xc00003ffc8
          pc   0x1013c6	link 0x1013be
          
          -----
          
          SIGQUIT: quit
          PC=0x950da m=1 sigcode=0
          
          goroutine 0 gp=0xc000004540 m=1 mp=0xc000014808 [idle]:
          runtime.futex(0x20d9c0, 0x80, 0x0, 0xc00002bee0, 0x0, 0x0)
          	/usr/lib/go-1.22/src/runtime/sys_linux_s390x.s:497 +0x2a fp=0xc00002bea8 sp=0xc00002bea8 pc=0x950da
          runtime.futexsleep(0x20d9c0, 0x0, 0xdf8475800)
          	/usr/lib/go-1.22/src/runtime/os_linux.go:75 +0xe8 fp=0xc00002bef0 sp=0xc00002bea8 pc=0x51ae8
          runtime.notetsleep_internal(0x20d9c0, 0xdf8475800)
          	/usr/lib/go-1.22/src/runtime/lock_futex.go:212 +0xec fp=0xc00002bf28 sp=0xc00002bef0 pc=0x1e7ac
          runtime.notetsleep(0x20d9c0, 0xdf8475800)
          	/usr/lib/go-1.22/src/runtime/lock_futex.go:235 +0x5c fp=0xc00002bf48 sp=0xc00002bf28 pc=0x1e92c
          runtime.sysmon()
          	/usr/lib/go-1.22/src/runtime/proc.go:6001 +0x26e fp=0xc00002bfb8 sp=0xc00002bf48 pc=0x6951e
          runtime.mstart1()
          	/usr/lib/go-1.22/src/runtime/proc.go:1729 +0xb2 fp=0xc00002bfd8 sp=0xc00002bfb8 pc=0x5cf72
          runtime.mstart0()
          	/usr/lib/go-1.22/src/runtime/proc.go:1686 +0x8c fp=0xc00002bff8 sp=0xc00002bfd8 pc=0x5ce9c
          runtime.mstart()
          	/usr/lib/go-1.22/src/runtime/asm_s390x.s:174 +0x18 fp=0xc00002c000 sp=0xc00002bff8 pc=0x91f08
          r0   0xc00002bee0	r1   0xee
          r2   0xfffffffffffffffc	r3   0x80
          r4   0x0	r5   0xc00002bee0
          r6   0x0	r7   0x0
          r8   0x1e722	r9   0x3ff867fe4d0
          r10  0x3c0000000	r11  0x0
          r12  0x0	r13  0xc000004540
          r14  0x51ae8	r15  0xc00002bea8
          pc   0x950da	link 0x51ae8
          
          -----
          
  FAIL
  FAIL	runtime	40.102s

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.22/+bug/2061742/+subscriptions




More information about the foundations-bugs mailing list