Repository navigation
verify: tcp-rx-counters reports lost frames as INCONCLUSIVE - #197
Merged
Merged
Conversation
On 2026-10-21 the harness FAILed three runs in a row, on main as well, then passed four. In every failing run the e1000's own `RX packets` stayed 0 -> 0: the mcast netdev delivered nothing, so no kernel code ran, yet the verdict read as a TCP counter regression. Gate the legs on the `RX packets` delta (the driver's descriptor-harvest count, the lowest layer the guest has). Fewer than the injected 27 means the transport lost frames: exit 2 INCONCLUSIVE. Checked: - main's harness, injector on a dead mcast port: FAIL (rc 1) - new harness, same dead port: INCONCLUSIVE (rc 2) - new harness, unmodified: PASS - new harness, kernel mutant with the validation-1 malformed counter removed: FAIL (rc 1), RX packets 0 -> 27, so the gate doesn't mask a real kernel bug 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.
verify-tcp-rx-counters.shFAILed three times in a row on 2026-10-21, onmainas well, then passed four times without any change. In each failing run the e1000'sRX packetsstayed at 0: the mcast netdev delivered none of the 27 injected frames, so no kernel code was exercised. The verdict still read as a TCP counter regression.This adds a transport gate before the legs. If the
RX packetsdelta (the driver's descriptor-harvest count) is below the number of frames injected, the result is INCONCLUSIVE (exit 2) with a rerun hint. The underlying intermittent mcast loss was not reproducible; host loopback and a QEMUfilter-dumpboth delivered every frame when tested afterwards.main's harness, injector on a dead mcast port (fail-first)net_count_tcp_malformed()removed)The last row shows the gate doesn't hide a real kernel bug. Removing both counter sites trips the harness's existing source guard instead, so the mutant removes only one.
🤖 Generated with Claude Code