Repository navigation
test(golden): close the keepalive and netem flakes; a one-way sequence flow, checked exactly - #350
Merged
Merged
Conversation
…equence flow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ht at a poll Go's default 15 s keepalive sent a probe on idle sockets; a poll that caught it before its ACK saw idiag_retrans 1 and tcp_info_probes 1, and the diff flagged an idle golden-cc connection. The keepalive timer still shows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y bulk transfer With a discarding server every frame the client sends is data, so a dropped frame is always a segment TCP retransmits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the drops The seq server discards and the client reads no echo; seq_retrans now requires total_retrans == ERNIC_SEQ_DROPS, and seq_server_no_retrans the server's 0. The wait requires the client's 4 MiB acknowledged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s; bulk clients wait 30 s to connect netem_retrans_a/b require xtcp2's sum of total_retrans to equal each namespace's TcpRetransSegs, and netem_kernel_agrees each client's total_retrans to equal ss's. loss_seen's detail adds ss's per-client retransmits, ECN flags and segs_out, and nstat's counters. A dropped SYN with the 1 s dial timeout closed a socket and lost its counters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…trips spaces Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ted (red) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The discarding server's read pace decides whether its window ever held the sender back: nonzero in two of four captures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…palive probes as drops, one-way sequence flow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g failure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A SYN netem drops is resent without ECE/CWR while tcp_ecn_fallback is set (net/ipv4/tcp_output.c:3698-3705), and dctcp then falls back to dctcp-reno (net/ipv4/tcp_dctcp.c:112-115): one capture in twenty. Turn the fallback off in golden-bulk-a and add row bulk_dctcp_ecn. loss_seen now prints each client's and server's RTT and netem's sent count, to show whether a flow without retransmits went through netem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ne investigable Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round 3 of the rocm-ernic verification (design): closes the keepalive flake, adds exact netem rows (the
loss_seenflake stays open, 1 in 20) and makes the sequence flow exact.-keepalive 1h, so no probe is in flight at a poll (a probe setsicsk_probes_out, which inet_diag reports asidiag_retrans). It also explains the old fixture's nonzerosk_mem_info_dropson idle rows: the peer drops each probe as an old sequence (tcp_input.c:4890, 5345). Fixture recaptured.netem_retrans_a/_b(xtcp2's sum oftotal_retrans== the namespace'sTcpRetransSegs) andnetem_kernel_agrees(each client ==ss). Exact in all 20 captures. Bulk clients use-dialTimeout 30s.loss_seenrecurred once in 20: the kernel agreed (0 retransmits), so the flow saw no loss, apparently bypassing netem; cause not found, TODO. The row now prints RTT per client and server, plus netem's sent count, for next time.tcp_ecn_fallback=0; new rowbulk_dctcp_ecn.tcp_server -discardandtcp_client -bulkOneWay.seq_retransnow requires exactly 12 retransmits for the 12 drops; newseq_server_no_retrans.DefaultFaultNetns. Onlytcp_info_rwnd_limitedvaried there (it follows the discarding reader's pace), so it is the one column in the newDefaultSeqNetnsexemption.-discard,-bulkOneWayand the diff exemptions.seq_retranswas 12 in every one; the other two are theloss_seenand dctcp cases above.xtcp2-golden diffwas clean except the dctcp case. A capture with the ECN fix passed all 53 rows.checks.vm-allpasses. Of the nix checks, onlydeadnixandgo-secfail, and they fail on main too.🤖 Generated with Claude Code