[PKG-Openstack-devel] Bug#841631: bandit: FTBFS: Tests failures

Lucas Nussbaum lucas at debian.org
Fri Oct 21 13:09:43 UTC 2016

Source: bandit
Version: 1.1.0-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161021 qa-ftbfs
Justification: FTBFS on amd64


During a rebuild of all packages in sid, your package failed to build on

Relevant part (hopefully):
> ----------------------------------------------------------------------
> _StringException: Traceback (most recent call last):
>   File "tests/unit/cli/test_baseline.py", line 146, in test_main_git_command_failure
>     mock_git_repo_commit.side_effect = git.exc.GitCommandError('', '')
>   File "/usr/lib/python2.7/dist-packages/git/exc.py", line 74, in __init__
>     super(GitCommandError, self).__init__(command, status, stderr, stdout)
>   File "/usr/lib/python2.7/dist-packages/git/exc.py", line 51, in __init__
>     self._cmd = safe_decode(command[0])
> IndexError: list index out of range
> ----------------------------------------------------------------------
> Ran 211 tests in 2.251s
> FAILED (failures=2)
> debian/rules:18: recipe for target 'override_dh_auto_test' failed

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

More information about the Openstack-devel mailing list