Diff of the two buildlogs: -- --- b1/build.log 2023-04-26 09:05:30.531398303 +0000 +++ b2/build.log 2023-04-26 09:07:09.287019509 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 25 20:51:36 -12 2023 -I: pbuilder-time-stamp: 1682499096 +I: Current time: Wed May 29 05:28:34 +14 2024 +I: pbuilder-time-stamp: 1716910114 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./bandit_1.6.2.orig.tar.xz] I: copying [./bandit_1.6.2-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Dec 29 03:09:50 2022 -12 +gpgv: Signature made Fri Dec 30 05:09:50 2022 +14 gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./bandit_1.6.2-2.dsc: no acceptable signature found @@ -27,135 +27,167 @@ dpkg-source: info: applying use-yaml.safe_load.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3378525/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 29 05:28 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='9ae1320b8f124fd1b961cb97ea4c926d' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3378525' - PS1='# ' - PS2='> ' + INVOCATION_ID=2393e121ac1d44a292287d91bbad200c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=794899 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.z3AtIEbl/pbuilderrc_1vwY --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z3AtIEbl/b1 --logfile b1/build.log bandit_1.6.2-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.z3AtIEbl/pbuilderrc_y59p --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z3AtIEbl/b2 --logfile b2/build.log --extrapackages usrmerge bandit_1.6.2-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3378525/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 29 05:28 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -396,7 +428,7 @@ Get: 167 http://deb.debian.org/debian bookworm/main amd64 python3-stestr all 3.2.1-1 [60.4 kB] Get: 168 http://deb.debian.org/debian bookworm/main amd64 python3-oslotest all 1:4.5.0-3 [18.7 kB] Get: 169 http://deb.debian.org/debian bookworm/main amd64 python3-testscenarios all 0.5.0-3 [13.6 kB] -Fetched 49.5 MB in 3s (17.0 MB/s) +Fetched 49.5 MB in 1s (71.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19596 files and directories currently installed.) @@ -1105,10 +1137,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/bandit-1.6.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../bandit_1.6.2-2_source.changes +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/bandit-1.6.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../bandit_1.6.2-2_source.changes dpkg-buildpackage: info: source package bandit dpkg-buildpackage: info: source version 1.6.2-2 dpkg-buildpackage: info: source distribution unstable @@ -1190,31 +1229,11 @@ creating build creating build/lib creating build/lib/bandit -creating build/lib/bandit/plugins -copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins -copying bandit/plugins/weak_cryptographic_key.py -> build/lib/bandit/plugins -copying bandit/plugins/try_except_pass.py -> build/lib/bandit/plugins -copying bandit/plugins/try_except_continue.py -> build/lib/bandit/plugins -copying bandit/plugins/ssh_no_host_key_verification.py -> build/lib/bandit/plugins -copying bandit/plugins/mako_templates.py -> build/lib/bandit/plugins -copying bandit/plugins/jinja2_templates.py -> build/lib/bandit/plugins -copying bandit/plugins/insecure_ssl_tls.py -> build/lib/bandit/plugins -copying bandit/plugins/injection_wildcard.py -> build/lib/bandit/plugins -copying bandit/plugins/injection_sql.py -> build/lib/bandit/plugins -copying bandit/plugins/injection_shell.py -> build/lib/bandit/plugins -copying bandit/plugins/injection_paramiko.py -> build/lib/bandit/plugins -copying bandit/plugins/hashlib_new_insecure_functions.py -> build/lib/bandit/plugins -copying bandit/plugins/general_hardcoded_tmp.py -> build/lib/bandit/plugins -copying bandit/plugins/general_hardcoded_password.py -> build/lib/bandit/plugins -copying bandit/plugins/general_bind_all_interfaces.py -> build/lib/bandit/plugins -copying bandit/plugins/general_bad_file_permissions.py -> build/lib/bandit/plugins -copying bandit/plugins/exec.py -> build/lib/bandit/plugins -copying bandit/plugins/django_xss.py -> build/lib/bandit/plugins -copying bandit/plugins/django_sql_injection.py -> build/lib/bandit/plugins -copying bandit/plugins/crypto_request_no_cert_validation.py -> build/lib/bandit/plugins -copying bandit/plugins/asserts.py -> build/lib/bandit/plugins -copying bandit/plugins/app_debug.py -> build/lib/bandit/plugins -copying bandit/plugins/__init__.py -> build/lib/bandit/plugins +creating build/lib/bandit/cli +copying bandit/cli/main.py -> build/lib/bandit/cli +copying bandit/cli/config_generator.py -> build/lib/bandit/cli +copying bandit/cli/baseline.py -> build/lib/bandit/cli +copying bandit/cli/__init__.py -> build/lib/bandit/cli creating build/lib/bandit/core copying bandit/core/utils.py -> build/lib/bandit/core copying bandit/core/tester.py -> build/lib/bandit/core @@ -1232,11 +1251,6 @@ copying bandit/core/config.py -> build/lib/bandit/core copying bandit/core/blacklisting.py -> build/lib/bandit/core copying bandit/core/__init__.py -> build/lib/bandit/core -creating build/lib/bandit/cli -copying bandit/cli/main.py -> build/lib/bandit/cli -copying bandit/cli/config_generator.py -> build/lib/bandit/cli -copying bandit/cli/baseline.py -> build/lib/bandit/cli -copying bandit/cli/__init__.py -> build/lib/bandit/cli copying bandit/__main__.py -> build/lib/bandit copying bandit/__init__.py -> build/lib/bandit creating build/lib/bandit/formatters @@ -1255,6 +1269,31 @@ copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists copying bandit/blacklists/__init__.py -> build/lib/bandit/blacklists +creating build/lib/bandit/plugins +copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins +copying bandit/plugins/weak_cryptographic_key.py -> build/lib/bandit/plugins +copying bandit/plugins/try_except_pass.py -> build/lib/bandit/plugins +copying bandit/plugins/try_except_continue.py -> build/lib/bandit/plugins +copying bandit/plugins/ssh_no_host_key_verification.py -> build/lib/bandit/plugins +copying bandit/plugins/mako_templates.py -> build/lib/bandit/plugins +copying bandit/plugins/jinja2_templates.py -> build/lib/bandit/plugins +copying bandit/plugins/insecure_ssl_tls.py -> build/lib/bandit/plugins +copying bandit/plugins/injection_wildcard.py -> build/lib/bandit/plugins +copying bandit/plugins/injection_sql.py -> build/lib/bandit/plugins +copying bandit/plugins/injection_shell.py -> build/lib/bandit/plugins +copying bandit/plugins/injection_paramiko.py -> build/lib/bandit/plugins +copying bandit/plugins/hashlib_new_insecure_functions.py -> build/lib/bandit/plugins +copying bandit/plugins/general_hardcoded_tmp.py -> build/lib/bandit/plugins +copying bandit/plugins/general_hardcoded_password.py -> build/lib/bandit/plugins +copying bandit/plugins/general_bind_all_interfaces.py -> build/lib/bandit/plugins +copying bandit/plugins/general_bad_file_permissions.py -> build/lib/bandit/plugins +copying bandit/plugins/exec.py -> build/lib/bandit/plugins +copying bandit/plugins/django_xss.py -> build/lib/bandit/plugins +copying bandit/plugins/django_sql_injection.py -> build/lib/bandit/plugins +copying bandit/plugins/crypto_request_no_cert_validation.py -> build/lib/bandit/plugins +copying bandit/plugins/asserts.py -> build/lib/bandit/plugins +copying bandit/plugins/app_debug.py -> build/lib/bandit/plugins +copying bandit/plugins/__init__.py -> build/lib/bandit/plugins running egg_info creating bandit.egg-info writing bandit.egg-info/PKG-INFO @@ -1278,6 +1317,31 @@ creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3 creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit +creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/__init__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/app_debug.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/asserts.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/django_sql_injection.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/django_xss.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/exec.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_paramiko.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_shell.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_sql.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_wildcard.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/jinja2_templates.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/mako_templates.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/try_except_continue.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/try_except_pass.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/yaml_load.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/__init__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/calls.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists @@ -1296,11 +1360,6 @@ copying build/lib/bandit/formatters/yaml.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/__init__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit copying build/lib/bandit/__main__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit -creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/__init__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/baseline.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/config_generator.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/main.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/blacklisting.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core @@ -1318,31 +1377,35 @@ copying build/lib/bandit/core/test_set.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/tester.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/utils.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core -creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/__init__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/app_debug.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/asserts.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/django_sql_injection.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/django_xss.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/exec.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_paramiko.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_shell.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_sql.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_wildcard.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/jinja2_templates.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/mako_templates.py -> /build/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-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/try_except_continue.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/try_except_pass.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/yaml_load.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +creating /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/__init__.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/baseline.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/config_generator.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/main.py -> /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-311.pyc +byte-compiling /build/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-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_new_insecure_functions.py to hashlib_new_insecure_functions.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-311.pyc +byte-compiling /build/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-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-311.pyc @@ -1359,10 +1422,6 @@ byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-311.pyc @@ -1379,30 +1438,10 @@ byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/tester.py to tester.cpython-311.pyc byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-311.pyc -byte-compiling /build/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-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_new_insecure_functions.py to hashlib_new_insecure_functions.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-311.pyc -byte-compiling /build/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-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-311.pyc -byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-311.pyc +byte-compiling /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-311.pyc running install_egg_info Copying bandit.egg-info to /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit-1.6.2.egg-info Skipping SOURCES.txt @@ -1417,64 +1456,34 @@ + PYTHON3S=disabled + TEST_PARALLEL_OPT=--parallel + TEST_SERIAL_OPT= -+ echo WARNING: --no-py2 is deprecated, and always on. ++ for i in $@ ++ case "${1}" in ++ echo 'WARNING: --no-py2 is deprecated, and always on.' WARNING: --no-py2 is deprecated, and always on. + shift -+ py3versions -vr ++ for i in $@ ++ case "${1}" in +++ py3versions -vr + PYTHON3S=3.11 -+ [ yes = no ] -+ [ no = yes ] -+ [ 3.11 = disabled ] -+ echo 3.11 -+ cut -d. -f1 ++ '[' yes = no ']' ++ '[' no = yes ']' ++ for pyvers in ${PYTHON3S} ++ '[' 3.11 = disabled ']' +++ echo 3.11 +++ cut -d. -f1 + PYMAJOR=3 -+ echo ===> Testing with python (python3) ++ echo '===> Testing with python (python3)' ===> Testing with python (python3) -+ pwd -+ [ -d /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -z /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -e .stestr.conf ] -+ [ -x /usr/bin/python3-stestr ] +++ pwd ++ '[' -d /build/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -z /build/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.11 stestr run --parallel --subunit tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*)) ++ PYTHON=python3.11 ++ 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_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 ... ok -tests.unit.formatters.test_xml.XmlFormatterTests.test_report -tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok - -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. - -options: - -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 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 @@ -1506,8 +1515,6 @@ tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... 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_baseline.BanditBaselineToolTests.test_init_logger -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... 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 @@ -1516,162 +1523,21 @@ 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_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_manager.ManagerTests.test_run_tests_ioerror tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... ok -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 ... ok -while parsing a flow sequence - in "/tmp/tmpfatesq0f", line 1, column 3 -expected ',' or ']', but got '' - in "/tmp/tmpfatesq0f", line 1, column 14 -tests.unit.core.test_config.TestInit.test_yaml_invalid -tests.unit.core.test_config.TestInit.test_yaml_invalid ... 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_run_tests_keyboardinterrupt tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... 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.core.test_config.TestGetSetting.test_not_exist -tests.unit.core.test_config.TestGetSetting.test_not_exist ... 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_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.formatters.test_html.HtmlFormatterTests.test_escaping -tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... ok -tests.unit.core.test_config.TestGetOption.test_levels -tests.unit.core.test_config.TestGetOption.test_levels ... ok -[main] DEBUG logging initialized -tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger -tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger ... 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_html.HtmlFormatterTests.test_report_contents -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok -tests.unit.core.test_config.TestGetOption.test_levels_not_exist -tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... ok -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped ... ok -tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger -tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... ok -Config file '/tmp/tmpz8nhh80x' 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 -Unable to parse config file /tmp/tmp9lw8cv2b or missing [bandit] section -tests.unit.formatters.test_json.JsonFormatterTests.test_report -tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok +tests.unit.formatters.test_csv.CsvFormatterTests.test_report +tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok +Unable to parse config file /tmp/tmpk84wfwc1 or missing [bandit] section 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 -Config file '/tmp/tmpsv12_ybn' 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. -tests.unit.core.test_config.TestConfigCompat.test_blacklist_error -tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... ok Multiple .bandit files found - scan separately or choose one with --ini - /tmp/tmpdpubw6gv/.bandit, /tmp/tmpdpubw6gv/second_config_directory/.bandit -Config file '/tmp/tmpt42myfra' 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 -tests.unit.formatters.test_csv.CsvFormatterTests.test_report -tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... 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.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 -Config file '/tmp/tmp7loojmki' 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 -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test ... ok -tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline -tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... ok + /tmp/tmp0lkztnj_/.bandit, /tmp/tmp0lkztnj_/second_config_directory/.bandit 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 -Config file '/tmp/tmpffh2fsha' 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 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.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target @@ -1684,35 +1550,17 @@ 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_config.TestConfigCompat.test_converted_blacklist_import_data -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok [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/tmp8hw42ojs' 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 -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok [main] WARNING Could not open baseline report: base.json -Config file '/tmp/tmprqnhlrmb' 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 -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok -[main] ERROR bandit.yaml : Could not read config file. tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... ok +[main] ERROR bandit.yaml : Could not read config file. 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_util.UtilTests.test_check_ast_node_bad_node -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok -Config file '/tmp/tmpuszuyi85' 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 -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok [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 @@ -1721,16 +1569,18 @@ [main] INFO using config: bandit.yaml [main] INFO running on Python 3.11.2 [text] INFO Text output written to file: output -Config file '/tmp/tmpb0rbmpkv' 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 '/tmp/tmpiqpya8nk' 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 -tests.unit.core.test_config.TestConfigCompat.test_converted_include -tests.unit.core.test_config.TestConfigCompat.test_converted_include ... 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 -Config file '/tmp/tmpelgc1t_g' 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. +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok +Config file '/tmp/tmpeaa9lguj' 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 -tests.unit.core.test_config.TestConfigCompat.test_deprecation_message -tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... ok +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. +tests.unit.core.test_config.TestConfigCompat.test_blacklist_error +tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... ok [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 @@ -1739,8 +1589,20 @@ [main] INFO using config: bandit.yaml [main] INFO running on Python 3.11.2 [text] INFO Text output written to file: output +Config file '/tmp/tmpndbd6_2b' 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 +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.cli.test_main.BanditCLIMainTests.test_main_exit_with_results tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... ok +Config file '/tmp/tmpuk3z0i9j' 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 +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test ... ok +Config file '/tmp/tmppkleu4qh' 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 +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok [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 @@ -1750,28 +1612,191 @@ [main] INFO profile exclude tests: None [main] INFO cli include tests: some_test [main] INFO cli exclude tests: skip_test -[main] ERROR : +Config file '/tmp/tmpqnoummfs' 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 tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... ok +[main] ERROR : +Config file '/tmp/tmptliz1f7l' 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 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_converted_blacklist_import_test +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok +Config file '/tmp/tmpnuub_x6h' 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 +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok [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/tmpkgkhkbxi' 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 +tests.unit.core.test_config.TestConfigCompat.test_converted_include +tests.unit.core.test_config.TestConfigCompat.test_converted_include ... ok [main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] +Config file '/tmp/tmptn6s5oin' 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 +tests.unit.core.test_config.TestConfigCompat.test_deprecation_message +tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... 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_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 ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok [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. 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.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger +tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok +Run started:2024-05-28 15:30:01.895542 + +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:2024-05-28 15:30:01.899768 +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) +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 ... ok + +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. + +options: + -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: badID [main] ERROR Unknown test found in profile: badID +tests.unit.core.test_config.TestGetSetting.test_not_exist +tests.unit.core.test_config.TestGetSetting.test_not_exist ... 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.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok [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. @@ -1782,26 +1807,109 @@ [main] ERROR Unknown test found in profile: badID tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... ok +[json] INFO JSON output written to file: /tmp/tmpl39sp8uh +tests.unit.formatters.test_yaml.YamlFormatterTests.test_report +tests.unit.formatters.test_yaml.YamlFormatterTests.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_json.JsonFormatterTests.test_report +tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok +tests.unit.formatters.test_xml.XmlFormatterTests.test_report +tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... 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 +[ INFO ] No output format specified, using terminal +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.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_util.UtilTests.test_check_ast_node_bad_node +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok +[main] DEBUG logging initialized +tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger +tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger ... 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_text.TextFormatterTests.test_report_nobaseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok +tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping +tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok +[ ERROR ] Current working directory is dirty and must be resolved +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... 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_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_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_check_ast_node_bad_type tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type ... ok +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo ... 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.core.test_util.UtilTests.test_deepgetattr tests.unit.core.test_util.UtilTests.test_deepgetattr ... ok -[ INFO ] No output format specified, using terminal 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 -[ ERROR ] Current working directory is dirty and must be resolved -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo ... 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 +[ ERROR ] File bandit_baseline_result.txt already exists, aborting tests.unit.core.test_util.UtilTests.test_get_call_name1 tests.unit.core.test_util.UtilTests.test_get_call_name1 ... 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_name2 tests.unit.core.test_util.UtilTests.test_get_call_name2 ... ok tests.unit.core.test_util.UtilTests.test_get_call_name3 @@ -1812,13 +1920,14 @@ 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 -[ ERROR ] File bandit_baseline_result.txt already exists, aborting +[ INFO ] No output format specified, using terminal 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.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file ... ok +[ ERROR ] Temporary file _bandit_baseline_run.json_ needs to be removed prior to running 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 ... 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_invalid_path tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend @@ -1836,33 +1945,29 @@ tests.unit.core.test_util.UtilTests.test_linerange tests.unit.core.test_util.UtilTests.test_linerange ... ok [ INFO ] No output format specified, using terminal +[ ERROR ] Git command not found tests.unit.core.test_util.UtilTests.test_namespace_path_join tests.unit.core.test_util.UtilTests.test_namespace_path_join ... ok +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_split tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok -[ ERROR ] Temporary file _bandit_baseline_run.json_ needs to be removed prior to running -Unable to parse config file /tmp/tmptm52s2j7 or missing [bandit] section -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file ... ok +[ INFO ] No output format specified, using terminal +[ ERROR ] Bandit baseline must be called from a git project root +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... ok +Unable to parse config file /tmp/tmpr1gd2aq_ or missing [bandit] section 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 ... ok Cannot resolve file path for module sys -Cannot resolve file where 1 is defined tests.unit.core.test_util.UtilTests.test_path_for_function_no_file tests.unit.core.test_util.UtilTests.test_path_for_function_no_file ... ok +Cannot resolve file where 1 is defined 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 [ INFO ] No output format specified, using terminal -[ ERROR ] Git command not found -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... ok -[ INFO ] No output format specified, using terminal -[ ERROR ] Bandit baseline must be called from a git project root -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... ok -[ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must not be called with the -o option tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument ... ok @@ -1871,7 +1976,7 @@ tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure ... ok [ INFO ] No output format specified, using terminal -[ INFO ] Got current commit: [d40b0f5b85d4ec053d50ebb411b1c4606404ceb4 master] +[ INFO ] Got current commit: [83c154a159fa5994a058379c099f7a5e6d9ae475 master] [ ERROR ] Parent commit not available tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit ... ok @@ -1880,106 +1985,47 @@ tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo ... ok [ INFO ] No output format specified, using terminal -[ INFO ] Got current commit: [aa6db4819c8733b2a12cbe09274bad2c469d5fe1 master] -[ INFO ] Got parent commit: [5e9bc6c5b9d886c6c381c5d6381fe08a5ea2f716 master~1] +[ INFO ] Got current commit: [8284d37b038d56193e90cbbef1c0c47a9fb6921e master] +[ INFO ] Got parent commit: [83c154a159fa5994a058379c099f7a5e6d9ae475 master~1] [ INFO ] Getting Bandit baseline results -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpxwp7e69x'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpda5jyy6p'] Output: None [ INFO ] Comparing Bandit results to baseline -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpxwp7e69x'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpda5jyy6p'] Output: None tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error ... 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 ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok +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 ... ok +while parsing a flow sequence + in "/tmp/tmp7nayp3ia", line 1, column 3 +expected ',' or ']', but got '' + in "/tmp/tmp7nayp3ia", line 1, column 14 +tests.unit.core.test_config.TestInit.test_yaml_invalid +tests.unit.core.test_config.TestInit.test_yaml_invalid ... ok None -Run started:2023-04-26 09:04:57.894609 - -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:2023-04-26 09:04:57.898097 -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) ---------------------------------------------------------------------- -Ran 161 tests in 556.751s +Ran 161 tests in 25.690s OK + stestr slowest -Test id Runtime (s) ------------------------------------------------------------------------------------------ ----------- -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 4.095 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 2.288 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 2.265 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 1.704 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 1.200 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure 1.197 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type 1.004 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.826 -tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_typical 0.820 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.768 +Test id Runtime (s) +---------------------------------------------------------------------------------------- ----------- +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 1.159 +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type 0.211 +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.135 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 0.106 +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests 0.101 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.077 +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests 0.076 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.068 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure 0.060 +tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt 0.059 + rm -rf .stestr # Generate the config file mkdir -p /build/bandit-1.6.2/debian/bandit/etc/bandit @@ -2020,14 +2066,14 @@ cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ pkgos-gen-systemd-unit $i ; \ done -+ ls -1 debian/*.init.in +++ 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 -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 \ @@ -2036,7 +2082,7 @@ pkgos-gen-systemd-unit $i ; \ fi \ done -+ ls debian/*.init.in +++ 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-1.6.2' @@ -2071,12 +2117,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/794899/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3378525 and its subdirectories -I: Current time: Tue Apr 25 21:05:30 -12 2023 -I: pbuilder-time-stamp: 1682499930 +I: removing directory /srv/workspace/pbuilder/794899 and its subdirectories +I: Current time: Wed May 29 05:30:11 +14 2024 +I: pbuilder-time-stamp: 1716910211