Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/b/bandit/bandit_1.6.2-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/bandit-1.6.2-1dp6q04r_/bandit_1.6.2-1_all.buildinfo Get source package info: bandit=1.6.2-1 Source URL: http://snapshot.notset.fr/mr/package/bandit/1.6.2-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.1-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-5 binutils=2.34-3 binutils-common=2.34-3 binutils-x86-64-linux-gnu=2.34-3 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 ca-certificates=20190110 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-29 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.9 debianutils=4.9.1 dh-autoreconf=19 dh-python=4.20191017 dh-strip-nondeterminism=1.6.3-2 diffutils=1:3.7-3 docutils-common=0.16+dfsg-1 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fdisk=2.34-0.1 file=1:5.38-4 findutils=4.7.0-1 flake8=3.7.9-2 g++=4:9.2.1-3.1 g++-9=9.2.1-29 gcc=4:9.2.1-3.1 gcc-10-base=10-20200222-1 gcc-9=9.2.1-29 gcc-9-base=9.2.1-29 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 git=1:2.25.1-1 git-man=1:2.25.1-1 grep=3.4-1 groff-base=1.22.4-4 gzip=1.9-3+b1 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 jq=1.6-1 libacl1=2.2.53-5 libarchive-zip-perl=1.67-1 libasan5=9.2.1-29 libatomic1=10-20200222-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2+b1 libbinutils=2.34-3 libblkid1=2.34-0.1 libbrotli1=1.0.7-6 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-10 libc-dev-bin=2.29-10 libc6=2.29-10 libc6-dev=2.29-10 libcap-ng0=0.7.9-2.1+b1 libcc1-0=10-20200222-1 libcom-err2=1.45.5-2 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.10-10 libcrypt1=1:4.4.10-10 libctf-nobfd0=2.34-3 libctf0=2.34-3 libcurl3-gnutls=7.68.0-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.251 libdebhelper-perl=12.9 libdpkg-perl=1.19.7 libelf1=0.176-1.1 liberror-perl=0.17029-1 libexpat1=2.2.9-1 libfdisk1=2.34-0.1 libffi7=3.3-3 libfile-stripnondeterminism-perl=1.6.3-2 libgcc-9-dev=9.2.1-29 libgcc-s1=10-20200222-1 libgcc1=1:10-20200222-1 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.62.4-2 libgmp10=2:6.2.0+dfsg-3 libgnutls30=3.6.12-2 libgomp1=10-20200222-1 libgpg-error0=1.37-1 libgssapi-krb5-2=1.17-6 libhogweed5=3.5.1+really3.5.1-2 libice6=2:1.0.9-2 libicu63=63.2-2 libidn2-0=2.2.0-2 libisl22=0.22.1-1 libitm1=10-20200222-1 libjq1=1.6-1 libk5crypto3=1.17-6 libkeyutils1=1.6.1-2 libkrb5-3=1.17-6 libkrb5support0=1.17-6 libldap-2.4-2=2.4.49+dfsg-1 libldap-common=2.4.49+dfsg-1 liblsan0=10-20200222-1 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-4 libmagic1=1:5.38-4 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpdec2=2.4.2-2 libmpfr6=4.0.2-1 libncursesw6=6.1+20191019-1 libnettle7=3.5.1+really3.5.1-2 libnghttp2-14=1.40.0-1 libonig5=6.9.4-1 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-12+b1 libperl5.30=5.30.0-9 libpipeline1=1.5.2-2 libpsl5=0.20.2-2 libpython3-stdlib=3.7.5-3 libpython3.7-minimal=3.7.6-1+b1 libpython3.7-stdlib=3.7.6-1+b1 libpython3.8-minimal=3.8.2~rc2-2 libpython3.8-stdlib=3.8.2~rc2-2 libquadmath0=10-20200222-1 libreadline8=8.0-3 librtmp1=2.4+20151223.gitfa8646d.1-2+b1 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.2-2 libselinux1=3.0-1+b1 libsigsegv2=2.12-2 libsm6=2:1.2.3-1 libsmartcols1=2.34-0.1 libsqlite3-0=3.31.1-3 libssh2-1=1.8.0-2.1 libssl1.1=1.1.1d-2 libstdc++-9-dev=9.2.1-29 libstdc++6=10-20200222-1 libsub-override-perl=0.09-2 libsubunit-perl=1.3.0-6 libsystemd0=244.3-1 libtasn1-6=4.16.0-2 libtinfo6=6.1+20191019-1 libtool=2.4.6-13 libtsan0=10-20200222-1 libubsan1=10-20200222-1 libuchardet0=0.0.6-3 libudev1=244.3-1 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libx11-6=2:1.6.8-1 libx11-data=2:1.6.8-1 libxau6=1:1.0.8-1+b2 libxcb1=1.13.1-5 libxdmcp6=1:1.1.2-3 libxext6=2:1.3.3-1+b2 libxml2=2.9.10+dfsg-3 libxmu6=2:1.1.2-2+b3 libxslt1.1=1.1.34-3 libxt6=1:1.1.5-1+b3 libyaml-0-2=0.2.2-1 linux-libc-dev=5.4.19-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.0-2 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.1+20191019-1 ncurses-bin=6.1+20191019-1 openssl=1.1.1d-2 openstack-pkg-tools=108 patch=2.7.6-6 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 po-debconf=1.0.21 pyflakes3=2.1.1-2 pylint=2.4.4-2 python3=3.7.5-3 python3-all=3.7.5-3 python3-appdirs=1.4.3-1 python3-astroid=2.3.3-1 python3-attr=19.3.0-1 python3-blinker=1.4+dfsg1-0.3 python3-bs4=4.8.2-1 python3-certifi=2019.11.28-1 python3-cffi-backend=1.14.0-1 python3-chardet=3.0.4-4 python3-cliff=2.14.1-2 python3-cmd2=0.8.5-2.1 python3-coverage=4.5.2+dfsg.1-4+b1 python3-cryptography=2.8-3 python3-debtcollector=1.22.0-3 python3-decorator=4.3.0-1.1 python3-deprecation=2.0.7-1 python3-distutils=3.8.0-1 python3-docutils=0.16+dfsg-1 python3-dogpile.cache=0.7.1-3 python3-entrypoints=0.3-1 python3-extras=1.0.0-4 python3-fixtures=3.0.0-3 python3-flake8=3.7.9-2 python3-future=0.18.2-1 python3-git=3.0.7-1 python3-gitdb=2.0.6-2 python3-hacking=1.1.0-4 python3-idna=2.6-2 python3-iso8601=0.1.12-1 python3-isort=4.3.4+ds1-2 python3-jmespath=0.9.4-2 python3-json-pointer=1.10-2 python3-jsonpatch=1.23-3 python3-jwt=1.7.1-2 python3-keystoneauth1=3.17.1-3 python3-lazy-object-proxy=1.4.3-1 python3-lib2to3=3.8.0-1 python3-linecache2=1.0.0-3 python3-logilab-common=1.4.3-2 python3-lxml=4.5.0-1 python3-mako=1.1.0+ds1-1 python3-markupsafe=1.1.0-1+b2 python3-mccabe=0.6.1-3 python3-mimeparse=1.6.0-3 python3-minimal=3.7.5-3 python3-mock=3.0.5-1 python3-mox3=0.28.0-2 python3-munch=2.3.2-2 python3-netifaces=0.10.9-0.2 python3-oauthlib=3.1.0-1 python3-openstacksdk=0.35.0-3 python3-os-client-config=1.33.0-2 python3-os-service-types=1.7.0-2 python3-oslotest=1:3.8.0-2 python3-packaging=19.1-2 python3-pbr=5.4.3-2 python3-pep8=1.7.1-9 python3-pkg-resources=44.0.0-1 python3-prettytable=0.7.2-5 python3-pycodestyle=2.5.0-2 python3-pyflakes=2.1.1-2 python3-pyparsing=2.4.6-1 python3-pyperclip=1.7.0-1 python3-requests=2.22.0-2 python3-requestsexceptions=1.4.0-3 python3-roman=2.0.0-3 python3-setuptools=44.0.0-1 python3-six=1.14.0-2 python3-smmap=2.0.5-2 python3-soupsieve=1.9.5+dfsg-1 python3-stestr=2.4.0-2 python3-stevedore=1.31.0-3 python3-subunit=1.3.0-6 python3-testscenarios=0.5.0-3 python3-testtools=2.3.0-7 python3-traceback2=1.4.0-5 python3-unicodecsv=0.14.1-2 python3-unittest2=1.1.0-6.1 python3-urllib3=1.25.8-1 python3-voluptuous=0.11.1-1 python3-wcwidth=0.1.8+dfsg1-3 python3-wrapt=1.11.2-2+b1 python3-yaml=5.3-1 python3.7=3.7.6-1+b1 python3.7-minimal=3.7.6-1+b1 python3.8=3.8.2~rc2-2 python3.8-minimal=3.8.2~rc2-2 readline-common=8.0-3 sed=4.7-1 sensible-utils=0.0.12+nmu1 sgml-base=1.29.1 subunit=1.3.0-6 sysvinit-utils=2.96-2.1 tar=1.30+dfsg-6+b1 util-linux=2.34-0.1 x11-common=1:7.7+20 xclip=0.13-1 xml-core=0.18+nmu1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-1.2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200224T030953Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d bandit=1.6.2-1 && mkdir -p /build/bandit-WWB2En && dpkg-source --no-check -x /*.dsc /build/bandit-WWB2En/bandit-1.6.2 && chown -R builduser:builduser /build/bandit-WWB2En" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/bandit-WWB2En/bandit-1.6.2 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1582631824" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/bandit-WWB2En /tmp/bandit-1.6.2-1dp6q04r_ bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200224T030953Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.rehtJHp4Dy as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.rehtJHp4Dy Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200224T030953Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200224T030953Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (801 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4511 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.29-10) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200224T030953Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.rehtJHp4Dy Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200224T030953Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 21s (1094 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.rehtJHp4Dy I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d bandit=1.6.2-1 && mkdir -p /build/bandit-WWB2En && dpkg-source --no-check -x /*.dsc /build/bandit-WWB2En/bandit-1.6.2 && chown -R builduser:builduser /build/bandit-WWB2En"' exec /tmp/mmdebstrap.rehtJHp4Dy Reading package lists... NOTICE: 'bandit' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/openstack-team/libs/bandit.git Please use: git clone https://salsa.debian.org/openstack-team/libs/bandit.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 446 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main bandit 1.6.2-1 (dsc) [2298 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main bandit 1.6.2-1 (tar) [439 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main bandit 1.6.2-1 (diff) [4412 B] Fetched 446 kB in 0s (1044 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'bandit_1.6.2-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting bandit in /build/bandit-WWB2En/bandit-1.6.2 dpkg-source: info: unpacking bandit_1.6.2.orig.tar.xz dpkg-source: info: unpacking bandit_1.6.2-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/bandit-WWB2En/bandit-1.6.2 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1582631824" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.rehtJHp4Dy dpkg-buildpackage: info: source package bandit dpkg-buildpackage: info: source version 1.6.2-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Thomas Goirand dpkg-source --before-build . dpkg-source: info: using options from bandit-1.6.2/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ --extend-diff-ignore=^[.]gitreview$ fakeroot debian/rules clean make: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=python_distutils --with python3 debian/rules override_dh_auto_clean make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions rm -rf build make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' dh_autoreconf_clean -O--buildsystem=python_distutils dh_clean -O--buildsystem=python_distutils debian/rules build-indep make: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions dh build-indep --buildsystem=python_distutils --with python3 dh_update_autotools_config -i -O--buildsystem=python_distutils dh_autoreconf -i -O--buildsystem=python_distutils dh_auto_configure -i -O--buildsystem=python_distutils dh_auto_configure: warning: Please use the third-party "pybuild" build system instead of python-distutils dh_auto_configure: warning: This feature will be removed in compat 12. debian/rules override_dh_auto_build make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions echo "Do nothing..." Do nothing... make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' debian/rules override_dh_auto_test make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions echo "Do nothing..." Do nothing... make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep make: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions dh binary-indep --buildsystem=python_distutils --with python3 dh_testroot -i -O--buildsystem=python_distutils dh_prep -i -O--buildsystem=python_distutils dh_installdirs -i -O--buildsystem=python_distutils debian/rules override_dh_auto_install make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions for i in 3.8 3.7 ; do \ python3 setup.py install -f --install-layout=deb --root=/build/bandit-WWB2En/bandit-1.6.2/debian/tmp ; \ done running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running build running build_py creating build creating build/lib creating build/lib/bandit creating build/lib/bandit/cli copying bandit/cli/config_generator.py -> build/lib/bandit/cli copying bandit/cli/__init__.py -> build/lib/bandit/cli copying bandit/cli/baseline.py -> build/lib/bandit/cli copying bandit/cli/main.py -> build/lib/bandit/cli creating build/lib/bandit/blacklists copying bandit/blacklists/__init__.py -> build/lib/bandit/blacklists copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists copying bandit/blacklists/utils.py -> build/lib/bandit/blacklists creating build/lib/bandit/formatters copying bandit/formatters/yaml.py -> build/lib/bandit/formatters copying bandit/formatters/__init__.py -> build/lib/bandit/formatters copying bandit/formatters/custom.py -> build/lib/bandit/formatters copying bandit/formatters/csv.py -> build/lib/bandit/formatters copying bandit/formatters/json.py -> build/lib/bandit/formatters copying bandit/formatters/xml.py -> build/lib/bandit/formatters copying bandit/formatters/text.py -> build/lib/bandit/formatters copying bandit/formatters/screen.py -> build/lib/bandit/formatters copying bandit/formatters/utils.py -> build/lib/bandit/formatters copying bandit/formatters/html.py -> build/lib/bandit/formatters copying bandit/__init__.py -> build/lib/bandit copying bandit/__main__.py -> build/lib/bandit creating build/lib/bandit/core copying bandit/core/blacklisting.py -> build/lib/bandit/core copying bandit/core/meta_ast.py -> build/lib/bandit/core copying bandit/core/__init__.py -> build/lib/bandit/core copying bandit/core/test_set.py -> build/lib/bandit/core copying bandit/core/issue.py -> build/lib/bandit/core copying bandit/core/extension_loader.py -> build/lib/bandit/core copying bandit/core/metrics.py -> build/lib/bandit/core copying bandit/core/tester.py -> build/lib/bandit/core copying bandit/core/test_properties.py -> build/lib/bandit/core copying bandit/core/node_visitor.py -> build/lib/bandit/core copying bandit/core/constants.py -> build/lib/bandit/core copying bandit/core/docs_utils.py -> build/lib/bandit/core copying bandit/core/context.py -> build/lib/bandit/core copying bandit/core/utils.py -> build/lib/bandit/core copying bandit/core/manager.py -> build/lib/bandit/core copying bandit/core/config.py -> build/lib/bandit/core creating build/lib/bandit/plugins copying bandit/plugins/hashlib_new_insecure_functions.py -> build/lib/bandit/plugins copying bandit/plugins/exec.py -> build/lib/bandit/plugins copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins copying bandit/plugins/__init__.py -> build/lib/bandit/plugins copying bandit/plugins/django_xss.py -> build/lib/bandit/plugins copying bandit/plugins/crypto_request_no_cert_validation.py -> build/lib/bandit/plugins copying bandit/plugins/injection_wildcard.py -> build/lib/bandit/plugins copying bandit/plugins/insecure_ssl_tls.py -> build/lib/bandit/plugins copying bandit/plugins/try_except_pass.py -> build/lib/bandit/plugins copying bandit/plugins/mako_templates.py -> build/lib/bandit/plugins copying bandit/plugins/general_hardcoded_password.py -> build/lib/bandit/plugins copying bandit/plugins/weak_cryptographic_key.py -> build/lib/bandit/plugins copying bandit/plugins/django_sql_injection.py -> build/lib/bandit/plugins copying bandit/plugins/general_bind_all_interfaces.py -> build/lib/bandit/plugins copying bandit/plugins/app_debug.py -> build/lib/bandit/plugins copying bandit/plugins/ssh_no_host_key_verification.py -> build/lib/bandit/plugins copying bandit/plugins/general_hardcoded_tmp.py -> build/lib/bandit/plugins copying bandit/plugins/asserts.py -> build/lib/bandit/plugins copying bandit/plugins/general_bad_file_permissions.py -> build/lib/bandit/plugins copying bandit/plugins/try_except_continue.py -> build/lib/bandit/plugins copying bandit/plugins/injection_paramiko.py -> build/lib/bandit/plugins copying bandit/plugins/injection_shell.py -> build/lib/bandit/plugins copying bandit/plugins/jinja2_templates.py -> build/lib/bandit/plugins copying bandit/plugins/injection_sql.py -> build/lib/bandit/plugins running egg_info creating bandit.egg-info writing bandit.egg-info/PKG-INFO writing dependency_links to bandit.egg-info/dependency_links.txt writing entry points to bandit.egg-info/entry_points.txt writing requirements to bandit.egg-info/requires.txt writing top-level names to bandit.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file 'bandit.egg-info/SOURCES.txt' warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'bandit.egg-info/SOURCES.txt' running install_lib creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3 creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/imports.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/calls.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/hashlib_new_insecure_functions.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/exec.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/yaml_load.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_xss.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_wildcard.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_pass.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/mako_templates.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_sql_injection.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/app_debug.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/asserts.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_continue.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_paramiko.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_shell.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/jinja2_templates.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_sql.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/yaml.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/custom.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/csv.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/json.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/xml.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/text.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/screen.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/html.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/blacklisting.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/meta_ast.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_set.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/issue.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/extension_loader.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/metrics.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/tester.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_properties.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/node_visitor.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/constants.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/docs_utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/context.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/manager.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/config.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core creating /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/config_generator.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/baseline.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/main.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/__main__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_new_insecure_functions.py to hashlib_new_insecure_functions.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/meta_ast.py to meta_ast.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/tester.py to tester.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_properties.py to test_properties.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/constants.py to constants.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/context.py to context.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-37.pyc running install_egg_info Copying bandit.egg-info to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit-1.6.2.egg-info Skipping SOURCES.txt running install_scripts Installing bandit script to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/bin Installing bandit-baseline script to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/bin Installing bandit-config-generator script to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/bin /usr/lib/python3/dist-packages/pbr/packaging.py:435: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running build running build_py running egg_info writing bandit.egg-info/PKG-INFO writing dependency_links to bandit.egg-info/dependency_links.txt writing entry points to bandit.egg-info/entry_points.txt writing requirements to bandit.egg-info/requires.txt writing top-level names to bandit.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt running install_lib copying build/lib/bandit/blacklists/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/imports.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/calls.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/plugins/hashlib_new_insecure_functions.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/exec.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/yaml_load.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_xss.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_wildcard.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_pass.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/mako_templates.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_sql_injection.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/app_debug.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/asserts.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_continue.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_paramiko.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_shell.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/jinja2_templates.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_sql.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/formatters/yaml.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/custom.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/csv.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/json.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/xml.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/text.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/screen.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/html.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit copying build/lib/bandit/core/blacklisting.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/meta_ast.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_set.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/issue.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/extension_loader.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/metrics.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/tester.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_properties.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/node_visitor.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/constants.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/docs_utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/context.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/utils.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/manager.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/config.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/cli/config_generator.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/__init__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/baseline.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/main.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/__main__.py -> /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_new_insecure_functions.py to hashlib_new_insecure_functions.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/meta_ast.py to meta_ast.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/tester.py to tester.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_properties.py to test_properties.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/constants.py to constants.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/context.py to context.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-37.pyc byte-compiling /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-37.pyc running install_egg_info removing '/build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit-1.6.2.egg-info' (and everything under it) Copying bandit.egg-info to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit-1.6.2.egg-info Skipping SOURCES.txt running install_scripts Installing bandit script to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/bin Installing bandit-baseline script to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/bin Installing bandit-config-generator script to /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/bin /usr/lib/python3/dist-packages/pbr/packaging.py:435: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) PYTHONPATH=/build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages pkgos-dh_auto_test --no-py2 'tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*))' + PKGOS_USE_PY2=yes + PKGOS_USE_PY3=yes + PKGOS_TEST_PARALLEL=yes + PKGOS_TEST_SERIAL=no + PYTHONS=disabled + PYTHON3S=disabled + TEST_PARALLEL_OPT=--parallel + TEST_SERIAL_OPT= + PKGOS_USE_PY2=no + shift + [ no = yes ] + [ yes = yes ] + py3versions -vr + PYTHON3S=3.8 3.7 + [ yes = no ] + [ no = yes ] + [ disabled = disabled ] + continue + [ 3.8 = disabled ] + echo 3.8 + cut -d. -f1 + PYMAJOR=3 + echo ===> Testing with python (python3) ===> Testing with python (python3) + [ 3 = 3 ] + pwd + [ -d /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] + [ -z /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] + [ -e .stestr.conf ] + [ -x /usr/bin/python3-stestr ] + STESTR=stestr + rm -rf .stestr + PYTHON=python3.8 stestr run --parallel --subunit tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*)) + subunit2pyunit tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none ... ok tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok tests.unit.core.test_config.TestInit.test_file_does_not_exist tests.unit.core.test_config.TestInit.test_file_does_not_exist ... Skipping directory (thing), use -r flag to scan contents ok tests.unit.core.test_manager.ManagerTests.test_compare_baseline tests.unit.core.test_manager.ManagerTests.test_compare_baseline ... ok tests.unit.core.test_manager.ManagerTests.test_create_manager tests.unit.core.test_manager.ManagerTests.test_create_manager ... Unable to parse config file /tmp/tmpsa02g4_p or missing [bandit] section ok tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile ... while parsing a flow sequence in "/tmp/tmpmt_x_tmi", line 1, column 3 expected ',' or ']', but got '' in "/tmp/tmpmt_x_tmi", line 1, column 14 ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob ... ok tests.unit.core.test_config.TestInit.test_settings tests.unit.core.test_config.TestInit.test_settings ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_include tests.unit.core.test_manager.ManagerTests.test_discover_files_include ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip ... ok tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches ... ok tests.unit.core.test_config.TestInit.test_yaml_invalid tests.unit.core.test_config.TestInit.test_yaml_invalid ... ok tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir ... ok tests.unit.core.test_manager.ManagerTests.test_is_file_included tests.unit.core.test_manager.ManagerTests.test_is_file_included ... ok tests.unit.core.test_manager.ManagerTests.test_matches_globlist tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... Multiple .bandit files found - scan separately or choose one with --ini /tmp/tmpu4jramn8/.bandit, /tmp/tmpu4jramn8/second_config_directory/.bandit ok tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files ... ok tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue ... ok tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue_defaults tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue_defaults ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values ... ok tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... ok tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok tests.unit.core.test_manager.ManagerTests.test_results_count tests.unit.core.test_manager.ManagerTests.test_results_count ... ok tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] WARNING Could not open baseline report: base.json ok tests.unit.core.test_context.ContextTests.test__get_literal_value tests.unit.core.test_context.ContextTests.test__get_literal_value ... ok tests.unit.core.test_context.ContextTests.test_call_args tests.unit.core.test_context.ContextTests.test_call_args ... ok tests.unit.core.test_context.ContextTests.test_call_args_count tests.unit.core.test_context.ContextTests.test_call_args_count ... ok tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok tests.unit.core.test_context.ContextTests.test_call_function_name tests.unit.core.test_context.ContextTests.test_call_function_name ... [main] ERROR bandit.yaml : Could not read config file. ok tests.unit.core.test_context.ContextTests.test_call_function_name_qual tests.unit.core.test_context.ContextTests.test_call_function_name_qual ... ok tests.unit.core.test_context.ContextTests.test_call_keywords tests.unit.core.test_context.ContextTests.test_call_keywords ... ok tests.unit.core.test_context.ContextTests.test_check_call_arg_value tests.unit.core.test_context.ContextTests.test_check_call_arg_value ... ok tests.unit.core.test_context.ContextTests.test_context_create tests.unit.core.test_context.ContextTests.test_context_create ... ok tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual ... ok tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position ... ok tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... ok tests.unit.core.test_context.ContextTests.test_is_module_being_imported tests.unit.core.test_context.ContextTests.test_is_module_being_imported ... ok tests.unit.core.test_context.ContextTests.test_is_module_imported_exact tests.unit.core.test_context.ContextTests.test_is_module_imported_exact ... ok tests.unit.core.test_context.ContextTests.test_is_module_imported_like tests.unit.core.test_context.ContextTests.test_is_module_imported_like ... ok tests.unit.core.test_context.ContextTests.test_node tests.unit.core.test_context.ContextTests.test_node ... ok tests.unit.core.test_context.ContextTests.test_repr tests.unit.core.test_context.ContextTests.test_repr ... ok tests.unit.core.test_context.ContextTests.test_statement tests.unit.core.test_context.ContextTests.test_statement ... ok tests.unit.core.test_context.ContextTests.test_string_val tests.unit.core.test_context.ContextTests.test_string_val ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable ... ok tests.unit.core.test_issue.IssueTests.test_get_code tests.unit.core.test_issue.IssueTests.test_get_code ... ok tests.unit.core.test_issue.IssueTests.test_issue_as_dict tests.unit.core.test_issue.IssueTests.test_issue_as_dict ... ok tests.unit.core.test_issue.IssueTests.test_issue_create tests.unit.core.test_issue.IssueTests.test_issue_create ... ok tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence ... ok tests.unit.core.test_issue.IssueTests.test_issue_filter_severity tests.unit.core.test_issue.IssueTests.test_issue_filter_severity ... ok tests.unit.core.test_issue.IssueTests.test_issue_str tests.unit.core.test_issue.IssueTests.test_issue_str ... ok tests.unit.core.test_issue.IssueTests.test_matches_issue tests.unit.core.test_issue.IssueTests.test_matches_issue ... ok tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO using config: bandit.yaml [main] INFO running on Python 3.8.2 [text] INFO Text output written to file: output ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results ... Config file '/tmp/tmpn9hat7rw' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok tests.unit.core.test_config.TestConfigCompat.test_bad_yaml tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO using config: bandit.yaml [main] INFO running on Python 3.8.2 [text] INFO Text output written to file: output ok tests.unit.formatters.test_yaml.YamlFormatterTests.test_report tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. Config file '/tmp/tmpfl8rg93o' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. ok tests.unit.core.test_config.TestConfigCompat.test_blacklist_error tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... ok tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... Config file '/tmp/tmpxyrfzhcq' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped ... ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO Using ini file for excluded paths [main] INFO Using ini file for skipped tests [main] INFO Using ini file for selected tests [main] INFO Using command line arg for selected targets [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: some_test [main] INFO cli exclude tests: skip_test Config file '/tmp/tmpc9ku07t8' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test ... [main] ERROR : Config file '/tmp/tmp88peb3ha' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues ... Config file '/tmp/tmp4ppru9uy' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue ... ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... [main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] [ INFO ] No output format specified, using terminal ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... Config file '/tmp/tmpt2836u9b' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_exclude tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... Run started:2021-10-04 17:15:49.990478  Test results: ISSUE_OUTPUT_TEXT -------------------------------------------------- ISSUE_OUTPUT_TEXT -- Candidate Issues -- ISSUE_OUTPUT_TEXT ISSUE_OUTPUT_TEXT --------------------------------------------------  Code scanned: Total lines of code: 0 Total lines skipped (#nosec): 0  Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0): Run started:2021-10-04 17:15:50.085621 Files in scope (1): binding.py (score: {SEVERITY: 1, CONFIDENCE: 1}) Files excluded (1): def.py  Test results: ISSUE_OUTPUT_TEXT -------------------------------------------------- ISSUE_OUTPUT_TEXT --------------------------------------------------  Code scanned: Total lines of code: 1000 Total lines skipped (#nosec): 50  Run metrics: Total issues (by severity): Undefined: 1 Low: 1 Medium: 1 High: 1 Total issues (by confidence): Undefined: 1 Low: 1 Medium: 1 High: 1 Files skipped (1): abc.py (File is bad) [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found ... Config file '/tmp/tmp50eyskeq' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: badID [main] ERROR Unknown test found in profile: badID ok tests.unit.core.test_util.UtilTests.test_check_ast_node_good tests.unit.core.test_util.UtilTests.test_check_ast_node_good ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... Config file '/tmp/tmpdma5brtu' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_include tests.unit.core.test_config.TestConfigCompat.test_converted_include ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: badID [main] INFO cli exclude tests: None [main] ERROR Unknown test found in profile: badID ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... Config file '/tmp/tmpo4mj45pi' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_deprecation_message tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults ... usage: bandit-config-generator [-h] [--show-defaults] [-o OUTPUT_FILE] [-t TESTS] [-s SKIPS] Bandit Config Generator This tool is used to generate an optional profile. The profile may be used to include or skip tests and override values for plugins. When used to store an output profile, this tool will output a template that includes all plugins and their default settings. Any settings which aren't being overridden can be safely removed from the profile and default values will be used. Bandit will prefer settings from the profile over the built in values. optional arguments: -h, --help show this help message and exit --show-defaults show the default settings values for each plugin but do not output a profile -o OUTPUT_FILE, --out OUTPUT_FILE output file to save profile -t TESTS, --tests TESTS list of test names to run -s SKIPS, --skip SKIPS list of test names to skip [ ERROR ] Current working directory is dirty and must be resolved ok tests.unit.formatters.test_text.TextFormatterTests.test_no_issues tests.unit.formatters.test_text.TextFormatterTests.test_no_issues ... ok tests.unit.formatters.test_text.TextFormatterTests.test_output_issue tests.unit.formatters.test_text.TextFormatterTests.test_output_issue ... ok tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... ok tests.unit.core.test_config.TestGetSetting.test_not_exist tests.unit.core.test_config.TestGetSetting.test_not_exist ... ok tests.unit.formatters.test_csv.CsvFormatterTests.test_report tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok tests.unit.formatters.test_xml.XmlFormatterTests.test_report tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node ... ok tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str ... ok tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok tests.unit.core.test_util.UtilTests.test_deepgetattr tests.unit.core.test_util.UtilTests.test_deepgetattr ... [main] DEBUG logging initialized ok tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo ... ok tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode ... ok tests.unit.formatters.test_json.JsonFormatterTests.test_report tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok tests.unit.core.test_config.TestGetOption.test_levels tests.unit.core.test_config.TestGetOption.test_levels ... ok tests.unit.core.test_config.TestGetOption.test_levels_not_exist tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_simple tests.unit.core.test_util.UtilTests.test_escaped_representation_simple ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable ... ok tests.unit.core.test_util.UtilTests.test_get_call_name1 tests.unit.core.test_util.UtilTests.test_get_call_name1 ... [ ERROR ] File bandit_baseline_result.txt already exists, aborting ok tests.unit.core.test_util.UtilTests.test_get_call_name2 tests.unit.core.test_util.UtilTests.test_get_call_name2 ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file ... ok tests.unit.core.test_util.UtilTests.test_get_call_name3 tests.unit.core.test_util.UtilTests.test_get_call_name3 ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_typical tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_typical ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir ... [ INFO ] No output format specified, using terminal ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path ... [ ERROR ] Temporary file _bandit_baseline_run.json_ needs to be removed prior to running ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_syms ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_sys tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_sys ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot ... ok tests.unit.core.test_util.UtilTests.test_linerange tests.unit.core.test_util.UtilTests.test_linerange ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_join tests.unit.core.test_util.UtilTests.test_namespace_path_join ... [ INFO ] No output format specified, using terminal [ ERROR ] Git command not found ok tests.unit.core.test_util.UtilTests.test_namespace_path_split tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must be called from a git project root ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... Unable to parse config file /tmp/tmpuph7_s43 or missing [bandit] section ok tests.unit.core.test_util.UtilTests.test_parse_ini_file tests.unit.core.test_util.UtilTests.test_parse_ini_file ... ok tests.unit.core.test_util.UtilTests.test_path_for_function tests.unit.core.test_util.UtilTests.test_path_for_function ... Cannot resolve file path for module sys ok tests.unit.core.test_util.UtilTests.test_path_for_function_no_file tests.unit.core.test_util.UtilTests.test_path_for_function_no_file ... Cannot resolve file where 1 is defined ok tests.unit.core.test_util.UtilTests.test_path_for_function_no_module tests.unit.core.test_util.UtilTests.test_path_for_function_no_module ... [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must not be called with the -o option ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument ... [ INFO ] No output format specified, using terminal [ ERROR ] Unable to get current or parent commit ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure ... [ INFO ] No output format specified, using terminal [ INFO ] Got current commit: [ad714cab8e5dfd619c619ad8e5e55282cc26e974 master] [ ERROR ] Parent commit not available ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit ... [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must be called from a git project root ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo ... [ INFO ] No output format specified, using terminal [ INFO ] Got current commit: [3a4d979b3f626efdfd213bd4310cd73b1479084d master] [ INFO ] Got parent commit: [ad714cab8e5dfd619c619ad8e5e55282cc26e974 master~1] [ INFO ] Getting Bandit baseline results [ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpzgr878ey'] Output: None [ INFO ] Comparing Bandit results to baseline [ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpzgr878ey'] Output: None ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error ... None ok ---------------------------------------------------------------------- Ran 161 tests in 41.616s OK + stestr slowest Test id Runtime (s) ----------------------------------------------------------------------------------------- ----------- tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 4.382 tests.unit.core.test_util.UtilTests.test_deepgetattr 1.395 tests.unit.core.test_util.UtilTests.test_check_ast_node_good 1.196 tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type 0.992 tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.808 tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.513 tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline 0.405 tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results 0.403 tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results 0.396 tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror 0.384 + rm -rf .stestr + [ 3.7 = disabled ] + echo 3.7 + cut -d. -f1 + PYMAJOR=3 + echo ===> Testing with python (python3) ===> Testing with python (python3) + [ 3 = 3 ] + pwd + [ -d /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] + [ -z /build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] + [ -e .stestr.conf ] + [ -x /usr/bin/python3-stestr ] + STESTR=stestr + rm -rf .stestr + PYTHON=python3.7 stestr run --parallel --subunit tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*)) + subunit2pyunit tests.unit.core.test_config.TestInit.test_file_does_not_exist tests.unit.core.test_config.TestInit.test_file_does_not_exist ... ok tests.unit.core.test_config.TestInit.test_settings tests.unit.core.test_config.TestInit.test_settings ... while parsing a flow sequence in "/tmp/tmp_czh8kpa", line 1, column 3 expected ',' or ']', but got '' in "/tmp/tmp_czh8kpa", line 1, column 14 Skipping directory (thing), use -r flag to scan contents ok tests.unit.core.test_config.TestInit.test_yaml_invalid tests.unit.core.test_config.TestInit.test_yaml_invalid ... ok tests.unit.core.test_manager.ManagerTests.test_compare_baseline tests.unit.core.test_manager.ManagerTests.test_compare_baseline ... ok tests.unit.core.test_manager.ManagerTests.test_create_manager tests.unit.core.test_manager.ManagerTests.test_create_manager ... ok tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob ... ok tests.unit.core.test_context.ContextTests.test__get_literal_value tests.unit.core.test_context.ContextTests.test__get_literal_value ... ok tests.unit.core.test_context.ContextTests.test_call_args tests.unit.core.test_context.ContextTests.test_call_args ... ok tests.unit.core.test_context.ContextTests.test_call_args_count tests.unit.core.test_context.ContextTests.test_call_args_count ... ok tests.unit.core.test_context.ContextTests.test_call_function_name tests.unit.core.test_context.ContextTests.test_call_function_name ... ok tests.unit.core.test_context.ContextTests.test_call_function_name_qual tests.unit.core.test_context.ContextTests.test_call_function_name_qual ... ok tests.unit.core.test_context.ContextTests.test_call_keywords tests.unit.core.test_context.ContextTests.test_call_keywords ... ok tests.unit.core.test_context.ContextTests.test_check_call_arg_value tests.unit.core.test_context.ContextTests.test_check_call_arg_value ... ok tests.unit.core.test_context.ContextTests.test_context_create tests.unit.core.test_context.ContextTests.test_context_create ... ok tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual ... ok tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position ... ok tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg ... ok tests.unit.core.test_context.ContextTests.test_is_module_being_imported tests.unit.core.test_context.ContextTests.test_is_module_being_imported ... ok tests.unit.core.test_context.ContextTests.test_is_module_imported_exact tests.unit.core.test_context.ContextTests.test_is_module_imported_exact ... ok tests.unit.core.test_context.ContextTests.test_is_module_imported_like tests.unit.core.test_context.ContextTests.test_is_module_imported_like ... ok tests.unit.core.test_context.ContextTests.test_node tests.unit.core.test_context.ContextTests.test_node ... ok tests.unit.core.test_context.ContextTests.test_repr tests.unit.core.test_context.ContextTests.test_repr ... ok tests.unit.core.test_context.ContextTests.test_statement tests.unit.core.test_context.ContextTests.test_statement ... ok tests.unit.core.test_context.ContextTests.test_string_val tests.unit.core.test_context.ContextTests.test_string_val ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_include tests.unit.core.test_manager.ManagerTests.test_discover_files_include ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip ... ok tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches ... ok tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir ... ok tests.unit.core.test_manager.ManagerTests.test_is_file_included tests.unit.core.test_manager.ManagerTests.test_is_file_included ... ok tests.unit.core.test_manager.ManagerTests.test_matches_globlist tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format ... Unable to parse config file /tmp/tmpuwevc9mt or missing [bandit] section ok tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... ok tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok tests.unit.core.test_manager.ManagerTests.test_results_count tests.unit.core.test_manager.ManagerTests.test_results_count ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... ok tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... Multiple .bandit files found - scan separately or choose one with --ini /tmp/tmpzi0rbsfe/.bandit, /tmp/tmpzi0rbsfe/second_config_directory/.bandit ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files ... ok tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] WARNING Could not open baseline report: base.json ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... [main] ERROR bandit.yaml : Could not read config file. ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable ... usage: bandit-config-generator [-h] [--show-defaults] [-o OUTPUT_FILE] [-t TESTS] [-s SKIPS] Bandit Config Generator This tool is used to generate an optional profile. The profile may be used to include or skip tests and override values for plugins. When used to store an output profile, this tool will output a template that includes all plugins and their default settings. Any settings which aren't being overridden can be safely removed from the profile and default values will be used. Bandit will prefer settings from the profile over the built in values. optional arguments: -h, --help show this help message and exit --show-defaults show the default settings values for each plugin but do not output a profile -o OUTPUT_FILE, --out OUTPUT_FILE output file to save profile -t TESTS, --tests TESTS list of test names to run -s SKIPS, --skip SKIPS list of test names to skip [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO using config: bandit.yaml [main] INFO running on Python 3.7.6 [text] INFO Text output written to file: output ok tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results ... ok tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue ... ok tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue_defaults tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue_defaults ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist ... [main] INFO using config: bandit.yaml [main] INFO running on Python 3.7.6 ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific ... [text] INFO Text output written to file: output ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO Using ini file for excluded paths [main] INFO Using ini file for skipped tests [main] INFO Using ini file for selected tests [main] INFO Using command line arg for selected targets [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: some_test [main] INFO cli exclude tests: skip_test Config file '/tmp/tmpyzavow8q' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... [main] ERROR : ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... ok tests.unit.core.test_config.TestConfigCompat.test_bad_yaml tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None Config file '/tmp/tmp4nnwktty' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. ok tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... Legacy blacklist data found in config, overriding data plugins Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] ok tests.unit.core.test_config.TestConfigCompat.test_blacklist_error tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format ... Config file '/tmp/tmprt2ugye_' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data ... ok tests.unit.core.test_util.UtilTests.test_check_ast_node_good tests.unit.core.test_util.UtilTests.test_check_ast_node_good ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue ... Config file '/tmp/tmpwptl73rs' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: badID [main] ERROR Unknown test found in profile: badID ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... [main] DEBUG logging initialized ok tests.unit.core.test_config.TestGetSetting.test_not_exist tests.unit.core.test_config.TestGetSetting.test_not_exist ... ok tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger ... ok tests.unit.core.test_issue.IssueTests.test_get_code tests.unit.core.test_issue.IssueTests.test_get_code ... ok tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode ... ok tests.unit.core.test_issue.IssueTests.test_issue_as_dict tests.unit.core.test_issue.IssueTests.test_issue_as_dict ... ok tests.unit.core.test_issue.IssueTests.test_issue_create tests.unit.core.test_issue.IssueTests.test_issue_create ... ok tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence ... ok tests.unit.core.test_issue.IssueTests.test_issue_filter_severity tests.unit.core.test_issue.IssueTests.test_issue_filter_severity ... ok tests.unit.core.test_issue.IssueTests.test_issue_str tests.unit.core.test_issue.IssueTests.test_issue_str ... ok tests.unit.core.test_issue.IssueTests.test_matches_issue tests.unit.core.test_issue.IssueTests.test_matches_issue ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... Config file '/tmp/tmpr49e80zk' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: badID [main] INFO cli exclude tests: None [main] ERROR Unknown test found in profile: badID ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok tests.unit.formatters.test_text.TextFormatterTests.test_no_issues tests.unit.formatters.test_text.TextFormatterTests.test_no_issues ... ok tests.unit.formatters.test_text.TextFormatterTests.test_output_issue tests.unit.formatters.test_text.TextFormatterTests.test_output_issue ... ok tests.unit.core.test_config.TestGetOption.test_levels tests.unit.core.test_config.TestGetOption.test_levels ... Run started:2021-10-04 17:16:31.596364  Test results: ISSUE_OUTPUT_TEXT -------------------------------------------------- ISSUE_OUTPUT_TEXT -- Candidate Issues -- ISSUE_OUTPUT_TEXT ISSUE_OUTPUT_TEXT --------------------------------------------------  Code scanned: Total lines of code: 0 Total lines skipped (#nosec): 0  Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0): Run started:2021-10-04 17:16:31.693742 Files in scope (1): binding.py (score: {SEVERITY: 1, CONFIDENCE: 1}) Files excluded (1): def.py  Test results: ISSUE_OUTPUT_TEXT -------------------------------------------------- ISSUE_OUTPUT_TEXT --------------------------------------------------  Code scanned: Total lines of code: 1000 Total lines skipped (#nosec): 50  Run metrics: Total issues (by severity): Undefined: 1 Low: 1 Medium: 1 High: 1 Total issues (by confidence): Undefined: 1 Low: 1 Medium: 1 High: 1 Files skipped (1): abc.py (File is bad) ok tests.unit.formatters.test_xml.XmlFormatterTests.test_report tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... ok tests.unit.core.test_config.TestGetOption.test_levels_not_exist tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... Config file '/tmp/tmp1kavuhkr' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... Config file '/tmp/tmphe_m38l2' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_exclude tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... Config file '/tmp/tmp6_3ajs8q' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped ... ok tests.unit.formatters.test_yaml.YamlFormatterTests.test_report tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. Config file '/tmp/tmpvx3yjvuy' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_include tests.unit.core.test_config.TestConfigCompat.test_converted_include ... Config file '/tmp/tmpz_9imm_i' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_deprecation_message tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... ok tests.unit.core.test_util.UtilTests.test_deepgetattr tests.unit.core.test_util.UtilTests.test_deepgetattr ... ok tests.unit.formatters.test_json.JsonFormatterTests.test_report tests.unit.formatters.test_json.JsonFormatterTests.test_report ... [ INFO ] No output format specified, using terminal ok tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node ... ok tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str ... [ ERROR ] Current working directory is dirty and must be resolved ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo ... ok tests.unit.formatters.test_csv.CsvFormatterTests.test_report tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_simple tests.unit.core.test_util.UtilTests.test_escaped_representation_simple ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable ... ok tests.unit.core.test_util.UtilTests.test_get_call_name1 tests.unit.core.test_util.UtilTests.test_get_call_name1 ... [ ERROR ] File bandit_baseline_result.txt already exists, aborting ok tests.unit.core.test_util.UtilTests.test_get_call_name2 tests.unit.core.test_util.UtilTests.test_get_call_name2 ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file ... ok tests.unit.core.test_util.UtilTests.test_get_call_name3 tests.unit.core.test_util.UtilTests.test_get_call_name3 ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_typical tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_typical ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir ... [ INFO ] No output format specified, using terminal ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path ... [ ERROR ] Temporary file _bandit_baseline_run.json_ needs to be removed prior to running ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_syms ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_sys tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_sys ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot ... [ INFO ] No output format specified, using terminal [ ERROR ] Git command not found ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must be called from a git project root ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... ok tests.unit.core.test_util.UtilTests.test_linerange tests.unit.core.test_util.UtilTests.test_linerange ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_join tests.unit.core.test_util.UtilTests.test_namespace_path_join ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_split tests.unit.core.test_util.UtilTests.test_namespace_path_split ... Unable to parse config file /tmp/tmpwstnmac4 or missing [bandit] section ok tests.unit.core.test_util.UtilTests.test_parse_ini_file tests.unit.core.test_util.UtilTests.test_parse_ini_file ... ok tests.unit.core.test_util.UtilTests.test_path_for_function tests.unit.core.test_util.UtilTests.test_path_for_function ... Cannot resolve file path for module sys [ INFO ] No output format specified, using terminal ok tests.unit.core.test_util.UtilTests.test_path_for_function_no_file tests.unit.core.test_util.UtilTests.test_path_for_function_no_file ... Cannot resolve file where 1 is defined [ ERROR ] Bandit baseline must not be called with the -o option ok tests.unit.core.test_util.UtilTests.test_path_for_function_no_module tests.unit.core.test_util.UtilTests.test_path_for_function_no_module ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument ... [ INFO ] No output format specified, using terminal [ ERROR ] Unable to get current or parent commit ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure ... [ INFO ] No output format specified, using terminal [ INFO ] Got current commit: [8c052595bed34ae0466cfd229b89858442a057d9 master] [ ERROR ] Parent commit not available ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit ... [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must be called from a git project root ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo ... [ INFO ] No output format specified, using terminal [ INFO ] Got current commit: [5e4364172cf3512c2397c8c978c23885e96b6d86 master] [ INFO ] Got parent commit: [8c052595bed34ae0466cfd229b89858442a057d9 master~1] [ INFO ] Getting Bandit baseline results [ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmp12tt79jr'] Output: None [ INFO ] Comparing Bandit results to baseline [ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmp12tt79jr'] Output: None ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error ... None ok ---------------------------------------------------------------------- Ran 161 tests in 39.772s OK + stestr slowest Test id Runtime (s) ----------------------------------------------------------------------------------------- ----------- tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 3.892 tests.unit.core.test_util.UtilTests.test_deepgetattr 1.694 tests.unit.core.test_util.UtilTests.test_check_ast_node_good 0.901 tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.897 tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline 0.789 tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type 0.705 tests.unit.formatters.test_yaml.YamlFormatterTests.test_report 0.693 tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid 0.689 tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents 0.608 tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.594 + rm -rf .stestr # Generate the config file mkdir -p /build/bandit-WWB2En/bandit-1.6.2/debian/bandit/etc/bandit PYTHONPATH=/build/bandit-WWB2En/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages bandit-config-generator -o /build/bandit-WWB2En/bandit-1.6.2/debian/bandit/etc/bandit/bandit.yaml [ INFO]: Successfully wrote profile: /build/bandit-WWB2En/bandit-1.6.2/debian/bandit/etc/bandit/bandit.yaml make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' dh_install -i -O--buildsystem=python_distutils dh_installdocs -i -O--buildsystem=python_distutils debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions if [ -e /build/bandit-WWB2En/bandit-1.6.2/debian/CHANGELOG ] ; then \ dh_installchangelogs /build/bandit-WWB2En/bandit-1.6.2/debian/CHANGELOG ; \ else \ dh_installchangelogs ; \ fi make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' dh_installman -i -O--buildsystem=python_distutils debian/rules override_dh_systemd_enable make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions # Create the init scripts and systemd unit files from the template set -e ; set -x ; for i in `ls -1 debian/*.init.in` ; do \ MYINIT=`echo $i | sed s/.init.in//` ; \ cp $i $MYINIT.init ; \ cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ pkgos-gen-systemd-unit $i ; \ done + ls -1 debian/*.init.in ls: cannot access 'debian/*.init.in': No such file or directory # If there's a service.in file, use that one instead of the generated one set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \ MYPKG=`echo $i | sed s/.service.in//` ; \ cp $MYPKG.service.in $MYPKG.service ; \ done + ls -1 debian/*.service.in ls: cannot access 'debian/*.service.in': No such file or directory # Generate the systemd unit if there's no already existing .service.in set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ MYINIT=`echo $i | sed s/.init.in/.service.in/` ; \ if ! [ -e $MYINIT ] ; then \ pkgos-gen-systemd-unit $i ; \ fi \ done + ls debian/*.init.in ls: cannot access 'debian/*.init.in': No such file or directory dh_systemd_enable make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' debian/rules override_dh_python3 make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions dh_python3 --shebang=/usr/bin/python3 I: dh_python3 tools:114: replacing shebang in debian/python3-bandit/usr/bin/bandit-baseline I: dh_python3 tools:114: replacing shebang in debian/python3-bandit/usr/bin/bandit-config-generator I: dh_python3 tools:114: replacing shebang in debian/python3-bandit/usr/bin/bandit make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' debian/rules override_dh_installinit make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions # Create the init scripts and systemd unit files from the template set -e ; set -x ; for i in `ls -1 debian/*.init.in` ; do \ MYINIT=`echo $i | sed s/.init.in//` ; \ cp $i $MYINIT.init ; \ cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ pkgos-gen-systemd-unit $i ; \ done + ls -1 debian/*.init.in ls: cannot access 'debian/*.init.in': No such file or directory # If there's a service.in file, use that one instead of the generated one set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \ MYPKG=`echo $i | sed s/.service.in//` ; \ cp $MYPKG.service.in $MYPKG.service ; \ done + ls -1 debian/*.service.in ls: cannot access 'debian/*.service.in': No such file or directory # Generate the systemd unit if there's no already existing .service.in set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ MYINIT=`echo $i | sed s/.init.in/.service.in/` ; \ if ! [ -e $MYINIT ] ; then \ pkgos-gen-systemd-unit $i ; \ fi \ done + ls debian/*.init.in ls: cannot access 'debian/*.init.in': No such file or directory dh_installinit --error-handler=true make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' dh_systemd_start -i -O--buildsystem=python_distutils dh_perl -i -O--buildsystem=python_distutils dh_link -i -O--buildsystem=python_distutils dh_strip_nondeterminism -i -O--buildsystem=python_distutils dh_compress -i -O--buildsystem=python_distutils dh_fixperms -i -O--buildsystem=python_distutils dh_missing -i -O--buildsystem=python_distutils dh_installdeb -i -O--buildsystem=python_distutils debian/rules override_dh_gencontrol make[1]: Entering directory '/build/bandit-WWB2En/bandit-1.6.2' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions if dpkg-vendor --derives-from ubuntu ; then \ dh_gencontrol -- -T/build/bandit-WWB2En/bandit-1.6.2/debian/ubuntu_control_vars ; \ else \ dh_gencontrol -- -T/build/bandit-WWB2En/bandit-1.6.2/debian/debian_control_vars ; \ fi dpkg-gencontrol: warning: Depends field of package bandit: substitution variable ${python:Depends} used, but is not defined make[1]: Leaving directory '/build/bandit-WWB2En/bandit-1.6.2' dh_md5sums -i -O--buildsystem=python_distutils dh_builddeb -i -O--buildsystem=python_distutils dpkg-deb: building package 'bandit' in '../bandit_1.6.2-1_all.deb'. dpkg-deb: building package 'python3-bandit' in '../python3-bandit_1.6.2-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../bandit_1.6.2-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-source: info: using options from bandit-1.6.2/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ --extend-diff-ignore=^[.]gitreview$ dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/bandit-WWB2En /tmp/bandit-1.6.2-1dp6q04r_ I: cleaning package lists and apt cache... W: deleting files in /tmp: tmpi7z1df1r W: deleting files in /tmp: tmpr44h5c7n W: deleting files in /tmp: tmpv9hi_z62 W: deleting files in /tmp: tmpxap603s6 W: deleting files in /tmp: tmpnk7s3sic W: deleting files in /tmp: tmpf_8lqkzm W: deleting files in /tmp: tmp6xzgioy3 W: deleting files in /tmp: tmps40g6yrd W: deleting files in /tmp: tmp4ijkpawd W: deleting files in /tmp: tmpgu9t42br W: deleting files in /tmp: tmp5sjxm5j_ W: deleting files in /tmp: tmprnkapew7 W: deleting files in /tmp: tmpi2qhvq0k W: deleting files in /tmp: tmp5id3yvpy W: deleting files in /tmp: tmppjm1qann W: deleting files in /tmp: tmp6k208b3p W: deleting files in /tmp: tmpo7yo8_qo W: deleting files in /tmp: tmp_tc144n3 W: deleting files in /tmp: tmpeiuuf833 W: deleting files in /tmp: tmp8c3e8fk1 W: deleting files in /tmp: tmpytpui6m0 W: deleting files in /tmp: tmp652vtgrg W: deleting files in /tmp: tmp09c61edo W: deleting files in /tmp: tmph6d9k19x W: deleting files in /tmp: tmp6stc59g2 W: deleting files in /tmp: tmpo5fep2ww I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.rehtJHp4Dy... I: success in 445.8065 seconds md5: bandit_1.6.2-1_all.deb: OK md5: python3-bandit_1.6.2-1_all.deb: OK sha1: bandit_1.6.2-1_all.deb: OK sha1: python3-bandit_1.6.2-1_all.deb: OK sha256: bandit_1.6.2-1_all.deb: OK sha256: python3-bandit_1.6.2-1_all.deb: OK Checksums: OK