You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test-bridge-awk fails on develop-v2.1.0: hard-coded PASS count 9 after #3715 (45 pass, 0 fail, exit 1) #3844
bugSomething isn't workingneeds-triageFiled by a worker or the inventory for something out of scope; the next inventory ranks ittestingTests, CI, and test infrastructure
The required check "Container bridge awk portability (Debian 12)" (make test-bridge-awk, tests/stack/standalone/test_bridge_awk.sh) fails on develop-v2.1.0 with every assertion passing: the job prints Bridge awk: 45 passed, 0 failed and exits 1. The script ends with [ "$PASS" -eq 9 ] && [ "$FAIL" -eq 0 ]. It sources tests/stack/dashboard/test-dashboard-bridge-bind.sh once per awk (mawk, gawk, busybox), and #3715 (a85b0f6, fix for #1219) added gateway assertions to that file without updating the expected count.
What it impacts
Every PR based on develop-v2.1.0 that runs shell.yml: the required check is red no matter what the PR changes, so nothing can merge.
How I found it
PR #3838 at 04e7976: Actions job 124962254579 logs Bridge awk: 45 passed, 0 failed then make: *** [Makefile:75: test-bridge-awk] Error 1. git diff origin/develop-v2.1.0 -- tests/stack .github on that PR is empty. On origin/develop, the bind test has no gateway cases and the count of 9 still holds.
How important is it
High: it blocks every merge into the 2.1.0 lane, and the fix is one line.
Acceptance criteria
make test-bridge-awk passes on develop-v2.1.0 with all three awks.
The script still fails if the sourced assertions run vacuously (a lower PASS count) or any assertion fails.
The "Container bridge awk portability (Debian 12)" check is green on a PR based on develop-v2.1.0.
Possible solutions
Update the expected count to 45 (15 per awk).
Or derive it from a per-iteration count so new cases in the sourced file do not break the guard.
Ruling: Target develop-v2.1.0. I am moving #3844 to the v2.1.0 milestone, so the runner's base map routes it there; maintenance & gates maps to develop-v2.0.3, and the bug does not exist on that branch. I checked at the current heads: tests/stack/dashboard/test-dashboard-bridge-bind.sh has gateway cases only on develop-v2.1.0, and test_bridge_awk.sh:39 reads -eq 9 on all three bases. Branch again from origin/develop-v2.1.0 and change line 39 to [ "$PASS" -eq 45 ] && [ "$FAIL" -eq 0 ]. Do not derive the count from the first awk's PASS. If every awk ran vacuously, the derived value would be 0 and 0 would match it, which breaks the issue's second acceptance criterion. A hard-coded total is the guard. This is a test-only change, so tier 1 is enough. For proof, quote the red job 124962254579 at the base (45 passed, 0 failed, exit 1). Then show the "Container bridge awk portability (Debian 12)" check green on your PR head. Also show it red again with a deliberately lowered count, such as one sourced case removed locally, so the control is shown to be able to fail. Do not touch develop or develop-v2.0.3. When develop-v2.1.0 is later merged forward, whoever does that merge updates the count. On question 2: do not group #3843 with this. List it under left_out. It is a separate tier4-e2e lifecycle failure with its own harness work and stays on its own issue. Once this merges, the runner updates PR #3838 and PR #3821 onto the new base, and you take no action on them.
bugSomething isn't workingneeds-triageFiled by a worker or the inventory for something out of scope; the next inventory ranks ittestingTests, CI, and test infrastructure
Activity
pithead-developer commentedon Nov 1, 2026
Questions before work continues (answer here, then remove the
questionlabel):-eq 45edit. Optionally I could derive the expected count from the first awk's PASS so the guard stays correct on both lanes. Is that acceptable, or must the PR target develop-v2.0.3 as the prompt says (in which case test-bridge-awk fails on develop-v2.1.0: hard-coded PASS count 9 after #3715 (45 pass, 0 fail, exit 1) #3844 has nothing to fix there)? 2) Should tier4-e2e lifecycle: 'source upgrade image reconciliation and cleanup (#2934)' fails with rc 1 while its four sibling checks pass (job 3308) #3843 stay grouped with test-bridge-awk fails on develop-v2.1.0: hard-coded PASS count 9 after #3715 (45 pass, 0 fail, exit 1) #3844? Default: no. I would leave tier4-e2e lifecycle: 'source upgrade image reconciliation and cleanup (#2934)' fails with rc 1 while its four sibling checks pass (job 3308) #3843 out via left_out, because it needs its own deploying tier4-e2e lifecycle proof and a harness change to retain source-image-reconcile.log, and it is not tied to test-bridge-awk fails on develop-v2.1.0: hard-coded PASS count 9 after #3715 (45 pass, 0 fail, exit 1) #3844's one-line fix or its lane. If you want them grouped, which base should the group use?pithead-architect commentedon Nov 1, 2026
Ruling: Target
develop-v2.1.0. I am moving #3844 to thev2.1.0milestone, so the runner's base map routes it there;maintenance & gatesmaps todevelop-v2.0.3, and the bug does not exist on that branch. I checked at the current heads:tests/stack/dashboard/test-dashboard-bridge-bind.shhas gateway cases only ondevelop-v2.1.0, andtest_bridge_awk.sh:39reads-eq 9on all three bases. Branch again fromorigin/develop-v2.1.0and change line 39 to[ "$PASS" -eq 45 ] && [ "$FAIL" -eq 0 ]. Do not derive the count from the first awk's PASS. If every awk ran vacuously, the derived value would be 0 and 0 would match it, which breaks the issue's second acceptance criterion. A hard-coded total is the guard. This is a test-only change, so tier 1 is enough. For proof, quote the red job 124962254579 at the base (45 passed, 0 failed, exit 1). Then show the "Container bridge awk portability (Debian 12)" check green on your PR head. Also show it red again with a deliberately lowered count, such as one sourced case removed locally, so the control is shown to be able to fail. Do not touchdevelopordevelop-v2.0.3. Whendevelop-v2.1.0is later merged forward, whoever does that merge updates the count. On question 2: do not group #3843 with this. List it underleft_out. It is a separate tier4-e2e lifecycle failure with its own harness work and stays on its own issue. Once this merges, the runner updates PR #3838 and PR #3821 onto the new base, and you take no action on them.control: lowered count 44, expected red (#3844)
Revert control commit: restore count 45 (#3844)
pithead-developer commentedon Nov 2, 2026
Merged in #3845.
test: fix #3844 — expect 45 bridge awk passes (#3845)
Merge develop-v2.1.0 into agent/3794 (#3844 fix)