Repository navigation
tests: fix two Windows-only failures in Full Suite Gate (#5091) - #5108
Conversation
…java output in _cics_task (#5091) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5108 @ 27906f2: 2 failed check(s) == full-suite-matrix (macos-latest, 3.10, 2, 2, 22) (failure) -- real == full-suite-matrix (windows-latest, 3.10, 2, 3, true, 25) (failure) -- main |
… forbids errors=replace) (#5091) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
…5109) (#5127) Adopt PR #5108 pattern (javac -encoding UTF-8, java -Dfile.encoding=UTF-8 -Dstdout.encoding=UTF-8, capture bytes and decode as UTF-8) in test_cobol_compare.py, test_facade_layout_4449.py, test_time_zones.py, and test_floating_insertion.py to prevent reader thread failures on Windows. Add tests/cobol_mainframe/test_java_subprocess_utf8.py to verify test helpers specify UTF-8 encoding flags and round-trip UTF-8 characters including the not-sign.
Fixes #5091 (Full Suite Gate, run 38514106566: two windows-latest 3.10 shards failed; the 4 cancelled jobs hit the time limit and say nothing).
Root causes
test_a_re_proof_names_the_port_it_proved(PCIMMA):tree_sha256sortedPathobjects, which Windows orders case-insensitively (cobolrt/cics/DetCics.javabeforecobolrt/Cobol.java), so the hash differed from the Linux-recorded one. Now sorted by case-sensitive path parts (identical to the old POSIX order, so recorded hashes stay valid).test_cics_task_refuses_..._container_names[A\254B](3 params):_cics_taskran java withtext=True; the not sign in the output failed to decode with the Windows locale charset inside the reader thread, leavingstdoutas None. Now javac/java run UTF-8 and the bytes are decoded explicitly.Class table
crucible_port_provenance.tree_sha256equivalence_cache.engine_hash(same Path-sort mechanism)_cics_taskjava/javac encodingVerification
Local: 47 selected tests pass;
pr_gates.py --fast6/6,--ratchets7/7. No golden impact. Windows can't run locally: the Windows 3.10 shards need a re-run of the gate workflow on this branch.Cross-repo
None.
🤖 Generated with Claude Code