• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k8snetworkplumbingwg / multus-cni / 39261649393
55%
master: 55%

Build:
Build:
LAST BUILD BRANCH: dra_new_feature
DEFAULT BRANCH: master
Ran 19 Oct 2026 01:43PM UTC
Jobs 1
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Oct 2026 01:33PM UTC coverage: 54.669% (+0.02%) from 54.645%
39261649393

Pull #1564

github

oshoval
server: don't unlink the socket file on listener close

A unix listener created by net.Listen unlinks its socket path when the
listener is closed. During the 10s graceful-termination delay introduced in
v4.3.1 (SigTermCancelAfter = 10s), an old daemon can still be shutting down
while its successor has already recreated the socket at the same path. When
the old listener finally closes, Go unlinks the path and deletes the
successor's live socket file. The new daemon keeps listening on an orphaned
inode and clients can no longer connect to /run/multus/multus.sock.

Disable the implicit unlink-on-close with SetUnlinkOnClose(false). Startup
cleanup is already handled by FilesystemPreRequirements, which removes the
whole socket directory before every listen, so stale socket files are still
removed before a new listener starts.

Reproduced on a k8s-1.36 kubevirtci cluster with CNAO's "deploy all
components at once" + "deploy all components one by one" spec pair, where the
second deploy starts while the first pod is still terminating. Without the
fix, the successor's socket file is deleted from the node about 6 seconds
after creation and multus-dynamic-networks-controller probes fail with
`curl: (7)` until the spec times out waiting for Available. With the fix,
both specs pass, the socket file remains on the node, and the healthz
endpoint answers 200 from client pods throughout.

Assisted-by: GPT-6
Signed-off-by: Or Shoval <oshoval@redhat.com>
Pull Request #1564: server: don't unlink the socket file on listener close

3009 of 5504 relevant lines covered (54.67%)

7.06 hits per line

Coverage Regressions

Lines Coverage ∆ File
128
49.25
0.26% pkg/server/server.go
Jobs
ID Job ID Ran Files Coverage
1 Go- - 39261649393.1 19 Oct 2026 01:43PM UTC 28
54.67
GitHub Action Run
Source Files on build 39261649393
  • Tree
  • List 28
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1564
  • PR Base - master (#37918340219)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc