Skip to content

test: make abstract socket names unique per process#275

Merged
mvandeberg merged 1 commit into
cppalliance:developfrom
mvandeberg:fix/abstract-socket-parallel-test-collision
Jun 11, 2026
Merged

test: make abstract socket names unique per process#275
mvandeberg merged 1 commit into
cppalliance:developfrom
mvandeberg:fix/abstract-socket-parallel-test-collision

Conversation

@mvandeberg

Copy link
Copy Markdown
Contributor

The .epoll/.select/.io_uring suites run as concurrent processes under ctest --parallel. testAbstractSocket() bound fixed abstract-namespace names, which are global per netns, so the processes raced to bind the same name and the loser got EADDRINUSE -- an intermittent CI failure on PRs that changed no code. Append getpid() to make each process's names unique.

The .epoll/.select/.io_uring suites run as concurrent processes under
`ctest --parallel`. testAbstractSocket() bound fixed abstract-namespace
names, which are global per netns, so the processes raced to bind the
same name and the loser got EADDRINUSE -- an intermittent CI failure on
PRs that changed no code. Append getpid() to make each process's names
unique.
@cppalliance-bot

Copy link
Copy Markdown

An automated preview of the documentation is available at https://275.corosio.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-06-11 18:12:06 UTC

@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.73%. Comparing base (a0d0d1c) to head (989a371).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #275   +/-   ##
========================================
  Coverage    77.73%   77.73%           
========================================
  Files           96       96           
  Lines         7234     7234           
  Branches      1764     1764           
========================================
  Hits          5623     5623           
  Misses        1102     1102           
  Partials       509      509           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0d0d1c...989a371. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cppalliance-bot

Copy link
Copy Markdown

GCOVR code coverage report https://275.corosio.prtest3.cppalliance.org/gcovr/index.html
LCOV code coverage report https://275.corosio.prtest3.cppalliance.org/genhtml/index.html
Coverage Diff Report https://275.corosio.prtest3.cppalliance.org/diff-report/index.html

Build time: 2026-06-11 18:31:07 UTC

@mvandeberg mvandeberg merged commit 22d9d0e into cppalliance:develop Jun 11, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants