Diff of the two buildlogs: -- --- b1/build.log 2024-04-22 13:12:18.122463174 +0000 +++ b2/build.log 2024-04-22 13:14:39.208439066 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 25 07:30:47 -12 2025 -I: pbuilder-time-stamp: 1748201447 +I: Current time: Tue Apr 23 03:12:21 +14 2024 +I: pbuilder-time-stamp: 1713791541 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ 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/337224/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1968593/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Apr 22 13:12 /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/1968593/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1968593/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='05f0c90aacf24bfeb17e24ab9a63e64e' - 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='337224' - PS1='# ' - PS2='> ' + INVOCATION_ID=8cff023915084d24965665d526be4111 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1968593 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.I0cF6jYa/pbuilderrc_tgmx --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.I0cF6jYa/b1 --logfile b1/build.log bandit_1.6.2-3.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.I0cF6jYa/pbuilderrc_LK28 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.I0cF6jYa/b2 --logfile b2/build.log bandit_1.6.2-3.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:38 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/337224/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1968593/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -315,7 +347,7 @@ Get: 169 http://deb.debian.org/debian trixie/main arm64 python3-stestr all 4.1.0-2 [56.7 kB] Get: 170 http://deb.debian.org/debian trixie/main arm64 python3-oslotest all 1:4.5.0-5 [17.2 kB] Get: 171 http://deb.debian.org/debian trixie/main arm64 python3-testscenarios all 0.5.0-4 [12.8 kB] -Fetched 56.8 MB in 1s (98.1 MB/s) +Fetched 56.8 MB in 0s (220 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19930 files and directories currently installed.) @@ -862,8 +894,8 @@ Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun May 25 19:31:49 UTC 2025. -Universal Time is now: Sun May 25 19:31:49 UTC 2025. +Local time is now: Mon Apr 22 13:12:44 UTC 2024. +Universal Time is now: Mon Apr 22 13:12:44 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up liberror-perl (0.17029-2) ... @@ -1040,7 +1072,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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-3_source.changes +I: user script /srv/workspace/pbuilder/1968593/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1968593/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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-3_source.changes dpkg-buildpackage: info: source package bandit dpkg-buildpackage: info: source version 1.6.2-3 dpkg-buildpackage: info: source distribution unstable @@ -1227,17 +1263,17 @@ opt = self.warn_dash_deprecation(opt, section) running install [pbr] Generating AUTHORS -[pbr] AUTHORS complete (0.0s) +[pbr] AUTHORS complete (0.1s) running build running build_py creating build creating build/lib creating build/lib/bandit -creating build/lib/bandit/blacklists -copying bandit/blacklists/utils.py -> build/lib/bandit/blacklists -copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists -copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists -copying bandit/blacklists/__init__.py -> build/lib/bandit/blacklists +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/formatters copying bandit/formatters/yaml.py -> build/lib/bandit/formatters copying bandit/formatters/xml.py -> build/lib/bandit/formatters @@ -1249,11 +1285,8 @@ copying bandit/formatters/custom.py -> build/lib/bandit/formatters copying bandit/formatters/csv.py -> build/lib/bandit/formatters copying bandit/formatters/__init__.py -> build/lib/bandit/formatters -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/plugins copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins copying bandit/plugins/weak_cryptographic_key.py -> build/lib/bandit/plugins @@ -1296,8 +1329,11 @@ 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 -copying bandit/__main__.py -> build/lib/bandit -copying bandit/__init__.py -> build/lib/bandit +creating build/lib/bandit/blacklists +copying bandit/blacklists/utils.py -> build/lib/bandit/blacklists +copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists +copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists +copying bandit/blacklists/__init__.py -> build/lib/bandit/blacklists running egg_info creating bandit.egg-info writing bandit.egg-info/PKG-INFO @@ -1321,8 +1357,11 @@ creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3 creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit -copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit -copying build/lib/bandit/__main__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit +creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/blacklisting.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core @@ -1365,11 +1404,8 @@ copying build/lib/bandit/plugins/try_except_pass.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/yaml_load.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit +copying build/lib/bandit/__main__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/csv.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters @@ -1381,13 +1417,15 @@ copying build/lib/bandit/formatters/utils.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/xml.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/yaml.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-311.pyc +creating /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-311.pyc @@ -1428,10 +1466,8 @@ byte-compiling /build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-311.pyc -byte-compiling /build/reproducible-path/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/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-311.pyc @@ -1442,10 +1478,10 @@ byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-311.pyc +byte-compiling /build/reproducible-path/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/reproducible-path/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/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit-1.6.2.egg-info Skipping SOURCES.txt @@ -1581,7 +1617,7 @@ opt = self.warn_dash_deprecation(opt, section) running install [pbr] Generating AUTHORS -[pbr] AUTHORS complete (0.0s) +[pbr] AUTHORS complete (0.1s) running build running build_py running egg_info @@ -1592,8 +1628,10 @@ writing top-level names to bandit.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt running install_lib -copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit -copying build/lib/bandit/__main__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit +copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/core/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/blacklisting.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/config.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core @@ -1634,10 +1672,8 @@ copying build/lib/bandit/plugins/try_except_pass.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/yaml_load.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit +copying build/lib/bandit/__main__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit copying build/lib/bandit/formatters/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/csv.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/custom.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters @@ -1648,12 +1684,14 @@ copying build/lib/bandit/formatters/utils.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/xml.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/yaml.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-311.pyc +copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-311.pyc @@ -1694,10 +1732,8 @@ byte-compiling /build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-311.pyc -byte-compiling /build/reproducible-path/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/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-311.pyc @@ -1708,10 +1744,10 @@ byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-311.pyc byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-311.pyc -byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-311.pyc +byte-compiling /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-311.pyc +byte-compiling /build/reproducible-path/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/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-311.pyc running install_egg_info removing '/build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit-1.6.2.egg-info' (and everything under it) Copying bandit.egg-info to /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages/bandit-1.6.2.egg-info @@ -1727,29 +1763,47 @@ + 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 -+ PYTHON3S=3.12 3.11 -+ [ yes = no ] -+ [ no = yes ] -+ [ 3.12 = disabled ] -+ echo 3.12 -+ cut -d. -f1 ++ for i in $@ ++ case "${1}" in +++ py3versions -vr ++ PYTHON3S='3.12 3.11' ++ '[' yes = no ']' ++ '[' no = yes ']' ++ for pyvers in ${PYTHON3S} ++ '[' 3.12 = disabled ']' +++ cut -d. -f1 +++ echo 3.12 + PYMAJOR=3 -+ echo ===> Testing with python (python3) ++ echo '===> Testing with python (python3)' ===> Testing with python (python3) -+ pwd -+ [ -d /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -z /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -e .stestr.conf ] -+ [ -x /usr/bin/python3-stestr ] +++ pwd ++ '[' -d /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -z /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -e .stestr.conf ']' ++ '[' -x /usr/bin/python3-stestr ']' + STESTR=stestr + rm -rf .stestr + subunit2pyunit -+ PYTHON=python3.12 stestr run --parallel --subunit tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*)) -Unable to parse config file /tmp/tmpgch7d_iq or missing [bandit] section ++ PYTHON=python3.12 ++ stestr run --parallel --subunit 'tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*))' +Skipping directory (thing), use -r flag to scan contents +Config file '/tmp/tmpj_q6031p' 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_manager.ManagerTests.test_compare_baseline +tests.unit.core.test_manager.ManagerTests.test_compare_baseline ... ok +tests.unit.core.test_manager.ManagerTests.test_create_manager +tests.unit.core.test_manager.ManagerTests.test_create_manager ... ok +tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile +tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline ... ok tests.unit.core.test_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 @@ -1766,16 +1820,6 @@ 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.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... ok -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... 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 -Multiple .bandit files found - scan separately or choose one with --ini - /tmp/tmpzug3bf7q/.bandit, /tmp/tmpzug3bf7q/second_config_directory/.bandit 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 @@ -1796,16 +1840,124 @@ 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.formatters.test_screen.ScreenFormatterTests.test_report_baseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok -tests.unit.formatters.test_xml.XmlFormatterTests.test_report -tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_include +tests.unit.core.test_manager.ManagerTests.test_discover_files_include ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip ... ok +tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches +tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches ... ok +tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir +tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir ... ok +tests.unit.core.test_manager.ManagerTests.test_is_file_included +tests.unit.core.test_manager.ManagerTests.test_is_file_included ... ok +tests.unit.core.test_manager.ManagerTests.test_matches_globlist +tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok +Config file '/tmp/tmphtxc2wxk' 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_bad_yaml +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... 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.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/tmpl9uattvo' 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 +tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... ok +tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format +tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... ok +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok +tests.unit.core.test_manager.ManagerTests.test_results_count +tests.unit.core.test_manager.ManagerTests.test_results_count ... ok +Legacy blacklist data found in config, overriding data plugins +tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger +tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults +tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data ... ok +tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror +tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... ok +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok +tests.unit.formatters.test_csv.CsvFormatterTests.test_report +tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok +Config file '/tmp/tmp7f1sh92j' 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_test_set.BanditTestSetTests.test_profile_filter_blacklist_include +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test ... ok +[main] DEBUG logging initialized +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_html.HtmlFormatterTests.test_escaping +tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok +tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger +tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger ... ok +Config file '/tmp/tmpcif9v0t4' 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/tmpozynbawy or missing [bandit] section tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings ... ok +tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode +tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode ... 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_manager.ManagerTests.test_run_tests_keyboardinterrupt +tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... 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 @@ -1814,6 +1966,61 @@ 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.core.test_config.TestConfigCompat.test_converted_blacklist_import_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok +tests.unit.core.test_config.TestGetOption.test_levels +tests.unit.core.test_config.TestGetOption.test_levels ... ok +tests.unit.formatters.test_xml.XmlFormatterTests.test_report +tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok +tests.unit.core.test_config.TestGetSetting.test_not_exist +tests.unit.core.test_config.TestGetSetting.test_not_exist ... ok +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok +Config file '/tmp/tmpnjvnt0kw' 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 + +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_config.TestConfigCompat.test_converted_blacklist_import_test +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok +tests.unit.core.test_config.TestGetOption.test_levels_not_exist +tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... ok +Config file '/tmp/tmp279u42lf' 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_empty_directory_no_target +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok +tests.unit.formatters.test_json.JsonFormatterTests.test_report +tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok +Config file '/tmp/tmps6ced5ii' 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.formatters.test_html.HtmlFormatterTests.test_report_with_skipped +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skippedMultiple .bandit files found - scan separately or choose one with --ini + /tmp/tmpawf5luhm/.bandit, /tmp/tmpawf5luhm/second_config_directory/.bandit + ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target @@ -1826,25 +2033,40 @@ 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.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.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 +Legacy blacklist data found in config, overriding data plugins [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok +Config file '/tmp/tmpkfxyfjc0' 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 -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok -[main] WARNING Could not open baseline report: base.json -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok -Run started:2025-05-25 19:34:32.105302 +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.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[main] WARNING Could not open baseline report: base.json + ... ok +Config file '/tmp/tmpaszcjhrs' 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 +[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 +tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable +tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable ... 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.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok +Run started:2024-04-22 13:14:17.493918  Test results: ISSUE_OUTPUT_TEXT @@ -1876,7 +2098,7 @@ Medium: 0 High: 0 Files skipped (0): -Run started:2025-05-25 19:34:32.108912 +Run started:2024-04-22 13:14:17.505612 Files in scope (1): binding.py (score: {SEVERITY: 1, CONFIDENCE: 1}) Files excluded (1): @@ -1905,12 +2127,6 @@ High: 1 Files skipped (1): abc.py (File is bad) -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 -[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 @@ -1918,35 +2134,11 @@ [main] INFO using config: bandit.yaml [main] INFO running on Python 3.12.2 [text] INFO Text output written to file: output -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_main.BanditCLIMainTests.test_main_exit_with_no_results tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results ... 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. +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] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None @@ -1965,218 +2157,68 @@ [main] INFO profile exclude tests: None [main] INFO cli include tests: some_test [main] INFO cli exclude tests: skip_test -tests.unit.core.test_config.TestGetOption.test_levels -tests.unit.core.test_config.TestGetOption.test_levels ... 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_not_exist -tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... 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.TestInit.test_file_does_not_exist -tests.unit.core.test_config.TestInit.test_file_does_not_exist ... ok -[main] DEBUG logging initialized -tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger -tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... ok -tests.unit.core.test_manager.ManagerTests.test_compare_baseline -tests.unit.core.test_manager.ManagerTests.test_compare_baseline ... ok -tests.unit.core.test_manager.ManagerTests.test_create_manager -tests.unit.core.test_manager.ManagerTests.test_create_manager ... ok -tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile -tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir ... ok -tests.unit.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.core.test_util.UtilTests.test_check_ast_node_bad_type +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type ... ok [main] ERROR : -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 -Config file '/tmp/tmpqly92ghz' 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 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.TestInit.test_settings -tests.unit.core.test_config.TestInit.test_settings ... 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.core.test_util.UtilTests.test_check_ast_node_good +tests.unit.core.test_util.UtilTests.test_check_ast_node_good ... ok [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None -Skipping directory (thing), use -r flag to scan contents -while parsing a flow sequence - in "/tmp/tmp8qe3z1tp", line 1, column 3 -expected ',' or ']', but got '' - in "/tmp/tmp8qe3z1tp", line 1, column 14 -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_config.TestConfigCompat.test_bad_yaml -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok -tests.unit.core.test_config.TestInit.test_yaml_invalid -tests.unit.core.test_config.TestInit.test_yaml_invalid ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_include -tests.unit.core.test_manager.ManagerTests.test_discover_files_include ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip ... ok -tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches -tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches ... ok -tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir -tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir ... ok -tests.unit.core.test_manager.ManagerTests.test_is_file_included -tests.unit.core.test_manager.ManagerTests.test_is_file_included ... ok -tests.unit.core.test_manager.ManagerTests.test_matches_globlist -tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok -tests.unit.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_json.JsonFormatterTests.test_report -tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok [main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] -Config file '/tmp/tmp0c55vuwo' 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 +tests.unit.core.test_util.UtilTests.test_deepgetattr +tests.unit.core.test_util.UtilTests.test_deepgetattr ... 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.core.test_manager.ManagerTests.test_output_results_invalid_format -tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format ... ok -Config file '/tmp/tmprvfp7318' 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 [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. -Config file '/tmp/tmpvchtvhp7' 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.cli.test_main.BanditCLIMainTests.test_main_profile_not_found tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found ... ok -tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format -tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok -Config file '/tmp/tmpy8j3l747' 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_manager.ManagerTests.test_populate_baseline_invalid_json -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... ok -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok -tests.unit.core.test_manager.ManagerTests.test_results_count -tests.unit.core.test_manager.ManagerTests.test_results_count ... ok -tests.unit.core.test_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: badID [main] ERROR Unknown test found in profile: badID -Config file '/tmp/tmpnmpuk7ms' 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_manager.ManagerTests.test_run_tests_ioerror -tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... ok -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... 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.core.test_util.UtilTests.test_escaped_representation_invalid +tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid ... ok +[ INFO ] No output format specified, using terminal tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok -Config file '/tmp/tmphl9tjf8z' 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 -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: badID [main] INFO cli exclude tests: None [main] ERROR Unknown test found in profile: badID -Config file '/tmp/tmp3ol55ar7' 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 -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... 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 -Config file '/tmp/tmpp2dhsr0b' 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_issue.IssueTests.test_matches_issue -tests.unit.core.test_issue.IssueTests.test_matches_issue ... ok -Config file '/tmp/tmpxnakoz45' 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.core.test_util.UtilTests.test_check_ast_node_bad_node -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok -tests.unit.core.test_config.TestConfigCompat.test_deprecation_message -tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... ok -tests.unit.core.test_config.TestGetSetting.test_not_exist -tests.unit.core.test_config.TestGetSetting.test_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.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 -tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid -tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... 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[config] ERROR while parsing a flow sequence + in "/tmp/tmpe5t7hn5i", line 1, column 3 +expected ',' or ']', but got '' + in "/tmp/tmpe5t7hn5i", line 1, column 14 + ... ok +tests.unit.core.test_config.TestInit.test_yaml_invalid +tests.unit.core.test_config.TestInit.test_yaml_invalid ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_simple tests.unit.core.test_util.UtilTests.test_escaped_representation_simple ... ok -[ INFO ] No output format specified, using terminal +[ 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_valid_not_printable tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable ... ok tests.unit.core.test_util.UtilTests.test_get_call_name1 tests.unit.core.test_util.UtilTests.test_get_call_name1 ... 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_get_call_name2 tests.unit.core.test_util.UtilTests.test_get_call_name2 ... ok tests.unit.core.test_util.UtilTests.test_get_call_name3 @@ -2201,20 +2243,20 @@ tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_syms ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical ... ok +[ ERROR ] File bandit_baseline_result.txt already exists, aborting +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_module_qualname_from_path_sys tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_sys ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot ... ok tests.unit.core.test_util.UtilTests.test_linerange tests.unit.core.test_util.UtilTests.test_linerange ... ok -[ ERROR ] File bandit_baseline_result.txt already exists, aborting 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_existing_report_file -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_split tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok -Unable to parse config file /tmp/tmpolpvzylx or missing [bandit] section +Unable to parse config file /tmp/tmpusrxpmac 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 @@ -2223,11 +2265,9 @@ 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 +[ INFO ] No output format specified, using terminal tests.unit.core.test_util.UtilTests.test_path_for_function_no_module tests.unit.core.test_util.UtilTests.test_path_for_function_no_module ... ok -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... ok -[ INFO ] No output format specified, using terminal [ ERROR ] Temporary file _bandit_baseline_run.json_ needs to be removed prior to running tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file ... ok @@ -2248,7 +2288,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: [ec2b37bec8996326da93617cd6f582881f43cda3 master] +[ INFO ] Got current commit: [1378afa9a2add92fc52f9b8e43de880ccd825c89 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 @@ -2257,64 +2297,147 @@ 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: [1a9797844ece6f77c42422f4e8d30ada0351d62a master] -[ INFO ] Got parent commit: [f57f4558b1d8c3ae3cf81bc835da394b0c73312b master~1] +[ INFO ] Got current commit: [2c823e2fadfd66a79d5bef74236634b62474815b master] +[ INFO ] Got parent commit: [1378afa9a2add92fc52f9b8e43de880ccd825c89 master~1] [ INFO ] Getting Bandit baseline results -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpy22tzr3z'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpeq0yt8gt'] Output: None [ INFO ] Comparing Bandit results to baseline -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpy22tzr3z'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpeq0yt8gt'] 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_csv.CsvFormatterTests.test_report -tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... 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 None ---------------------------------------------------------------------- -Ran 161 tests in 17.612s +Ran 161 tests in 21.677s OK + stestr slowest Test id Runtime (s) ----------------------------------------------------------------------------------------- ----------- -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 1.014 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 0.925 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.775 -tests.unit.core.test_util.UtilTests.test_path_for_function_no_file 0.500 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.435 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.398 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.323 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.269 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 0.238 -tests.unit.core.test_util.UtilTests.test_namespace_path_join 0.238 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 0.346 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.109 +tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror 0.086 +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.085 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 0.071 +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline 0.064 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.062 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.056 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.052 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 0.052 + rm -rf .stestr -+ [ 3.11 = disabled ] -+ + cut -d. -f1 -echo 3.11 ++ for pyvers in ${PYTHON3S} ++ '[' 3.11 = disabled ']' +++ cut -d. -f1 +++ echo 3.11 + PYMAJOR=3 -+ echo ===> Testing with python (python3) ++ echo '===> Testing with python (python3)' ===> Testing with python (python3) -+ pwd -+ [ -d /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -z /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -e .stestr.conf ] -+ [ -x /usr/bin/python3-stestr ] +++ pwd ++ '[' -d /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -z /build/reproducible-path/bandit-1.6.2/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -e .stestr.conf ']' ++ '[' -x /usr/bin/python3-stestr ']' + STESTR=stestr + rm -rf .stestr -+ + subunit2pyunit -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.*)) -[main] DEBUG logging initialized -tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger -tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger ... ok ++ subunit2pyunit ++ 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.*))' 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_blacklisting.BlacklistingTests.test_report_issue_defaults ... Config file '/tmp/tmpq7fwcbz_' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +Legacy blacklist data found in config, overriding data plugins +ok +tests.unit.core.test_manager.ManagerTests.test_compare_baseline +tests.unit.core.test_manager.ManagerTests.test_compare_baseline ... ok +tests.unit.core.test_manager.ManagerTests.test_create_manager +tests.unit.core.test_manager.ManagerTests.test_create_manager ... ok +tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile +tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline ... ok tests.unit.core.test_config.TestInit.test_file_does_not_exist tests.unit.core.test_config.TestInit.test_file_does_not_exist ... ok +Unable to parse config file /tmp/tmpy4wjo8sb or missing [bandit] section +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob +tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_include +tests.unit.core.test_manager.ManagerTests.test_discover_files_include ... ok +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files ... ok +Skipping directory (thing), use -r flag to scan contents +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip +tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip ... ok +tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches +tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches ... ok +tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir +tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir ... ok +tests.unit.core.test_manager.ManagerTests.test_is_file_included +tests.unit.core.test_manager.ManagerTests.test_is_file_included ... ok +tests.unit.core.test_manager.ManagerTests.test_matches_globlist +tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok +tests.unit.core.test_config.TestGetSetting.test_not_exist +tests.unit.core.test_config.TestGetSetting.test_not_exist ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults +tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_builtin_blacklist_specific ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_all ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id ... ok +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none +tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none ... ok +tests.unit.core.test_config.TestInit.test_settings +tests.unit.core.test_config.TestInit.test_settings ... ok +tests.unit.formatters.test_csv.CsvFormatterTests.test_report +tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok +tests.unit.core.test_config.TestGetOption.test_levels +tests.unit.core.test_config.TestGetOption.test_levels ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... ok +Config file '/tmp/tmp_h79coe8' 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 +while parsing a flow sequence + in "/tmp/tmprz78nxhu", line 1, column 3 +expected ',' or ']', but got '' + in "/tmp/tmprz78nxhu", 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 @@ -2351,112 +2474,46 @@ 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 -Unable to parse config file /tmp/tmpcwpel916 or missing [bandit] section -tests.unit.core.test_manager.ManagerTests.test_compare_baseline -tests.unit.core.test_manager.ManagerTests.test_compare_baseline ... ok -tests.unit.core.test_manager.ManagerTests.test_create_manager -tests.unit.core.test_manager.ManagerTests.test_create_manager ... ok -tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile -tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude ... ok -tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode -tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger_debug_mode ... ok -tests.unit.core.test_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_config.TestInit.test_settings -tests.unit.core.test_config.TestInit.test_settings ... ok -Config file '/tmp/tmp349eyaz_' 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 -while parsing a flow sequence - in "/tmp/tmp43qammy8", line 1, column 3 -expected ',' or ']', but got '' - in "/tmp/tmp43qammy8", line 1, column 14 -tests.unit.core.test_config.TestGetOption.test_levels -tests.unit.core.test_config.TestGetOption.test_levels ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_dir ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob -tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_glob ... ok -tests.unit.core.test_config.TestInit.test_yaml_invalid -tests.unit.core.test_config.TestInit.test_yaml_invalid ... 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_config.TestConfigCompat.test_bad_yaml -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok -tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id -tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id ... ok -Multiple .bandit files found - scan separately or choose one with --ini - /tmp/tmp_v07u6wv/.bandit, /tmp/tmp_v07u6wv/second_config_directory/.bandit -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 -Config file '/tmp/tmpcta24cfy' 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/tmp3ioxkkv1' 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_converted_blacklist_call_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data ... ok +Multiple .bandit files found - scan separately or choose one with --ini + /tmp/tmpd3uunv0r/.bandit, /tmp/tmpd3uunv0r/second_config_directory/.bandit +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.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.core.test_config.TestConfigCompat.test_blacklist_error -tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... ok -Skipping directory (thing), use -r flag to scan contents -tests.unit.core.test_manager.ManagerTests.test_discover_files_include -tests.unit.core.test_manager.ManagerTests.test_discover_files_include ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files ... ok -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip -tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip ... ok -tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches -tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches ... ok -tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir -tests.unit.core.test_manager.ManagerTests.test_get_files_from_dir ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok -Config file '/tmp/tmpyzx0k7_n' 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_get_options_from_ini_no_ini_path_multi_bandit_files -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok -tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id -tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id ... ok -tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none -tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none ... ok -tests.unit.core.test_manager.ManagerTests.test_is_file_included -tests.unit.core.test_manager.ManagerTests.test_is_file_included ... ok -tests.unit.core.test_manager.ManagerTests.test_matches_globlist -tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok -tests.unit.cli.test_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 -Config file '/tmp/tmpjil8ztf3' 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/tmp3e2v2tv7' 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/tmpcld3jt2z' 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_yaml.YamlFormatterTests.test_report +tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok +tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format +tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... ok +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok +tests.unit.core.test_manager.ManagerTests.test_results_count +tests.unit.core.test_manager.ManagerTests.test_results_count ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok +tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror +tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target @@ -2469,7 +2526,10 @@ 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 -Run started:2025-05-25 19:34:52.586258 +Config file '/tmp/tmp3k15b6y6' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +Legacy blacklist data found in config, overriding data plugins +[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +Run started:2024-04-22 13:14:27.244998  Test results: ISSUE_OUTPUT_TEXT @@ -2501,7 +2561,7 @@ Medium: 0 High: 0 Files skipped (0): -Run started:2025-05-25 19:34:52.589594 +Run started:2024-04-22 13:14:27.269578 Files in scope (1): binding.py (score: {SEVERITY: 1, CONFIDENCE: 1}) Files excluded (1): @@ -2530,86 +2590,39 @@ High: 1 Files skipped (1): abc.py (File is bad) -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 -Config file '/tmp/tmpn2yshe_c' 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 -tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format -tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format ... 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.core.test_config.TestConfigCompat.test_converted_blacklist_import_test +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok [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/tmpiipknxqe' 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_manager.ManagerTests.test_run_tests_keyboardinterrupt +tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok +[main] WARNING Could not open baseline report: base.json +Config file '/tmp/tmp_0ny6hon' 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] ERROR bandit.yaml : Could not read config file. tests.unit.formatters.test_text.TextFormatterTests.test_no_issues -tests.unit.formatters.test_text.TextFormatterTests.test_no_issuesConfig file '/tmp/tmped2me4kn' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. - ... [main] WARNING Could not open baseline report: base.json -ok +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 -Legacy blacklist data found in config, overriding data plugins -tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format -tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... ok -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok -tests.unit.core.test_manager.ManagerTests.test_results_count -tests.unit.core.test_manager.ManagerTests.test_results_count ... ok -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok -tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror -tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror[main] ERROR bandit.yaml : Could not read config file. - ... ok -Config file '/tmp/tmpqevcwa7q' 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_baseline_ioerror tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... ok -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok +Legacy blacklist data found in config, overriding data plugins +tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable ... 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 -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 -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok -Config file '/tmp/tmpadlppu8m' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -Legacy blacklist data found in config, overriding data plugins -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. 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. +Config file '/tmp/tmp87hzo1l2' 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.formatters.test_text.TextFormatterTests.test_report_nobaseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok +Legacy blacklist data found in config, overriding data plugins [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None @@ -2617,15 +2630,9 @@ [main] INFO using config: bandit.yaml [main] INFO running on Python 3.11.8 [text] INFO Text output written to file: output -tests.unit.formatters.test_csv.CsvFormatterTests.test_report -tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok -Config file '/tmp/tmpg3ij003i' 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/tmpuxwrrohh' 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/tmp4grod9x4' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None @@ -2634,9 +2641,11 @@ [main] INFO cli exclude tests: None [main] INFO using config: bandit.yaml [main] INFO running on Python 3.11.8 +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 [text] INFO Text output written to file: output -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... ok +tests.unit.core.test_config.TestConfigCompat.test_deprecation_message +tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... 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 @@ -2646,28 +2655,25 @@ [main] INFO profile exclude tests: None [main] INFO cli include tests: some_test [main] INFO cli exclude tests: skip_test -tests.unit.core.test_config.TestConfigCompat.test_deprecation_message -tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... 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.cli.test_main.BanditCLIMainTests.test_main_exit_with_results +tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... ok [main] ERROR : tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger +tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... 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 +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 [main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] -tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format -tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format ... 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.core.test_util.UtilTests.test_check_ast_node_bad_node -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok tests.unit.core.test_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 @@ -2684,8 +2690,15 @@ tests.unit.core.test_issue.IssueTests.test_matches_issue ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok -tests.unit.core.test_config.TestGetSetting.test_not_exist -tests.unit.core.test_config.TestGetSetting.test_not_exist ... ok +tests.unit.formatters.test_xml.XmlFormatterTests.test_report +tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults ... ok +[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_invalid_output_format +tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found ... 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. @@ -2694,10 +2707,38 @@ [main] INFO cli include tests: None [main] INFO cli exclude tests: badID [main] ERROR Unknown test found in profile: badID +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 tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok -tests.unit.formatters.test_json.JsonFormatterTests.test_report -tests.unit.formatters.test_json.JsonFormatterTests.test_report ... 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 @@ -2706,21 +2747,24 @@ [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 -[html] INFO HTML output written to file: /tmp/tmp8w43d2v8 +[html] INFO HTML output written to file: /tmp/tmpopdo9suy tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok -[html] INFO HTML output written to file: /tmp/tmpx9v6zfgb -tests.unit.formatters.test_xml.XmlFormatterTests.test_report -tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... ok +[html] INFO HTML output written to file: /tmp/tmpxadohuen tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok -[html] INFO HTML output written to file: /tmp/tmpcc43i_ba +[html] INFO HTML output written to file: /tmp/tmpdpdmtuhf 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_util.UtilTests.test_check_ast_node_bad_node +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type ... 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.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 @@ -2739,13 +2783,13 @@ tests.unit.core.test_util.UtilTests.test_get_call_name2 ... ok tests.unit.core.test_util.UtilTests.test_get_call_name3 tests.unit.core.test_util.UtilTests.test_get_call_name3 ... ok +[ INFO ] No output format specified, using terminal tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms ... ok -[ 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.core.test_util.UtilTests.test_get_module_qualname_from_path_dir @@ -2773,18 +2817,18 @@ tests.unit.core.test_util.UtilTests.test_namespace_path_join ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_split tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok -Unable to parse config file /tmp/tmp7huhyh1u or missing [bandit] section +Unable to parse config file /tmp/tmpggo_3s_t or missing [bandit] section +Cannot resolve file path for module sys 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 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 -[ ERROR ] File bandit_baseline_result.txt already exists, aborting 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 +[ ERROR ] File bandit_baseline_result.txt already exists, aborting tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file ... ok [ INFO ] No output format specified, using terminal @@ -2808,7 +2852,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: [65fbf21e8f8c3f7cce0c25eca80086c1d859843b master] +[ INFO ] Got current commit: [6a70dcf39c2418b42940cc0e4b969cdc94269d50 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 @@ -2817,39 +2861,39 @@ 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: [43f29052f092a1649b4609a9145c9e5163b7c121 master] -[ INFO ] Got parent commit: [65fbf21e8f8c3f7cce0c25eca80086c1d859843b master~1] +[ INFO ] Got current commit: [24c1232cffd93d979df7f9b6f3198e8a5f3434d6 master] +[ INFO ] Got parent commit: [6a70dcf39c2418b42940cc0e4b969cdc94269d50 master~1] [ INFO ] Getting Bandit baseline results -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpikg6174l'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmp7b9qxo1h'] Output: None [ INFO ] Comparing Bandit results to baseline -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpikg6174l'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmp7b9qxo1h'] 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.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger -tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... ok +tests.unit.formatters.test_json.JsonFormatterTests.test_report +tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok None ---------------------------------------------------------------------- -Ran 161 tests in 20.337s +Ran 161 tests in 10.061s OK + stestr slowest -Test id Runtime (s) ------------------------------------------------------------------------------------------ ----------- -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 1.662 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 1.003 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.741 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.679 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 0.596 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.454 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.326 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.250 -tests.unit.core.test_util.UtilTests.test_path_for_function 0.203 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type 0.202 +Test id Runtime (s) +---------------------------------------------------------------------------------------------------- ----------- +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 0.953 +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.566 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.286 +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files 0.197 +tests.unit.formatters.test_yaml.YamlFormatterTests.test_report 0.190 +tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format 0.159 +tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path 0.129 +tests.unit.core.test_util.UtilTests.test_escaped_representation_simple 0.123 +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data 0.120 +tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_sys 0.118 + rm -rf .stestr # Generate the config file mkdir -p /build/reproducible-path/bandit-1.6.2/debian/bandit/etc/bandit @@ -2890,14 +2934,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 \ @@ -2906,7 +2950,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/reproducible-path/bandit-1.6.2' @@ -2931,8 +2975,8 @@ make[1]: Leaving directory '/build/reproducible-path/bandit-1.6.2' dh_md5sums -O--buildsystem=python_distutils dh_builddeb -O--buildsystem=python_distutils -dpkg-deb: building package 'python3-bandit' in '../python3-bandit_1.6.2-3_all.deb'. dpkg-deb: building package 'bandit' in '../bandit_1.6.2-3_all.deb'. +dpkg-deb: building package 'python3-bandit' in '../python3-bandit_1.6.2-3_all.deb'. dpkg-genbuildinfo --build=binary -O../bandit_1.6.2-3_arm64.buildinfo dpkg-genchanges --build=binary -O../bandit_1.6.2-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2941,12 +2985,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/1968593/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1968593/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/337224 and its subdirectories -I: Current time: Sun May 25 07:35:17 -12 2025 -I: pbuilder-time-stamp: 1748201717 +I: removing directory /srv/workspace/pbuilder/1968593 and its subdirectories +I: Current time: Tue Apr 23 03:14:38 +14 2024 +I: pbuilder-time-stamp: 1713791678