#1122241 golang-github-valyala-fasthttp: flaky test: FAIL: TestConfigFastOpen TestConfigBacklog: tcplisten_test.go:70: cannot create listener 0 using Config &tcplisten.Config{ReusePort:true, DeferAccept:true, FastOpen:true, Backlog:0}: cannot bind to "[::1]:10083": address already in use #1122241
- Package:
- golang-github-valyala-fasthttp
- Source:
- golang-github-valyala-fasthttp
- Submitter:
- Simon Josefsson
- Date:
- 2026-07-27 19:35:01 UTC
- Severity:
- normal
Hi! This package appears to have a flaky test, or at least it doesn't show up always, and only seen on ppc64el: https://ci.debian.net/packages/g/golang-github-valyala-fasthttp/testing/ppc64el/66899753/ This is holding up testing migration for golang-go.crypto right now, but I'm scheduling another debci run of this, which hopefully will make it go away. /Simon 187s === RUN TestConfigFastOpen 187s tcplisten_test.go:105: 208. timeout when waiting for response: %!s(<nil>) 187s --- FAIL: TestConfigFastOpen (1.35s) 187s === RUN TestConfigAll 187s tcplisten_test.go:70: cannot create listener 0 using Config &tcplisten.Config{ReusePort:true, DeferAccept:true, FastOpen:true, Backlog:0}: cannot bind to "[::1]:10083": address already in use 187s --- FAIL: TestConfigAll (1.26s) 187s === RUN TestConfigBacklog 187s tcplisten_test.go:105: 703. timeout when waiting for response: %!s(<nil>) 187s --- FAIL: TestConfigBacklog (1.61s) 187s FAIL 187s FAIL github.com/valyala/fasthttp/tcplisten 10.730s
I noticed another flaky test, on s390x: https://ci.debian.net/packages/g/golang-github-valyala-fasthttp/testing/s390x/71559612/#L3223 112s === NAME TestRevertPull1233 112s client_test.go:3691: Not Expected status code 418 112s --- PASS: TestCloseOnShutdown (0.54s) 112s --- FAIL: TestRevertPull1233 (0.06s) /Simon
I noticed another flaky test, on amd64, so I suspect some generic issue with many self-tests in this package. https://ci.debian.net/packages/g/golang-github-valyala-fasthttp/testing/amd64/71981641/#L2976 100s === NAME TestClientHeadWithBody 100s client_test.go:3629: timeout 100s --- FAIL: TestClientHeadWithBody (0.01s) /Simon
Another failure on riscv64: https://ci.debian.net/packages/g/golang-github-valyala-fasthttp/testing/riscv64/71982756/#L2795 1198s === NAME TestDirFSFSCompressConcurrent 1198s fs_fs_test.go:816: timeout 1198s --- FAIL: TestDirFSFSCompressConcurrent (2.00s) https://ci.debian.net/packages/g/golang-github-valyala-fasthttp/testing/riscv64/71982756/#L2894 1198s === NAME TestFSFSCompressConcurrent 1198s fs_fs_test.go:360: timeout 1198s --- FAIL: TestFSFSCompressConcurrent (4.00s) /Simon
Hi. Flaky tests noticed again with version 1:1.72.0-1, this time holding up testing migration of golang-golang-x-net. https://ci.debian.net/packages/g/golang-github-valyala-fasthttp/testing/s390x/73805358/#L4114 245s === RUN TestConfigFastOpen 245s tcplisten_test.go:105: 202. timeout when waiting for response: %!s(<nil>) 245s --- FAIL: TestConfigFastOpen (0.33s) 245s === RUN TestConfigAll 245s tcplisten_test.go:70: cannot create listener 0 using Config &tcplisten.Config{ReusePort:true, DeferAccept:true, FastOpen:true, Backlog:0}: cannot bind to "localhost:10083": address already in use 245s --- FAIL: TestConfigAll (0.00s) 245s === RUN TestConfigBacklog 245s tcplisten_test.go:70: cannot create listener 0 using Config &tcplisten.Config{ReusePort:false, DeferAccept:false, FastOpen:false, Backlog:32}: cannot bind to "localhost:10083": address already in use 245s --- FAIL: TestConfigBacklog (0.11s) 245s FAIL 245s FAIL github.com/valyala/fasthttp/tcplisten 4.147s /Simon