Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.1.30 & 3.1.31: failing tests #1557

Closed
dvzrv opened this issue Mar 2, 2023 · 1 comment · Fixed by #1648
Closed

3.1.30 & 3.1.31: failing tests #1557

dvzrv opened this issue Mar 2, 2023 · 1 comment · Fixed by #1648

Comments

@dvzrv
Copy link

dvzrv commented Mar 2, 2023

Hi! Since 3.1.30 there are few failing tests:

FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_correctness
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_loose_correctness
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_pack_random_access
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack_streaming.py::TestPackStreamingPerformance::test_pack_writing
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack_streaming.py::TestPackStreamingPerformance::test_stream_reading
FAILED ../../../../dev/test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit
FAILED ../../../../dev/test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules
==== 7 failed, 453 passed, 42 skipped, 20 deselected, 6 warnings in 47.15s =====

python-gitpython-3.1.31-1-x86_64-build.log
python-gitpython-3.1.31-1-x86_64-check.log

archlinux-github pushed a commit to archlinux/svntogit-community that referenced this issue Mar 2, 2023
Deselect all broken tests: gitpython-developers/GitPython#1557

git-svn-id: file:///srv/repos/svn-community/svn@1408018 9fca08f4-af9d-4005-b8df-a31f2cc04f65
archlinux-github pushed a commit to archlinux/svntogit-community that referenced this issue Mar 2, 2023
Deselect all broken tests: gitpython-developers/GitPython#1557

git-svn-id: file:///srv/repos/svn-community/svn@1408018 9fca08f4-af9d-4005-b8df-a31f2cc04f65
@Byron
Copy link
Member

Byron commented Mar 4, 2023

The first cause I found was transport 'file' not allowed. Unfortunately the test-suite isn't yet able to configure itself accordingly even though it would be possible by setting a few environment variables. Thus it's necessary to set the configuration similar to how it's done on CI.

The reason for this occurring now should be a more recent git executable, at least that's what seems to make most sense here.

For those seeing this, the issue could be fixed by setting the configuration variables linked above for the whole process before the test-suite launches by setting these environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants