#1145782 receptor: flaky test FTBFS: TestPacketConn/SetWriteDeadline_Success: panic: close of nil channel

Package:
receptor
Source:
receptor
Description:
Daemon for controlling a mesh of nodes and workers
Submitter:
Simon Josefsson
Date:
2026-08-27 06:59:02 UTC
Severity:
normal
#1145782#5
Date:
2026-08-27 06:57:20 UTC
From:
To:
Hi!  This package has what appears to be a flaky test FTBFS:

https://ci.debian.net/packages/r/receptor/testing/armhf/74725852/#L7827

905s === RUN   TestListenPacketAndAdvertise/Service_Too_Long_Error
905s === RUN   TestListenPacketAndAdvertise/Service_Already_Listening_Error
905s --- PASS: TestListenPacketAndAdvertise (0.00s)
905s     --- PASS: TestListenPacketAndAdvertise/Success (0.00s)
905s     --- PASS: TestListenPacketAndAdvertise/Success_empty_service (0.00s)
905s     --- PASS: TestListenPacketAndAdvertise/Service_Too_Long_Error (0.00s)
905s     --- PASS: TestListenPacketAndAdvertise/Service_Already_Listening_Error (0.00s)
905s === RUN   TestPacketConn
905s === RUN   TestPacketConn/GetLocalService_Success
905s === RUN   TestPacketConn/GetLogger_Success
905s === RUN   TestPacketConn/ReadFrom_Error
905s === RUN   TestPacketConn/SetHopsToLive_Success
905s === RUN   TestPacketConn/LocalAddr_Success
905s === RUN   TestPacketConn/Close_Success
905s === RUN   TestPacketConn/Close_Error
905s === RUN   TestPacketConn/SetDeadline_Success
905s === RUN   TestPacketConn/SetReadDeadline_Success
905s === RUN   TestPacketConn/SetWriteDeadline_Success
905s panic: close of nil channel
905s
905s goroutine 3583 [running]:
905s github.com/ansible/receptor/pkg/utils.(*Broker).start(0x311faa0)
905s 	/tmp/autopkgtest.gg1UTX/autopkgtest_tmp/_build/src/github.com/ansible/receptor/pkg/utils/broker.go:51 +0x170
905s created by github.com/ansible/receptor/pkg/utils.NewBroker in goroutine 3582
905s 	/tmp/autopkgtest.gg1UTX/autopkgtest_tmp/_build/src/github.com/ansible/receptor/pkg/utils/broker.go:31 +0x138
905s FAIL	github.com/ansible/receptor/pkg/netceptor	37.190s
906s ?   	github.com/ansible/receptor/pkg/netceptor/mock_netceptor	[no test files]

/Simon