#1122649 incus: flaky FTBFS: FAIL: TestHeartbeat: 931s 2025/12/12 04:51:10 http: TLS handshake error from 127.0.0.1:37552: EOF

Package:
incus
Source:
incus
Description:
Powerful system container and virtual machine manager - daemon
Submitter:
Simon Josefsson
Date:
2026-08-12 09:05:01 UTC
Severity:
normal
#1122649#5
Date:
2025-12-12 07:20:47 UTC
From:
To:
Incus has a flaky FTBFS problem that trigger testing migration concerns.

https://ci.debian.net/packages/i/incus/testing/ppc64el/67007468/

/Simon

931s === RUN   TestHeartbeat
931s     heartbeat_test.go:87: create bootstrap node for test cluster
931s     testing.go:161: DEBUG: attempt 1: server @bc492: connected
931s     heartbeat_test.go:99: adding another node to the test cluster
931s     testing.go:161: DEBUG: attempt 1: server @6efd5: connected
931s     heartbeat_test.go:99: adding another node to the test cluster
931s     testing.go:161: DEBUG: attempt 1: server @e2057: connected
931s 2025/12/12 04:51:10 http: TLS handshake error from 127.0.0.1:37552: EOF
931s     heartbeat_test.go:68:
931s         	Error Trace:	/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/cluster/heartbeat_test.go:68
931s         	            				/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/db/db.go:344
931s         	            				/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/db/query/transaction.go:30
931s         	            				/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/db/db.go:347
931s         	            				/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/db/query/retry.go:29
931s         	            				/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/db/db.go:341
931s         	            				/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/db/db.go:305
931s         	            				/tmp/autopkgtest-lxc.9qzuvtuc/downtmp/autopkgtest_tmp/_build/src/github.com/lxc/incus/internal/server/cluster/heartbeat_test.go:60
931s         	Error:      	Should be false
931s         	Test:       	TestHeartbeat
931s --- FAIL: TestHeartbeat (25.75s)

#1122649#10
Date:
2026-08-12 09:03:20 UTC
From:
To:
Seen again.  Somewhat similar errors but probably the same cause.

Causing testing migration blocking of
https://tracker.debian.org/pkg/golang-golang-x-tools

https://ci.debian.net/packages/i/incus/testing/arm64/74275892/#L5747

562s === RUN   TestHeartbeat
562s     heartbeat_test.go:88: create bootstrap node for test cluster
562s     testing.go:162: DEBUG: attempt 1: server @12f17: connected
562s     heartbeat_test.go:100: adding another node to the test cluster
562s     testing.go:162: DEBUG: attempt 1: server @b7f32: connected
562s     heartbeat_test.go:100: adding another node to the test cluster
562s     testing.go:162: DEBUG: attempt 1: server @064c7: connected
562s signal: segmentation fault
562s FAIL	github.com/lxc/incus/internal/server/cluster	3.164s

/Simon