Skip to content

ci: gate native protocol 28/29 interop and make the forced-protocol sweep blocking - #8208

Merged
oferchen merged 13 commits into
masterfrom
ci/native-proto28-29-interop
Oct 15, 2026
Merged

oferchen merged 13 commits into
masterfrom
ci/native-proto28-29-interop

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Native old peers. rsync 2.6.3 (protocol 28) and 2.6.9 (protocol 29) are built from gpg-verified tarballs (2.6.3 sha256 added) and run in the scenario matrix and every oracle core cell.
    • The oracle asserts the negotiated protocol off the wire against each release's native version.
    • Pre-2.6.9 daemons get --port and a conf log file: 2.6.3 has no --log-file and ignores the conf port.
    • The RP28.c/d continue-on-error steps are removed, so protocols 28 and 29 now gate.
  • Append cells. --append runs in every oracle shape for peers from 2.6.7 on. The append-grow fixture covers the grow and shorter-than-destination cases.
    • Task 2601 (--append against 2.6.9) is closed as not reproducible: 48/48 oracle cells, plus a scripted repro of 18/18 (6 shapes x native/28/29), all exit 0 with byte-identical trees.
  • Blocking forced-protocol sweep (task 1320). Unexpected results in the protocol 28-32 sweep now fail the job. Known-failure rows stay keyed on the forced protocol.
    • One unexplained failure across 9 sweeps is recorded as flake task 2780: 3.4.4, protocol 28, --inplace, oc push, exit 12, "connection unexpectedly closed". It did not recur in 600 isolated runs or 6 further full sweeps.
  • Failure diagnostics. A failed transfer prints the full client stderr, the last 20 lines of the daemon log, and ss -ltnp for the daemon port.
  • Port fix. Each oc/upstream daemon pair, in both the sweep and standalone legs, gets two distinct ports from one allocator call. Two separate calls could previously return the same port. A test stubs the allocator to a constant and fails on revert, and all 30 allocated ports were confirmed bound in the daemon logs.
  • Checksum-seed pin. The touched-* oracle cells pin --checksum-seed=1 on both sides.
    • A 4 MiB file gets a 2-byte block strong sum (generator.c sum_sizes_sqroot). That gives a seed-dependent false block match about 2.3e-4 of the time, followed by a phase-2 redo. Upstream behaves identically under the same seed.
    • One such redo shifted the stats and touched count, and touched-full failed once on master.
    • A model test proves seed 1 is clean on tb-full and catches a known bad seed (9209).
  • Also: the lsh.sh pick now accepts the lh host (task 379), and the oracle port budget is widened to 3000 per run.

CI wall-clock

The full harness takes 613s on this branch and 651s on master, both with warm caches. The added 2.6.3/2.6.9 and append cells cost no more than noise. Master's run includes the 19 ssh-transfer failures this branch fixes (task 379), so the two numbers are not strictly like-for-like.

Testing

  • tools/ci/run_tools_tests.sh: 313 OK, 6 skipped.
  • xtask no-placeholders: pass.
  • Full run_interop.sh on Linux aarch64: rc 0.
  • 6 clean forced-protocol sweep runs.
  • Touched oracle cells 3x156 PASS.

@github-actions github-actions Bot added the ci label Oct 15, 2026
@oferchen
oferchen merged commit d6046b4 into master Oct 15, 2026
87 checks passed
@oferchen
oferchen deleted the ci/native-proto28-29-interop branch October 15, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant