Repository navigation
ci(unit-tests): widen the apt bounds so a slow mirror still installs tshark - #1309
Conversation
|
Cross-review verdict on
|
a3c42f2 to
e2b4ed3
Compare
|
Round-2 verdict on My measurement. Every
So the comment's "451 samples … max 160-167s, p99 ~135s" understates the sample count about threefold and the max by 43s. The change: replace the figures with measured ones and say what they measure (whole-step wall time, both attempts included — not per-attempt, which step timings cannot give). The bounds, the caps and the test are fine as they stand. Note the window is ~1.7 days, not 2; |
e2b4ed3 to
c15be12
Compare
|
Correction to my own round-2 figures — they were a lower bound, not a distribution. I owe this before the next revision goes up. My scan paginated Re-running with a closed window and
So the honest statement is that the sample count grew from 2,083 to 5,296 between passes and the max from 210s to 469s, and I cannot show that even the union is complete. Union figures, over What the comment should say. Do not cite a percentile distribution at all — I cannot stand behind one. Cite the per-job measured step times you derived yourself (141s for 112943258387, 155s for 112948578234), which are exact and checkable, and the failure band, with a plainly bounded phrase such as "observed across the runs sampled" rather than "in N samples". A comment that overstates its own evidence is the thing we have been fixing all afternoon. One substantive point the 469s raises. If a single step can reach 469s, the |
…tshark A ~0.5 MB/s Azure mirror overran the 45s update and 90s install bounds (job 112943258387). Raise them to 60s/180s and both apt step caps from 5 to 10 minutes, so two worst-case attempts (480s) fit with 120s spare. Comment line counts are unchanged so doc line citations still resolve. Closes #1306
c15be12 to
7934b77
Compare
|
The 469s I cited is real but does not apply here. Job 111955998031 (
|
|
Round-3 verdict on
The reviewer could not confirm two sentences, so I checked them myself:
|
|
Merging this first would stop the red legs on the other PRs. The #1306 apt stall has now failed the |
make testpasses, and a test case covers the change (tests/project: 389 passed, 1 skipped)What is the purpose of your pull request?
ci— workflows or build toolingDescription of your pull request and other information
Closes #1306. A ~0.5 MB/s mirror overran
apt-get update's 45s bound, thenapt-get install tshark's 90s bound mid-way throughlibwireshark17t64(23.7 MB), in job 112943258387.Both apt steps (
engine-testsandpypcap-parity) change together. The rationale comments are rewritten with the new arithmetic and keep their line counts, so theunit-tests.ymlline citations indocs/still resolve.test_unit_tests_queue.pynow pins the bounds[60, 180]and the 10-minute cap.