Skip to content

tests: ci_retry.sh behaviour tests Linux-only (Fixes #5145) - #5148

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5145-20261014T1823Z
Oct 14, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5145-20261014T1823Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #5145 (Windows half).

Root cause: #5111's tests/tools/test_ci_retry.py runs bash ci_retry.sh with #!/bin/sh fakes and PATH=/usr/bin:/bin. On Windows runners bash is the WSL launcher (UTF-16 output), so the behaviour tests failed (4-5 across the three Windows 3.10 parts). The script only runs on ubuntu workflow runners.

Change: Linux-only skipif on the five bash-running tests, as test_box_tools.py does. The workflow-site text test still runs everywhere. Class sweep: no other tests/ test runs a .sh via bash on the host (the rest run in Docker or are text matches).

Cross-repo / companions: the other half of #5145, test_det_sweep_balance.py (stale merge_sweeps expectation after #5113), is #5143's; this PR does not touch it. The Full Suite Gate stays red until both land.

Not covered: the ubuntu and macOS/Windows 3.12 legs were cancelled at the 30 min limit, so they may hide more failures. Re-run the gate on this branch.

Gates: pr_gates --fast 6/6 pass; --ratchets 7 pass, 0 skipped.

🤖 Generated with Claude Code

…s runners) (Fixes #5145)

#5111's tests run bash ci_retry.sh with sh fakes and PATH=/usr/bin:/bin; on a
Windows runner bash is the WSL launcher, so 4-5 tests failed in the Full Suite
Gate. Skip them off Linux like test_box_tools.py; the workflow-site text test
still runs everywhere. The test_det_sweep_balance half of #5145 is #5143's.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 14, 2026 18:31
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 18:44
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5148 @ b8f0d3c: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38615931680/job/116047835210
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Hosted Compute Agent
Version: 20261002.596
Commit: c3d12f3313a95f25162a1503be624f3b0617f8c0
Build Date: 2026-10-02T22:28:27Z
Worker ID: {09999143-49a3-402c-ade3-857f0630e2ca}
Region: eastus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261004.327.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261004.327/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261004.327
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && test "$SKIP" = "true"; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP: false
##[endgroup]
full-suite parts: failure (tested-tree skip: false)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38615931680/job/116034036039
repro: python -m pytest -q tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
failing tests: tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
errors:
fail-on-cache-miss: false
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
##[error]Process completed with exit code 1.
log tail:
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_class_start_invalid[//SYSIN DD \n//FAKE JOB 1\n/] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid["fn (a: i32, b: i32)"] - Known limitation: No block shielding for args inside strings
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid[// fn (a: i32, b: i32)] - Known limitation: No block shielding for args inside comments
XPASS tests/extraction/languages/test_jcl.py::test_jcl_args_valid["//STEP1 EXEC PGM=PROG,PARM='THIS STRI"...len102-1d86da8b-"'THIS STRING CONTINUES "...len72-7c3fedb5] - Known limitation: Engine cannot parse JCL line con
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid[//DD DATA \n INCLUDE MEMBER=NOPE \n/*] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid['//STEP1 EXEC PGM=PROG1 THIS COMMENT CO'...len69-d3e393cd] - Known limitation: Inline comments aren't stripped before dependency capture
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
1 failed, 9728 passed, 22 skipped, 8 xfailed, 3 xpassed, 2 warnings in 1028.97s (0:17:08)
##[error]Process completed with exit code 1.
##[group]Run python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/678ec1b5-f2f3-4ca6-8a3e-ef9f5ce95032' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit aa90f7e into main Oct 14, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the churn/5145-20261014T1823Z branch October 14, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main is red: Full Suite Gate (All OS x Python)

1 participant