Skip to content

test: share one SCTP wire harness between the restart runners - #142

Merged
gomaja merged 1 commit into
mainfrom
feat/i131-shared-sctp-harness
Oct 16, 2026
Merged

gomaja merged 1 commit into
mainfrom
feat/i131-shared-sctp-harness

Conversation

@gomaja

@gomaja gomaja commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

The sm, peer and SCTP/TLS restart runners each carried their own copy of
the same machinery, and only the sm runner built the tools image, so the
peer and TLS runners failed on a machine where it had not run first.

scripts/sctp-wire now holds the common part: building or verifying the
tools image, now named sctp-wire-tools; compiling each fixture inside a
container from a read-only copy of the source; the two-container network;
the iptables rule that drops a stale ABORT on the receiver's INPUT;
captures, artifact collection, cleanup and the tshark export. Each runner
keeps its fixture, variants, timings and analyzer next to its package,
builds the image itself when it is missing, and names its runs,
containers, networks and scratch directories neutrally. The image build
keeps its builder state in the run's scratch directory, while the
caller's Docker context and credentials stay in effect. The peer analyzer
now runs on the host's Python 3, like the other two.

All 13 variants pass with their current packet assertions, including the
peer and TLS runners started first on a machine without the image.

Closes #131.


Summary by cubic

Shares the SCTP wire harness between the sm, peer, and SCTP/TLS restart runners so any of them can run first on a machine without the tools image, which previously only the sm runner built.

  • Moves image build/verify, fixture compilation, the two-container network, the ABORT drop rule, captures, artifact collection, cleanup, and tshark export into scripts/sctp-wire/harness.sh.
  • Renames the tools image to sctp-wire-tools:go1.27.2 and lets each runner build it when absent; SCTP_WIRE_IMAGE overrides the tag.
  • Runs the peer analyzer on the host's Python 3, matching the sm and TLS analyzers.

Written for commit 6f70aab. Summary will update on new commits.

View guided diff Turn on auto-fix

The sm, peer and SCTP/TLS restart runners each carried their own copy of
the same machinery, and only the sm runner built the tools image, so the
peer and TLS runners failed on a machine where it had not run first.

scripts/sctp-wire now holds the common part: building or verifying the
tools image, now named sctp-wire-tools; compiling each fixture inside a
container from a read-only copy of the source; the two-container network;
the iptables rule that drops a stale ABORT on the receiver's INPUT;
captures, artifact collection, cleanup and the tshark export. Each runner
keeps its fixture, variants, timings and analyzer next to its package,
builds the image itself when it is missing, and names its runs,
containers, networks and scratch directories neutrally. The image build
keeps its builder state in the run's scratch directory, while the
caller's Docker context and credentials stay in effect. The peer analyzer
now runs on the host's Python 3, like the other two.

All 13 variants pass with their current packet assertions, including the
peer and TLS runners started first on a machine without the image.

Closes #131.
Copilot AI balanced review requested due to automatic review settings October 16, 2026 08:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 35ffa21d-5ca1-4ea1-b4be-0c03f4151a84
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T08:34:13.134415Z 6f70aab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gomaja
gomaja merged commit b87adfc into main Oct 16, 2026
2 checks passed
@gomaja
gomaja deleted the feat/i131-shared-sctp-harness branch October 16, 2026 08:35
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.

test: share one SCTP wire harness between the sm, peer and TLS restart runners

2 participants