Diff of the two buildlogs: -- --- b1/build.log 2024-12-25 10:24:04.288851148 +0000 +++ b2/build.log 2024-12-25 10:26:25.518419614 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 24 22:21:22 -12 2024 -I: pbuilder-time-stamp: 1735122082 +I: Current time: Wed Jan 28 06:47:07 +14 2026 +I: pbuilder-time-stamp: 1769532427 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,51 +25,83 @@ dpkg-source: info: unpacking bandit_1.7.10-2.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1566914/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/635476/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 27 16:47 /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/635476/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/635476/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='amd64' - 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='01513554104b4b7faf2f44c3882516df' - 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='1566914' - PS1='# ' - PS2='> ' + INVOCATION_ID=00a652219ea940c2915033b7abb3b455 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=635476 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.uHevYjDi/pbuilderrc_iW3h --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.uHevYjDi/b1 --logfile b1/build.log bandit_1.7.10-2.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' + 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.uHevYjDi/pbuilderrc_OfxX --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.uHevYjDi/b2 --logfile b2/build.log bandit_1.7.10-2.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' I: uname -a - Linux infom01-amd64 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1566914/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/635476/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -336,7 +368,7 @@ Get: 191 http://deb.debian.org/debian trixie/main amd64 python3-rich all 13.7.1-1 [201 kB] Get: 192 http://deb.debian.org/debian trixie/main amd64 python3-sarif-python-om all 1.0.4-3 [12.3 kB] Get: 193 http://deb.debian.org/debian trixie/main amd64 python3-testscenarios all 0.5.0-4 [12.8 kB] -Fetched 62.1 MB in 8s (7661 kB/s) +Fetched 62.1 MB in 2s (38.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19966 files and directories currently installed.) @@ -961,8 +993,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Dec 25 10:22:49 UTC 2024. -Universal Time is now: Wed Dec 25 10:22:49 UTC 2024. +Local time is now: Tue Jan 27 16:48:09 UTC 2026. +Universal Time is now: Tue Jan 27 16:48:09 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up liberror-perl (0.17029-2) ... @@ -1154,7 +1186,11 @@ fakeroot is already the newest version (1.36.2-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.7.10/ && 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.7.10-2_source.changes +I: user script /srv/workspace/pbuilder/635476/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/635476/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/bandit-1.7.10/ && 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.7.10-2_source.changes dpkg-buildpackage: info: source package bandit dpkg-buildpackage: info: source version 1.7.10-2 dpkg-buildpackage: info: source distribution unstable @@ -1334,78 +1370,79 @@ [pbr] AUTHORS complete (0.0s) running build running build_py -creating build/lib/bandit/cli -copying bandit/cli/config_generator.py -> build/lib/bandit/cli -copying bandit/cli/main.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 +copying bandit/__main__.py -> build/lib/bandit +copying bandit/__init__.py -> build/lib/bandit creating build/lib/bandit/blacklists -copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists -copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists copying bandit/blacklists/utils.py -> build/lib/bandit/blacklists copying bandit/blacklists/__init__.py -> build/lib/bandit/blacklists +copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists +copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists +creating build/lib/bandit/formatters +copying bandit/formatters/utils.py -> build/lib/bandit/formatters +copying bandit/formatters/xml.py -> build/lib/bandit/formatters +copying bandit/formatters/html.py -> build/lib/bandit/formatters +copying bandit/formatters/sarif.py -> build/lib/bandit/formatters +copying bandit/formatters/text.py -> build/lib/bandit/formatters +copying bandit/formatters/custom.py -> build/lib/bandit/formatters +copying bandit/formatters/json.py -> build/lib/bandit/formatters +copying bandit/formatters/__init__.py -> build/lib/bandit/formatters +copying bandit/formatters/csv.py -> build/lib/bandit/formatters +copying bandit/formatters/screen.py -> build/lib/bandit/formatters +copying bandit/formatters/yaml.py -> build/lib/bandit/formatters creating build/lib/bandit/plugins -copying bandit/plugins/tarfile_unsafe_members.py -> build/lib/bandit/plugins +copying bandit/plugins/general_hardcoded_tmp.py -> build/lib/bandit/plugins +copying bandit/plugins/general_hardcoded_password.py -> build/lib/bandit/plugins +copying bandit/plugins/injection_sql.py -> build/lib/bandit/plugins +copying bandit/plugins/hashlib_insecure_functions.py -> build/lib/bandit/plugins +copying bandit/plugins/pytorch_load_save.py -> build/lib/bandit/plugins copying bandit/plugins/trojansource.py -> build/lib/bandit/plugins -copying bandit/plugins/mako_templates.py -> build/lib/bandit/plugins -copying bandit/plugins/ssh_no_host_key_verification.py -> build/lib/bandit/plugins -copying bandit/plugins/logging_config_insecure_listen.py -> build/lib/bandit/plugins -copying bandit/plugins/asserts.py -> build/lib/bandit/plugins -copying bandit/plugins/try_except_continue.py -> build/lib/bandit/plugins -copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins -copying bandit/plugins/exec.py -> build/lib/bandit/plugins -copying bandit/plugins/general_bind_all_interfaces.py -> build/lib/bandit/plugins -copying bandit/plugins/general_bad_file_permissions.py -> build/lib/bandit/plugins -copying bandit/plugins/insecure_ssl_tls.py -> build/lib/bandit/plugins copying bandit/plugins/weak_cryptographic_key.py -> build/lib/bandit/plugins -copying bandit/plugins/django_xss.py -> build/lib/bandit/plugins -copying bandit/plugins/pytorch_load_save.py -> build/lib/bandit/plugins -copying bandit/plugins/injection_paramiko.py -> build/lib/bandit/plugins -copying bandit/plugins/injection_wildcard.py -> build/lib/bandit/plugins -copying bandit/plugins/hashlib_insecure_functions.py -> build/lib/bandit/plugins -copying bandit/plugins/__init__.py -> build/lib/bandit/plugins copying bandit/plugins/try_except_pass.py -> build/lib/bandit/plugins -copying bandit/plugins/request_without_timeout.py -> build/lib/bandit/plugins copying bandit/plugins/injection_shell.py -> build/lib/bandit/plugins -copying bandit/plugins/snmp_security_check.py -> build/lib/bandit/plugins -copying bandit/plugins/general_hardcoded_password.py -> build/lib/bandit/plugins -copying bandit/plugins/crypto_request_no_cert_validation.py -> build/lib/bandit/plugins -copying bandit/plugins/injection_sql.py -> build/lib/bandit/plugins +copying bandit/plugins/general_bad_file_permissions.py -> build/lib/bandit/plugins +copying bandit/plugins/django_xss.py -> build/lib/bandit/plugins +copying bandit/plugins/exec.py -> build/lib/bandit/plugins +copying bandit/plugins/mako_templates.py -> build/lib/bandit/plugins +copying bandit/plugins/request_without_timeout.py -> build/lib/bandit/plugins +copying bandit/plugins/__init__.py -> build/lib/bandit/plugins +copying bandit/plugins/general_bind_all_interfaces.py -> build/lib/bandit/plugins copying bandit/plugins/jinja2_templates.py -> build/lib/bandit/plugins +copying bandit/plugins/crypto_request_no_cert_validation.py -> build/lib/bandit/plugins copying bandit/plugins/django_sql_injection.py -> build/lib/bandit/plugins -copying bandit/plugins/general_hardcoded_tmp.py -> build/lib/bandit/plugins +copying bandit/plugins/tarfile_unsafe_members.py -> build/lib/bandit/plugins copying bandit/plugins/app_debug.py -> build/lib/bandit/plugins -creating build/lib/bandit/formatters -copying bandit/formatters/html.py -> build/lib/bandit/formatters -copying bandit/formatters/screen.py -> build/lib/bandit/formatters -copying bandit/formatters/xml.py -> build/lib/bandit/formatters -copying bandit/formatters/text.py -> build/lib/bandit/formatters -copying bandit/formatters/custom.py -> build/lib/bandit/formatters -copying bandit/formatters/utils.py -> build/lib/bandit/formatters -copying bandit/formatters/json.py -> build/lib/bandit/formatters -copying bandit/formatters/sarif.py -> build/lib/bandit/formatters -copying bandit/formatters/csv.py -> build/lib/bandit/formatters -copying bandit/formatters/yaml.py -> build/lib/bandit/formatters -copying bandit/formatters/__init__.py -> build/lib/bandit/formatters +copying bandit/plugins/injection_wildcard.py -> build/lib/bandit/plugins +copying bandit/plugins/insecure_ssl_tls.py -> build/lib/bandit/plugins +copying bandit/plugins/ssh_no_host_key_verification.py -> build/lib/bandit/plugins +copying bandit/plugins/asserts.py -> build/lib/bandit/plugins +copying bandit/plugins/injection_paramiko.py -> build/lib/bandit/plugins +copying bandit/plugins/try_except_continue.py -> build/lib/bandit/plugins +copying bandit/plugins/logging_config_insecure_listen.py -> build/lib/bandit/plugins +copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins +copying bandit/plugins/snmp_security_check.py -> build/lib/bandit/plugins +creating build/lib/bandit/cli +copying bandit/cli/baseline.py -> build/lib/bandit/cli +copying bandit/cli/config_generator.py -> build/lib/bandit/cli +copying bandit/cli/__init__.py -> build/lib/bandit/cli +copying bandit/cli/main.py -> build/lib/bandit/cli creating build/lib/bandit/core -copying bandit/core/config.py -> build/lib/bandit/core +copying bandit/core/utils.py -> build/lib/bandit/core +copying bandit/core/extension_loader.py -> build/lib/bandit/core +copying bandit/core/issue.py -> build/lib/bandit/core copying bandit/core/context.py -> build/lib/bandit/core -copying bandit/core/test_set.py -> build/lib/bandit/core -copying bandit/core/manager.py -> build/lib/bandit/core -copying bandit/core/docs_utils.py -> build/lib/bandit/core +copying bandit/core/blacklisting.py -> build/lib/bandit/core copying bandit/core/tester.py -> build/lib/bandit/core +copying bandit/core/config.py -> build/lib/bandit/core copying bandit/core/test_properties.py -> build/lib/bandit/core -copying bandit/core/node_visitor.py -> build/lib/bandit/core -copying bandit/core/extension_loader.py -> build/lib/bandit/core -copying bandit/core/utils.py -> build/lib/bandit/core -copying bandit/core/blacklisting.py -> build/lib/bandit/core copying bandit/core/constants.py -> build/lib/bandit/core copying bandit/core/__init__.py -> build/lib/bandit/core -copying bandit/core/metrics.py -> build/lib/bandit/core +copying bandit/core/manager.py -> build/lib/bandit/core +copying bandit/core/node_visitor.py -> build/lib/bandit/core copying bandit/core/meta_ast.py -> build/lib/bandit/core -copying bandit/core/issue.py -> build/lib/bandit/core -copying bandit/__main__.py -> build/lib/bandit -copying bandit/__init__.py -> build/lib/bandit +copying bandit/core/metrics.py -> build/lib/bandit/core +copying bandit/core/test_set.py -> build/lib/bandit/core +copying bandit/core/docs_utils.py -> build/lib/bandit/core running egg_info creating bandit.egg-info writing bandit.egg-info/PKG-INFO @@ -1425,145 +1462,145 @@ running install_lib creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit -creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/html.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/screen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/xml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/text.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/custom.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/json.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/sarif.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/csv.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/yaml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/tarfile_unsafe_members.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_sql.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/hashlib_insecure_functions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/pytorch_load_save.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/trojansource.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/mako_templates.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/logging_config_insecure_listen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/asserts.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/try_except_continue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/yaml_load.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/exec.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/django_xss.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/pytorch_load_save.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_paramiko.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_wildcard.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/hashlib_insecure_functions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_pass.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/request_without_timeout.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_shell.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/snmp_security_check.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_sql.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/django_xss.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/exec.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/mako_templates.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/request_without_timeout.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/jinja2_templates.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_sql_injection.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/tarfile_unsafe_members.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/app_debug.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/plugins/injection_wildcard.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/asserts.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_paramiko.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/try_except_continue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/logging_config_insecure_listen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/yaml_load.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/snmp_security_check.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/__main__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit +creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/xml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/html.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/sarif.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/text.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/custom.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/json.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/csv.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/screen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/yaml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/config.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/extension_loader.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/issue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/context.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/test_set.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/manager.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/docs_utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/blacklisting.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/tester.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/config.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_properties.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/node_visitor.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/extension_loader.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/blacklisting.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/constants.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/metrics.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/manager.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/node_visitor.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/meta_ast.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/issue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -creating /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/sarif.py to sarif.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/tarfile_unsafe_members.py to tarfile_unsafe_members.cpython-312.pyc +copying build/lib/bandit/core/metrics.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/test_set.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/docs_utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_insecure_functions.py to hashlib_insecure_functions.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/pytorch_load_save.py to pytorch_load_save.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/trojansource.py to trojansource.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/logging_config_insecure_listen.py to logging_config_insecure_listen.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/pytorch_load_save.py to pytorch_load_save.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_insecure_functions.py to hashlib_insecure_functions.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/request_without_timeout.py to request_without_timeout.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/snmp_security_check.py to snmp_security_check.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/request_without_timeout.py to request_without_timeout.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/tarfile_unsafe_members.py to tarfile_unsafe_members.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/logging_config_insecure_listen.py to logging_config_insecure_listen.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/snmp_security_check.py to snmp_security_check.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/sarif.py to sarif.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/context.py to context.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/tester.py to tester.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_properties.py to test_properties.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/constants.py to constants.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/meta_ast.py to meta_ast.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-312.pyc running install_egg_info Copying bandit.egg-info to /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit-1.7.10.egg-info Skipping SOURCES.txt @@ -1622,140 +1659,140 @@ writing top-level names to bandit.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt running install_lib -copying build/lib/bandit/formatters/html.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/screen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/xml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/text.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/custom.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/json.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/sarif.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/csv.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/yaml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/formatters/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters -copying build/lib/bandit/plugins/tarfile_unsafe_members.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_sql.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/hashlib_insecure_functions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/pytorch_load_save.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/trojansource.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/mako_templates.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/logging_config_insecure_listen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/asserts.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/try_except_continue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/yaml_load.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/exec.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/django_xss.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/pytorch_load_save.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_paramiko.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_wildcard.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/hashlib_insecure_functions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_pass.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/request_without_timeout.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_shell.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/snmp_security_check.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_hardcoded_password.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/injection_sql.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/django_xss.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/exec.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/mako_templates.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/request_without_timeout.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/jinja2_templates.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_sql_injection.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/tarfile_unsafe_members.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/app_debug.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins -copying build/lib/bandit/blacklists/imports.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/calls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists -copying build/lib/bandit/blacklists/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists +copying build/lib/bandit/plugins/injection_wildcard.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/asserts.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/injection_paramiko.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/try_except_continue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/logging_config_insecure_listen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/yaml_load.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins +copying build/lib/bandit/plugins/snmp_security_check.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/__main__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit -copying build/lib/bandit/core/config.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/formatters/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/xml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/html.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/sarif.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/text.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/custom.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/json.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/csv.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/screen.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/formatters/yaml.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters +copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli +copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit +copying build/lib/bandit/core/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/extension_loader.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/issue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/context.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/test_set.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/manager.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/docs_utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/blacklisting.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/tester.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/config.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_properties.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/node_visitor.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/extension_loader.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/blacklisting.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/constants.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/metrics.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/manager.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/node_visitor.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/meta_ast.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/core/issue.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core -copying build/lib/bandit/cli/config_generator.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/main.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/baseline.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/cli/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli -copying build/lib/bandit/__init__.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/sarif.py to sarif.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/tarfile_unsafe_members.py to tarfile_unsafe_members.cpython-312.pyc +copying build/lib/bandit/core/metrics.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/test_set.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +copying build/lib/bandit/core/docs_utils.py -> /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_insecure_functions.py to hashlib_insecure_functions.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/pytorch_load_save.py to pytorch_load_save.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/trojansource.py to trojansource.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/logging_config_insecure_listen.py to logging_config_insecure_listen.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/pytorch_load_save.py to pytorch_load_save.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_insecure_functions.py to hashlib_insecure_functions.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/request_without_timeout.py to request_without_timeout.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/snmp_security_check.py to snmp_security_check.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/request_without_timeout.py to request_without_timeout.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/tarfile_unsafe_members.py to tarfile_unsafe_members.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/logging_config_insecure_listen.py to logging_config_insecure_listen.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/snmp_security_check.py to snmp_security_check.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/sarif.py to sarif.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/context.py to context.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/tester.py to tester.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_properties.py to test_properties.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/constants.py to constants.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-312.pyc byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/meta_ast.py to meta_ast.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-312.pyc -byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-312.pyc +byte-compiling /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-312.pyc running install_egg_info removing '/build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit-1.7.10.egg-info' (and everything under it) Copying bandit.egg-info to /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages/bandit-1.7.10.egg-info @@ -1771,34 +1808,174 @@ + 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.13 3.12 -+ [ yes = no ] -+ [ no = yes ] -+ [ 3.13 = disabled ] -+ echo 3.13 -+ cut -d. -f1 ++ for i in $@ ++ case "${1}" in +++ py3versions -vr ++ PYTHON3S='3.13 3.12' ++ '[' yes = no ']' ++ '[' no = yes ']' ++ for pyvers in ${PYTHON3S} ++ '[' 3.13 = disabled ']' +++ echo 3.13 +++ cut -d. -f1 + PYMAJOR=3 -+ echo ===> Testing with python (python3) ++ echo '===> Testing with python (python3)' ===> Testing with python (python3) -+ pwd -+ [ -d /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -z /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -e .stestr.conf ] -+ [ -x /usr/bin/python3-stestr ] +++ pwd ++ '[' -d /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -z /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -e .stestr.conf ']' ++ '[' -x /usr/bin/python3-stestr ']' + STESTR=stestr + rm -rf .stestr -+ PYTHON=python3.13 stestr run --parallel --subunit tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*)) ++ PYTHON=python3.13 ++ stestr run --parallel --subunit 'tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*|.*functional\.test_functional\.FunctionalTests.*))' + subunit2pyunit +Unable to parse config file /tmp/tmpzs1zhjkm or missing [bandit] section +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... ok +Multiple .bandit files found - scan separately or choose one with --ini + /tmp/tmpl8k6zqpx/.bandit, /tmp/tmpl8k6zqpx/second_config_directory/.bandit +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok +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 +tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions +tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_val_with_str_default_and_no_arg_val +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_val_with_str_default_and_no_arg_val ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values ... ok +[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +[main] INFO profile include tests: None +[main] INFO profile exclude tests: None +[main] INFO cli include tests: None +[main] INFO cli exclude tests: None +[main] WARNING Could not open baseline report: base.json +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 +[main] INFO cli exclude tests: None +[main] INFO using config: bandit.yaml +[main] INFO running on Python 3.13.1 +[text] INFO Text output written to file: output +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 +[main] DEBUG logging initialized +[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +[main] INFO profile include tests: None +[main] INFO profile exclude tests: None +[main] INFO cli include tests: None +[main] INFO cli exclude tests: None +[main] INFO using config: bandit.yaml +[main] INFO running on Python 3.13.1 +[text] INFO Text output written to file: output +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 +Config file '/tmp/tmp6s94i28y.toml' 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_exit_with_results +tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_resultsLegacy blacklist data found in config, overriding data plugins + ... ok +tests.unit.core.test_config.TestTomlConfig.test_bad_yaml +tests.unit.core.test_config.TestTomlConfig.test_bad_yaml ... ok +Config file '/tmp/tmpyocsruw6.toml' 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. +Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +[main] INFO profile include tests: None +[main] INFO profile exclude tests: None +[main] INFO cli include tests: None +[main] INFO cli exclude tests: None +[main] INFO using config: bandit.yaml +[main] INFO running on Python 3.13.1 +[text] INFO Text output written to file: output +tests.unit.core.test_config.TestTomlConfig.test_blacklist_error +tests.unit.core.test_config.TestTomlConfig.test_blacklist_error ... ok +Config file '/tmp/tmpoofepjot.toml' 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_exit_with_results_and_with_exit_zero_flag +tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results_and_with_exit_zero_flag ... ok +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_data +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_data ... ok +Config file '/tmp/tmpmz9kgjkm.toml' 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.TestTomlConfig.test_converted_blacklist_call_test +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_test ... ok +[main] INFO Using command line arg for config file +[main] INFO Using ini file for skipped tests +[main] INFO Using ini file for selected tests +[main] INFO Using command line arg for selected targets +Config file '/tmp/tmpa45lrpb5.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +Legacy blacklist data found in config, overriding data plugins +[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +[main] INFO profile include tests: None +[main] INFO profile exclude tests: None +[main] INFO cli include tests: some_test +[main] INFO cli exclude tests: skip_test +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_data +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_data ... ok +Config file '/tmp/tmpfq7n3e0g.toml' 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.core.test_config.TestTomlConfig.test_converted_blacklist_import_test +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_test ... ok +[main] ERROR : +tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config +tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... ok +Config file '/tmp/tmpx8wua455.toml' 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.TestTomlConfig.test_converted_exclude +tests.unit.core.test_config.TestTomlConfig.test_converted_exclude ... ok +Config file '/tmp/tmpt7u0fwqu.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +Legacy blacklist data found in config, overriding data plugins +[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +[main] INFO profile include tests: None +[main] INFO profile exclude tests: None +[main] INFO cli include tests: None +tests.unit.core.test_config.TestTomlConfig.test_converted_exclude_blacklist +tests.unit.core.test_config.TestTomlConfig.test_converted_exclude_blacklist ... ok +[main] INFO cli exclude tests: None +[manager] WARNING Failed to load baseline data: 'issue_cwe' +[main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] +Config file '/tmp/tmpxvcx7e8x.toml' 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 '/tmp/tmpdo_hl95i.toml' 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_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 +Skipping directory (thing), use -r flag to scan contents +tests.unit.core.test_config.TestTomlConfig.test_converted_include +tests.unit.core.test_config.TestTomlConfig.test_converted_include ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format +tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +ok tests.unit.core.test_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 @@ -1809,7 +1986,6 @@ 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 -Skipping directory (thing), use -r flag to scan contents 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 @@ -1820,57 +1996,215 @@ 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_config.TestTomlConfig.test_deprecation_message +tests.unit.core.test_config.TestTomlConfig.test_deprecation_message ... ok tests.unit.core.test_manager.ManagerTests.test_matches_globlist tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_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_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. +[main] INFO profile include tests: None +tests.unit.formatters.test_sarif.SarifFormatterTests.test_report +tests.unit.formatters.test_sarif.SarifFormatterTests.test_report ... ok +[main] INFO profile exclude tests: None +[main] INFO cli include tests: None +[main] INFO cli exclude tests: badID +[main] ERROR Unknown test found in profile: badID tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok +[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +[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 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_baseline.BanditBaselineToolTests.test_init_logger -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... 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_manager.ManagerTests.test_run_tests_ioerror tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... ok -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok -tests.unit.formatters.test_custom.CustomFormatterTests.test_report -tests.unit.formatters.test_custom.CustomFormatterTests.test_report ... ok -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_config.TestGetSetting.test_not_exist +tests.unit.core.test_config.TestGetSetting.test_not_exist ... ok +[html] INFO HTML output written to file: /tmp/tmptuky84zs tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok -tests.unit.formatters.test_csv.CsvFormatterTests.test_report -tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok +tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt +tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node ... ok +[html] INFO HTML output written to file: /tmp/tmp6ig61cpg +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str ... ok tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok -tests.unit.formatters.test_sarif.SarifFormatterTests.test_report -tests.unit.formatters.test_sarif.SarifFormatterTests.test_report ... ok +[html] INFO HTML output written to file: /tmp/tmpvx6983_y +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.formatters.test_html.HtmlFormatterTests.test_report_with_skipped tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped ... ok +tests.unit.core.test_issue.IssueTests.test_get_code +tests.unit.core.test_issue.IssueTests.test_get_code ... ok +tests.unit.core.test_issue.IssueTests.test_issue_as_dict +tests.unit.core.test_issue.IssueTests.test_issue_as_dict ... ok +tests.unit.core.test_issue.IssueTests.test_issue_create +tests.unit.core.test_issue.IssueTests.test_issue_create ... ok +tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence +tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence ... ok +tests.unit.core.test_issue.IssueTests.test_issue_filter_severity +tests.unit.core.test_issue.IssueTests.test_issue_filter_severity ... ok +tests.unit.core.test_issue.IssueTests.test_issue_str +tests.unit.core.test_issue.IssueTests.test_issue_str ... ok +tests.unit.core.test_issue.IssueTests.test_matches_issue +tests.unit.core.test_issue.IssueTests.test_matches_issue ... ok tests.unit.core.test_docs_util.DocsUtilTests.test_import_call_bib tests.unit.core.test_docs_util.DocsUtilTests.test_import_call_bib ... ok tests.unit.core.test_docs_util.DocsUtilTests.test_overwrite_bib_info tests.unit.core.test_docs_util.DocsUtilTests.test_overwrite_bib_info ... ok tests.unit.core.test_docs_util.DocsUtilTests.test_plugin_call_bib tests.unit.core.test_docs_util.DocsUtilTests.test_plugin_call_bib ... ok -Unable to parse config file /tmp/tmpph9nm649 or missing [bandit] section -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... ok -Multiple .bandit files found - scan separately or choose one with --ini - /tmp/tmp6p6bjk_q/.bandit, /tmp/tmp6p6bjk_q/second_config_directory/.bandit +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults ... ok tests.unit.formatters.test_yaml.YamlFormatterTests.test_report tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... ok +Config file '/tmp/tmpwqd_37pl.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok +Config file '/tmp/tmprqjmtkru.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. +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_context.ContextTests.test__get_literal_value +tests.unit.core.test_context.ContextTests.test__get_literal_value ... ok +tests.unit.core.test_context.ContextTests.test_call_args +tests.unit.core.test_context.ContextTests.test_call_args ... ok +tests.unit.core.test_config.TestConfigCompat.test_blacklist_error +tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... ok +tests.unit.core.test_context.ContextTests.test_call_args_count +tests.unit.core.test_context.ContextTests.test_call_args_count ... ok +tests.unit.core.test_context.ContextTests.test_call_function_name +tests.unit.core.test_context.ContextTests.test_call_function_name ... ok +tests.unit.core.test_context.ContextTests.test_call_function_name_qual +tests.unit.core.test_context.ContextTests.test_call_function_name_qual ... ok +tests.unit.core.test_context.ContextTests.test_call_keywords +tests.unit.core.test_context.ContextTests.test_call_keywords ... ok +tests.unit.core.test_context.ContextTests.test_check_call_arg_value +tests.unit.core.test_context.ContextTests.test_check_call_arg_value ... ok +tests.unit.core.test_context.ContextTests.test_context_create +tests.unit.core.test_context.ContextTests.test_context_create ... ok +Config file '/tmp/tmpb9kyoc7a.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_context.ContextTests.test_filename +tests.unit.core.test_context.ContextTests.test_filename ... ok +while parsing a flow sequence + in "/tmp/tmp_7lk37nq.yaml", line 1, column 3 +expected ',' or ']', but got '' + in "/tmp/tmp_7lk37nq.yaml", line 1, column 14 +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_config.TestConfigCompat.test_converted_blacklist_call_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_dataConfig file '/tmp/tmp_5wswanr.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. +Legacy blacklist data found in config, overriding data plugins + ... ok +tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position +tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position ... ok +Config file '/tmp/tmpg2hty55s.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. +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/tmp9a40tmpj.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.formatters.test_csv.CsvFormatterTests.test_report +tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok +tests.unit.formatters.test_custom.CustomFormatterTests.test_report +tests.unit.formatters.test_custom.CustomFormatterTests.test_report ... ok +tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg +tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg ... ok +tests.unit.core.test_context.ContextTests.test_is_module_being_imported +tests.unit.core.test_context.ContextTests.test_is_module_being_imported ... ok +tests.unit.core.test_context.ContextTests.test_is_module_imported_exact +tests.unit.core.test_context.ContextTests.test_is_module_imported_exact ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok +tests.unit.core.test_config.TestInit.test_file_does_not_exist +tests.unit.core.test_config.TestInit.test_file_does_not_exist ... ok +tests.unit.core.test_config.TestInit.test_settings +tests.unit.core.test_config.TestInit.test_settings ... ok +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_is_module_imported_like +tests.unit.core.test_context.ContextTests.test_is_module_imported_like ... ok +Config file '/tmp/tmpsbg4scjl.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok +tests.unit.core.test_context.ContextTests.test_node +tests.unit.core.test_context.ContextTests.test_node ... ok +Config file '/tmp/tmp94hh7xon.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_context.ContextTests.test_repr +tests.unit.core.test_context.ContextTests.test_repr ... ok +tests.unit.core.test_context.ContextTests.test_statement +tests.unit.core.test_context.ContextTests.test_statement ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok +Config file '/tmp/tmpms30tdud.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_context.ContextTests.test_string_val +tests.unit.core.test_context.ContextTests.test_string_val ... ok +tests.unit.core.test_config.TestGetOption.test_levels +tests.unit.core.test_config.TestGetOption.test_levels ... ok +tests.unit.core.test_config.TestGetOption.test_levels_not_exist +tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... ok +Config file '/tmp/tmpxa2gevnj.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_text.TextFormatterTests.test_no_issues +tests.unit.formatters.test_text.TextFormatterTests.test_no_issues ... ok +Legacy blacklist data found in config, overriding data plugins +tests.unit.formatters.test_text.TextFormatterTests.test_output_issue +tests.unit.formatters.test_text.TextFormatterTests.test_output_issue ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues +tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue +tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok +tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok +tests.unit.core.test_util.UtilTests.test_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_converted_exclude_blacklist +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok +tests.unit.core.test_config.TestConfigCompat.test_converted_include +tests.unit.core.test_config.TestConfigCompat.test_converted_include ... 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.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_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 @@ -1879,20 +2213,8 @@ 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.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 -tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions -tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_val_with_str_default_and_no_arg_val -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_val_with_str_default_and_no_arg_val ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values ... ok +tests.unit.core.test_config.TestConfigCompat.test_deprecation_message +tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... 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 @@ -1901,43 +2223,49 @@ 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_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_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 -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -[main] INFO profile include tests: None -[main] INFO profile exclude tests: None -[main] INFO cli include tests: None -[main] INFO cli exclude tests: None -[main] WARNING Could not open baseline report: base.json -tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues -tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue -tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok -Config file '/tmp/tmpozv8f7ud.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. -Legacy blacklist data found in config, overriding data plugins -tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror -tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... ok -[main] ERROR bandit.yaml : Could not read config file. -tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable -tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable ... ok -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... 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 -[main] INFO using config: bandit.yaml -[main] INFO running on Python 3.13.1 -Run started:2024-12-25 10:23:50.323152 +tests.unit.formatters.test_json.JsonFormatterTests.test_report +tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok +tests.unit.core.test_util.UtilTests.test_check_ast_node_good +tests.unit.core.test_util.UtilTests.test_check_ast_node_good ... ok +tests.unit.core.test_util.UtilTests.test_deepgetattr +tests.unit.core.test_util.UtilTests.test_deepgetattr ... ok +[ INFO ] No output format specified, using terminal +tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid +tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid ... ok +[ ERROR ] Current working directory is dirty and must be resolved +tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed +tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed ... 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, --out OUTPUT_FILE + output file to save profile + -t, --tests TESTS list of test names to run + -s, --skip SKIPS list of test names to skip +Run started:2026-01-27 16:49:09.284316  Test results: ISSUE_OUTPUT_TEXT @@ -1969,7 +2297,7 @@ Medium: 0 High: 0 Files skipped (0): -Run started:2024-12-25 10:23:50.324321 +Run started:2026-01-27 16:49:09.286178 Files in scope (1): binding.py (score: {SEVERITY: 1, CONFIDENCE: 1}) Files excluded (1): @@ -1998,244 +2326,8 @@ High: 1 Files skipped (1): abc.py (File is bad) -Config file '/tmp/tmp6hi7e02u.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. -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. -[text] INFO Text output written to file: output -tests.unit.core.test_config.TestConfigCompat.test_blacklist_error -tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results ... ok -Config file '/tmp/tmp158m0jom.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. -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. -[main] INFO profile include tests: None -[main] INFO profile exclude tests: None -[main] INFO cli include tests: None -[main] INFO cli exclude tests: None -[main] INFO using config: bandit.yaml -[main] INFO running on Python 3.13.1 -[text] INFO Text output written to file: output -Config file '/tmp/tmpgir1ampu.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. -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_exit_with_results -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... ok -tests.unit.core.test_config.TestInit.test_file_does_not_exist -tests.unit.core.test_config.TestInit.test_file_does_not_exist ... ok -Config file '/tmp/tmp9kc5335e.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. -Legacy blacklist data found in config, overriding data plugins -tests.unit.core.test_config.TestInit.test_settings -tests.unit.core.test_config.TestInit.test_settings ... ok -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok -while parsing a flow sequence - in "/tmp/tmpf00k5dx1.yaml", line 1, column 3 -expected ',' or ']', but got '' - in "/tmp/tmpf00k5dx1.yaml", line 1, column 14 -[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 -tests.unit.core.test_config.TestInit.test_yaml_invalid -tests.unit.core.test_config.TestInit.test_yaml_invalid ... ok -[main] INFO profile exclude tests: None -[main] INFO cli include tests: None -[main] INFO cli exclude tests: None -[main] INFO using config: bandit.yaml -[main] INFO running on Python 3.13.1 -[text] INFO Text output written to file: output -tests.unit.core.test_issue.IssueTests.test_get_code -tests.unit.core.test_issue.IssueTests.test_get_code ... ok -[main] DEBUG logging initialized -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 -Config file '/tmp/tmppvdmtbq_.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. -Legacy blacklist data found in config, overriding data plugins -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_config.TestConfigCompat.test_converted_blacklist_import_test -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results_and_with_exit_zero_flag -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results_and_with_exit_zero_flag ... ok -tests.unit.core.test_config.TestGetOption.test_levels -tests.unit.core.test_config.TestGetOption.test_levels ... ok -Config file '/tmp/tmp_3hn3vu_.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. -Legacy blacklist data found in config, overriding data plugins -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok -[main] INFO Using command line arg for config file -[main] INFO Using ini file for skipped tests -[main] INFO Using ini file for selected tests -[main] INFO Using command line arg for selected targets -tests.unit.core.test_config.TestGetOption.test_levels_not_exist -tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... ok -Config file '/tmp/tmpssjmalj5.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. -Legacy blacklist data found in config, overriding data plugins -Config file '/tmp/tmpc8kzd3lk.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -Legacy blacklist data found in config, overriding data plugins -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -[main] INFO profile include tests: None -[main] INFO profile exclude tests: None -[main] INFO cli include tests: some_test -[main] INFO cli exclude tests: skip_test -Config file '/tmp/tmp9bt6ca4c.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.TestTomlConfig.test_bad_yaml -tests.unit.core.test_config.TestTomlConfig.test_bad_yaml ... ok -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_handle_ini_options -tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... ok -[main] ERROR : -tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config -tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... ok -Config file '/tmp/tmp0yq_x1xe.toml' 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. -Config file '/tmp/tmpyb4gf3na.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. -Legacy blacklist data found in config, overriding data plugins -tests.unit.core.test_config.TestTomlConfig.test_blacklist_error -tests.unit.core.test_config.TestTomlConfig.test_blacklist_error ... 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 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 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok -Config file '/tmp/tmp_y_y4xek.toml' 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 -[manager] WARNING Failed to load baseline data: 'issue_cwe' -[main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_data -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_data ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format -tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_formatConfig file '/tmp/tmpmy8f5prj.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. - ... Legacy blacklist data found in config, overriding data plugins -ok -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_test -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_test ... ok -Config file '/tmp/tmp03fiy2st.toml' 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.TestTomlConfig.test_converted_blacklist_import_data -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_data ... ok -Config file '/tmp/tmp1rg3slog.toml' 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.TestTomlConfig.test_converted_blacklist_import_test -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_test ... ok -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found -tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found ... ok -Config file '/tmp/tmpe9t2m7c6.toml' 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_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.core.test_config.TestTomlConfig.test_converted_exclude -tests.unit.core.test_config.TestTomlConfig.test_converted_exclude[main] INFO profile include tests: None -[main] INFO profile exclude tests: None -Config file '/tmp/tmpq8t3jeoq.toml' 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 cli include tests: None -[main] INFO cli exclude tests: badID - ... ok -Legacy blacklist data found in config, overriding data plugins -[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 -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.TestTomlConfig.test_converted_exclude_blacklist -tests.unit.core.test_config.TestTomlConfig.test_converted_exclude_blacklist ... 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/tmprphzuamd.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -Legacy blacklist data found in config, overriding data plugins -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -[main] INFO profile include tests: None -[main] INFO profile exclude tests: None -[main] INFO cli include tests: badID -[main] INFO cli exclude tests: None -[main] ERROR Unknown test found in profile: badID -tests.unit.core.test_config.TestTomlConfig.test_converted_include -tests.unit.core.test_config.TestTomlConfig.test_converted_include ... 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, --out OUTPUT_FILE - output file to save profile - -t, --tests TESTS list of test names to run - -s, --skip SKIPS list of test names to skip -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... ok -Config file '/tmp/tmp5i3ap93r.toml' 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.TestTomlConfig.test_deprecation_message -tests.unit.core.test_config.TestTomlConfig.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.formatters.test_xml.XmlFormatterTests.test_report -tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok -tests.unit.core.test_util.UtilTests.test_check_ast_node_good -tests.unit.core.test_util.UtilTests.test_check_ast_node_good ... ok -[ ERROR ] Current working directory is dirty and must be resolved -tests.unit.core.test_util.UtilTests.test_deepgetattr -tests.unit.core.test_util.UtilTests.test_deepgetattr ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo ... ok -tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid -tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid ... ok -tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed -tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_simple tests.unit.core.test_util.UtilTests.test_escaped_representation_simple ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable @@ -2246,9 +2338,9 @@ 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 -[ ERROR ] File bandit_baseline_result.txt already exists, aborting 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 +[ 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_abs_missingmid @@ -2259,12 +2351,12 @@ tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_typical ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir ... ok -[ INFO ] No output format specified, using terminal tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path ... ok -[ ERROR ] Temporary file _bandit_baseline_run.json_ needs to be removed prior to running +[ INFO ] No output format specified, using terminal tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend ... ok +[ 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 tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid @@ -2283,15 +2375,15 @@ tests.unit.core.test_util.UtilTests.test_namespace_path_join ... ok [ INFO ] No output format specified, using terminal [ ERROR ] Git command not found -tests.unit.core.test_util.UtilTests.test_namespace_path_split -tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... ok +tests.unit.core.test_util.UtilTests.test_namespace_path_split +tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must be called from a git project root -Unable to parse config file /tmp/tmp7_cpmceb or missing [bandit] section tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... ok +Unable to parse config file /tmp/tmps9smx2ok 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 @@ -2300,17 +2392,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_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 -[ INFO ] No output format specified, using terminal -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok [ ERROR ] Bandit baseline must not be called with the -o option tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument ... ok @@ -2319,7 +2403,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: [2543da24c552e204cbd5b3c892b36848154a512b master] +[ INFO ] Got current commit: [8581d350796b17394667cd39e3803f4c2e08a72e 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 @@ -2328,98 +2412,75 @@ 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: [a637ec6cb4d5ea5e0494564211ac5ab7cab031bd master] -[ INFO ] Got parent commit: [2543da24c552e204cbd5b3c892b36848154a512b master~1] +[ INFO ] Got current commit: [5d02630d36afd4d6ad19615021b893537e663541 master] +[ INFO ] Got parent commit: [8581d350796b17394667cd39e3803f4c2e08a72e master~1] [ INFO ] Getting Bandit baseline results -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpb7cb8z8b'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpw59dgyej'] Output: None [ INFO ] Comparing Bandit results to baseline -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpb7cb8z8b'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpw59dgyej'] 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.core.test_context.ContextTests.test__get_literal_value -tests.unit.core.test_context.ContextTests.test__get_literal_value ... ok -tests.unit.core.test_context.ContextTests.test_call_args -tests.unit.core.test_context.ContextTests.test_call_args ... ok -tests.unit.core.test_context.ContextTests.test_call_args_count -tests.unit.core.test_context.ContextTests.test_call_args_count ... ok -tests.unit.core.test_context.ContextTests.test_call_function_name -tests.unit.core.test_context.ContextTests.test_call_function_name ... ok -tests.unit.core.test_context.ContextTests.test_call_function_name_qual -tests.unit.core.test_context.ContextTests.test_call_function_name_qual ... ok -tests.unit.core.test_context.ContextTests.test_call_keywords -tests.unit.core.test_context.ContextTests.test_call_keywords ... ok -tests.unit.core.test_context.ContextTests.test_check_call_arg_value -tests.unit.core.test_context.ContextTests.test_check_call_arg_value ... ok -tests.unit.core.test_context.ContextTests.test_context_create -tests.unit.core.test_context.ContextTests.test_context_create ... ok -tests.unit.core.test_context.ContextTests.test_filename -tests.unit.core.test_context.ContextTests.test_filename ... ok -tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual -tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual ... ok -tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position -tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position ... ok -tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg -tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg ... ok -tests.unit.core.test_context.ContextTests.test_is_module_being_imported -tests.unit.core.test_context.ContextTests.test_is_module_being_imported ... ok -tests.unit.core.test_context.ContextTests.test_is_module_imported_exact -tests.unit.core.test_context.ContextTests.test_is_module_imported_exact ... ok -tests.unit.core.test_context.ContextTests.test_is_module_imported_like -tests.unit.core.test_context.ContextTests.test_is_module_imported_like ... ok -tests.unit.core.test_context.ContextTests.test_node -tests.unit.core.test_context.ContextTests.test_node ... ok -tests.unit.core.test_context.ContextTests.test_repr -tests.unit.core.test_context.ContextTests.test_repr ... ok -tests.unit.core.test_context.ContextTests.test_statement -tests.unit.core.test_context.ContextTests.test_statement ... ok -tests.unit.core.test_context.ContextTests.test_string_val -tests.unit.core.test_context.ContextTests.test_string_val ... ok -tests.unit.formatters.test_json.JsonFormatterTests.test_report -tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok +tests.unit.formatters.test_xml.XmlFormatterTests.test_report +tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok None ---------------------------------------------------------------------- -Ran 179 tests in 3.478s +Ran 179 tests in 5.629s OK + stestr slowest Test id Runtime (s) ----------------------------------------------------------------------------------------- ----------- -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 0.115 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 0.060 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.041 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure 0.030 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.030 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.029 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.029 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.026 -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_type 0.024 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 0.021 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 0.090 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 0.066 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.050 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.043 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.041 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure 0.040 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 0.036 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.033 +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.018 +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings 0.015 + rm -rf .stestr -+ [ 3.12 = disabled ] -+ echo 3.12 -+ cut -d. -f1 ++ for pyvers in ${PYTHON3S} ++ '[' 3.12 = disabled ']' +++ echo 3.12 +++ cut -d. -f1 + PYMAJOR=3 -+ echo ===> Testing with python (python3) ++ echo '===> Testing with python (python3)' ===> Testing with python (python3) -+ pwd -+ [ -d /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -z /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -e .stestr.conf ] -+ [ -x /usr/bin/python3-stestr ] +++ pwd ++ '[' -d /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -z /build/reproducible-path/bandit-1.7.10/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -e .stestr.conf ']' ++ '[' -x /usr/bin/python3-stestr ']' + STESTR=stestr + rm -rf .stestr -+ 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.*)) ++ 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.*))' + subunit2pyunit -[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_config.TestGetOption.test_levels +tests.unit.core.test_config.TestGetOption.test_levels ... ok +tests.unit.core.test_config.TestGetOption.test_levels_not_exist +tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... ok +tests.unit.core.test_issue.IssueTests.test_get_code +tests.unit.core.test_issue.IssueTests.test_get_code ... ok +tests.unit.core.test_issue.IssueTests.test_issue_as_dict +tests.unit.core.test_issue.IssueTests.test_issue_as_dict ... ok +tests.unit.core.test_issue.IssueTests.test_issue_create +tests.unit.core.test_issue.IssueTests.test_issue_create ... ok +tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence +tests.unit.core.test_issue.IssueTests.test_issue_filter_confidence ... ok +tests.unit.core.test_issue.IssueTests.test_issue_filter_severity +tests.unit.core.test_issue.IssueTests.test_issue_filter_severity ... ok +tests.unit.core.test_issue.IssueTests.test_issue_str +tests.unit.core.test_issue.IssueTests.test_issue_str ... ok +tests.unit.core.test_issue.IssueTests.test_matches_issue +tests.unit.core.test_issue.IssueTests.test_matches_issue ... ok tests.unit.core.test_manager.ManagerTests.test_compare_baseline tests.unit.core.test_manager.ManagerTests.test_compare_baseline ... ok tests.unit.core.test_manager.ManagerTests.test_create_manager @@ -2443,112 +2504,19 @@ 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.cli.test_baseline.BanditBaselineToolTests.test_init_logger -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... 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_manager.ManagerTests.test_output_results_invalid_format -tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format ... ok -tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format -tests.unit.core.test_manager.ManagerTests.test_output_results_valid_format ... ok -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... ok -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success -tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok -tests.unit.core.test_manager.ManagerTests.test_results_count -tests.unit.core.test_manager.ManagerTests.test_results_count ... ok -tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror -tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... ok -tests.unit.core.test_config.TestGetOption.test_levels -tests.unit.core.test_config.TestGetOption.test_levels ... ok -tests.unit.core.test_config.TestGetOption.test_levels_not_exist -tests.unit.core.test_config.TestGetOption.test_levels_not_exist ... ok -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt -tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok -Config file '/tmp/tmppgbvzsa8.toml' 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.TestTomlConfig.test_bad_yaml -tests.unit.core.test_config.TestTomlConfig.test_bad_yaml ... ok -Config file '/tmp/tmpx_m5trss.toml' 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.TestTomlConfig.test_blacklist_error -tests.unit.core.test_config.TestTomlConfig.test_blacklist_error ... ok -Config file '/tmp/tmpn7o6zo5c.toml' 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.TestTomlConfig.test_converted_blacklist_call_data -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_data ... ok -Config file '/tmp/tmprwnjfkca.toml' 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.TestTomlConfig.test_converted_blacklist_call_test -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_test ... ok -Config file '/tmp/tmpnf8zdns8.toml' 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.TestTomlConfig.test_converted_blacklist_import_data -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_data ... ok -Unable to parse config file /tmp/tmpos92n3hg or missing [bandit] section -Config file '/tmp/tmppxqqs3sk.toml' 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_blacklisting.BlacklistingTests.test_report_issue -tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue ... ok -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_test -tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_test ... ok -tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue_defaults -tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue_defaults ... ok -Config file '/tmp/tmp3lzmk_4s.toml' 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 -Multiple .bandit files found - scan separately or choose one with --ini - /tmp/tmpvqu3r13m/.bandit, /tmp/tmpvqu3r13m/second_config_directory/.bandit -tests.unit.core.test_config.TestTomlConfig.test_converted_exclude -tests.unit.core.test_config.TestTomlConfig.test_converted_exclude ... ok -tests.unit.core.test_issue.IssueTests.test_get_code -tests.unit.core.test_issue.IssueTests.test_get_code ... ok -Config file '/tmp/tmp0zm0hdtv.toml' 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 '/tmp/tmpjpcjdwy8.toml' 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 '/tmp/tmpa_ka8y17.toml' 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_issue.IssueTests.test_issue_as_dict -tests.unit.core.test_issue.IssueTests.test_issue_as_dictLegacy blacklist data found in config, overriding data plugins - ... 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 -[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_issue.IssueTests.test_issue_filter_severity -tests.unit.core.test_issue.IssueTests.test_issue_filter_severity ... ok -[main] WARNING Could not open baseline report: base.json -tests.unit.core.test_config.TestTomlConfig.test_converted_exclude_blacklist -tests.unit.core.test_config.TestTomlConfig.test_converted_exclude_blacklist ... ok +Unable to parse config file /tmp/tmpbjpvv579 or missing [bandit] section +tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger +tests.unit.cli.test_config_generator.BanditConfigGeneratorLoggerTests.test_init_logger ... 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_issue.IssueTests.test_issue_str -tests.unit.core.test_issue.IssueTests.test_issue_str ... ok -[main] ERROR bandit.yaml : Could not read config file. -tests.unit.core.test_issue.IssueTests.test_matches_issue -tests.unit.core.test_issue.IssueTests.test_matches_issue ... ok -tests.unit.core.test_config.TestTomlConfig.test_converted_include -tests.unit.core.test_config.TestTomlConfig.test_converted_include ... ok -tests.unit.formatters.test_json.JsonFormatterTests.test_report -tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok +Multiple .bandit files found - scan separately or choose one with --ini + /tmp/tmppaqnzo3h/.bandit, /tmp/tmppaqnzo3h/second_config_directory/.bandit tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok 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 tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_target ... ok -tests.unit.core.test_context.ContextTests.test__get_literal_value -tests.unit.core.test_context.ContextTests.test__get_literal_value ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions tests.unit.cli.test_main.BanditCLIMainTests.test_init_extensions ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val @@ -2557,230 +2525,314 @@ tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_val_with_str_default_and_no_arg_val ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_ini_value ... ok -tests.unit.core.test_config.TestTomlConfig.test_deprecation_message -tests.unit.core.test_config.TestTomlConfig.test_deprecation_message ... ok -tests.unit.formatters.test_sarif.SarifFormatterTests.test_report -tests.unit.formatters.test_sarif.SarifFormatterTests.test_report ... ok -tests.unit.core.test_docs_util.DocsUtilTests.test_import_call_bib -tests.unit.core.test_docs_util.DocsUtilTests.test_import_call_bib ... ok -tests.unit.core.test_docs_util.DocsUtilTests.test_overwrite_bib_info -tests.unit.core.test_docs_util.DocsUtilTests.test_overwrite_bib_info ... ok -tests.unit.core.test_context.ContextTests.test_call_args -tests.unit.core.test_context.ContextTests.test_call_args ... ok -tests.unit.core.test_context.ContextTests.test_call_args_count -tests.unit.core.test_context.ContextTests.test_call_args_count ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values +tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values ... ok +tests.unit.core.test_manager.ManagerTests.test_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] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None -[main] INFO using config: bandit.yaml -[main] INFO running on Python 3.12.8 -[text] INFO Text output written to file: output +tests.unit.core.test_context.ContextTests.test__get_literal_value +tests.unit.core.test_context.ContextTests.test__get_literal_value ... ok +[main] WARNING Could not open baseline report: base.json +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.core.test_context.ContextTests.test_call_args +tests.unit.core.test_context.ContextTests.test_call_args ... ok +tests.unit.core.test_context.ContextTests.test_call_args_count +tests.unit.core.test_context.ContextTests.test_call_args_count ... ok tests.unit.core.test_context.ContextTests.test_call_function_name tests.unit.core.test_context.ContextTests.test_call_function_name ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values -tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_no_values ... ok tests.unit.core.test_context.ContextTests.test_call_function_name_qual tests.unit.core.test_context.ContextTests.test_call_function_name_qual ... 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 -[main] INFO using config: bandit.yaml -[main] INFO running on Python 3.12.8 -tests.unit.core.test_docs_util.DocsUtilTests.test_plugin_call_bib -tests.unit.core.test_docs_util.DocsUtilTests.test_plugin_call_bib ... ok -[text] INFO Text output written to file: output +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_context.ContextTests.test_call_keywords tests.unit.core.test_context.ContextTests.test_call_keywords ... ok +tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror +tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... ok tests.unit.core.test_context.ContextTests.test_check_call_arg_value tests.unit.core.test_context.ContextTests.test_check_call_arg_value ... ok -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node -tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok +[main] ERROR bandit.yaml : Could not read config file. tests.unit.core.test_context.ContextTests.test_context_create tests.unit.core.test_context.ContextTests.test_context_create ... ok tests.unit.core.test_context.ContextTests.test_filename tests.unit.core.test_context.ContextTests.test_filename ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror -tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... ok -tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual -tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual ... 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 -Config file '/tmp/tmpjbl8stb2.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. -Legacy blacklist data found in config, overriding data plugins tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results ... ok +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json +tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... 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 +tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual +tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual ... ok +[main] INFO cli exclude tests: None +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 +[main] INFO using config: bandit.yaml +[main] INFO running on Python 3.12.8 +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_context.ContextTests.test_get_call_arg_at_position tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position ... ok -Config file '/tmp/tmpa_ys4e9k.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. -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.TestGetSetting.test_not_exist -tests.unit.core.test_config.TestGetSetting.test_not_exist ... 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.core.test_context.ContextTests.test_get_lineno_for_call_arg tests.unit.core.test_context.ContextTests.test_get_lineno_for_call_arg ... ok tests.unit.core.test_context.ContextTests.test_is_module_being_imported tests.unit.core.test_context.ContextTests.test_is_module_being_imported ... ok +[text] INFO Text output written to file: output tests.unit.core.test_context.ContextTests.test_is_module_imported_exact tests.unit.core.test_context.ContextTests.test_is_module_imported_exact ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... 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/tmpmry0e15d.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. -Legacy blacklist data found in config, overriding data plugins -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults ... ok -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_out_file ... ok -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults -tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults ... ok tests.unit.core.test_context.ContextTests.test_is_module_imported_like tests.unit.core.test_context.ContextTests.test_is_module_imported_like ... ok tests.unit.core.test_context.ContextTests.test_node tests.unit.core.test_context.ContextTests.test_node ... ok -Config file '/tmp/tmpzuvsa2sd.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. -Legacy blacklist data found in config, overriding data plugins tests.unit.core.test_context.ContextTests.test_repr tests.unit.core.test_context.ContextTests.test_repr ... ok tests.unit.core.test_context.ContextTests.test_statement tests.unit.core.test_context.ContextTests.test_statement ... ok +tests.unit.core.test_context.ContextTests.test_string_val +tests.unit.core.test_context.ContextTests.test_string_val ... ok +tests.unit.formatters.test_custom.CustomFormatterTests.test_report +tests.unit.formatters.test_custom.CustomFormatterTests.test_report ... 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_exit_with_no_results +tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_no_results ... 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 +[main] INFO using config: bandit.yaml +[main] INFO running on Python 3.12.8 +[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.TestInit.test_file_does_not_exist +tests.unit.core.test_config.TestInit.test_file_does_not_exist ... ok +tests.unit.core.test_config.TestInit.test_settings +tests.unit.core.test_config.TestInit.test_settings ... ok +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 +while parsing a flow sequence + in "/tmp/tmpouxceisb.yaml", line 1, column 3 +expected ',' or ']', but got '' + in "/tmp/tmpouxceisb.yaml", 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.formatters.test_xml.XmlFormatterTests.test_report +tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node ... ok +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str +tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str ... ok +[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_test_set.BanditTestSetTests.test_has_defaults tests.unit.core.test_test_set.BanditTestSetTests.test_has_defaults ... 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 +[main] INFO using config: bandit.yaml tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat ... ok +[main] INFO running on Python 3.12.8 +[text] INFO Text output written to file: output 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_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_context.ContextTests.test_string_val -tests.unit.core.test_context.ContextTests.test_string_val ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues -tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue -tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline -tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml -tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok -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_check_ast_node_good -tests.unit.core.test_util.UtilTests.test_check_ast_node_good ... 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_config.TestConfigCompat.test_converted_blacklist_call_test -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_test ... ok -Config file '/tmp/tmpisj0vgpy.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. -Legacy blacklist data found in config, overriding data plugins -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_exit_with_results_and_with_exit_zero_flag +tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results_and_with_exit_zero_flag ... ok +[main] INFO Using command line arg for config file +[main] INFO Using ini file for skipped tests +[main] INFO Using ini file for selected tests +[main] INFO Using command line arg for selected targets +[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: some_test +[main] INFO cli exclude tests: skip_test +tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options +tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... ok +[main] ERROR : +tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config +tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... 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 -[main] INFO using config: bandit.yaml -[main] INFO running on Python 3.12.8 -[text] INFO Text output written to file: output -Config file '/tmp/tmp6n_lyzvs.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. -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_util.UtilTests.test_escaped_representation_invalid -tests.unit.core.test_util.UtilTests.test_escaped_representation_invalid ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results_and_with_exit_zero_flag -tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results_and_with_exit_zero_flag ... 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 +[manager] WARNING Failed to load baseline data: 'issue_cwe' +[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_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 -[main] INFO Using command line arg for config file -[main] INFO Using ini file for skipped tests -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test -tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... [main] INFO Using ini file for selected tests -ok -[main] INFO Using command line arg for selected targets 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 +[main] DEBUG logging initialized +tests.unit.core.test_config.TestGetSetting.test_not_exist +tests.unit.core.test_config.TestGetSetting.test_not_exist ... 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 +tests.unit.core.test_docs_util.DocsUtilTests.test_import_call_bib +tests.unit.core.test_docs_util.DocsUtilTests.test_import_call_bib[main] ERROR Unknown test found in profile: badID + ... ok +tests.unit.core.test_docs_util.DocsUtilTests.test_overwrite_bib_info +tests.unit.core.test_docs_util.DocsUtilTests.test_overwrite_bib_info ... ok +tests.unit.core.test_docs_util.DocsUtilTests.test_plugin_call_bib +tests.unit.core.test_docs_util.DocsUtilTests.test_plugin_call_bib ... 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 -Config file '/tmp/tmpoz0t37i3.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found +tests.unit.cli.test_main.BanditCLIMainTests.test_main_profile_not_found ... ok [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. -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: some_test -[main] INFO cli exclude tests: skip_test +[main] INFO cli include tests: badID +[main] INFO cli exclude tests: None +[main] ERROR Unknown test found in profile: badID +Config file '/tmp/tmp5bzijh8e.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +Legacy blacklist data found in config, overriding data plugins +tests.unit.formatters.test_text.TextFormatterTests.test_no_issues +tests.unit.formatters.test_text.TextFormatterTests.test_no_issues ... 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 +Config file '/tmp/tmpxglh74p2.toml' 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_blacklisting.BlacklistingTests.test_report_issue +tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue ... ok +tests.unit.formatters.test_text.TextFormatterTests.test_output_issue +tests.unit.formatters.test_text.TextFormatterTests.test_output_issue ... [sarif] INFO SARIF output written to file: /tmp/tmpy1thq3q9 +ok +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok tests.unit.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.formatters.test_text.TextFormatterTests.test_report_baseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... 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_config.TestConfigCompat.test_converted_exclude -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... ok -[main] ERROR : -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_handle_ini_options -tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... ok +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline +tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none ... 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_invalid_config -tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... ok -Config file '/tmp/tmpway7qvqm.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_unknown_tests +tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... ok +Config file '/tmp/tmpkjhuufya.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist -tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -[main] INFO profile include tests: None -[main] INFO profile exclude tests: None -[main] INFO cli include tests: None -[main] INFO cli exclude tests: None -tests.unit.core.test_util.UtilTests.test_escaped_representation_simple -tests.unit.core.test_util.UtilTests.test_escaped_representation_simple ... ok -Run started:2024-12-25 10:23:54.241151 +tests.unit.formatters.test_yaml.YamlFormatterTests.test_report +tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... 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_util.UtilTests.test_check_ast_node_good +tests.unit.core.test_util.UtilTests.test_check_ast_node_good ... ok +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok +tests.unit.formatters.test_sarif.SarifFormatterTests.test_report +tests.unit.formatters.test_sarif.SarifFormatterTests.test_report ... ok +Config file '/tmp/tmp_ynj_1vs.toml' 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.TestTomlConfig.test_bad_yaml +tests.unit.core.test_config.TestTomlConfig.test_bad_yaml ... ok +tests.unit.core.test_config.TestTomlConfig.test_blacklist_error +tests.unit.core.test_config.TestTomlConfig.test_blacklist_error ... ok +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_data +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_data ... ok +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_test +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_call_test ... ok +Config file '/tmp/tmp2v3l0gfb.toml' 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_config_generator.BanditConfigGeneratorTests.test_get_config_settings +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_get_config_settings ... ok +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_data +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_data ... ok +Config file '/tmp/tmphuin3cx_.toml' 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.TestTomlConfig.test_converted_blacklist_import_test +tests.unit.core.test_config.TestTomlConfig.test_converted_blacklist_import_test ... ok +Config file '/tmp/tmphvjf0if4.toml' 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.TestTomlConfig.test_converted_exclude +tests.unit.core.test_config.TestTomlConfig.test_converted_exclude ... 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/tmpwvqoclxb.toml' 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_util.UtilTests.test_deepgetattr +tests.unit.core.test_util.UtilTests.test_deepgetattr ... Config file '/tmp/tmpdhy8r2tg.toml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. +ok +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_config.TestTomlConfig.test_converted_exclude_blacklist +tests.unit.core.test_config.TestTomlConfig.test_converted_exclude_blacklist ... ok +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults +tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_no_defaults ... ok +tests.unit.core.test_config.TestTomlConfig.test_converted_include +tests.unit.core.test_config.TestTomlConfig.test_converted_include ... 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 +Config file '/tmp/tmpes0mz9jc.toml' 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_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.TestTomlConfig.test_deprecation_message +tests.unit.core.test_config.TestTomlConfig.test_deprecation_message ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues +tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue +tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue ... ok +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... ok +Config file '/tmp/tmpsqqq4_4i.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml +tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... ok +Config file '/tmp/tmpf7r_6tnk.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. +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.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline +tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... ok +Config file '/tmp/tmp98se5tod.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. +Legacy blacklist data found in config, overriding data plugins +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_config.TestConfigCompat.test_converted_blacklist_call_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data ... ok +Config file '/tmp/tmpdygyyby6.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. +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 +Run started:2026-01-27 16:49:16.415161  Test results: ISSUE_OUTPUT_TEXT @@ -2812,7 +2864,7 @@ Medium: 0 High: 0 Files skipped (0): -Run started:2024-12-25 10:23:54.245209 +Run started:2026-01-27 16:49:16.417934 Files in scope (1): binding.py (score: {SEVERITY: 1, CONFIDENCE: 1}) Files excluded (1): @@ -2841,54 +2893,79 @@ High: 1 Files skipped (1): abc.py (File is bad) -[manager] WARNING Failed to load baseline data: 'issue_cwe' -[main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] -Config file '/tmp/tmp7xrk9nxq.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_mixed +tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed ... ok +Config file '/tmp/tmp1jt2ie0c.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. Legacy blacklist data found in config, overriding data plugins -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_config.TestConfigCompat.test_converted_blacklist_import_data +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok +[ INFO ] No output format specified, using terminal +Config file '/tmp/tmp3spooosc.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test +tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok +Config file '/tmp/tmpnov1hhqi.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. +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_util.UtilTests.test_escaped_representation_simple +tests.unit.core.test_util.UtilTests.test_escaped_representation_simple ... ok +[ ERROR ] Current working directory is dirty and must be resolved +Config file '/tmp/tmprfbnqcy4.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. +Legacy blacklist data found in config, overriding data plugins +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist +tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... ok +Config file '/tmp/tmpo63cngja.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_valid_not_printable +tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable ... ok +Legacy blacklist data found in config, overriding data plugins +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_config.TestConfigCompat.test_converted_include tests.unit.core.test_config.TestConfigCompat.test_converted_include ... 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/tmpde_r4g9a.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/tmp1d4623m6.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. Legacy blacklist data found in config, overriding data plugins -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_config.TestConfigCompat.test_deprecation_message tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... 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 -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -[main] INFO profile include tests: None -[main] INFO profile exclude tests: None -[main] INFO cli include tests: None -[main] INFO cli exclude tests: badID -[main] ERROR Unknown test found in profile: badID -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_skip_tests ... ok -[config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. -[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 -[json] INFO JSON output written to file: /tmp/tmpw4um0vfk tests.unit.core.test_util.UtilTests.test_get_call_name1 tests.unit.core.test_util.UtilTests.test_get_call_name1 ... ok -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests -tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... ok + +usage: bandit-config-generator [-h] [--show-defaults] [-o OUTPUT_FILE] + [-t TESTS] [-s SKIPS] + +Bandit Config Generator + + This tool is used to generate an optional profile. The profile may be used + to include or skip tests and override values for plugins. + + When used to store an output profile, this tool will output a template that + includes all plugins and their default settings. Any settings which aren't + being overridden can be safely removed from the profile and default values + will be used. Bandit will prefer settings from the profile over the built + in values. + +options: + -h, --help show this help message and exit + --show-defaults show the default settings values for each plugin but do not output a profile + -o OUTPUT_FILE, --out OUTPUT_FILE + output file to save profile + -t TESTS, --tests TESTS + list of test names to run + -s SKIPS, --skip SKIPS + list of test names to skip tests.unit.core.test_util.UtilTests.test_get_call_name2 tests.unit.core.test_util.UtilTests.test_get_call_name2 ... ok -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report -tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... ok tests.unit.core.test_util.UtilTests.test_get_call_name3 tests.unit.core.test_util.UtilTests.test_get_call_name3 ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingend ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid ... ok +[ ERROR ] File bandit_baseline_result.txt already exists, aborting tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms ... ok +tests.unit.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_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 @@ -2897,8 +2974,12 @@ tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend ... ok +[ INFO ] No output format specified, using terminal tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid ... ok +[ 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 tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_syms ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical @@ -2911,25 +2992,17 @@ tests.unit.core.test_util.UtilTests.test_linerange ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_join tests.unit.core.test_util.UtilTests.test_namespace_path_join ... ok +[ INFO ] No output format specified, using terminal +[ ERROR ] Git command not found tests.unit.core.test_util.UtilTests.test_namespace_path_split tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok -tests.unit.formatters.test_csv.CsvFormatterTests.test_report -tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok -tests.unit.formatters.test_xml.XmlFormatterTests.test_report -tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... ok -tests.unit.formatters.test_custom.CustomFormatterTests.test_report -tests.unit.formatters.test_custom.CustomFormatterTests.test_report ... 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_html.HtmlFormatterTests.test_escaping -tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok -Unable to parse config file /tmp/tmpguknwt3r or missing [bandit] section -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_report_contents -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... ok +[ INFO ] No output format specified, using terminal +[ ERROR ] Bandit baseline must be called from a git project root +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... ok +Unable to parse config file /tmp/tmpadcp8g1u 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 @@ -2940,31 +3013,16 @@ Cannot resolve file where 1 is defined tests.unit.core.test_util.UtilTests.test_path_for_function_no_module tests.unit.core.test_util.UtilTests.test_path_for_function_no_module ... ok -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped ... ok -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... 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 -[ 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 -[ 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 -[ INFO ] No output format specified, using terminal -[ ERROR ] Git command not found -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... ok -[ INFO ] No output format specified, using terminal -[ ERROR ] Bandit baseline must be called from a git project root -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... ok +tests.unit.formatters.test_csv.CsvFormatterTests.test_report +tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... ok +tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping +tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... ok [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must not be called with the -o option +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped +tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument ... ok [ INFO ] No output format specified, using terminal @@ -2972,7 +3030,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: [b9c7918af476ec39d5f53154db39a09965254e50 master] +[ INFO ] Got current commit: [3d3aa76f26a24b101a1ddc6a668ada60dc4cb87b 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 @@ -2981,49 +3039,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: [20afee258013f8773bbfb7aebd8c3d8fb86db3cd master] -[ INFO ] Got parent commit: [b9c7918af476ec39d5f53154db39a09965254e50 master~1] +[ INFO ] Got current commit: [2f42d3dd805af1abf534faeabd6506a824122fa0 master] +[ INFO ] Got parent commit: [3d3aa76f26a24b101a1ddc6a668ada60dc4cb87b master~1] [ INFO ] Getting Bandit baseline results -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpa4ncgsq4'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpkun2edne'] Output: None [ INFO ] Comparing Bandit results to baseline -[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpa4ncgsq4'] +[ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpkun2edne'] 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.core.test_config.TestInit.test_file_does_not_exist -tests.unit.core.test_config.TestInit.test_file_does_not_exist ... ok -tests.unit.core.test_config.TestInit.test_settings -tests.unit.core.test_config.TestInit.test_settings ... ok -while parsing a flow sequence - in "/tmp/tmpg4jj494g.yaml", line 1, column 3 -expected ',' or ']', but got '' - in "/tmp/tmpg4jj494g.yaml", 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.formatters.test_json.JsonFormatterTests.test_report +tests.unit.formatters.test_json.JsonFormatterTests.test_report ... ok None ---------------------------------------------------------------------- -Ran 179 tests in 5.699s +Ran 179 tests in 6.404s OK + stestr slowest -Test id Runtime (s) ------------------------------------------------------------------------------------------ ----------- -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 0.531 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 0.488 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.487 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure 0.309 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.233 -tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline 0.223 -tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped 0.217 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.207 -tests.unit.core.test_util.UtilTests.test_parse_ini_file 0.207 -tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 0.194 +Test id Runtime (s) +----------------------------------------------------------------------------------------------- ----------- +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error 0.087 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo 0.073 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure 0.070 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure 0.042 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit 0.042 +tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node 0.040 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file 0.037 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_report_file 0.037 +tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument 0.035 +tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results_and_with_exit_zero_flag 0.034 + rm -rf .stestr # Generate the config file mkdir -p /build/reproducible-path/bandit-1.7.10/debian/bandit/etc/bandit @@ -3049,9 +3097,9 @@ make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh_python3 --shebang=/usr/bin/python3 -I: dh_python3 tools:113: replacing shebang in debian/python3-bandit/usr/bin/bandit-config-generator -I: dh_python3 tools:113: replacing shebang in debian/python3-bandit/usr/bin/bandit-baseline I: dh_python3 tools:113: replacing shebang in debian/python3-bandit/usr/bin/bandit +I: dh_python3 tools:113: replacing shebang in debian/python3-bandit/usr/bin/bandit-baseline +I: dh_python3 tools:113: replacing shebang in debian/python3-bandit/usr/bin/bandit-config-generator make[1]: Leaving directory '/build/reproducible-path/bandit-1.7.10' debian/rules override_dh_installinit make[1]: Entering directory '/build/reproducible-path/bandit-1.7.10' @@ -3064,14 +3112,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 \ @@ -3080,7 +3128,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.7.10' @@ -3115,12 +3163,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/635476/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/635476/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/1566914 and its subdirectories -I: Current time: Tue Dec 24 22:24:03 -12 2024 -I: pbuilder-time-stamp: 1735122243 +I: removing directory /srv/workspace/pbuilder/635476 and its subdirectories +I: Current time: Wed Jan 28 06:49:24 +14 2026 +I: pbuilder-time-stamp: 1769532564