Public bug reported:

Builds of Go packages on Launchpad builders intermittently fail during
the test suite in `cmd/compile/internal/types2` with a panic in
`TestIssue43124`:

---
ok      cmd/compile/internal/types      0.005s
--- FAIL: TestIssue43124 (0.00s)
panic: a:1:19: could not import text/template (can't find import: 
"text/template": stat 
/<<PKGBUILDDIR>>/gopath/gocache/8a/8a4411ba1e75a2cf1784c3f6c3c30efa43ec19b0749582a0832159cf4922c008-d:
 no such file or directory) [recovered, repanicked]

goroutine 658 gp=0x33f430fb7c20 m=6 mp=0x33f430b80808 [running]:
panic({0x727b00?, 0x33f430d20c40?})
...
runtime.goexit({})
        /<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1771 +0x1 fp=0x33f430fb57e8 
sp=0x33f430fb57e0 pc=0x48b901
created by runtime.gcBgMarkStartWorkers in goroutine 44
        /<<PKGBUILDDIR>>/src/runtime/mgc.go:1695 +0x105
FAIL    cmd/compile/internal/types2     7.138s
---

This is observed across multiple architectures (including amd64,
amd64v3, arm64, ppc64el, and s390x). Retrying the failed build normally
succeeds.

Upstream issue: https://github.com/golang/go/issues/61064

Note: An Ubuntu-specific patch (0006-Skip-flaky-TestIssue43124.patch) is
currently carried in golang-1.26 on Jammy, Noble, and Resolute to skip
this test unconditionally, but it was not carried over to
Stonking/Tenacious or newer Go versions (golang-1.27) after syncing from
Debian.

Filing this bug to track investigating the root cause and/or carrying a
consistent fix (ideally via Debian) across affected Go packages.

** Affects: golang-1.24 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: golang-1.25 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: golang-1.26 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: golang-1.27 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: golang-1.27 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: golang-1.25 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: golang-1.24 (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Intermittent FTBFS due to flaky TestIssue43124 in
  cmd/compile/internal/types2

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to