[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1003077: lesana: autopkgtest failure: No module named 'git'



Source: lesana
Version: 0.9.1-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: fails-always

Dear maintainer(s),

You recently added an autopkgtest to your package lesana, great. However, it fails. Currently this failure is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

I copied some of the output at the bottom of this report. Are you missing a test dependency?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=lesana

https://ci.debian.net/data/autopkgtest/testing/amd64/l/lesana/17975376/log.gz

E......E..........................................
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'git')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName
    module = self.importer.importFromPath(
File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.9/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.9/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/tmp/autopkgtest-lxc.uvne8ina/downtmp/build.wXs/src/tests/test_collection.py", line 9, in <module>
    import git
ModuleNotFoundError: No module named 'git'

======================================================================
ERROR: test_init (tests.test_commands.testCommandsSimple)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.uvne8ina/downtmp/build.wXs/src/tests/test_commands.py", line 66, in test_init
    streams = self._run_command(command.Init(), args)
File "/tmp/autopkgtest-lxc.uvne8ina/downtmp/build.wXs/src/tests/test_commands.py", line 38, in _run_command
    cmd.main()
File "/tmp/autopkgtest-lxc.uvne8ina/downtmp/build.wXs/src/lesana/command.py", line 474, in main
    self.collection_class.init(
File "/tmp/autopkgtest-lxc.uvne8ina/downtmp/build.wXs/src/lesana/collection.py", line 632, in init
    shutil.copy(hook_source, checkout_hook)
  File "/usr/lib/python3.9/shutil.py", line 427, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.9/shutil.py", line 266, in copyfile
    with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp6g7s3i37/.git/hooks/post-checkout'
-------------------- >> begin captured logging << --------------------
lesana.types: DEBUG: Not indexing empty value None
lesana.types: DEBUG: Not indexing empty value None
lesana.types: DEBUG: Not indexing empty value None
lesana.types: DEBUG: Not indexing empty value None
lesana.types: DEBUG: Not indexing empty value None
lesana.types: DEBUG: Not indexing empty value None
lesana.types: DEBUG: Not indexing empty value None
lesana.types: DEBUG: Not indexing empty value None
lesana.collection: WARNING: python3-git not available, could not initalise the git repository.
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 50 tests in 2.623s

FAILED (errors=2)
autopkgtest [21:09:22]: test unittests

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: