https://ci-builds.apache.org/job/Allura/job/Allura-py3.7/34/testReport/ has a lot of git failures and this message on some of them I think is the root issue
Cmd('git') failed due to: exit code(128) cmdline: git archive --format=zip --prefix=test-src-git-HEAD/ HEAD stderr: 'fatal: unsafe repository ('/allura/ForgeGit/forgegit/tests/data/testgit.git' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /allura/ForgeGit/forgegit/tests/data/testgit.git'
I suspect this is running on the very latest git
version which fixes a security vulnerability related to directory ownership.
Locally (mac), I upgraded git to latest and ForgeGit tests still pass. Maybe filesystem permissions are a little different on the Apache jenkins servers.
I'm still not sure exactly what broke it -- but the solution seemed to be to chown the entire /allura directory as part of the jenkins run.
my changes are on: dw/8427