You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\CI\bld\vcs\pygit2>python setup.py test
running test
running build
running build_py
running build_ext
.............E....................................E...........
======================================================================
ERROR: test_read_tree (test.test_index.IndexTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python32\lib\shutil.py", line 281, in rmtree
os.remove(fullname)
WindowsError: [Error 5] Access is denied: 'c:\\users\\dreamkxd\\appdata\\local\\temp\\tmpjzh5wp\\testrepo\\.git\\objects\\pack\\pack-e6fbc15b315a0eab6005c44e5b7054b1f0043f39.idx'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\CI\bld\vcs\pygit2\test\utils.py", line 65, in tearDown
rmtree(self._temp_dir)
File "D:\CI\bld\vcs\pygit2\test\utils.py", line 54, in rmtree
shutil.rmtree(path, onerror=lambda func, path, e: force_rm_handle(func, path, e))
File "C:\Python32\lib\shutil.py", line 278, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python32\lib\shutil.py", line 278, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python32\lib\shutil.py", line 278, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python32\lib\shutil.py", line 278, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python32\lib\shutil.py", line 283, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "D:\CI\bld\vcs\pygit2\test\utils.py", line 54, in <lambda>
shutil.rmtree(path, onerror=lambda func, path, e: force_rm_handle(func, path, e))
File "D:\CI\bld\vcs\pygit2\test\utils.py", line 47, in force_rm_handle
remove_path(path)
WindowsError: [Error 5] Access is denied: 'c:\\users\\dreamkxd\\appdata\\local\\temp\\tmpjzh5wp\\testrepo\\.git\\objects\\pack\\pack-e6fbc15b315a0eab6005c44e5b7054b1f0043f39.idx'
======================================================================
ERROR: test_new_tag (test.test_tag.TagTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\CI\bld\vcs\pygit2\test\test_tag.py", line 70, in test_new_tag
tagger, message)
pygit2.GitError: af431: Failed to create tag
- Failed to retrieve tag reference
- Failed to lookup reference
- Failed to lookup reference
- Failed to lookup reference from packfile
- Failed to load packed references
- Failed to parse OID of packed reference
- Failed to lookup loose reference
----------------------------------------------------------------------
Ran 62 tests in 5.182s
FAILED (errors=2)
D:\CI\bld\vcs\pygit2>
The text was updated successfully, but these errors were encountered:
@jdavid
I can be sure now, that ERROR: test_read_tree (test.test_index.IndexTest)
is because the problem pygit2. there is circular references betweeen Repository and Index.
so remove the reference, the problem is resolved. Please check it carefully!. You reject it before.
Updated test result:
The text was updated successfully, but these errors were encountered: