Skip to content

major test failures #673

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

Closed
0-wiz-0 opened this issue Sep 29, 2017 · 7 comments
Closed

major test failures #673

0-wiz-0 opened this issue Sep 29, 2017 · 7 comments

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Sep 29, 2017

When running the self tests for Gitpython-2.1.7 on NetBSD with python-3.6.2, ddt-1.1.1, mock-2.0.0, nose-1.3.7, smmap2-2.0.3, gitdb2-2.0.3 and git-2.14.2, not a single test succeeds:

gitdb2 has a number of test failures as well, see gitpython-developers/gitdb#42, but not on that scale.

# /usr/pkg/bin/python3.6  setup.py  test
/usr/pkg/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_requirements'
  warnings.warn(msg)
running test
running egg_info
writing GitPython.egg-info/PKG-INFO
writing dependency_links to GitPython.egg-info/dependency_links.txt
writing requirements to GitPython.egg-info/requires.txt
writing top-level names to GitPython.egg-info/top_level.txt
reading manifest file 'GitPython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README'
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'GitPython.egg-info/SOURCES.txt'
running build_ext
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
test_base (git.test.test_config.TestBase) ... ok
test_complex_aliases (git.test.test_config.TestBase) ... ok
test_config_include (git.test.test_config.TestBase) ... ok
test_empty_config_value (git.test.test_config.TestBase) ... ok
test_lock_reentry (git.test.test_config.TestBase) ... ok
test_multi_line_config (git.test.test_config.TestBase) ... ok
test_read_write (git.test.test_config.TestBase) ... ok
test_rename (git.test.test_config.TestBase) ... ok
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
test_base (git.test.test_config.TestBase) ... ok
test_complex_aliases (git.test.test_config.TestBase) ... ok
test_config_include (git.test.test_config.TestBase) ... ok
test_empty_config_value (git.test.test_config.TestBase) ... ok
test_lock_reentry (git.test.test_config.TestBase) ... ok
test_multi_line_config (git.test.test_config.TestBase) ... ok
test_read_write (git.test.test_config.TestBase) ... ok
test_rename (git.test.test_config.TestBase) ... ok
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
test_base (git.test.test_config.TestBase) ... ok
test_complex_aliases (git.test.test_config.TestBase) ... ok
test_config_include (git.test.test_config.TestBase) ... ok
test_empty_config_value (git.test.test_config.TestBase) ... ok
test_lock_reentry (git.test.test_config.TestBase) ... ok
test_multi_line_config (git.test.test_config.TestBase) ... ok
test_read_write (git.test.test_config.TestBase) ... ok
test_rename (git.test.test_config.TestBase) ... ok
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR

======================================================================
ERROR: setUpClass (git.test.test_stats.TestStats)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_tree.TestTree)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_submodule.TestSubmodule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_db.TestDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_docs.Tutorials)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_git.TestGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/test_git.py", line 45, in setUpClass
    super(TestGit, cls).setUpClass()
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_fun.TestFun)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_util.TestUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_diff.TestDiff)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_refs.TestRefs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_repo.TestRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_reflog.TestRefLog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_index.TestIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_remote.TestRemote)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_streams.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_odb.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_commit.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_exc.TExc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_blob.TestBlob)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_base.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_commit.TestCommit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_stats.TestStats)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_tree.TestTree)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_submodule.TestSubmodule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_db.TestDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_docs.Tutorials)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_git.TestGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/test_git.py", line 45, in setUpClass
    super(TestGit, cls).setUpClass()
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_fun.TestFun)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_util.TestUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_diff.TestDiff)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_refs.TestRefs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_repo.TestRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_reflog.TestRefLog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_index.TestIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_remote.TestRemote)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_streams.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_odb.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_commit.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_exc.TExc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_blob.TestBlob)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_base.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_commit.TestCommit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_streams.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_odb.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_commit.TestPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_odb.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.performance.test_streams.TestObjDBPerformance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_base.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_blob.TestBlob)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_commit.TestCommit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_db.TestDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_diff.TestDiff)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_docs.Tutorials)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_exc.TExc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_fun.TestFun)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_git.TestGit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/test_git.py", line 45, in setUpClass
    super(TestGit, cls).setUpClass()
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_index.TestIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_reflog.TestRefLog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_refs.TestRefs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_remote.TestRemote)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_repo.TestRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_stats.TestStats)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_submodule.TestSubmodule)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_tree.TestTree)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

======================================================================
ERROR: setUpClass (git.test.test_util.TestUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ".../GitPython-2.1.7/git/test/lib/helper.py", line 366, in setUpClass
    cls.rorepo = Repo(GIT_REPO)
  File ".../GitPython-2.1.7/git/repo/base.py", line 167, in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: .../GitPython-2.1.7

----------------------------------------------------------------------
Ran 24 tests in 0.493s

FAILED (errors=65)
Test failed: <unittest.runner.TextTestResult run=24 errors=65 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=24 errors=65 failures=0>
*** Error code 1
@Byron
Copy link
Member

Byron commented Sep 29, 2017

It looks like it has something to do with the checkout on your machine, as it works fine on travis for example.
Can you provide a script that allows reproducing the issue?

@0-wiz-0
Copy link
Author

0-wiz-0 commented Sep 29, 2017

I'm building using the pypi distfile with a simple python setup.py build.

@Byron
Copy link
Member

Byron commented Sep 29, 2017

I think in order to reproduce your local checkout, you would have to provide a script to clone this repository, probably along with the 'git' version used. The path it tries to use to access its own repository seems funny, and is probably the cause for this failure. Probably the tests are not made to be run under these conditions, possibly it's something that you can fix and provide a patch for?

@0-wiz-0
Copy link
Author

0-wiz-0 commented Sep 29, 2017

Perhaps I am misunderstanding something, but I do not provide or clone a repository. I just do the following:

wget https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-2.1.7.tar.gz
tar xzf GitPython-2.1.7.tar.gz
cd GitPython-2.1.7
python3.6 setup.py   build
python3.6 setup.py   test

and then I already see the errors cited before.

@Byron
Copy link
Member

Byron commented Sep 29, 2017

I think it doesn't work because the source is not a git repository, which the tests expect. They perform read-only operations on the developers checkout.
Also I don't think anything can be done to make this work.

@0-wiz-0
Copy link
Author

0-wiz-0 commented Sep 29, 2017

Ok, I understand. It would be good to disable the test target for the pypi tarball in some way then.

(I think it would be possible to have a tarball with a repository as content for use in tests, instead of testing on the software's repository itself.)

@Byron Byron mentioned this issue Sep 29, 2017
@Byron
Copy link
Member

Byron commented Sep 30, 2017

I am closing this issue as tests won't work without the GitPython git repository. See the related issue for another way to do this.

@Byron Byron closed this as completed Sep 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants