Unblock Linux CI: source cmocka and libuuid from reachable mirrors (gitlab/sourceforge blocked)#3526
Merged
Merged
Conversation
…ents) 1ES build agents permanently block gitlab.com, so the upstream vcpkg cmocka port (vcpkg_from_gitlab) fails with curl error 7 and the Linux unit-test job cannot build (Azure#3464). Add an overlay port that fetches the same cmocka 2.0.2 release from the official https://cmocka.org file server, registered via vcpkg-configuration.json overlay-ports. Short-term unblock; durable fix is vcpkg + Terrapin asset caching.
…ocked on agents) After the cmocka overlay let cmocka build, the Linux jobs now fail downloading libuuid (a transitive dep of paho-mqtt and curl, both in the root vcpkg.json) from sourceforge.net, which 1ES agents also block (curl error 7). Add an overlay port that fetches the identical libuuid 1.0.3 tarball (same SHA512 as upstream) from distfiles.macports.org. Short-term unblock; durable fix is vcpkg + Terrapin / asset-cache population. Refs Azure#3464.
The 'Validate Characters are ASCII' step (code-cov job only) was failing on pre-existing non-ASCII characters (em dashes) in .github/skills/*.md, which are repo tooling/skill markdown synced from azure-sdk-tools, not shippable SDK source. The failure was previously masked because the code-cov job died earlier at the cmocka/gitlab download. Exclude .github like the already-excluded eng/docs/tools dirs. Refs Azure#3464.
This was referenced Jun 26, 2026
xirzec
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Linux CI is broken because vcpkg downloads two dependencies from hosts that 1ES build agents permanently block, failing with
curl error code 7 (Couldn't connect to server):gitlab.com(the upstream port usesvcpkg_from_gitlab). This is the root blocker reported in Unit test job cannot download cmocka due to gitlab.com block on build agents #3464.sourceforge.net(the upstream port usesvcpkg_from_sourceforge).libuuidis a transitive dependency ofpaho-mqttandcurl, both declared in the rootvcpkg.json, so every Linux job needs it. This block was previously hidden behind the cmocka failure.Fixes #3464.
What changed
eng/vcpkg-overlay-ports/cmocka/— overlay port that downloads the same cmocka 2.0.2 release from the officialhttps://cmocka.orgfile server instead of gitlab.com.eng/vcpkg-overlay-ports/libuuid/— overlay port that downloads the identical libuuid 1.0.3 tarball (sameSHA512as the upstream port) from the MacPorts distfiles mirror instead of sourceforge.net. The port's auxiliary files (CMakeLists.txt,config.linux.h, config.in) are copied verbatim from upstream; only the download source changed.vcpkg-configuration.json(repo root) — registerseng/vcpkg-overlay-portsas anoverlay-portssource so manifest-mode installs pick up the two ports above automatically.eng/pipelines/templates/steps/ci.test.yml— theValidate Characters are ASCIIstep (code-coverage job only) was failing on pre-existing non-ASCII characters (em dashes) in.github/skills/*.md. Those files are repo tooling/skill markdown synced from azure-sdk-tools, not shippable SDK source. The failure only surfaced now because the job previously died at the cmocka download. Added.githubto the grep--exclude-dirlist, alongside the already-excludedeng/docs/tools.Notes for reviewers
cgmanifest.jsonis intentionally untouched.