Repository navigation
fix(bench): make ingress shaping idempotent - #1904
Merged
Merged
Conversation
The runner image already carries an ingress qdisc, so 'tc qdisc add dev eth0 handle ffff: ingress' aborted with 'Exclusivity flag on, cannot modify' and the step exited 2 before any shaping or probing happened (run 41957845958). Delete any existing ingress qdisc first, then add ours. Also print 'tc qdisc show' so a future failure is diagnosable from the log.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
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.
Run 41957845958 got past the build this time but died in "Shape runner download link to 10 Mbit/s" after ~1s:
Cause: the runner image already ships an ingress qdisc on
eth0, sotc qdisc add dev eth0 handle ffff: ingressrefuses to touch it. The step exited before shaping or the 10 MB probe ever ran, so the measurement was skipped and nothing was published.Fix:
tc qdisc del dev $iface ingress || truefirst, then add ours. Also printtc qdisc show dev $ifaceso the next failure is readable straight from the log.This is the second and hopefully last blocker in front of the actual 10 Mbit cold-install numbers from #1901.