Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18137
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 169 PendingAs of commit d794091 with merge base 96aeb57 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
6f1e6b1 to
2e5375d
Compare
There was a problem hiding this comment.
Pull request overview
Updates Windows CI workflows to avoid Git’s Schannel TLS backend issues by switching Git to the OpenSSL backend before initializing submodules, ensuring submodule checkout succeeds on affected Windows runners.
Changes:
- Stop relying on the reusable
windows_job.ymlworkflow’ssubmodules: recursiveoption for Windows jobs. - Add
git config --global http.sslBackend opensslfollowed bygit submodule update --init --recursiveat the start of affected Windows job scripts. - Apply the same pattern across key Windows workflows (MSVC build, trunk Windows model tests, CUDA Windows E2E, build presets, and Windows unittest job).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/windows-msvc.yml | Configures Git SSL backend and manually initializes submodules before MSVC build setup. |
| .github/workflows/trunk.yml | Same Git SSL/submodule init adjustment for the Windows models test job. |
| .github/workflows/cuda-windows.yml | Same Git SSL/submodule init adjustment for CUDA Windows E2E job. |
| .github/workflows/build-presets.yml | Same Git SSL/submodule init adjustment for Windows preset builds. |
| .github/workflows/_unittest.yml | Same Git SSL/submodule init adjustment for Windows unittests job. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This is a temp fix. Ask git to not use schannel and do `git submodule update --init --recursive` manually in the job.
2e5375d to
d794091
Compare
|
@pytorchbot cherry-pick --onto release/1.2 -c critical |
Fix for windows build failures, ``` Error: fatal: unable to access 'https://git.gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-core-driver.git/': schannel: next InitializeSecurityContext failed: SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal SSL/TLS alert is received (e.g. handshake failed). More detail may be available in the Windows System event log. ``` (cherry picked from commit 0c28e7b)
Cherry picking #18137The cherry pick PR is at #18157 and it is recommended to link a critical cherry pick PR with an issue. Details for Dev Infra teamRaised by workflow job |
Fix for windows build failures,