---
** [tickets:#8427] Fix tests to work with latest git**
**Status:** open
**Milestone:** unreleased
**Created:** Wed Apr 13, 2022 06:01 PM UTC by Dave Brondsema
**Last Updated:** Wed Apr 13, 2022 06:01 PM UTC
**Owner:** nobody
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.
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.