Repository navigation
ci: Mark the Tier 2 source git-safe in the job container - #1030
Merged
Merged
Conversation
Since #967 Tier 2 Linux runs in a stock ubuntu:26.04 job container, where git runs as root on a checkout owned by the runner user. CMake then couldn't read the version tag ('dubious ownership') and Tier 2 failed in both modes on master. validate.sh now adds safe.directory for $SRC in every harness. Also removes the temporary group-test diagnostic #967 carried onto master.
This was referenced Oct 16, 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.
Fixes #1019.
Master push run 38865051665 (the first with #967's stock
ubuntu:26.04job container) failed Tier 2 Linux in both modes within a second of validation:git runs as root in the container on a checkout owned by the runner user, and
validate.shaddedsafe.directoryonly on the Docker-harness path.validate.sh:git config --global --add safe.directory "$SRC"in every harness.Diagnose Group Testsstep ci: Run Tier 2 Linux natively on the runner #967 carried onto master.RED 46c39b4, GREEN a022a94;
ci/suite green.Local repro (Tier 2 image, root, a checkout owned by another user):
git describegivesfatal: detected dubious ownershipwithout the setting andobs-studio-rust-v0.1.0-beta.20261014-177-g294277aacwith it.The container setup itself worked on master: packages 55–59 s, soldr 28–30 s.