https://launchpad.net/ubuntu/+archive/test-rebuild-20191220-focal/+build/18283026 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux lcy01-amd64-020 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 x86_64 Buildd toolchain package versions: launchpad-buildd_183 python-lpbuildd_183 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.6~git201906051340.ff11471~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.7 dpkg-dev_1.18.4ubuntu1.6 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 5 Jan 12:35:25 ntpdate[1897]: adjust time server 10.211.37.1 offset 0.044605 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=amd64 PACKAGEBUILD-18283026 --image-type chroot /home/buildd/filecache-default/e96c25c651525abc9f0cabeb95ea71010abf4ecb Creating target for build PACKAGEBUILD-18283026 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=amd64 PACKAGEBUILD-18283026 Starting target for build PACKAGEBUILD-18283026 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=amd64 PACKAGEBUILD-18283026 'deb http://ftpmaster.internal/ubuntu focal main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-18283026 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=amd64 PACKAGEBUILD-18283026 Updating target for build PACKAGEBUILD-18283026 Get:1 http://ftpmaster.internal/ubuntu focal InRelease [255 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main amd64 Packages [966 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main Translation-en [499 kB] Get:4 http://ftpmaster.internal/ubuntu focal/restricted amd64 Packages [18.4 kB] Get:5 http://ftpmaster.internal/ubuntu focal/restricted Translation-en [5768 B] Get:6 http://ftpmaster.internal/ubuntu focal/universe amd64 Packages [8671 kB] Get:7 http://ftpmaster.internal/ubuntu focal/universe Translation-en [5195 kB] Get:8 http://ftpmaster.internal/ubuntu focal/multiverse amd64 Packages [152 kB] Get:9 http://ftpmaster.internal/ubuntu focal/multiverse Translation-en [110 kB] Fetched 15.9 MB in 2s (6679 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libhogweed5 libisl22 libnettle7 libperl5.30 perl-modules-5.30 The following packages will be upgraded: apt base-files base-passwd bash binutils binutils-common binutils-x86-64-linux-gnu bsdutils bzip2 cpp-9 debianutils fdisk g++-9 gcc-9 gcc-9-base gpg gpg-agent gpgconf gpgv gzip hostname libacl1 libapparmor1 libapt-pkg5.90 libasan5 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcryptsetup12 libdebconfclient0 libdevmapper1.02.1 libfdisk1 libgcc-9-dev libgcc1 libgcrypt20 libgnutls30 libgomp1 libitm1 libjson-c4 libkmod2 liblockfile-bin liblockfile1 liblsan0 liblz4-1 libmount1 libncurses6 libncursesw6 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libquadmath0 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libsqlite3-0 libstdc++-9-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libtsan0 libubsan1 libudev1 libuuid1 libzstd1 linux-libc-dev lsb-base mount ncurses-base ncurses-bin perl perl-base sensible-utils systemd systemd-sysv sysvinit-utils util-linux 94 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 70.2 MB of archives. After this operation, 51.0 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu focal/main amd64 libc6-dev amd64 2.30-0ubuntu3 [2549 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main amd64 libc-dev-bin amd64 2.30-0ubuntu3 [71.8 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main amd64 linux-libc-dev amd64 5.3.0-24.26 [1096 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main amd64 libisl22 amd64 0.22-2 [592 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main amd64 libcc1-0 amd64 9.2.1-21ubuntu1 [49.0 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main amd64 binutils-x86-64-linux-gnu amd64 2.33.1-6ubuntu3 [1639 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main amd64 libbinutils amd64 2.33.1-6ubuntu3 [474 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main amd64 binutils-common amd64 2.33.1-6ubuntu3 [203 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main amd64 binutils amd64 2.33.1-6ubuntu3 [3400 B] Get:10 http://ftpmaster.internal/ubuntu focal/main amd64 gcc-9-base amd64 9.2.1-21ubuntu1 [19.1 kB] Get:11 http://ftpmaster.internal/ubuntu focal/main amd64 libgcc1 amd64 1:9.2.1-21ubuntu1 [40.8 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main amd64 libgomp1 amd64 9.2.1-21ubuntu1 [89.3 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main amd64 libitm1 amd64 9.2.1-21ubuntu1 [28.1 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main amd64 libatomic1 amd64 9.2.1-21ubuntu1 [9236 B] Get:15 http://ftpmaster.internal/ubuntu focal/main amd64 libasan5 amd64 9.2.1-21ubuntu1 [395 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main amd64 liblsan0 amd64 9.2.1-21ubuntu1 [139 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main amd64 libtsan0 amd64 9.2.1-21ubuntu1 [301 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main amd64 libubsan1 amd64 9.2.1-21ubuntu1 [130 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main amd64 libquadmath0 amd64 9.2.1-21ubuntu1 [146 kB] Get:20 http://ftpmaster.internal/ubuntu focal/main amd64 g++-9 amd64 9.2.1-21ubuntu1 [11.0 MB] Get:21 http://ftpmaster.internal/ubuntu focal/main amd64 libstdc++-9-dev amd64 9.2.1-21ubuntu1 [1709 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main amd64 libgcc-9-dev amd64 9.2.1-21ubuntu1 [2362 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main amd64 gcc-9 amd64 9.2.1-21ubuntu1 [10.4 MB] Get:24 http://ftpmaster.internal/ubuntu focal/main amd64 cpp-9 amd64 9.2.1-21ubuntu1 [9729 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main amd64 libstdc++6 amd64 9.2.1-21ubuntu1 [512 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main amd64 libc6 amd64 2.30-0ubuntu3 [2725 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main amd64 base-files amd64 11ubuntu2 [60.1 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main amd64 debianutils amd64 4.9.1 [85.8 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main amd64 bash amd64 5.0-5ubuntu1 [639 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main amd64 bsdutils amd64 1:2.34-0.1ubuntu4 [63.8 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main amd64 gzip amd64 1.10-0ubuntu4 [95.3 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main amd64 hostname amd64 3.23 [11.4 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main amd64 ncurses-bin amd64 6.1+20191019-1ubuntu1 [172 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main amd64 perl-modules-5.30 all 5.30.0-9 [2739 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main amd64 libperl5.30 amd64 5.30.0-9 [3950 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main amd64 perl amd64 5.30.0-9 [224 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main amd64 perl-base amd64 5.30.0-9 [1511 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main amd64 bzip2 amd64 1.0.8-2 [34.1 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main amd64 libbz2-1.0 amd64 1.0.8-2 [32.3 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main amd64 libblkid1 amd64 2.34-0.1ubuntu4 [137 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main amd64 libuuid1 amd64 2.34-0.1ubuntu4 [20.5 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main amd64 libfdisk1 amd64 2.34-0.1ubuntu4 [175 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main amd64 libpcre2-8-0 amd64 10.34-7 [197 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main amd64 libselinux1 amd64 3.0-1 [68.7 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main amd64 libmount1 amd64 2.34-0.1ubuntu4 [149 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main amd64 libncurses6 amd64 6.1+20191019-1ubuntu1 [101 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main amd64 libtinfo6 amd64 6.1+20191019-1ubuntu1 [85.9 kB] Get:48 http://ftpmaster.internal/ubuntu focal/main amd64 libncursesw6 amd64 6.1+20191019-1ubuntu1 [132 kB] Get:49 http://ftpmaster.internal/ubuntu focal/main amd64 libsmartcols1 amd64 2.34-0.1ubuntu4 [101 kB] Get:50 http://ftpmaster.internal/ubuntu focal/main amd64 fdisk amd64 2.34-0.1ubuntu4 [120 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main amd64 util-linux amd64 2.34-0.1ubuntu4 [1022 kB] Get:52 http://ftpmaster.internal/ubuntu focal/main amd64 libdebconfclient0 amd64 0.250ubuntu2 [6336 B] Get:53 http://ftpmaster.internal/ubuntu focal/main amd64 base-passwd amd64 3.5.47 [47.7 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main amd64 libc-bin amd64 2.30-0ubuntu3 [625 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main amd64 ncurses-base all 6.1+20191019-1ubuntu1 [17.9 kB] Get:56 http://ftpmaster.internal/ubuntu focal/main amd64 lsb-base all 11.1.0ubuntu2 [12.1 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main amd64 sysvinit-utils amd64 2.96-1ubuntu1 [20.8 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main amd64 liblz4-1 amd64 1.9.2-2 [55.9 kB] Get:59 http://ftpmaster.internal/ubuntu focal/main amd64 systemd-sysv amd64 244-3ubuntu1 [9368 B] Get:60 http://ftpmaster.internal/ubuntu focal/main amd64 libacl1 amd64 2.2.53-5ubuntu1 [18.7 kB] Get:61 http://ftpmaster.internal/ubuntu focal/main amd64 libapparmor1 amd64 2.13.3-7ubuntu1 [34.3 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main amd64 libaudit-common all 1:2.8.5-2ubuntu5 [4076 B] Get:63 http://ftpmaster.internal/ubuntu focal/main amd64 libcap-ng0 amd64 0.7.9-2.1 [11.1 kB] Get:64 http://ftpmaster.internal/ubuntu focal/main amd64 libaudit1 amd64 1:2.8.5-2ubuntu5 [39.1 kB] Get:65 http://ftpmaster.internal/ubuntu focal/main amd64 libcap2 amd64 1:2.27-1 [14.1 kB] Get:66 http://ftpmaster.internal/ubuntu focal/main amd64 libudev1 amd64 244-3ubuntu1 [76.3 kB] Get:67 http://ftpmaster.internal/ubuntu focal/main amd64 libdevmapper1.02.1 amd64 2:1.02.155-2ubuntu7 [127 kB] Get:68 http://ftpmaster.internal/ubuntu focal/main amd64 libjson-c4 amd64 0.13.1+dfsg-6 [29.2 kB] Get:69 http://ftpmaster.internal/ubuntu focal/main amd64 libcryptsetup12 amd64 2:2.2.2-1ubuntu1 [182 kB] Get:70 http://ftpmaster.internal/ubuntu focal/main amd64 libnettle7 amd64 3.5.1+really3.5.1-2 [114 kB] Get:71 http://ftpmaster.internal/ubuntu focal/main amd64 libhogweed5 amd64 3.5.1+really3.5.1-2 [138 kB] Get:72 http://ftpmaster.internal/ubuntu focal/main amd64 libp11-kit0 amd64 0.23.18.1-2 [189 kB] Get:73 http://ftpmaster.internal/ubuntu focal/main amd64 libtasn1-6 amd64 4.15.0-2 [37.7 kB] Get:74 http://ftpmaster.internal/ubuntu focal/main amd64 libgnutls30 amd64 3.6.11.1-2 [793 kB] Get:75 http://ftpmaster.internal/ubuntu focal/main amd64 libkmod2 amd64 26-3ubuntu1 [42.9 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main amd64 libpam0g amd64 1.3.1-5ubuntu4 [55.4 kB] Get:77 http://ftpmaster.internal/ubuntu focal/main amd64 libseccomp2 amd64 2.4.2-2ubuntu1 [39.4 kB] Get:78 http://ftpmaster.internal/ubuntu focal/main amd64 mount amd64 2.34-0.1ubuntu4 [115 kB] Get:79 http://ftpmaster.internal/ubuntu focal/main amd64 systemd amd64 244-3ubuntu1 [3677 kB] Get:80 http://ftpmaster.internal/ubuntu focal/main amd64 libsystemd0 amd64 244-3ubuntu1 [260 kB] Get:81 http://ftpmaster.internal/ubuntu focal/main amd64 libzstd1 amd64 1.4.4+dfsg-1 [237 kB] Get:82 http://ftpmaster.internal/ubuntu focal/main amd64 libapt-pkg5.90 amd64 1.9.5 [851 kB] Get:83 http://ftpmaster.internal/ubuntu focal/main amd64 libgcrypt20 amd64 1.8.5-3ubuntu1 [419 kB] Get:84 http://ftpmaster.internal/ubuntu focal/main amd64 gpgv amd64 2.2.17-3ubuntu1 [200 kB] Get:85 http://ftpmaster.internal/ubuntu focal/main amd64 apt amd64 1.9.5 [1281 kB] Get:86 http://ftpmaster.internal/ubuntu focal/main amd64 libpam-modules-bin amd64 1.3.1-5ubuntu4 [37.7 kB] Get:87 http://ftpmaster.internal/ubuntu focal/main amd64 libpam-modules amd64 1.3.1-5ubuntu4 [250 kB] Get:88 http://ftpmaster.internal/ubuntu focal/main amd64 libattr1 amd64 1:2.4.48-5 [12.7 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main amd64 libpam-runtime all 1.3.1-5ubuntu4 [37.3 kB] Get:90 http://ftpmaster.internal/ubuntu focal/main amd64 libsepol1 amd64 3.0-1 [252 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main amd64 libsemanage-common all 3.0-1 [9880 B] Get:92 http://ftpmaster.internal/ubuntu focal/main amd64 libsemanage1 amd64 3.0-1 [85.3 kB] Get:93 http://ftpmaster.internal/ubuntu focal/main amd64 sensible-utils all 0.0.12+nmu1 [15.0 kB] Get:94 http://ftpmaster.internal/ubuntu focal/main amd64 libsqlite3-0 amd64 3.30.1-1ubuntu1 [540 kB] Get:95 http://ftpmaster.internal/ubuntu focal/main amd64 gpg amd64 2.2.17-3ubuntu1 [479 kB] Get:96 http://ftpmaster.internal/ubuntu focal/main amd64 gpgconf amd64 2.2.17-3ubuntu1 [124 kB] Get:97 http://ftpmaster.internal/ubuntu focal/main amd64 gpg-agent amd64 2.2.17-3ubuntu1 [232 kB] Get:98 http://ftpmaster.internal/ubuntu focal/main amd64 liblockfile-bin amd64 1.16-1.1 [11.7 kB] Get:99 http://ftpmaster.internal/ubuntu focal/main amd64 liblockfile1 amd64 1.16-1.1 [6680 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 70.2 MB in 1s (56.3 MB/s) (Reading database ... 12741 files and directories currently installed.) Preparing to unpack .../0-libc6-dev_2.30-0ubuntu3_amd64.deb ... Unpacking libc6-dev:amd64 (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../1-libc-dev-bin_2.30-0ubuntu3_amd64.deb ... Unpacking libc-dev-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../2-linux-libc-dev_5.3.0-24.26_amd64.deb ... Unpacking linux-libc-dev:amd64 (5.3.0-24.26) over (5.3.0-18.19) ... Selecting previously unselected package libisl22:amd64. Preparing to unpack .../3-libisl22_0.22-2_amd64.deb ... Unpacking libisl22:amd64 (0.22-2) ... Preparing to unpack .../4-libcc1-0_9.2.1-21ubuntu1_amd64.deb ... Unpacking libcc1-0:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../5-binutils-x86-64-linux-gnu_2.33.1-6ubuntu3_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../6-libbinutils_2.33.1-6ubuntu3_amd64.deb ... Unpacking libbinutils:amd64 (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../7-binutils-common_2.33.1-6ubuntu3_amd64.deb ... Unpacking binutils-common:amd64 (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../8-binutils_2.33.1-6ubuntu3_amd64.deb ... Unpacking binutils (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../9-gcc-9-base_9.2.1-21ubuntu1_amd64.deb ... Unpacking gcc-9-base:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Setting up gcc-9-base:amd64 (9.2.1-21ubuntu1) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a9.2.1-21ubuntu1_amd64.deb ... Unpacking libgcc1:amd64 (1:9.2.1-21ubuntu1) over (1:9.2.1-9ubuntu2) ... Setting up libgcc1:amd64 (1:9.2.1-21ubuntu1) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../00-libgomp1_9.2.1-21ubuntu1_amd64.deb ... Unpacking libgomp1:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../01-libitm1_9.2.1-21ubuntu1_amd64.deb ... Unpacking libitm1:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../02-libatomic1_9.2.1-21ubuntu1_amd64.deb ... Unpacking libatomic1:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../03-libasan5_9.2.1-21ubuntu1_amd64.deb ... Unpacking libasan5:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../04-liblsan0_9.2.1-21ubuntu1_amd64.deb ... Unpacking liblsan0:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../05-libtsan0_9.2.1-21ubuntu1_amd64.deb ... Unpacking libtsan0:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../06-libubsan1_9.2.1-21ubuntu1_amd64.deb ... Unpacking libubsan1:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../07-libquadmath0_9.2.1-21ubuntu1_amd64.deb ... Unpacking libquadmath0:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../08-g++-9_9.2.1-21ubuntu1_amd64.deb ... Unpacking g++-9 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../09-libstdc++-9-dev_9.2.1-21ubuntu1_amd64.deb ... Unpacking libstdc++-9-dev:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../10-libgcc-9-dev_9.2.1-21ubuntu1_amd64.deb ... Unpacking libgcc-9-dev:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../11-gcc-9_9.2.1-21ubuntu1_amd64.deb ... Unpacking gcc-9 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../12-cpp-9_9.2.1-21ubuntu1_amd64.deb ... Unpacking cpp-9 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../13-libstdc++6_9.2.1-21ubuntu1_amd64.deb ... Unpacking libstdc++6:amd64 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Setting up libstdc++6:amd64 (9.2.1-21ubuntu1) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../libc6_2.30-0ubuntu3_amd64.deb ... Unpacking libc6:amd64 (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc6:amd64 (2.30-0ubuntu3) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu2_amd64.deb ... Unpacking base-files (11ubuntu2) over (10.2ubuntu7) ... Setting up base-files (11ubuntu2) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/50-motd-news ... Updating /root/.profile to current default. (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../debianutils_4.9.1_amd64.deb ... Unpacking debianutils (4.9.1) over (4.8.6.3) ... Setting up debianutils (4.9.1) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../bash_5.0-5ubuntu1_amd64.deb ... Unpacking bash (5.0-5ubuntu1) over (5.0-4ubuntu1) ... Setting up bash (5.0-5ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.34-0.1ubuntu4_amd64.deb ... Unpacking bsdutils (1:2.34-0.1ubuntu4) over (1:2.34-0.1ubuntu2) ... Setting up bsdutils (1:2.34-0.1ubuntu4) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../gzip_1.10-0ubuntu4_amd64.deb ... Unpacking gzip (1.10-0ubuntu4) over (1.10-0ubuntu3) ... Setting up gzip (1.10-0ubuntu4) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../hostname_3.23_amd64.deb ... Unpacking hostname (3.23) over (3.22) ... Setting up hostname (3.23) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20191019-1ubuntu1_amd64.deb ... Unpacking ncurses-bin (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-bin (6.1+20191019-1ubuntu1) ... (Reading database ... 12747 files and directories currently installed.) Preparing to unpack .../perl_5.30.0-9_amd64.deb ... Unpacking perl (5.30.0-9) over (5.28.1-6build1) ... Replacing files in old package perl-base (5.28.1-6build1) ... Selecting previously unselected package perl-modules-5.30. Preparing to unpack .../perl-modules-5.30_5.30.0-9_all.deb ... Unpacking perl-modules-5.30 (5.30.0-9) ... Selecting previously unselected package libperl5.30:amd64. Preparing to unpack .../libperl5.30_5.30.0-9_amd64.deb ... Unpacking libperl5.30:amd64 (5.30.0-9) ... Preparing to unpack .../perl-base_5.30.0-9_amd64.deb ... Unpacking perl-base (5.30.0-9) over (5.28.1-6build1) ... Setting up perl-base (5.30.0-9) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-2_amd64.deb ... Unpacking bzip2 (1.0.8-2) over (1.0.6-9.2) ... Preparing to unpack .../libbz2-1.0_1.0.8-2_amd64.deb ... Unpacking libbz2-1.0:amd64 (1.0.8-2) over (1.0.6-9.2) ... Setting up libbz2-1.0:amd64 (1.0.8-2) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libblkid1_2.34-0.1ubuntu4_amd64.deb ... Unpacking libblkid1:amd64 (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libblkid1:amd64 (2.34-0.1ubuntu4) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libuuid1_2.34-0.1ubuntu4_amd64.deb ... Unpacking libuuid1:amd64 (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libuuid1:amd64 (2.34-0.1ubuntu4) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.34-0.1ubuntu4_amd64.deb ... Unpacking libfdisk1:amd64 (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libfdisk1:amd64 (2.34-0.1ubuntu4) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.34-7_amd64.deb ... Unpacking libpcre2-8-0:amd64 (10.34-7) over (10.32-5) ... Setting up libpcre2-8-0:amd64 (10.34-7) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libselinux1_3.0-1_amd64.deb ... Unpacking libselinux1:amd64 (3.0-1) over (2.9-2) ... Setting up libselinux1:amd64 (3.0-1) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libmount1_2.34-0.1ubuntu4_amd64.deb ... Unpacking libmount1:amd64 (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libmount1:amd64 (2.34-0.1ubuntu4) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libncurses6_6.1+20191019-1ubuntu1_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Preparing to unpack .../libtinfo6_6.1+20191019-1ubuntu1_amd64.deb ... Unpacking libtinfo6:amd64 (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libtinfo6:amd64 (6.1+20191019-1ubuntu1) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.1+20191019-1ubuntu1_amd64.deb ... Unpacking libncursesw6:amd64 (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libncursesw6:amd64 (6.1+20191019-1ubuntu1) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.34-0.1ubuntu4_amd64.deb ... Unpacking libsmartcols1:amd64 (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libsmartcols1:amd64 (2.34-0.1ubuntu4) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../fdisk_2.34-0.1ubuntu4_amd64.deb ... Unpacking fdisk (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up fdisk (2.34-0.1ubuntu4) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../util-linux_2.34-0.1ubuntu4_amd64.deb ... Unpacking util-linux (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up util-linux (2.34-0.1ubuntu4) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.250ubuntu2_amd64.deb ... Unpacking libdebconfclient0:amd64 (0.250ubuntu2) over (0.249ubuntu1) ... Setting up libdebconfclient0:amd64 (0.250ubuntu2) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.47_amd64.deb ... Unpacking base-passwd (3.5.47) over (3.5.46) ... Setting up base-passwd (3.5.47) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../libc-bin_2.30-0ubuntu3_amd64.deb ... Unpacking libc-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc-bin (2.30-0ubuntu3) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1+20191019-1ubuntu1_all.deb ... Unpacking ncurses-base (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-base (6.1+20191019-1ubuntu1) ... (Reading database ... 14650 files and directories currently installed.) Preparing to unpack .../lsb-base_11.1.0ubuntu2_all.deb ... Unpacking lsb-base (11.1.0ubuntu2) over (11.0.1ubuntu1) ... Setting up lsb-base (11.1.0ubuntu2) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.96-1ubuntu1_amd64.deb ... Unpacking sysvinit-utils (2.96-1ubuntu1) over (2.95-5ubuntu2) ... Setting up sysvinit-utils (2.96-1ubuntu1) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.2-2_amd64.deb ... Unpacking liblz4-1:amd64 (1.9.2-2) over (1.9.1-1) ... Setting up liblz4-1:amd64 (1.9.2-2) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../systemd-sysv_244-3ubuntu1_amd64.deb ... Unpacking systemd-sysv (244-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libacl1_2.2.53-5ubuntu1_amd64.deb ... Unpacking libacl1:amd64 (2.2.53-5ubuntu1) over (2.2.53-4) ... Setting up libacl1:amd64 (2.2.53-5ubuntu1) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.13.3-7ubuntu1_amd64.deb ... Unpacking libapparmor1:amd64 (2.13.3-7ubuntu1) over (2.13.3-5ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a2.8.5-2ubuntu5_all.deb ... Unpacking libaudit-common (1:2.8.5-2ubuntu5) over (1:2.8.5-2ubuntu1) ... Setting up libaudit-common (1:2.8.5-2ubuntu5) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-2.1_amd64.deb ... Unpacking libcap-ng0:amd64 (0.7.9-2.1) over (0.7.9-2) ... Setting up libcap-ng0:amd64 (0.7.9-2.1) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.5-2ubuntu5_amd64.deb ... Unpacking libaudit1:amd64 (1:2.8.5-2ubuntu5) over (1:2.8.5-2ubuntu1) ... Setting up libaudit1:amd64 (1:2.8.5-2ubuntu5) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.27-1_amd64.deb ... Unpacking libcap2:amd64 (1:2.27-1) over (1:2.25-2) ... Preparing to unpack .../libudev1_244-3ubuntu1_amd64.deb ... Unpacking libudev1:amd64 (244-3ubuntu1) over (242-7ubuntu3) ... Setting up libudev1:amd64 (244-3ubuntu1) ... (Reading database ... 14649 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.155-2ubuntu7_amd64.deb ... Unpacking libdevmapper1.02.1:amd64 (2:1.02.155-2ubuntu7) over (2:1.02.155-2ubuntu6) ... Preparing to unpack .../libjson-c4_0.13.1+dfsg-6_amd64.deb ... Unpacking libjson-c4:amd64 (0.13.1+dfsg-6) over (0.13.1+dfsg-4) ... Preparing to unpack .../libcryptsetup12_2%3a2.2.2-1ubuntu1_amd64.deb ... Unpacking libcryptsetup12:amd64 (2:2.2.2-1ubuntu1) over (2:2.2.0-3ubuntu1) ... Selecting previously unselected package libnettle7:amd64. Preparing to unpack .../libnettle7_3.5.1+really3.5.1-2_amd64.deb ... Unpacking libnettle7:amd64 (3.5.1+really3.5.1-2) ... Setting up libnettle7:amd64 (3.5.1+really3.5.1-2) ... Selecting previously unselected package libhogweed5:amd64. (Reading database ... 14656 files and directories currently installed.) Preparing to unpack .../libhogweed5_3.5.1+really3.5.1-2_amd64.deb ... Unpacking libhogweed5:amd64 (3.5.1+really3.5.1-2) ... Setting up libhogweed5:amd64 (3.5.1+really3.5.1-2) ... (Reading database ... 14659 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.18.1-2_amd64.deb ... Unpacking libp11-kit0:amd64 (0.23.18.1-2) over (0.23.17-2) ... Setting up libp11-kit0:amd64 (0.23.18.1-2) ... (Reading database ... 14659 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.15.0-2_amd64.deb ... Unpacking libtasn1-6:amd64 (4.15.0-2) over (4.14-3) ... Setting up libtasn1-6:amd64 (4.15.0-2) ... (Reading database ... 14659 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.11.1-2_amd64.deb ... Unpacking libgnutls30:amd64 (3.6.11.1-2) over (3.6.9-5ubuntu1) ... Setting up libgnutls30:amd64 (3.6.11.1-2) ... (Reading database ... 14658 files and directories currently installed.) Preparing to unpack .../libkmod2_26-3ubuntu1_amd64.deb ... Unpacking libkmod2:amd64 (26-3ubuntu1) over (26-1ubuntu1) ... Preparing to unpack .../libpam0g_1.3.1-5ubuntu4_amd64.deb ... Unpacking libpam0g:amd64 (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam0g:amd64 (1.3.1-5ubuntu4) ... (Reading database ... 14658 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.4.2-2ubuntu1_amd64.deb ... Unpacking libseccomp2:amd64 (2.4.2-2ubuntu1) over (2.4.1-0ubuntu0.19.10.3) ... Setting up libseccomp2:amd64 (2.4.2-2ubuntu1) ... (Reading database ... 14658 files and directories currently installed.) Preparing to unpack .../mount_2.34-0.1ubuntu4_amd64.deb ... Unpacking mount (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Preparing to unpack .../systemd_244-3ubuntu1_amd64.deb ... Unpacking systemd (244-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libsystemd0_244-3ubuntu1_amd64.deb ... Unpacking libsystemd0:amd64 (244-3ubuntu1) over (242-7ubuntu3) ... Setting up libsystemd0:amd64 (244-3ubuntu1) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libzstd1_1.4.4+dfsg-1_amd64.deb ... Unpacking libzstd1:amd64 (1.4.4+dfsg-1) over (1.4.3+dfsg-1) ... Setting up libzstd1:amd64 (1.4.4+dfsg-1) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.90_1.9.5_amd64.deb ... Unpacking libapt-pkg5.90:amd64 (1.9.5) over (1.9.4) ... Setting up libapt-pkg5.90:amd64 (1.9.5) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.5-3ubuntu1_amd64.deb ... Unpacking libgcrypt20:amd64 (1.8.5-3ubuntu1) over (1.8.4-5ubuntu2) ... Setting up libgcrypt20:amd64 (1.8.5-3ubuntu1) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.17-3ubuntu1_amd64.deb ... Unpacking gpgv (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Setting up gpgv (2.2.17-3ubuntu1) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../archives/apt_1.9.5_amd64.deb ... Unpacking apt (1.9.5) over (1.9.4) ... Setting up apt (1.9.5) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.3.1-5ubuntu4_amd64.deb ... Unpacking libpam-modules-bin (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules-bin (1.3.1-5ubuntu4) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.3.1-5ubuntu4_amd64.deb ... Unpacking libpam-modules:amd64 (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules:amd64 (1.3.1-5ubuntu4) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libattr1_1%3a2.4.48-5_amd64.deb ... Unpacking libattr1:amd64 (1:2.4.48-5) over (1:2.4.48-4) ... Setting up libattr1:amd64 (1:2.4.48-5) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.3.1-5ubuntu4_all.deb ... Unpacking libpam-runtime (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-runtime (1.3.1-5ubuntu4) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libsepol1_3.0-1_amd64.deb ... Unpacking libsepol1:amd64 (3.0-1) over (2.9-2) ... Setting up libsepol1:amd64 (3.0-1) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.0-1_all.deb ... Unpacking libsemanage-common (3.0-1) over (2.9-3) ... Setting up libsemanage-common (3.0-1) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libsemanage1_3.0-1_amd64.deb ... Unpacking libsemanage1:amd64 (3.0-1) over (2.9-3) ... Setting up libsemanage1:amd64 (3.0-1) ... (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../0-sensible-utils_0.0.12+nmu1_all.deb ... Unpacking sensible-utils (0.0.12+nmu1) over (0.0.12) ... Preparing to unpack .../1-libsqlite3-0_3.30.1-1ubuntu1_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.30.1-1ubuntu1) over (3.29.0-2) ... Preparing to unpack .../2-gpg_2.2.17-3ubuntu1_amd64.deb ... Unpacking gpg (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../3-gpgconf_2.2.17-3ubuntu1_amd64.deb ... Unpacking gpgconf (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../4-gpg-agent_2.2.17-3ubuntu1_amd64.deb ... Unpacking gpg-agent (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../5-liblockfile-bin_1.16-1.1_amd64.deb ... Unpacking liblockfile-bin (1.16-1.1) over (1.15-1) ... Preparing to unpack .../6-liblockfile1_1.16-1.1_amd64.deb ... Unpacking liblockfile1:amd64 (1.16-1.1) over (1.15-1) ... Setting up libapparmor1:amd64 (2.13.3-7ubuntu1) ... Setting up liblockfile-bin (1.16-1.1) ... Setting up perl-modules-5.30 (5.30.0-9) ... Setting up libsqlite3-0:amd64 (3.30.1-1ubuntu1) ... Setting up binutils-common:amd64 (2.33.1-6ubuntu3) ... Setting up linux-libc-dev:amd64 (5.3.0-24.26) ... Setting up libgomp1:amd64 (9.2.1-21ubuntu1) ... Setting up bzip2 (1.0.8-2) ... Setting up libcap2:amd64 (1:2.27-1) ... Setting up libasan5:amd64 (9.2.1-21ubuntu1) ... Setting up libncurses6:amd64 (6.1+20191019-1ubuntu1) ... Setting up libquadmath0:amd64 (9.2.1-21ubuntu1) ... Setting up libatomic1:amd64 (9.2.1-21ubuntu1) ... Setting up libubsan1:amd64 (9.2.1-21ubuntu1) ... Setting up libdevmapper1.02.1:amd64 (2:1.02.155-2ubuntu7) ... Setting up mount (2.34-0.1ubuntu4) ... Setting up sensible-utils (0.0.12+nmu1) ... Setting up gpgconf (2.2.17-3ubuntu1) ... Setting up libperl5.30:amd64 (5.30.0-9) ... Setting up libisl22:amd64 (0.22-2) ... Setting up liblockfile1:amd64 (1.16-1.1) ... Setting up libjson-c4:amd64 (0.13.1+dfsg-6) ... Setting up libbinutils:amd64 (2.33.1-6ubuntu3) ... Setting up libc-dev-bin (2.30-0ubuntu3) ... Setting up libcc1-0:amd64 (9.2.1-21ubuntu1) ... Setting up gpg (2.2.17-3ubuntu1) ... Setting up liblsan0:amd64 (9.2.1-21ubuntu1) ... Setting up libitm1:amd64 (9.2.1-21ubuntu1) ... Setting up libkmod2:amd64 (26-3ubuntu1) ... Setting up binutils-x86-64-linux-gnu (2.33.1-6ubuntu3) ... Setting up libtsan0:amd64 (9.2.1-21ubuntu1) ... Setting up gpg-agent (2.2.17-3ubuntu1) ... Installing new version of config file /etc/logcheck/ignore.d.server/gpg-agent ... Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket -> /usr/lib/systemd/user/gpg-agent-browser.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket -> /usr/lib/systemd/user/gpg-agent-extra.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket -> /usr/lib/systemd/user/gpg-agent-ssh.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket -> /usr/lib/systemd/user/gpg-agent.socket. Setting up binutils (2.33.1-6ubuntu3) ... Setting up libgcc-9-dev:amd64 (9.2.1-21ubuntu1) ... Setting up perl (5.30.0-9) ... Setting up cpp-9 (9.2.1-21ubuntu1) ... Setting up libc6-dev:amd64 (2.30-0ubuntu3) ... Setting up libcryptsetup12:amd64 (2:2.2.2-1ubuntu1) ... Setting up gcc-9 (9.2.1-21ubuntu1) ... Setting up libstdc++-9-dev:amd64 (9.2.1-21ubuntu1) ... Setting up systemd (244-3ubuntu1) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from KVM UUID. Setting up g++-9 (9.2.1-21ubuntu1) ... Setting up systemd-sysv (244-3ubuntu1) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-18283026 amd64 focal -c chroot:build-PACKAGEBUILD-18283026 --arch=amd64 --dist=focal --nolog -A bandit_1.5.1-3.dsc Initiating build PACKAGEBUILD-18283026 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 x86_64 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lcy01-amd64-020.buildd +==============================================================================+ | bandit 1.5.1-3 (amd64) 05 Jan 2020 12:35 | +==============================================================================+ Package: bandit Version: 1.5.1-3 Source Version: 1.5.1-3 Distribution: focal Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/bandit-DsGekz/bandit-1.5.1' with '<>' I: NOTICE: Log filtering will replace 'build/bandit-DsGekz' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-18283026/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- bandit_1.5.1-3.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-DvSZWO/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-DvSZWO/apt_archive ./ InRelease Get:2 copy:/<>/resolver-DvSZWO/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-DvSZWO/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-DvSZWO/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-DvSZWO/apt_archive ./ Packages [528 B] Fetched 2861 B in 0s (0 B/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-DvSZWO/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 10), dh-python, openstack-pkg-tools, python3-all, python3-pbr, python3-setuptools, pylint, python3-bs4, python3-coverage, python3-fixtures, python3-git, python3-hacking, python3-mock, python3-oslotest, python3-six, python3-stestr, python3-stevedore, python3-testscenarios, python3-testtools Filtered Build-Depends: debhelper (>= 10), dh-python, openstack-pkg-tools, python3-all, python3-pbr, python3-setuptools, pylint, python3-bs4, python3-coverage, python3-fixtures, python3-git, python3-hacking, python3-mock, python3-oslotest, python3-six, python3-stestr, python3-stevedore, python3-testscenarios, python3-testtools dpkg-deb: building package 'sbuild-build-depends-bandit-dummy' in '/<>/resolver-9X4Wf5/apt_archive/sbuild-build-depends-bandit-dummy.deb'. Ign:1 copy:/<>/resolver-9X4Wf5/apt_archive ./ InRelease Get:2 copy:/<>/resolver-9X4Wf5/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-9X4Wf5/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-9X4Wf5/apt_archive ./ Sources [322 B] Get:5 copy:/<>/resolver-9X4Wf5/apt_archive ./ Packages [636 B] Fetched 3077 B in 0s (0 B/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install bandit build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz file flake8 gettext gettext-base git git-man groff-base intltool-debian jq libarchive-zip-perl libasn1-8-heimdal libbrotli1 libbsd0 libcroco3 libcurl3-gnutls libdebhelper-perl libelf1 liberror-perl libexpat1 libfile-stripnondeterminism-perl libglib2.0-0 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libice6 libicu63 libjq1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libmagic-mgc libmagic1 libmpdec2 libnghttp2-14 libonig5 libpipeline1 libpsl5 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libpython3.8-minimal libpython3.8-stdlib libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules-db libsigsegv2 libsm6 libssh-4 libsub-override-perl libsubunit-perl libtool libuchardet0 libwind0-heimdal libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxmu6 libxslt1.1 libxt6 libyaml-0-2 m4 man-db mime-support openstack-pkg-tools po-debconf pyflakes3 pylint python3 python3-all python3-appdirs python3-asn1crypto python3-astroid python3-attr python3-blinker python3-bs4 python3-certifi python3-cffi-backend python3-chardet python3-cliff python3-cmd2 python3-coverage python3-cryptography python3-debtcollector python3-decorator python3-deprecation python3-distutils python3-docutils python3-dogpile.cache python3-entrypoints python3-extras python3-fixtures python3-flake8 python3-future python3-git python3-gitdb python3-hacking python3-idna python3-iso8601 python3-isort python3-jmespath python3-json-pointer python3-jsonpatch python3-jwt python3-keystoneauth1 python3-lazy-object-proxy python3-lib2to3 python3-linecache2 python3-logilab-common python3-lxml python3-mako python3-markupsafe python3-mccabe python3-mimeparse python3-minimal python3-mock python3-mox3 python3-munch python3-netifaces python3-oauthlib python3-openstacksdk python3-os-client-config python3-os-service-types python3-oslotest python3-packaging python3-pbr python3-pep8 python3-pkg-resources python3-prettytable python3-pycodestyle python3-pyflakes python3-pyparsing python3-pyperclip python3-requests python3-requestsexceptions python3-roman python3-setuptools python3-six python3-smmap python3-soupsieve python3-stestr python3-stevedore python3-subunit python3-testrepository python3-testscenarios python3-testtools python3-traceback2 python3-unittest2 python3-urllib3 python3-voluptuous python3-wcwidth python3-wrapt python3-yaml python3.7 python3.7-minimal python3.8 python3.8-minimal sgml-base subunit testrepository x11-common xclip xml-core Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn groff krb5-doc krb5-user libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl pylint-doc python3-doc python3-tk python3-venv python-attr-doc python-blinker-doc python-cliff-doc python-coverage-doc python-cryptography-doc python3-cryptography-vectors python-debtcollector-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french texlive-latex-base texlive-latex-recommended python-future-doc python-git-doc python3-crypto python-keystoneauth1-doc python3-requests-kerberos python3-lxml-dbg python-lxml-doc python3-beaker python-mako-doc python-mock-doc python-openstacksdk-doc python-os-client-config-doc python-os-service-types-doc python-pyparsing-doc python3-openssl python3-socks python-setuptools-doc python3-nose python-stestr-doc python-testtools-doc python3.7-venv python3.7-doc binfmt-support python3.8-venv python3.8-doc sgml-base-doc Recommended packages: curl | wget | lynx less ssh-client libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs krb5-locales publicsuffix libsasl2-modules libltdl-dev autopkgtest madison-lite pristine-tar libmail-sendmail-perl pyflakes python3-tk libjs-jquery-isonscreen libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-jquery libpaper-utils python3-pil python3-pygments python3-html5lib xauth The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz file flake8 gettext gettext-base git git-man groff-base intltool-debian jq libarchive-zip-perl libasn1-8-heimdal libbrotli1 libbsd0 libcroco3 libcurl3-gnutls libdebhelper-perl libelf1 liberror-perl libexpat1 libfile-stripnondeterminism-perl libglib2.0-0 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libice6 libicu63 libjq1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libmagic-mgc libmagic1 libmpdec2 libnghttp2-14 libonig5 libpipeline1 libpsl5 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libpython3.8-minimal libpython3.8-stdlib libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules-db libsigsegv2 libsm6 libssh-4 libsub-override-perl libsubunit-perl libtool libuchardet0 libwind0-heimdal libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxmu6 libxslt1.1 libxt6 libyaml-0-2 m4 man-db mime-support openstack-pkg-tools po-debconf pyflakes3 pylint python3 python3-all python3-appdirs python3-asn1crypto python3-astroid python3-attr python3-blinker python3-bs4 python3-certifi python3-cffi-backend python3-chardet python3-cliff python3-cmd2 python3-coverage python3-cryptography python3-debtcollector python3-decorator python3-deprecation python3-distutils python3-docutils python3-dogpile.cache python3-entrypoints python3-extras python3-fixtures python3-flake8 python3-future python3-git python3-gitdb python3-hacking python3-idna python3-iso8601 python3-isort python3-jmespath python3-json-pointer python3-jsonpatch python3-jwt python3-keystoneauth1 python3-lazy-object-proxy python3-lib2to3 python3-linecache2 python3-logilab-common python3-lxml python3-mako python3-markupsafe python3-mccabe python3-mimeparse python3-minimal python3-mock python3-mox3 python3-munch python3-netifaces python3-oauthlib python3-openstacksdk python3-os-client-config python3-os-service-types python3-oslotest python3-packaging python3-pbr python3-pep8 python3-pkg-resources python3-prettytable python3-pycodestyle python3-pyflakes python3-pyparsing python3-pyperclip python3-requests python3-requestsexceptions python3-roman python3-setuptools python3-six python3-smmap python3-soupsieve python3-stestr python3-stevedore python3-subunit python3-testrepository python3-testscenarios python3-testtools python3-traceback2 python3-unittest2 python3-urllib3 python3-voluptuous python3-wcwidth python3-wrapt python3-yaml python3.7 python3.7-minimal python3.8 python3.8-minimal sbuild-build-depends-bandit-dummy sgml-base subunit testrepository x11-common xclip xml-core 0 upgraded, 186 newly installed, 0 to remove and 0 not upgraded. Need to get 44.0 MB of archives. After this operation, 207 MB of additional disk space will be used. Get:1 copy:/<>/resolver-9X4Wf5/apt_archive ./ sbuild-build-depends-bandit-dummy 0.invalid.0 [968 B] Get:2 http://ftpmaster.internal/ubuntu focal/main amd64 libpython3.7-minimal amd64 3.7.5-2 [545 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main amd64 libexpat1 amd64 2.2.9-1 [73.3 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main amd64 python3.7-minimal amd64 3.7.5-2 [1766 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main amd64 python3-minimal amd64 3.7.5-1ubuntu1 [23.3 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main amd64 mime-support all 3.64ubuntu1 [30.6 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main amd64 libmpdec2 amd64 2.4.2-2 [84.1 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main amd64 libpython3.7-stdlib amd64 3.7.5-2 [1732 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main amd64 python3.7 amd64 3.7.5-2 [301 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main amd64 libpython3-stdlib amd64 3.7.5-1ubuntu1 [6844 B] Get:11 http://ftpmaster.internal/ubuntu focal/main amd64 python3 amd64 3.7.5-1ubuntu1 [47.2 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main amd64 libbsd0 amd64 0.10.0-1 [45.4 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main amd64 bsdmainutils amd64 11.1.2ubuntu2 [181 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get:15 http://ftpmaster.internal/ubuntu focal/main amd64 groff-base amd64 1.22.4-4 [865 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main amd64 libpipeline1 amd64 1.5.1-3 [27.4 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main amd64 man-db amd64 2.9.0-2 [1114 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main amd64 python3-pyparsing all 2.4.2-1 [58.8 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main amd64 libxau6 amd64 1:1.0.9-0ubuntu1 [7488 B] Get:20 http://ftpmaster.internal/ubuntu focal/main amd64 libxdmcp6 amd64 1:1.1.3-0ubuntu1 [10.6 kB] Get:21 http://ftpmaster.internal/ubuntu focal/main amd64 libxcb1 amd64 1.13.1-2 [45.2 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main amd64 libx11-data all 2:1.6.8-1 [113 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main amd64 libx11-6 amd64 2:1.6.8-1 [573 kB] Get:24 http://ftpmaster.internal/ubuntu focal/main amd64 libxext6 amd64 2:1.3.4-0ubuntu1 [29.1 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main amd64 x11-common all 1:7.7+19ubuntu12 [22.4 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main amd64 libice6 amd64 2:1.0.10-0ubuntu1 [41.0 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main amd64 libsm6 amd64 2:1.2.3-1 [16.1 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main amd64 libxt6 amd64 1:1.1.5-1 [160 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main amd64 libxmu6 amd64 2:1.1.3-0ubuntu1 [45.8 kB] Get:30 http://ftpmaster.internal/ubuntu focal/universe amd64 xclip amd64 0.13-1 [18.4 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main amd64 python3-pyperclip all 1.7.0-1 [10.5 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main amd64 python3-six all 1.12.0-2build1 [11.7 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main amd64 python3-wcwidth all 0.1.7+dfsg1-6build1 [15.4 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main amd64 python3-cmd2 all 0.8.5-2.1 [49.6 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main amd64 libpython3.8-minimal amd64 3.8.0-5 [703 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main amd64 python3.8-minimal amd64 3.8.0-5 [1890 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main amd64 sgml-base all 1.29.1 [12.4 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main amd64 libmagic-mgc amd64 1:5.37-6 [209 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main amd64 libmagic1 amd64 1:5.37-6 [75.3 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main amd64 file amd64 1:5.37-6 [23.2 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main amd64 libelf1 amd64 0.176-1.1 [44.1 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main amd64 libglib2.0-0 amd64 2.63.3-1 [1279 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main amd64 libicu63 amd64 63.2-2 [8294 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main amd64 libxml2 amd64 2.9.4+dfsg1-8ubuntu1 [648 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main amd64 libyaml-0-2 amd64 0.2.2-1 [48.9 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main amd64 python3-cffi-backend amd64 1.13.2-1 [86.9 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main amd64 python3-netifaces amd64 0.10.4-1ubuntu1 [19.8 kB] Get:48 http://ftpmaster.internal/ubuntu focal/main amd64 python3-pkg-resources all 41.4.0-1 [100 kB] Get:49 http://ftpmaster.internal/ubuntu focal/main amd64 python3-yaml amd64 5.1.2-1build1 [202 kB] Get:50 http://ftpmaster.internal/ubuntu focal/main amd64 gettext-base amd64 0.19.8.1-10 [50.2 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main amd64 libkrb5support0 amd64 1.17-6 [31.4 kB] Get:52 http://ftpmaster.internal/ubuntu focal/main amd64 libk5crypto3 amd64 1.17-6 [80.2 kB] Get:53 http://ftpmaster.internal/ubuntu focal/main amd64 libkeyutils1 amd64 1.6-6ubuntu1 [10.2 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main amd64 libkrb5-3 amd64 1.17-6 [330 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main amd64 libgssapi-krb5-2 amd64 1.17-6 [121 kB] Get:56 http://ftpmaster.internal/ubuntu focal/main amd64 libpsl5 amd64 0.20.2-2 [50.0 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13.9 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB] Get:59 http://ftpmaster.internal/ubuntu focal/main amd64 autoconf all 2.69-11ubuntu1 [321 kB] Get:60 http://ftpmaster.internal/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB] Get:61 http://ftpmaster.internal/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu3 [522 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main amd64 autopoint all 0.19.8.1-10 [412 kB] Get:63 http://ftpmaster.internal/ubuntu focal/main amd64 libtool all 2.4.6-11 [194 kB] Get:64 http://ftpmaster.internal/ubuntu focal/main amd64 dh-autoreconf all 19 [16.1 kB] Get:65 http://ftpmaster.internal/ubuntu focal/main amd64 libdebhelper-perl all 12.7.1ubuntu1 [52.0 kB] Get:66 http://ftpmaster.internal/ubuntu focal/main amd64 libarchive-zip-perl all 1.67-1 [90.4 kB] Get:67 http://ftpmaster.internal/ubuntu focal/main amd64 libsub-override-perl all 0.09-2 [9532 B] Get:68 http://ftpmaster.internal/ubuntu focal/main amd64 libfile-stripnondeterminism-perl all 1.6.3-1 [16.0 kB] Get:69 http://ftpmaster.internal/ubuntu focal/main amd64 dh-strip-nondeterminism all 1.6.3-1 [5224 B] Get:70 http://ftpmaster.internal/ubuntu focal/main amd64 dwz amd64 0.13-5 [151 kB] Get:71 http://ftpmaster.internal/ubuntu focal/main amd64 libcroco3 amd64 0.6.13-1 [82.5 kB] Get:72 http://ftpmaster.internal/ubuntu focal/main amd64 gettext amd64 0.19.8.1-10 [897 kB] Get:73 http://ftpmaster.internal/ubuntu focal/main amd64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:74 http://ftpmaster.internal/ubuntu focal/main amd64 po-debconf all 1.0.21 [233 kB] Get:75 http://ftpmaster.internal/ubuntu focal/main amd64 debhelper all 12.7.1ubuntu1 [875 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main amd64 python3-lib2to3 all 3.8.0-1 [75.6 kB] Get:77 http://ftpmaster.internal/ubuntu focal/main amd64 python3-distutils all 3.8.0-1 [142 kB] Get:78 http://ftpmaster.internal/ubuntu focal/main amd64 dh-python all 4.20191017ubuntu1 [88.5 kB] Get:79 http://ftpmaster.internal/ubuntu focal/main amd64 xml-core all 0.18+nmu1 [21.6 kB] Get:80 http://ftpmaster.internal/ubuntu focal/main amd64 docutils-common all 0.15.2+dfsg-1 [156 kB] Get:81 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-mccabe all 0.6.1-2build1 [8024 B] Get:82 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-pyflakes all 2.1.1-1 [48.5 kB] Get:83 http://ftpmaster.internal/ubuntu focal/main amd64 python3-setuptools all 41.4.0-1 [255 kB] Get:84 http://ftpmaster.internal/ubuntu focal/main amd64 python3-entrypoints all 0.3-1build1 [5656 B] Get:85 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-pycodestyle all 2.5.0-1 [36.6 kB] Get:86 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-flake8 all 3.7.9-1 [51.8 kB] Get:87 http://ftpmaster.internal/ubuntu focal/universe amd64 flake8 all 3.7.9-1 [6016 B] Get:88 http://ftpmaster.internal/ubuntu focal/main amd64 libbrotli1 amd64 1.0.7-5 [265 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main amd64 libroken18-heimdal amd64 7.7.0+dfsg-1 [41.9 kB] Get:90 http://ftpmaster.internal/ubuntu focal/main amd64 libasn1-8-heimdal amd64 7.7.0+dfsg-1 [181 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main amd64 libheimbase1-heimdal amd64 7.7.0+dfsg-1 [29.7 kB] Get:92 http://ftpmaster.internal/ubuntu focal/main amd64 libhcrypto4-heimdal amd64 7.7.0+dfsg-1 [87.8 kB] Get:93 http://ftpmaster.internal/ubuntu focal/main amd64 libwind0-heimdal amd64 7.7.0+dfsg-1 [47.9 kB] Get:94 http://ftpmaster.internal/ubuntu focal/main amd64 libhx509-5-heimdal amd64 7.7.0+dfsg-1 [107 kB] Get:95 http://ftpmaster.internal/ubuntu focal/main amd64 libkrb5-26-heimdal amd64 7.7.0+dfsg-1 [207 kB] Get:96 http://ftpmaster.internal/ubuntu focal/main amd64 libheimntlm0-heimdal amd64 7.7.0+dfsg-1 [15.1 kB] Get:97 http://ftpmaster.internal/ubuntu focal/main amd64 libgssapi3-heimdal amd64 7.7.0+dfsg-1 [96.6 kB] Get:98 http://ftpmaster.internal/ubuntu focal/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-2 [14.9 kB] Get:99 http://ftpmaster.internal/ubuntu focal/main amd64 libsasl2-2 amd64 2.1.27+dfsg-2 [49.3 kB] Get:100 http://ftpmaster.internal/ubuntu focal/main amd64 libldap-common all 2.4.48+dfsg-1ubuntu3 [17.3 kB] Get:101 http://ftpmaster.internal/ubuntu focal/main amd64 libldap-2.4-2 amd64 2.4.48+dfsg-1ubuntu3 [155 kB] Get:102 http://ftpmaster.internal/ubuntu focal/main amd64 libnghttp2-14 amd64 1.40.0-1 [78.1 kB] Get:103 http://ftpmaster.internal/ubuntu focal/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2build1 [54.9 kB] Get:104 http://ftpmaster.internal/ubuntu focal/main amd64 libssh-4 amd64 0.9.0-1ubuntu5 [196 kB] Get:105 http://ftpmaster.internal/ubuntu focal/main amd64 libcurl3-gnutls amd64 7.66.0-1ubuntu1 [231 kB] Get:106 http://ftpmaster.internal/ubuntu focal/main amd64 liberror-perl all 0.17028-1 [26.6 kB] Get:107 http://ftpmaster.internal/ubuntu focal/main amd64 git-man all 1:2.24.0-1ubuntu1 [868 kB] Get:108 http://ftpmaster.internal/ubuntu focal/main amd64 git amd64 1:2.24.0-1ubuntu1 [4504 kB] Get:109 http://ftpmaster.internal/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1 [142 kB] Get:110 http://ftpmaster.internal/ubuntu focal/universe amd64 libjq1 amd64 1.6-1 [121 kB] Get:111 http://ftpmaster.internal/ubuntu focal/universe amd64 jq amd64 1.6-1 [50.2 kB] Get:112 http://ftpmaster.internal/ubuntu focal/main amd64 libpython3.8-stdlib amd64 3.8.0-5 [1663 kB] Get:113 http://ftpmaster.internal/ubuntu focal/universe amd64 libsubunit-perl all 1.3.0-6build1 [6148 B] Get:114 http://ftpmaster.internal/ubuntu focal/main amd64 libxslt1.1 amd64 1.1.33-0ubuntu2 [149 kB] Get:115 http://ftpmaster.internal/ubuntu focal/universe amd64 pyflakes3 all 2.1.1-1 [3320 B] Get:116 http://ftpmaster.internal/ubuntu focal/main amd64 python3-lazy-object-proxy amd64 1.4.3-1 [20.2 kB] Get:117 http://ftpmaster.internal/ubuntu focal/main amd64 python3-wrapt amd64 1.11.2-2 [35.0 kB] Get:118 http://ftpmaster.internal/ubuntu focal/main amd64 python3-astroid all 2.3.3-1 [127 kB] Get:119 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-isort all 4.3.4+ds1-2 [30.7 kB] Get:120 http://ftpmaster.internal/ubuntu focal/main amd64 python3-logilab-common all 1.4.3-2 [119 kB] Get:121 http://ftpmaster.internal/ubuntu focal/universe amd64 pylint all 2.4.4-2 [218 kB] Get:122 http://ftpmaster.internal/ubuntu focal/main amd64 python3.8 amd64 3.8.0-5 [355 kB] Get:123 http://ftpmaster.internal/ubuntu focal/main amd64 python3-all amd64 3.7.5-1ubuntu1 [1120 B] Get:124 http://ftpmaster.internal/ubuntu focal/main amd64 python3-appdirs all 1.4.3-1build1 [10.6 kB] Get:125 http://ftpmaster.internal/ubuntu focal/main amd64 python3-asn1crypto all 0.24.0-1build1 [72.9 kB] Get:126 http://ftpmaster.internal/ubuntu focal/main amd64 python3-attr all 18.2.0-1build1 [29.7 kB] Get:127 http://ftpmaster.internal/ubuntu focal/main amd64 python3-blinker all 1.4+dfsg1-0.2build1 [13.2 kB] Get:128 http://ftpmaster.internal/ubuntu focal/main amd64 python3-soupsieve all 1.9.5+dfsg-1 [29.1 kB] Get:129 http://ftpmaster.internal/ubuntu focal/main amd64 python3-bs4 all 4.8.2-1 [83.0 kB] Get:130 http://ftpmaster.internal/ubuntu focal/main amd64 python3-certifi all 2019.11.28-1 [149 kB] Get:131 http://ftpmaster.internal/ubuntu focal/main amd64 python3-chardet all 3.0.4-4 [80.6 kB] Get:132 http://ftpmaster.internal/ubuntu focal/main amd64 python3-roman all 2.0.0-3build1 [8728 B] Get:133 http://ftpmaster.internal/ubuntu focal/main amd64 python3-docutils all 0.15.2+dfsg-1 [366 kB] Get:134 http://ftpmaster.internal/ubuntu focal/main amd64 python3-pbr all 5.4.4-0ubuntu1 [64.0 kB] Get:135 http://ftpmaster.internal/ubuntu focal/main amd64 python3-prettytable all 0.7.2-5 [20.1 kB] Get:136 http://ftpmaster.internal/ubuntu focal/main amd64 python3-stevedore all 1:1.31.0-0ubuntu1 [18.5 kB] Get:137 http://ftpmaster.internal/ubuntu focal/main amd64 python3-cliff all 2.16.0-0ubuntu1 [41.2 kB] Get:138 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-coverage amd64 4.5.2+dfsg.1-4 [110 kB] Get:139 http://ftpmaster.internal/ubuntu focal/main amd64 python3-cryptography amd64 2.6.1-4 [207 kB] Get:140 http://ftpmaster.internal/ubuntu focal/main amd64 python3-debtcollector all 1.21.0-2ubuntu1 [13.6 kB] Get:141 http://ftpmaster.internal/ubuntu focal/main amd64 python3-decorator all 4.3.0-1.1build1 [9652 B] Get:142 http://ftpmaster.internal/ubuntu focal/main amd64 python3-packaging all 19.1-2 [21.7 kB] Get:143 http://ftpmaster.internal/ubuntu focal/main amd64 python3-deprecation all 2.0.7-1 [8512 B] Get:144 http://ftpmaster.internal/ubuntu focal/main amd64 python3-markupsafe amd64 1.1.0-1build1 [14.5 kB] Get:145 http://ftpmaster.internal/ubuntu focal/main amd64 python3-mako all 1.1.0+ds1-1 [59.2 kB] Get:146 http://ftpmaster.internal/ubuntu focal/main amd64 python3-dogpile.cache all 0.7.1-1ubuntu1 [34.9 kB] Get:147 http://ftpmaster.internal/ubuntu focal/main amd64 python3-extras all 1.0.0-3 [7480 B] Get:148 http://ftpmaster.internal/ubuntu focal/main amd64 python3-linecache2 all 1.0.0-3build1 [12.7 kB] Get:149 http://ftpmaster.internal/ubuntu focal/main amd64 python3-mimeparse all 1.6.0-2 [7108 B] Get:150 http://ftpmaster.internal/ubuntu focal/main amd64 python3-traceback2 all 1.4.0-5build1 [16.5 kB] Get:151 http://ftpmaster.internal/ubuntu focal/main amd64 python3-unittest2 all 1.1.0-6.1build1 [69.5 kB] Get:152 http://ftpmaster.internal/ubuntu focal/main amd64 python3-testtools all 2.3.0-5 [124 kB] Get:153 http://ftpmaster.internal/ubuntu focal/main amd64 python3-fixtures all 3.0.0-2 [32.4 kB] Get:154 http://ftpmaster.internal/ubuntu focal/main amd64 python3-future all 0.16.0-1 [334 kB] Get:155 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-smmap all 2.0.5-2 [21.2 kB] Get:156 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-gitdb all 2.0.6-2 [46.6 kB] Get:157 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-git all 3.0.5-1 [305 kB] Get:158 http://ftpmaster.internal/ubuntu focal/main amd64 python3-pep8 all 1.7.1-8 [31.7 kB] Get:159 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-hacking all 1.1.0-4 [20.8 kB] Get:160 http://ftpmaster.internal/ubuntu focal/main amd64 python3-idna all 2.6-2build1 [32.8 kB] Get:161 http://ftpmaster.internal/ubuntu focal/main amd64 python3-jmespath all 0.9.4-2 [21.3 kB] Get:162 http://ftpmaster.internal/ubuntu focal/main amd64 python3-json-pointer all 1.10-2 [7892 B] Get:163 http://ftpmaster.internal/ubuntu focal/main amd64 python3-jsonpatch all 1.23-3 [12.0 kB] Get:164 http://ftpmaster.internal/ubuntu focal/main amd64 python3-jwt all 1.7.1-1 [17.4 kB] Get:165 http://ftpmaster.internal/ubuntu focal/main amd64 python3-iso8601 all 0.1.11-2 [10.2 kB] Get:166 http://ftpmaster.internal/ubuntu focal/main amd64 python3-lxml amd64 4.4.1-1build1 [2296 kB] Get:167 http://ftpmaster.internal/ubuntu focal/main amd64 python3-oauthlib all 2.1.0-1 [70.7 kB] Get:168 http://ftpmaster.internal/ubuntu focal/main amd64 python3-os-service-types all 1.7.0-0ubuntu1 [13.1 kB] Get:169 http://ftpmaster.internal/ubuntu focal/main amd64 python3-urllib3 all 1.24.1-1ubuntu2 [83.9 kB] Get:170 http://ftpmaster.internal/ubuntu focal/main amd64 python3-requests all 2.21.0-1 [46.8 kB] Get:171 http://ftpmaster.internal/ubuntu focal/main amd64 python3-keystoneauth1 all 3.18.0-0ubuntu1 [156 kB] Get:172 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-mox3 all 0.28.0-2 [32.7 kB] Get:173 http://ftpmaster.internal/ubuntu focal/main amd64 python3-munch all 2.3.2-2 [7984 B] Get:174 http://ftpmaster.internal/ubuntu focal/main amd64 python3-requestsexceptions all 1.4.0-3 [4232 B] Get:175 http://ftpmaster.internal/ubuntu focal/main amd64 python3-openstacksdk all 0.38.0-0ubuntu1 [512 kB] Get:176 http://ftpmaster.internal/ubuntu focal/main amd64 python3-os-client-config all 1.31.2-0ubuntu2 [18.9 kB] Get:177 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-mock all 3.0.5-1 [25.6 kB] Get:178 http://ftpmaster.internal/ubuntu focal/main amd64 python3-voluptuous all 0.11.1-1build1 [31.6 kB] Get:179 http://ftpmaster.internal/ubuntu focal/main amd64 python3-subunit all 1.3.0-6build1 [62.0 kB] Get:180 http://ftpmaster.internal/ubuntu focal/universe amd64 subunit all 1.3.0-6build1 [9296 B] Get:181 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-stestr all 2.4.0-2 [51.9 kB] Get:182 http://ftpmaster.internal/ubuntu focal/main amd64 python3-testrepository all 0.0.20-5 [58.0 kB] Get:183 http://ftpmaster.internal/ubuntu focal/universe amd64 testrepository all 0.0.20-5 [12.2 kB] Get:184 http://ftpmaster.internal/ubuntu focal/universe amd64 python3-oslotest all 1:3.8.1-0ubuntu1 [18.4 kB] Get:185 http://ftpmaster.internal/ubuntu focal/main amd64 python3-testscenarios all 0.5.0-3build1 [13.7 kB] Get:186 http://ftpmaster.internal/ubuntu focal/universe amd64 openstack-pkg-tools all 99ubuntu1 [89.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 44.0 MB in 1s (57.6 MB/s) Selecting previously unselected package libpython3.7-minimal:amd64. (Reading database ... 14652 files and directories currently installed.) Preparing to unpack .../libpython3.7-minimal_3.7.5-2_amd64.deb ... Unpacking libpython3.7-minimal:amd64 (3.7.5-2) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.2.9-1_amd64.deb ... Unpacking libexpat1:amd64 (2.2.9-1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.5-2_amd64.deb ... Unpacking python3.7-minimal (3.7.5-2) ... Setting up libpython3.7-minimal:amd64 (3.7.5-2) ... Setting up libexpat1:amd64 (2.2.9-1) ... Setting up python3.7-minimal (3.7.5-2) ... Selecting previously unselected package python3-minimal. (Reading database ... 14901 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.7.5-1ubuntu1_amd64.deb ... Unpacking python3-minimal (3.7.5-1ubuntu1) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.64ubuntu1_all.deb ... Unpacking mime-support (3.64ubuntu1) ... Selecting previously unselected package libmpdec2:amd64. Preparing to unpack .../2-libmpdec2_2.4.2-2_amd64.deb ... Unpacking libmpdec2:amd64 (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:amd64. Preparing to unpack .../3-libpython3.7-stdlib_3.7.5-2_amd64.deb ... Unpacking libpython3.7-stdlib:amd64 (3.7.5-2) ... Selecting previously unselected package python3.7. Preparing to unpack .../4-python3.7_3.7.5-2_amd64.deb ... Unpacking python3.7 (3.7.5-2) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../5-libpython3-stdlib_3.7.5-1ubuntu1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.7.5-1ubuntu1) ... Setting up python3-minimal (3.7.5-1ubuntu1) ... Selecting previously unselected package python3. (Reading database ... 15339 files and directories currently installed.) Preparing to unpack .../000-python3_3.7.5-1ubuntu1_amd64.deb ... Unpacking python3 (3.7.5-1ubuntu1) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../001-libbsd0_0.10.0-1_amd64.deb ... Unpacking libbsd0:amd64 (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../002-bsdmainutils_11.1.2ubuntu2_amd64.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../003-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../004-groff-base_1.22.4-4_amd64.deb ... Unpacking groff-base (1.22.4-4) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../005-libpipeline1_1.5.1-3_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.1-3) ... Selecting previously unselected package man-db. Preparing to unpack .../006-man-db_2.9.0-2_amd64.deb ... Unpacking man-db (2.9.0-2) ... Selecting previously unselected package python3-pyparsing. Preparing to unpack .../007-python3-pyparsing_2.4.2-1_all.deb ... Unpacking python3-pyparsing (2.4.2-1) ... Selecting previously unselected package libxau6:amd64. Preparing to unpack .../008-libxau6_1%3a1.0.9-0ubuntu1_amd64.deb ... Unpacking libxau6:amd64 (1:1.0.9-0ubuntu1) ... Selecting previously unselected package libxdmcp6:amd64. Preparing to unpack .../009-libxdmcp6_1%3a1.1.3-0ubuntu1_amd64.deb ... Unpacking libxdmcp6:amd64 (1:1.1.3-0ubuntu1) ... Selecting previously unselected package libxcb1:amd64. Preparing to unpack .../010-libxcb1_1.13.1-2_amd64.deb ... Unpacking libxcb1:amd64 (1.13.1-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../011-libx11-data_2%3a1.6.8-1_all.deb ... Unpacking libx11-data (2:1.6.8-1) ... Selecting previously unselected package libx11-6:amd64. Preparing to unpack .../012-libx11-6_2%3a1.6.8-1_amd64.deb ... Unpacking libx11-6:amd64 (2:1.6.8-1) ... Selecting previously unselected package libxext6:amd64. Preparing to unpack .../013-libxext6_2%3a1.3.4-0ubuntu1_amd64.deb ... Unpacking libxext6:amd64 (2:1.3.4-0ubuntu1) ... Selecting previously unselected package x11-common. Preparing to unpack .../014-x11-common_1%3a7.7+19ubuntu12_all.deb ... dpkg-query: no packages found matching nux-tools Unpacking x11-common (1:7.7+19ubuntu12) ... Selecting previously unselected package libice6:amd64. Preparing to unpack .../015-libice6_2%3a1.0.10-0ubuntu1_amd64.deb ... Unpacking libice6:amd64 (2:1.0.10-0ubuntu1) ... Selecting previously unselected package libsm6:amd64. Preparing to unpack .../016-libsm6_2%3a1.2.3-1_amd64.deb ... Unpacking libsm6:amd64 (2:1.2.3-1) ... Selecting previously unselected package libxt6:amd64. Preparing to unpack .../017-libxt6_1%3a1.1.5-1_amd64.deb ... Unpacking libxt6:amd64 (1:1.1.5-1) ... Selecting previously unselected package libxmu6:amd64. Preparing to unpack .../018-libxmu6_2%3a1.1.3-0ubuntu1_amd64.deb ... Unpacking libxmu6:amd64 (2:1.1.3-0ubuntu1) ... Selecting previously unselected package xclip. Preparing to unpack .../019-xclip_0.13-1_amd64.deb ... Unpacking xclip (0.13-1) ... Selecting previously unselected package python3-pyperclip. Preparing to unpack .../020-python3-pyperclip_1.7.0-1_all.deb ... Unpacking python3-pyperclip (1.7.0-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../021-python3-six_1.12.0-2build1_all.deb ... Unpacking python3-six (1.12.0-2build1) ... Selecting previously unselected package python3-wcwidth. Preparing to unpack .../022-python3-wcwidth_0.1.7+dfsg1-6build1_all.deb ... Unpacking python3-wcwidth (0.1.7+dfsg1-6build1) ... Selecting previously unselected package python3-cmd2. Preparing to unpack .../023-python3-cmd2_0.8.5-2.1_all.deb ... Unpacking python3-cmd2 (0.8.5-2.1) ... Selecting previously unselected package libpython3.8-minimal:amd64. Preparing to unpack .../024-libpython3.8-minimal_3.8.0-5_amd64.deb ... Unpacking libpython3.8-minimal:amd64 (3.8.0-5) ... Selecting previously unselected package python3.8-minimal. Preparing to unpack .../025-python3.8-minimal_3.8.0-5_amd64.deb ... Unpacking python3.8-minimal (3.8.0-5) ... Selecting previously unselected package sgml-base. Preparing to unpack .../026-sgml-base_1.29.1_all.deb ... Unpacking sgml-base (1.29.1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../027-libmagic-mgc_1%3a5.37-6_amd64.deb ... Unpacking libmagic-mgc (1:5.37-6) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../028-libmagic1_1%3a5.37-6_amd64.deb ... Unpacking libmagic1:amd64 (1:5.37-6) ... Selecting previously unselected package file. Preparing to unpack .../029-file_1%3a5.37-6_amd64.deb ... Unpacking file (1:5.37-6) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../030-libelf1_0.176-1.1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1.1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../031-libglib2.0-0_2.63.3-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.63.3-1) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../032-libicu63_63.2-2_amd64.deb ... Unpacking libicu63:amd64 (63.2-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../033-libxml2_2.9.4+dfsg1-8ubuntu1_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-8ubuntu1) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../034-libyaml-0-2_0.2.2-1_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.2.2-1) ... Selecting previously unselected package python3-cffi-backend. Preparing to unpack .../035-python3-cffi-backend_1.13.2-1_amd64.deb ... Unpacking python3-cffi-backend (1.13.2-1) ... Selecting previously unselected package python3-netifaces. Preparing to unpack .../036-python3-netifaces_0.10.4-1ubuntu1_amd64.deb ... Unpacking python3-netifaces (0.10.4-1ubuntu1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../037-python3-pkg-resources_41.4.0-1_all.deb ... Unpacking python3-pkg-resources (41.4.0-1) ... Selecting previously unselected package python3-yaml. Preparing to unpack .../038-python3-yaml_5.1.2-1build1_amd64.deb ... Unpacking python3-yaml (5.1.2-1build1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../039-gettext-base_0.19.8.1-10_amd64.deb ... Unpacking gettext-base (0.19.8.1-10) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../040-libkrb5support0_1.17-6_amd64.deb ... Unpacking libkrb5support0:amd64 (1.17-6) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../041-libk5crypto3_1.17-6_amd64.deb ... Unpacking libk5crypto3:amd64 (1.17-6) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../042-libkeyutils1_1.6-6ubuntu1_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6-6ubuntu1) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../043-libkrb5-3_1.17-6_amd64.deb ... Unpacking libkrb5-3:amd64 (1.17-6) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../044-libgssapi-krb5-2_1.17-6_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.17-6) ... Selecting previously unselected package libpsl5:amd64. Preparing to unpack .../045-libpsl5_0.20.2-2_amd64.deb ... Unpacking libpsl5:amd64 (0.20.2-2) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../046-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../047-m4_1.4.18-4_amd64.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../048-autoconf_2.69-11ubuntu1_all.deb ... Unpacking autoconf (2.69-11ubuntu1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../049-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../050-automake_1%3a1.16.1-4ubuntu3_all.deb ... Unpacking automake (1:1.16.1-4ubuntu3) ... Selecting previously unselected package autopoint. Preparing to unpack .../051-autopoint_0.19.8.1-10_all.deb ... Unpacking autopoint (0.19.8.1-10) ... Selecting previously unselected package libtool. Preparing to unpack .../052-libtool_2.4.6-11_all.deb ... Unpacking libtool (2.4.6-11) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../053-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../054-libdebhelper-perl_12.7.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.7.1ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../055-libarchive-zip-perl_1.67-1_all.deb ... Unpacking libarchive-zip-perl (1.67-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../056-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../057-libfile-stripnondeterminism-perl_1.6.3-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.3-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../058-dh-strip-nondeterminism_1.6.3-1_all.deb ... Unpacking dh-strip-nondeterminism (1.6.3-1) ... Selecting previously unselected package dwz. Preparing to unpack .../059-dwz_0.13-5_amd64.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../060-libcroco3_0.6.13-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../061-gettext_0.19.8.1-10_amd64.deb ... Unpacking gettext (0.19.8.1-10) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../062-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../063-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../064-debhelper_12.7.1ubuntu1_all.deb ... Unpacking debhelper (12.7.1ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../065-python3-lib2to3_3.8.0-1_all.deb ... Unpacking python3-lib2to3 (3.8.0-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../066-python3-distutils_3.8.0-1_all.deb ... Unpacking python3-distutils (3.8.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../067-dh-python_4.20191017ubuntu1_all.deb ... Unpacking dh-python (4.20191017ubuntu1) ... Selecting previously unselected package xml-core. Preparing to unpack .../068-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package docutils-common. Preparing to unpack .../069-docutils-common_0.15.2+dfsg-1_all.deb ... Unpacking docutils-common (0.15.2+dfsg-1) ... Selecting previously unselected package python3-mccabe. Preparing to unpack .../070-python3-mccabe_0.6.1-2build1_all.deb ... Unpacking python3-mccabe (0.6.1-2build1) ... Selecting previously unselected package python3-pyflakes. Preparing to unpack .../071-python3-pyflakes_2.1.1-1_all.deb ... Unpacking python3-pyflakes (2.1.1-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../072-python3-setuptools_41.4.0-1_all.deb ... Unpacking python3-setuptools (41.4.0-1) ... Selecting previously unselected package python3-entrypoints. Preparing to unpack .../073-python3-entrypoints_0.3-1build1_all.deb ... Unpacking python3-entrypoints (0.3-1build1) ... Selecting previously unselected package python3-pycodestyle. Preparing to unpack .../074-python3-pycodestyle_2.5.0-1_all.deb ... Unpacking python3-pycodestyle (2.5.0-1) ... Selecting previously unselected package python3-flake8. Preparing to unpack .../075-python3-flake8_3.7.9-1_all.deb ... Unpacking python3-flake8 (3.7.9-1) ... Selecting previously unselected package flake8. Preparing to unpack .../076-flake8_3.7.9-1_all.deb ... Unpacking flake8 (3.7.9-1) ... Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../077-libbrotli1_1.0.7-5_amd64.deb ... Unpacking libbrotli1:amd64 (1.0.7-5) ... Selecting previously unselected package libroken18-heimdal:amd64. Preparing to unpack .../078-libroken18-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libroken18-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libasn1-8-heimdal:amd64. Preparing to unpack .../079-libasn1-8-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libasn1-8-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libheimbase1-heimdal:amd64. Preparing to unpack .../080-libheimbase1-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libheimbase1-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libhcrypto4-heimdal:amd64. Preparing to unpack .../081-libhcrypto4-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libwind0-heimdal:amd64. Preparing to unpack .../082-libwind0-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libwind0-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libhx509-5-heimdal:amd64. Preparing to unpack .../083-libhx509-5-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libhx509-5-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libkrb5-26-heimdal:amd64. Preparing to unpack .../084-libkrb5-26-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libheimntlm0-heimdal:amd64. Preparing to unpack .../085-libheimntlm0-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libgssapi3-heimdal:amd64. Preparing to unpack .../086-libgssapi3-heimdal_7.7.0+dfsg-1_amd64.deb ... Unpacking libgssapi3-heimdal:amd64 (7.7.0+dfsg-1) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../087-libsasl2-modules-db_2.1.27+dfsg-2_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../088-libsasl2-2_2.1.27+dfsg-2_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2) ... Selecting previously unselected package libldap-common. Preparing to unpack .../089-libldap-common_2.4.48+dfsg-1ubuntu3_all.deb ... Unpacking libldap-common (2.4.48+dfsg-1ubuntu3) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../090-libldap-2.4-2_2.4.48+dfsg-1ubuntu3_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.48+dfsg-1ubuntu3) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../091-libnghttp2-14_1.40.0-1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.40.0-1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../092-librtmp1_2.4+20151223.gitfa8646d.1-2build1_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build1) ... Selecting previously unselected package libssh-4:amd64. Preparing to unpack .../093-libssh-4_0.9.0-1ubuntu5_amd64.deb ... Unpacking libssh-4:amd64 (0.9.0-1ubuntu5) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../094-libcurl3-gnutls_7.66.0-1ubuntu1_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.66.0-1ubuntu1) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../095-liberror-perl_0.17028-1_all.deb ... Unpacking liberror-perl (0.17028-1) ... Selecting previously unselected package git-man. Preparing to unpack .../096-git-man_1%3a2.24.0-1ubuntu1_all.deb ... Unpacking git-man (1:2.24.0-1ubuntu1) ... Selecting previously unselected package git. Preparing to unpack .../097-git_1%3a2.24.0-1ubuntu1_amd64.deb ... Unpacking git (1:2.24.0-1ubuntu1) ... Selecting previously unselected package libonig5:amd64. Preparing to unpack .../098-libonig5_6.9.4-1_amd64.deb ... Unpacking libonig5:amd64 (6.9.4-1) ... Selecting previously unselected package libjq1:amd64. Preparing to unpack .../099-libjq1_1.6-1_amd64.deb ... Unpacking libjq1:amd64 (1.6-1) ... Selecting previously unselected package jq. Preparing to unpack .../100-jq_1.6-1_amd64.deb ... Unpacking jq (1.6-1) ... Selecting previously unselected package libpython3.8-stdlib:amd64. Preparing to unpack .../101-libpython3.8-stdlib_3.8.0-5_amd64.deb ... Unpacking libpython3.8-stdlib:amd64 (3.8.0-5) ... Selecting previously unselected package libsubunit-perl. Preparing to unpack .../102-libsubunit-perl_1.3.0-6build1_all.deb ... Unpacking libsubunit-perl (1.3.0-6build1) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../103-libxslt1.1_1.1.33-0ubuntu2_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.33-0ubuntu2) ... Selecting previously unselected package pyflakes3. Preparing to unpack .../104-pyflakes3_2.1.1-1_all.deb ... Unpacking pyflakes3 (2.1.1-1) ... Selecting previously unselected package python3-lazy-object-proxy. Preparing to unpack .../105-python3-lazy-object-proxy_1.4.3-1_amd64.deb ... Unpacking python3-lazy-object-proxy (1.4.3-1) ... Selecting previously unselected package python3-wrapt. Preparing to unpack .../106-python3-wrapt_1.11.2-2_amd64.deb ... Unpacking python3-wrapt (1.11.2-2) ... Selecting previously unselected package python3-astroid. Preparing to unpack .../107-python3-astroid_2.3.3-1_all.deb ... Unpacking python3-astroid (2.3.3-1) ... Selecting previously unselected package python3-isort. Preparing to unpack .../108-python3-isort_4.3.4+ds1-2_all.deb ... Unpacking python3-isort (4.3.4+ds1-2) ... Selecting previously unselected package python3-logilab-common. Preparing to unpack .../109-python3-logilab-common_1.4.3-2_all.deb ... Unpacking python3-logilab-common (1.4.3-2) ... Selecting previously unselected package pylint. Preparing to unpack .../110-pylint_2.4.4-2_all.deb ... Unpacking pylint (2.4.4-2) ... Selecting previously unselected package python3.8. Preparing to unpack .../111-python3.8_3.8.0-5_amd64.deb ... Unpacking python3.8 (3.8.0-5) ... Selecting previously unselected package python3-all. Preparing to unpack .../112-python3-all_3.7.5-1ubuntu1_amd64.deb ... Unpacking python3-all (3.7.5-1ubuntu1) ... Selecting previously unselected package python3-appdirs. Preparing to unpack .../113-python3-appdirs_1.4.3-1build1_all.deb ... Unpacking python3-appdirs (1.4.3-1build1) ... Selecting previously unselected package python3-asn1crypto. Preparing to unpack .../114-python3-asn1crypto_0.24.0-1build1_all.deb ... Unpacking python3-asn1crypto (0.24.0-1build1) ... Selecting previously unselected package python3-attr. Preparing to unpack .../115-python3-attr_18.2.0-1build1_all.deb ... Unpacking python3-attr (18.2.0-1build1) ... Selecting previously unselected package python3-blinker. Preparing to unpack .../116-python3-blinker_1.4+dfsg1-0.2build1_all.deb ... Unpacking python3-blinker (1.4+dfsg1-0.2build1) ... Selecting previously unselected package python3-soupsieve. Preparing to unpack .../117-python3-soupsieve_1.9.5+dfsg-1_all.deb ... Unpacking python3-soupsieve (1.9.5+dfsg-1) ... Selecting previously unselected package python3-bs4. Preparing to unpack .../118-python3-bs4_4.8.2-1_all.deb ... Unpacking python3-bs4 (4.8.2-1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../119-python3-certifi_2019.11.28-1_all.deb ... Unpacking python3-certifi (2019.11.28-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../120-python3-chardet_3.0.4-4_all.deb ... Unpacking python3-chardet (3.0.4-4) ... Selecting previously unselected package python3-roman. Preparing to unpack .../121-python3-roman_2.0.0-3build1_all.deb ... Unpacking python3-roman (2.0.0-3build1) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../122-python3-docutils_0.15.2+dfsg-1_all.deb ... Unpacking python3-docutils (0.15.2+dfsg-1) ... Selecting previously unselected package python3-pbr. Preparing to unpack .../123-python3-pbr_5.4.4-0ubuntu1_all.deb ... Unpacking python3-pbr (5.4.4-0ubuntu1) ... Selecting previously unselected package python3-prettytable. Preparing to unpack .../124-python3-prettytable_0.7.2-5_all.deb ... Unpacking python3-prettytable (0.7.2-5) ... Selecting previously unselected package python3-stevedore. Preparing to unpack .../125-python3-stevedore_1%3a1.31.0-0ubuntu1_all.deb ... Unpacking python3-stevedore (1:1.31.0-0ubuntu1) ... Selecting previously unselected package python3-cliff. Preparing to unpack .../126-python3-cliff_2.16.0-0ubuntu1_all.deb ... Unpacking python3-cliff (2.16.0-0ubuntu1) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../127-python3-coverage_4.5.2+dfsg.1-4_amd64.deb ... Unpacking python3-coverage (4.5.2+dfsg.1-4) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../128-python3-cryptography_2.6.1-4_amd64.deb ... Unpacking python3-cryptography (2.6.1-4) ... Selecting previously unselected package python3-debtcollector. Preparing to unpack .../129-python3-debtcollector_1.21.0-2ubuntu1_all.deb ... Unpacking python3-debtcollector (1.21.0-2ubuntu1) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../130-python3-decorator_4.3.0-1.1build1_all.deb ... Unpacking python3-decorator (4.3.0-1.1build1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../131-python3-packaging_19.1-2_all.deb ... Unpacking python3-packaging (19.1-2) ... Selecting previously unselected package python3-deprecation. Preparing to unpack .../132-python3-deprecation_2.0.7-1_all.deb ... Unpacking python3-deprecation (2.0.7-1) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../133-python3-markupsafe_1.1.0-1build1_amd64.deb ... Unpacking python3-markupsafe (1.1.0-1build1) ... Selecting previously unselected package python3-mako. Preparing to unpack .../134-python3-mako_1.1.0+ds1-1_all.deb ... Unpacking python3-mako (1.1.0+ds1-1) ... Selecting previously unselected package python3-dogpile.cache. Preparing to unpack .../135-python3-dogpile.cache_0.7.1-1ubuntu1_all.deb ... Unpacking python3-dogpile.cache (0.7.1-1ubuntu1) ... Selecting previously unselected package python3-extras. Preparing to unpack .../136-python3-extras_1.0.0-3_all.deb ... Unpacking python3-extras (1.0.0-3) ... Selecting previously unselected package python3-linecache2. Preparing to unpack .../137-python3-linecache2_1.0.0-3build1_all.deb ... Unpacking python3-linecache2 (1.0.0-3build1) ... Selecting previously unselected package python3-mimeparse. Preparing to unpack .../138-python3-mimeparse_1.6.0-2_all.deb ... Unpacking python3-mimeparse (1.6.0-2) ... Selecting previously unselected package python3-traceback2. Preparing to unpack .../139-python3-traceback2_1.4.0-5build1_all.deb ... Unpacking python3-traceback2 (1.4.0-5build1) ... Selecting previously unselected package python3-unittest2. Preparing to unpack .../140-python3-unittest2_1.1.0-6.1build1_all.deb ... Unpacking python3-unittest2 (1.1.0-6.1build1) ... Selecting previously unselected package python3-testtools. Preparing to unpack .../141-python3-testtools_2.3.0-5_all.deb ... Unpacking python3-testtools (2.3.0-5) ... Selecting previously unselected package python3-fixtures. Preparing to unpack .../142-python3-fixtures_3.0.0-2_all.deb ... Unpacking python3-fixtures (3.0.0-2) ... Selecting previously unselected package python3-future. Preparing to unpack .../143-python3-future_0.16.0-1_all.deb ... Unpacking python3-future (0.16.0-1) ... Selecting previously unselected package python3-smmap. Preparing to unpack .../144-python3-smmap_2.0.5-2_all.deb ... Unpacking python3-smmap (2.0.5-2) ... Selecting previously unselected package python3-gitdb. Preparing to unpack .../145-python3-gitdb_2.0.6-2_all.deb ... Unpacking python3-gitdb (2.0.6-2) ... Selecting previously unselected package python3-git. Preparing to unpack .../146-python3-git_3.0.5-1_all.deb ... Unpacking python3-git (3.0.5-1) ... Selecting previously unselected package python3-pep8. Preparing to unpack .../147-python3-pep8_1.7.1-8_all.deb ... Unpacking python3-pep8 (1.7.1-8) ... Selecting previously unselected package python3-hacking. Preparing to unpack .../148-python3-hacking_1.1.0-4_all.deb ... Unpacking python3-hacking (1.1.0-4) ... Selecting previously unselected package python3-idna. Preparing to unpack .../149-python3-idna_2.6-2build1_all.deb ... Unpacking python3-idna (2.6-2build1) ... Selecting previously unselected package python3-jmespath. Preparing to unpack .../150-python3-jmespath_0.9.4-2_all.deb ... Unpacking python3-jmespath (0.9.4-2) ... Selecting previously unselected package python3-json-pointer. Preparing to unpack .../151-python3-json-pointer_1.10-2_all.deb ... Unpacking python3-json-pointer (1.10-2) ... Selecting previously unselected package python3-jsonpatch. Preparing to unpack .../152-python3-jsonpatch_1.23-3_all.deb ... Unpacking python3-jsonpatch (1.23-3) ... Selecting previously unselected package python3-jwt. Preparing to unpack .../153-python3-jwt_1.7.1-1_all.deb ... Unpacking python3-jwt (1.7.1-1) ... Selecting previously unselected package python3-iso8601. Preparing to unpack .../154-python3-iso8601_0.1.11-2_all.deb ... Unpacking python3-iso8601 (0.1.11-2) ... Selecting previously unselected package python3-lxml:amd64. Preparing to unpack .../155-python3-lxml_4.4.1-1build1_amd64.deb ... Unpacking python3-lxml:amd64 (4.4.1-1build1) ... Selecting previously unselected package python3-oauthlib. Preparing to unpack .../156-python3-oauthlib_2.1.0-1_all.deb ... Unpacking python3-oauthlib (2.1.0-1) ... Selecting previously unselected package python3-os-service-types. Preparing to unpack .../157-python3-os-service-types_1.7.0-0ubuntu1_all.deb ... Unpacking python3-os-service-types (1.7.0-0ubuntu1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../158-python3-urllib3_1.24.1-1ubuntu2_all.deb ... Unpacking python3-urllib3 (1.24.1-1ubuntu2) ... Selecting previously unselected package python3-requests. Preparing to unpack .../159-python3-requests_2.21.0-1_all.deb ... Unpacking python3-requests (2.21.0-1) ... Selecting previously unselected package python3-keystoneauth1. Preparing to unpack .../160-python3-keystoneauth1_3.18.0-0ubuntu1_all.deb ... Unpacking python3-keystoneauth1 (3.18.0-0ubuntu1) ... Selecting previously unselected package python3-mox3. Preparing to unpack .../161-python3-mox3_0.28.0-2_all.deb ... Unpacking python3-mox3 (0.28.0-2) ... Selecting previously unselected package python3-munch. Preparing to unpack .../162-python3-munch_2.3.2-2_all.deb ... Unpacking python3-munch (2.3.2-2) ... Selecting previously unselected package python3-requestsexceptions. Preparing to unpack .../163-python3-requestsexceptions_1.4.0-3_all.deb ... Unpacking python3-requestsexceptions (1.4.0-3) ... Selecting previously unselected package python3-openstacksdk. Preparing to unpack .../164-python3-openstacksdk_0.38.0-0ubuntu1_all.deb ... Unpacking python3-openstacksdk (0.38.0-0ubuntu1) ... Selecting previously unselected package python3-os-client-config. Preparing to unpack .../165-python3-os-client-config_1.31.2-0ubuntu2_all.deb ... Unpacking python3-os-client-config (1.31.2-0ubuntu2) ... Selecting previously unselected package python3-mock. Preparing to unpack .../166-python3-mock_3.0.5-1_all.deb ... Unpacking python3-mock (3.0.5-1) ... Selecting previously unselected package python3-voluptuous. Preparing to unpack .../167-python3-voluptuous_0.11.1-1build1_all.deb ... Unpacking python3-voluptuous (0.11.1-1build1) ... Selecting previously unselected package python3-subunit. Preparing to unpack .../168-python3-subunit_1.3.0-6build1_all.deb ... Unpacking python3-subunit (1.3.0-6build1) ... Selecting previously unselected package subunit. Preparing to unpack .../169-subunit_1.3.0-6build1_all.deb ... Unpacking subunit (1.3.0-6build1) ... Selecting previously unselected package python3-stestr. Preparing to unpack .../170-python3-stestr_2.4.0-2_all.deb ... Unpacking python3-stestr (2.4.0-2) ... Selecting previously unselected package python3-testrepository. Preparing to unpack .../171-python3-testrepository_0.0.20-5_all.deb ... Unpacking python3-testrepository (0.0.20-5) ... Selecting previously unselected package testrepository. Preparing to unpack .../172-testrepository_0.0.20-5_all.deb ... Unpacking testrepository (0.0.20-5) ... Selecting previously unselected package python3-oslotest. Preparing to unpack .../173-python3-oslotest_1%3a3.8.1-0ubuntu1_all.deb ... Unpacking python3-oslotest (1:3.8.1-0ubuntu1) ... Selecting previously unselected package python3-testscenarios. Preparing to unpack .../174-python3-testscenarios_0.5.0-3build1_all.deb ... Unpacking python3-testscenarios (0.5.0-3build1) ... Selecting previously unselected package openstack-pkg-tools. Preparing to unpack .../175-openstack-pkg-tools_99ubuntu1_all.deb ... Unpacking openstack-pkg-tools (99ubuntu1) ... Selecting previously unselected package sbuild-build-depends-bandit-dummy. Preparing to unpack .../176-sbuild-build-depends-bandit-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-bandit-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.5.1-3) ... Setting up libxau6:amd64 (1:1.0.9-0ubuntu1) ... Setting up libsubunit-perl (1.3.0-6build1) ... Setting up libkeyutils1:amd64 (1.6-6ubuntu1) ... Setting up libpsl5:amd64 (0.20.2-2) ... Setting up libpython3.8-minimal:amd64 (3.8.0-5) ... Setting up mime-support (3.64ubuntu1) ... Setting up libmagic-mgc (1:5.37-6) ... Setting up libarchive-zip-perl (1.67-1) ... Setting up libyaml-0-2:amd64 (0.2.2-1) ... Setting up libglib2.0-0:amd64 (2.63.3-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (12.7.1ubuntu1) ... Setting up libbrotli1:amd64 (1.0.7-5) ... Setting up x11-common (1:7.7+19ubuntu12) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libnghttp2-14:amd64 (1.40.0-1) ... Setting up libmagic1:amd64 (1:5.37-6) ... Setting up gettext-base (0.19.8.1-10) ... Setting up file (1:5.37-6) ... Setting up libldap-common (2.4.48+dfsg-1ubuntu3) ... Setting up libicu63:amd64 (63.2-2) ... Setting up libkrb5support0:amd64 (1.17-6) ... Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ... Setting up liberror-perl (0.17028-1) ... Setting up autotools-dev (20180224.1) ... Setting up libx11-data (2:1.6.8-1) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build1) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up autopoint (0.19.8.1-10) ... Setting up libk5crypto3:amd64 (1.17-6) ... Setting up libsasl2-2:amd64 (2.1.27+dfsg-2) ... Setting up libroken18-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up python3.8-minimal (3.8.0-5) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up libsub-override-perl (0.09-2) ... Setting up git-man (1:2.24.0-1ubuntu1) ... Setting up sgml-base (1.29.1) ... Setting up libkrb5-3:amd64 (1.17-6) ... Setting up libmpdec2:amd64 (2.4.2-2) ... Setting up libpython3.8-stdlib:amd64 (3.8.0-5) ... Setting up python3.8 (3.8.0-5) ... Setting up libbsd0:amd64 (0.10.0-1) ... Setting up libelf1:amd64 (0.176-1.1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-8ubuntu1) ... Setting up libonig5:amd64 (6.9.4-1) ... Setting up libheimbase1-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up libfile-stripnondeterminism-perl (1.6.3-1) ... Setting up libice6:amd64 (2:1.0.10-0ubuntu1) ... Setting up libxdmcp6:amd64 (1:1.1.3-0ubuntu1) ... Setting up libpython3.7-stdlib:amd64 (3.7.5-2) ... Setting up libxcb1:amd64 (1.13.1-2) ... Setting up libtool (2.4.6-11) ... Setting up libjq1:amd64 (1.6-1) ... Setting up libasn1-8-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up m4 (1.4.18-4) ... Setting up libhcrypto4-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up libwind0-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up bsdmainutils (11.1.2ubuntu2) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libgssapi-krb5-2:amd64 (1.17-6) ... Setting up libcroco3:amd64 (0.6.13-1) ... Setting up libssh-4:amd64 (0.9.0-1ubuntu5) ... Setting up autoconf (2.69-11ubuntu1) ... Setting up dh-strip-nondeterminism (1.6.3-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-4) ... Setting up xml-core (0.18+nmu1) ... Setting up jq (1.6-1) ... Setting up libxslt1.1:amd64 (1.1.33-0ubuntu2) ... Setting up libx11-6:amd64 (2:1.6.8-1) ... Setting up libsm6:amd64 (2:1.2.3-1) ... Setting up libpython3-stdlib:amd64 (3.7.5-1ubuntu1) ... Setting up automake (1:1.16.1-4ubuntu3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3.7 (3.7.5-2) ... Setting up gettext (0.19.8.1-10) ... Setting up libhx509-5-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up libxext6:amd64 (2:1.3.4-0ubuntu1) ... Setting up python3 (3.7.5-1ubuntu1) ... Setting up man-db (2.9.0-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up python3-markupsafe (1.1.0-1build1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up python3-six (1.12.0-2build1) ... Setting up python3-roman (2.0.0-3build1) ... Setting up python3-decorator (4.3.0-1.1build1) ... Setting up python3-pycodestyle (2.5.0-1) ... Setting up python3-iso8601 (0.1.11-2) ... Setting up python3-wcwidth (0.1.7+dfsg1-6build1) ... Setting up python3-pyparsing (2.4.2-1) ... Setting up python3-certifi (2019.11.28-1) ... Setting up python3-linecache2 (1.0.0-3build1) ... Setting up python3-jmespath (0.9.4-2) ... /usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? if x is 0 or x is 1: /usr/lib/python3/dist-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? if x is 0 or x is 1: /usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? elif y is 0 or y is 1: /usr/lib/python3/dist-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? elif y is 0 or y is 1: /usr/lib/python3/dist-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="? if original_result is 0: Setting up python3-idna (2.6-2build1) ... Setting up python3-wrapt (1.11.2-2) ... Setting up libxt6:amd64 (1:1.1.5-1) ... Setting up python3-isort (4.3.4+ds1-2) ... Setting up python3-urllib3 (1.24.1-1ubuntu2) ... Setting up python3-netifaces (0.10.4-1ubuntu1) ... Setting up python3-json-pointer (1.10-2) ... Setting up python3-lxml:amd64 (4.4.1-1build1) ... Setting up python3-mccabe (0.6.1-2build1) ... Setting up python3-voluptuous (0.11.1-1build1) ... Setting up python3-lazy-object-proxy (1.4.3-1) ... Setting up python3-prettytable (0.7.2-5) ... Setting up python3-lib2to3 (3.8.0-1) ... Setting up python3-appdirs (1.4.3-1build1) ... Setting up python3-smmap (2.0.5-2) ... Setting up python3-asn1crypto (0.24.0-1build1) ... Setting up python3-soupsieve (1.9.5+dfsg-1) ... Setting up python3-mimeparse (1.6.0-2) ... Setting up python3-cffi-backend (1.13.2-1) ... Setting up python3-mako (1.1.0+ds1-1) ... Setting up python3-blinker (1.4+dfsg1-0.2build1) ... Setting up libkrb5-26-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up python3-pkg-resources (41.4.0-1) ... Setting up python3-entrypoints (0.3-1build1) ... Setting up python3-distutils (3.8.0-1) ... Setting up dh-python (4.20191017ubuntu1) ... Setting up python3-attr (18.2.0-1build1) ... Setting up libxmu6:amd64 (2:1.1.3-0ubuntu1) ... Setting up python3-setuptools (41.4.0-1) ... Setting up python3-jwt (1.7.1-1) ... Setting up python3-logilab-common (1.4.3-2) ... Setting up python3-pbr (5.4.4-0ubuntu1) ... update-alternatives: using /usr/bin/python3-pbr to provide /usr/bin/pbr (pbr) in auto mode Setting up po-debconf (1.0.21) ... Setting up python3-jsonpatch (1.23-3) ... update-alternatives: using /usr/bin/jsonpatch-jsondiff to provide /usr/bin/jsondiff (jsondiff) in auto mode Setting up python3-pyflakes (2.1.1-1) ... Setting up python3-extras (1.0.0-3) ... Setting up python3-traceback2 (1.4.0-5build1) ... Setting up python3-all (3.7.5-1ubuntu1) ... Setting up python3-requestsexceptions (1.4.0-3) ... Setting up python3-coverage (4.5.2+dfsg.1-4) ... Setting up python3-yaml (5.1.2-1build1) ... Setting up python3-debtcollector (1.21.0-2ubuntu1) ... Setting up python3-gitdb (2.0.6-2) ... Setting up libheimntlm0-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up python3-munch (2.3.2-2) ... Setting up openstack-pkg-tools (99ubuntu1) ... Setting up python3-bs4 (4.8.2-1) ... Setting up python3-flake8 (3.7.9-1) ... Setting up python3-mock (3.0.5-1) ... Setting up python3-dogpile.cache (0.7.1-1ubuntu1) ... Setting up python3-packaging (19.1-2) ... Setting up python3-chardet (3.0.4-4) ... Setting up libgssapi3-heimdal:amd64 (7.7.0+dfsg-1) ... Setting up python3-cryptography (2.6.1-4) ... Setting up python3-requests (2.21.0-1) ... Setting up python3-unittest2 (1.1.0-6.1build1) ... update-alternatives: using /usr/bin/python3-unit2 to provide /usr/bin/unit2 (unit2) in auto mode Setting up xclip (0.13-1) ... Setting up python3-deprecation (2.0.7-1) ... Setting up python3-astroid (2.3.3-1) ... Setting up python3-os-service-types (1.7.0-0ubuntu1) ... Setting up python3-stevedore (1:1.31.0-0ubuntu1) ... Setting up python3-future (0.16.0-1) ... update-alternatives: using /usr/bin/python3-futurize to provide /usr/bin/futurize (futurize) in auto mode update-alternatives: using /usr/bin/python3-pasteurize to provide /usr/bin/pasteurize (pasteurize) in auto mode Setting up pylint (2.4.4-2) ... Setting up python3-pep8 (1.7.1-8) ... Setting up pyflakes3 (2.1.1-1) ... Setting up libldap-2.4-2:amd64 (2.4.48+dfsg-1ubuntu3) ... Setting up python3-pyperclip (1.7.0-1) ... Setting up libcurl3-gnutls:amd64 (7.66.0-1ubuntu1) ... Setting up flake8 (3.7.9-1) ... Setting up python3-oauthlib (2.1.0-1) ... Setting up python3-cmd2 (0.8.5-2.1) ... Setting up git (1:2.24.0-1ubuntu1) ... Setting up python3-keystoneauth1 (3.18.0-0ubuntu1) ... Setting up python3-hacking (1.1.0-4) ... /usr/lib/python3/dist-packages/hacking/checks/comments.py:62: SyntaxWarning: "is" with a literal. Did you mean "=="? if line_number is 1 and len(lines) > 10 and _project_is_apache(): /usr/lib/python3/dist-packages/hacking/checks/comments.py:84: SyntaxWarning: "is" with a literal. Did you mean "=="? if line_number is 1 and len(lines) > 10 and _project_is_apache(): /usr/lib/python3/dist-packages/hacking/checks/docstrings.py:121: SyntaxWarning: "is not" with a literal. Did you mean "!="? if len(lines) > 1 and len(lines[1].strip()) is not 0: Setting up python3-git (3.0.5-1) ... Setting up python3-openstacksdk (0.38.0-0ubuntu1) ... Setting up python3-os-client-config (1.31.2-0ubuntu2) ... Setting up dh-autoreconf (19) ... Setting up python3-fixtures (3.0.0-2) ... Setting up python3-testtools (2.3.0-5) ... Setting up debhelper (12.7.1ubuntu1) ... Setting up python3-subunit (1.3.0-6build1) ... Setting up python3-testrepository (0.0.20-5) ... Setting up testrepository (0.0.20-5) ... Setting up python3-mox3 (0.28.0-2) ... Setting up python3-testscenarios (0.5.0-3build1) ... Setting up subunit (1.3.0-6build1) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... Processing triggers for systemd (244-3ubuntu1) ... Processing triggers for sgml-base (1.29.1) ... Setting up docutils-common (0.15.2+dfsg-1) ... Processing triggers for sgml-base (1.29.1) ... Setting up python3-docutils (0.15.2+dfsg-1) ... update-alternatives: using /usr/share/docutils/scripts/python3/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2html4 to provide /usr/bin/rst2html4 (rst2html4) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2html5 to provide /usr/bin/rst2html5 (rst2html5) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode Setting up python3-cliff (2.16.0-0ubuntu1) ... Setting up python3-stestr (2.4.0-2) ... Setting up python3-oslotest (1:3.8.1-0ubuntu1) ... Setting up sbuild-build-depends-bandit-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-170-generic amd64 (x86_64) Toolchain package versions: binutils_2.33.1-6ubuntu3 dpkg-dev_1.19.7ubuntu2 g++-9_9.2.1-21ubuntu1 gcc-9_9.2.1-21ubuntu1 libc6-dev_2.30-0ubuntu3 libstdc++-9-dev_9.2.1-21ubuntu1 libstdc++6_9.2.1-21ubuntu1 linux-libc-dev_5.3.0-24.26 Package versions: adduser_3.118ubuntu1 advancecomp_2.1-2.1 apt_1.9.5 autoconf_2.69-11ubuntu1 automake_1:1.16.1-4ubuntu3 autopoint_0.19.8.1-10 autotools-dev_20180224.1 base-files_11ubuntu2 base-passwd_3.5.47 bash_5.0-5ubuntu1 binutils_2.33.1-6ubuntu3 binutils-common_2.33.1-6ubuntu3 binutils-x86-64-linux-gnu_2.33.1-6ubuntu3 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.34-0.1ubuntu4 build-essential_12.8ubuntu1 bzip2_1.0.8-2 ca-certificates_20190110 coreutils_8.30-3ubuntu2 cpp_4:9.2.1-3.1ubuntu1 cpp-9_9.2.1-21ubuntu1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.7.1ubuntu1 debianutils_4.9.1 dh-autoreconf_19 dh-python_4.20191017ubuntu1 dh-strip-nondeterminism_1.6.3-1 diffutils_1:3.7-3 docutils-common_0.15.2+dfsg-1 dpkg_1.19.7ubuntu2 dpkg-dev_1.19.7ubuntu2 dwz_0.13-5 e2fsprogs_1.45.3-4ubuntu2 fakeroot_1.24-1 fdisk_2.34-0.1ubuntu4 file_1:5.37-6 findutils_4.6.0+git+20190209-2ubuntu1 flake8_3.7.9-1 g++_4:9.2.1-3.1ubuntu1 g++-9_9.2.1-21ubuntu1 gcc_4:9.2.1-3.1ubuntu1 gcc-9_9.2.1-21ubuntu1 gcc-9-base_9.2.1-21ubuntu1 gettext_0.19.8.1-10 gettext-base_0.19.8.1-10 git_1:2.24.0-1ubuntu1 git-man_1:2.24.0-1ubuntu1 gpg_2.2.17-3ubuntu1 gpg-agent_2.2.17-3ubuntu1 gpgconf_2.2.17-3ubuntu1 gpgv_2.2.17-3ubuntu1 grep_3.3-1build1 groff-base_1.22.4-4 gzip_1.10-0ubuntu4 hostname_3.23 init_1.57 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 jq_1.6-1 libacl1_2.2.53-5ubuntu1 libapparmor1_2.13.3-7ubuntu1 libapt-pkg5.90_1.9.5 libarchive-zip-perl_1.67-1 libargon2-1_0~20171227-0.2 libasan5_9.2.1-21ubuntu1 libasn1-8-heimdal_7.7.0+dfsg-1 libassuan0_2.5.3-7ubuntu1 libatomic1_9.2.1-21ubuntu1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu5 libaudit1_1:2.8.5-2ubuntu5 libbinutils_2.33.1-6ubuntu3 libblkid1_2.34-0.1ubuntu4 libbrotli1_1.0.7-5 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.30-0ubuntu3 libc-dev-bin_2.30-0ubuntu3 libc6_2.30-0ubuntu3 libc6-dev_2.30-0ubuntu3 libcap-ng0_0.7.9-2.1 libcap2_1:2.27-1 libcc1-0_9.2.1-21ubuntu1 libcom-err2_1.45.3-4ubuntu2 libcroco3_0.6.13-1 libcryptsetup12_2:2.2.2-1ubuntu1 libcurl3-gnutls_7.66.0-1ubuntu1 libdb5.3_5.3.28+dfsg1-0.6ubuntu1 libdebconfclient0_0.250ubuntu2 libdebhelper-perl_12.7.1ubuntu1 libdevmapper1.02.1_2:1.02.155-2ubuntu7 libdpkg-perl_1.19.7ubuntu2 libelf1_0.176-1.1 liberror-perl_0.17028-1 libexpat1_2.2.9-1 libext2fs2_1.45.3-4ubuntu2 libfakeroot_1.24-1 libfdisk1_2.34-0.1ubuntu4 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.6.3-1 libgcc-9-dev_9.2.1-21ubuntu1 libgcc1_1:9.2.1-21ubuntu1 libgcrypt20_1.8.5-3ubuntu1 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.63.3-1 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.11.1-2 libgomp1_9.2.1-21ubuntu1 libgpg-error0_1.36-7 libgssapi-krb5-2_1.17-6 libgssapi3-heimdal_7.7.0+dfsg-1 libhcrypto4-heimdal_7.7.0+dfsg-1 libheimbase1-heimdal_7.7.0+dfsg-1 libheimntlm0-heimdal_7.7.0+dfsg-1 libhogweed4_3.4.1-1 libhogweed5_3.5.1+really3.5.1-2 libhx509-5-heimdal_7.7.0+dfsg-1 libice6_2:1.0.10-0ubuntu1 libicu63_63.2-2 libidn2-0_2.2.0-2 libip4tc2_1.8.3-2ubuntu5 libisl21_0.21-2 libisl22_0.22-2 libitm1_9.2.1-21ubuntu1 libjq1_1.6-1 libjson-c4_0.13.1+dfsg-6 libk5crypto3_1.17-6 libkeyutils1_1.6-6ubuntu1 libkmod2_26-3ubuntu1 libkrb5-26-heimdal_7.7.0+dfsg-1 libkrb5-3_1.17-6 libkrb5support0_1.17-6 libldap-2.4-2_2.4.48+dfsg-1ubuntu3 libldap-common_2.4.48+dfsg-1ubuntu3 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblsan0_9.2.1-21ubuntu1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1 libmagic-mgc_1:5.37-6 libmagic1_1:5.37-6 libmount1_2.34-0.1ubuntu4 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.2-1 libncurses6_6.1+20191019-1ubuntu1 libncursesw6_6.1+20191019-1ubuntu1 libnettle6_3.4.1-1 libnettle7_3.5.1+really3.5.1-2 libnghttp2-14_1.40.0-1 libnpth0_1.6-1 libonig5_6.9.4-1 libp11-kit0_0.23.18.1-2 libpam-modules_1.3.1-5ubuntu4 libpam-modules-bin_1.3.1-5ubuntu4 libpam-runtime_1.3.1-5ubuntu4 libpam0g_1.3.1-5ubuntu4 libpcre2-8-0_10.34-7 libpcre3_2:8.39-12 libperl5.28_5.28.1-6build1 libperl5.30_5.30.0-9 libpipeline1_1.5.1-3 libpng16-16_1.6.37-1 libprocps7_2:3.3.15-2ubuntu3 libpsl5_0.20.2-2 libpython3-stdlib_3.7.5-1ubuntu1 libpython3.7-minimal_3.7.5-2 libpython3.7-stdlib_3.7.5-2 libpython3.8-minimal_3.8.0-5 libpython3.8-stdlib_3.8.0-5 libquadmath0_9.2.1-21ubuntu1 libreadline8_8.0-3 libroken18-heimdal_7.7.0+dfsg-1 librtmp1_2.4+20151223.gitfa8646d.1-2build1 libsasl2-2_2.1.27+dfsg-2 libsasl2-modules-db_2.1.27+dfsg-2 libseccomp2_2.4.2-2ubuntu1 libselinux1_3.0-1 libsemanage-common_3.0-1 libsemanage1_3.0-1 libsepol1_3.0-1 libsigsegv2_2.12-2 libsm6_2:1.2.3-1 libsmartcols1_2.34-0.1ubuntu4 libsqlite3-0_3.30.1-1ubuntu1 libss2_1.45.3-4ubuntu2 libssh-4_0.9.0-1ubuntu5 libssl1.1_1.1.1c-1ubuntu4 libstdc++-9-dev_9.2.1-21ubuntu1 libstdc++6_9.2.1-21ubuntu1 libsub-override-perl_0.09-2 libsubunit-perl_1.3.0-6build1 libsystemd0_244-3ubuntu1 libtasn1-6_4.15.0-2 libtinfo6_6.1+20191019-1ubuntu1 libtool_2.4.6-11 libtsan0_9.2.1-21ubuntu1 libubsan1_9.2.1-21ubuntu1 libuchardet0_0.0.6-3 libudev1_244-3ubuntu1 libunistring2_0.9.10-2 libuuid1_2.34-0.1ubuntu4 libwind0-heimdal_7.7.0+dfsg-1 libx11-6_2:1.6.8-1 libx11-data_2:1.6.8-1 libxau6_1:1.0.9-0ubuntu1 libxcb1_1.13.1-2 libxdmcp6_1:1.1.3-0ubuntu1 libxext6_2:1.3.4-0ubuntu1 libxml2_2.9.4+dfsg1-8ubuntu1 libxmu6_2:1.1.3-0ubuntu1 libxslt1.1_1.1.33-0ubuntu2 libxt6_1:1.1.5-1 libyaml-0-2_0.2.2-1 libzstd1_1.4.4+dfsg-1 linux-libc-dev_5.3.0-24.26 lockfile-progs_0.1.18 login_1:4.5-1.1ubuntu4 logsave_1.45.3-4ubuntu2 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-2 mawk_1.3.3-17ubuntu3 mime-support_3.64ubuntu1 mount_2.34-0.1ubuntu4 ncurses-base_6.1+20191019-1ubuntu1 ncurses-bin_6.1+20191019-1ubuntu1 openssl_1.1.1c-1ubuntu4 openstack-pkg-tools_99ubuntu1 optipng_0.7.7-1 passwd_1:4.5-1.1ubuntu4 patch_2.7.6-6 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.28_5.28.1-6build1 perl-modules-5.30_5.30.0-9 pinentry-curses_1.1.0-3 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.15-2ubuntu3 pyflakes3_2.1.1-1 pylint_2.4.4-2 python3_3.7.5-1ubuntu1 python3-all_3.7.5-1ubuntu1 python3-appdirs_1.4.3-1build1 python3-asn1crypto_0.24.0-1build1 python3-astroid_2.3.3-1 python3-attr_18.2.0-1build1 python3-blinker_1.4+dfsg1-0.2build1 python3-bs4_4.8.2-1 python3-certifi_2019.11.28-1 python3-cffi-backend_1.13.2-1 python3-chardet_3.0.4-4 python3-cliff_2.16.0-0ubuntu1 python3-cmd2_0.8.5-2.1 python3-coverage_4.5.2+dfsg.1-4 python3-cryptography_2.6.1-4 python3-debtcollector_1.21.0-2ubuntu1 python3-decorator_4.3.0-1.1build1 python3-deprecation_2.0.7-1 python3-distutils_3.8.0-1 python3-docutils_0.15.2+dfsg-1 python3-dogpile.cache_0.7.1-1ubuntu1 python3-entrypoints_0.3-1build1 python3-extras_1.0.0-3 python3-fixtures_3.0.0-2 python3-flake8_3.7.9-1 python3-future_0.16.0-1 python3-git_3.0.5-1 python3-gitdb_2.0.6-2 python3-hacking_1.1.0-4 python3-idna_2.6-2build1 python3-iso8601_0.1.11-2 python3-isort_4.3.4+ds1-2 python3-jmespath_0.9.4-2 python3-json-pointer_1.10-2 python3-jsonpatch_1.23-3 python3-jwt_1.7.1-1 python3-keystoneauth1_3.18.0-0ubuntu1 python3-lazy-object-proxy_1.4.3-1 python3-lib2to3_3.8.0-1 python3-linecache2_1.0.0-3build1 python3-logilab-common_1.4.3-2 python3-lxml_4.4.1-1build1 python3-mako_1.1.0+ds1-1 python3-markupsafe_1.1.0-1build1 python3-mccabe_0.6.1-2build1 python3-mimeparse_1.6.0-2 python3-minimal_3.7.5-1ubuntu1 python3-mock_3.0.5-1 python3-mox3_0.28.0-2 python3-munch_2.3.2-2 python3-netifaces_0.10.4-1ubuntu1 python3-oauthlib_2.1.0-1 python3-openstacksdk_0.38.0-0ubuntu1 python3-os-client-config_1.31.2-0ubuntu2 python3-os-service-types_1.7.0-0ubuntu1 python3-oslotest_1:3.8.1-0ubuntu1 python3-packaging_19.1-2 python3-pbr_5.4.4-0ubuntu1 python3-pep8_1.7.1-8 python3-pkg-resources_41.4.0-1 python3-prettytable_0.7.2-5 python3-pycodestyle_2.5.0-1 python3-pyflakes_2.1.1-1 python3-pyparsing_2.4.2-1 python3-pyperclip_1.7.0-1 python3-requests_2.21.0-1 python3-requestsexceptions_1.4.0-3 python3-roman_2.0.0-3build1 python3-setuptools_41.4.0-1 python3-six_1.12.0-2build1 python3-smmap_2.0.5-2 python3-soupsieve_1.9.5+dfsg-1 python3-stestr_2.4.0-2 python3-stevedore_1:1.31.0-0ubuntu1 python3-subunit_1.3.0-6build1 python3-testrepository_0.0.20-5 python3-testscenarios_0.5.0-3build1 python3-testtools_2.3.0-5 python3-traceback2_1.4.0-5build1 python3-unittest2_1.1.0-6.1build1 python3-urllib3_1.24.1-1ubuntu2 python3-voluptuous_0.11.1-1build1 python3-wcwidth_0.1.7+dfsg1-6build1 python3-wrapt_1.11.2-2 python3-yaml_5.1.2-1build1 python3.7_3.7.5-2 python3.7-minimal_3.7.5-2 python3.8_3.8.0-5 python3.8-minimal_3.8.0-5 readline-common_8.0-3 sbuild-build-depends-bandit-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 sgml-base_1.29.1 subunit_1.3.0-6build1 systemd_244-3ubuntu1 systemd-sysv_244-3ubuntu1 sysvinit-utils_2.96-1ubuntu1 tar_1.30+dfsg-6 testrepository_0.0.20-5 tzdata_2019c-3 ubuntu-keyring_2018.09.18.1 util-linux_2.34-0.1ubuntu4 x11-common_1:7.7+19ubuntu12 xclip_0.13-1 xml-core_0.18+nmu1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1ubuntu3 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Tue Jul 16 16:11:06 2019 UTC gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./bandit_1.5.1-3.dsc dpkg-source: info: extracting bandit in bandit-1.5.1 dpkg-source: info: unpacking bandit_1.5.1.orig.tar.xz dpkg-source: info: unpacking bandit_1.5.1-3.debian.tar.xz Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-18283026 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-18283026 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-18283026 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package bandit dpkg-buildpackage: info: source version 1.5.1-3 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 dpkg-source: info: using options from bandit-1.5.1/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ --extend-diff-ignore=^[.]gitreview$ fakeroot debian/rules clean make: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=python_distutils --with python3 debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions rm -rf build make[1]: Leaving directory '/<>' dh_autoreconf_clean -O--buildsystem=python_distutils dh_clean -O--buildsystem=python_distutils debian/rules build make: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions dh build --buildsystem=python_distutils --with python3 dh_update_autotools_config -O--buildsystem=python_distutils dh_autoreconf -O--buildsystem=python_distutils dh_auto_configure -O--buildsystem=python_distutils dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils dh_auto_configure: This feature will be removed in compat 12. debian/rules override_dh_auto_build make[1]: Entering directory '/<>' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions echo "Do nothing..." Do nothing... make[1]: Leaving directory '/<>' debian/rules override_dh_auto_test make[1]: Entering directory '/<>' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions echo "Do nothing..." Do nothing... make[1]: Leaving directory '/<>' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary make: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=python_distutils --with python3 dh_testroot -O--buildsystem=python_distutils dh_prep -O--buildsystem=python_distutils dh_installdirs -O--buildsystem=python_distutils debian/rules override_dh_auto_install make[1]: Entering directory '/<>' make[1]: pyversions: Command not found py3versions: no X-Python3-Version in control file, using supported versions for i in 3.8 3.7 ; do \ python3 setup.py install -f --install-layout=deb --root=/<>/debian/tmp ; \ done running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running build running build_py creating build creating build/lib creating build/lib/bandit creating build/lib/bandit/plugins copying bandit/plugins/try_except_continue.py -> build/lib/bandit/plugins copying bandit/plugins/injection_sql.py -> build/lib/bandit/plugins copying bandit/plugins/insecure_ssl_tls.py -> build/lib/bandit/plugins copying bandit/plugins/hashlib_new_insecure_functions.py -> build/lib/bandit/plugins copying bandit/plugins/jinja2_templates.py -> build/lib/bandit/plugins copying bandit/plugins/injection_wildcard.py -> build/lib/bandit/plugins copying bandit/plugins/asserts.py -> build/lib/bandit/plugins copying bandit/plugins/general_bad_file_permissions.py -> build/lib/bandit/plugins copying bandit/plugins/django_xss.py -> build/lib/bandit/plugins copying bandit/plugins/exec.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/mako_templates.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/ssh_no_host_key_verification.py -> build/lib/bandit/plugins copying bandit/plugins/crypto_request_no_cert_validation.py -> build/lib/bandit/plugins copying bandit/plugins/general_hardcoded_password.py -> build/lib/bandit/plugins copying bandit/plugins/app_debug.py -> build/lib/bandit/plugins copying bandit/plugins/injection_shell.py -> build/lib/bandit/plugins copying bandit/plugins/general_bind_all_interfaces.py -> build/lib/bandit/plugins copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins copying bandit/plugins/weak_cryptographic_key.py -> build/lib/bandit/plugins copying bandit/plugins/injection_paramiko.py -> build/lib/bandit/plugins copying bandit/__init__.py -> build/lib/bandit copying bandit/__main__.py -> build/lib/bandit creating build/lib/bandit/blacklists copying bandit/blacklists/utils.py -> build/lib/bandit/blacklists copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists copying bandit/blacklists/__init__.py -> build/lib/bandit/blacklists copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists creating build/lib/bandit/core copying bandit/core/issue.py -> build/lib/bandit/core copying bandit/core/metrics.py -> build/lib/bandit/core copying bandit/core/test_set.py -> build/lib/bandit/core copying bandit/core/node_visitor.py -> build/lib/bandit/core copying bandit/core/utils.py -> build/lib/bandit/core copying bandit/core/meta_ast.py -> build/lib/bandit/core copying bandit/core/blacklisting.py -> build/lib/bandit/core copying bandit/core/config.py -> build/lib/bandit/core copying bandit/core/manager.py -> build/lib/bandit/core copying bandit/core/context.py -> build/lib/bandit/core copying bandit/core/tester.py -> build/lib/bandit/core copying bandit/core/extension_loader.py -> build/lib/bandit/core copying bandit/core/__init__.py -> build/lib/bandit/core copying bandit/core/test_properties.py -> build/lib/bandit/core copying bandit/core/constants.py -> build/lib/bandit/core copying bandit/core/docs_utils.py -> build/lib/bandit/core creating build/lib/bandit/cli copying bandit/cli/baseline.py -> build/lib/bandit/cli copying bandit/cli/__init__.py -> build/lib/bandit/cli copying bandit/cli/main.py -> build/lib/bandit/cli copying bandit/cli/config_generator.py -> build/lib/bandit/cli creating build/lib/bandit/formatters copying bandit/formatters/yaml.py -> build/lib/bandit/formatters copying bandit/formatters/screen.py -> build/lib/bandit/formatters copying bandit/formatters/utils.py -> build/lib/bandit/formatters copying bandit/formatters/html.py -> build/lib/bandit/formatters copying bandit/formatters/text.py -> build/lib/bandit/formatters copying bandit/formatters/csv.py -> build/lib/bandit/formatters copying bandit/formatters/xml.py -> build/lib/bandit/formatters copying bandit/formatters/__init__.py -> build/lib/bandit/formatters copying bandit/formatters/json.py -> build/lib/bandit/formatters copying bandit/formatters/custom.py -> build/lib/bandit/formatters running egg_info creating bandit.egg-info writing bandit.egg-info/PKG-INFO writing dependency_links to bandit.egg-info/dependency_links.txt writing entry points to bandit.egg-info/entry_points.txt writing requirements to bandit.egg-info/requires.txt writing top-level names to bandit.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file 'bandit.egg-info/SOURCES.txt' warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'bandit.egg-info/SOURCES.txt' running install_lib creating /<>/debian/tmp creating /<>/debian/tmp/usr creating /<>/debian/tmp/usr/lib creating /<>/debian/tmp/usr/lib/python3 creating /<>/debian/tmp/usr/lib/python3/dist-packages creating /<>/debian/tmp/usr/lib/python3/dist-packages/bandit creating /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_continue.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_sql.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/hashlib_new_insecure_functions.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/jinja2_templates.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_wildcard.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/asserts.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_xss.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/exec.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_pass.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/mako_templates.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_sql_injection.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_password.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/app_debug.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_shell.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/yaml_load.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_paramiko.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins creating /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/baseline.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/main.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/config_generator.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit copying build/lib/bandit/__main__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit creating /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/imports.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/calls.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists creating /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/issue.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/metrics.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_set.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/node_visitor.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/meta_ast.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/blacklisting.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/config.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/manager.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/context.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/tester.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/extension_loader.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_properties.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/constants.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/docs_utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core creating /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/yaml.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/screen.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/html.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/text.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/csv.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/xml.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/json.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/custom.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_new_insecure_functions.py to hashlib_new_insecure_functions.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/meta_ast.py to meta_ast.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/context.py to context.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/tester.py to tester.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_properties.py to test_properties.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/constants.py to constants.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-37.pyc running install_egg_info Copying bandit.egg-info to /<>/debian/tmp/usr/lib/python3/dist-packages/bandit-1.5.1.egg-info Skipping SOURCES.txt running install_scripts Installing bandit script to /<>/debian/tmp/usr/bin Installing bandit-baseline script to /<>/debian/tmp/usr/bin Installing bandit-config-generator script to /<>/debian/tmp/usr/bin /usr/lib/python3/dist-packages/pbr/packaging.py:436: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running build running build_py running egg_info writing bandit.egg-info/PKG-INFO writing dependency_links to bandit.egg-info/dependency_links.txt writing entry points to bandit.egg-info/entry_points.txt writing requirements to bandit.egg-info/requires.txt writing top-level names to bandit.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt running install_lib copying build/lib/bandit/plugins/try_except_continue.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_sql.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/insecure_ssl_tls.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/hashlib_new_insecure_functions.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/jinja2_templates.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_wildcard.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/asserts.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bad_file_permissions.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_xss.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/exec.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/try_except_pass.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/mako_templates.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/django_sql_injection.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_password.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/app_debug.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_shell.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/yaml_load.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/plugins/injection_paramiko.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins copying build/lib/bandit/cli/baseline.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/main.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/cli/config_generator.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli copying build/lib/bandit/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit copying build/lib/bandit/__main__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit copying build/lib/bandit/blacklists/utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/imports.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/blacklists/calls.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists copying build/lib/bandit/core/issue.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/metrics.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_set.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/node_visitor.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/meta_ast.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/blacklisting.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/config.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/manager.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/context.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/tester.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/extension_loader.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/test_properties.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/constants.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/core/docs_utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core copying build/lib/bandit/formatters/yaml.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/screen.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/utils.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/html.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/text.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/csv.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/xml.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/__init__.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/json.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters copying build/lib/bandit/formatters/custom.py -> /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_continue.py to try_except_continue.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_sql.py to injection_sql.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/insecure_ssl_tls.py to insecure_ssl_tls.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/hashlib_new_insecure_functions.py to hashlib_new_insecure_functions.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/jinja2_templates.py to jinja2_templates.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_wildcard.py to injection_wildcard.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/asserts.py to asserts.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bad_file_permissions.py to general_bad_file_permissions.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_xss.py to django_xss.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/exec.py to exec.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/try_except_pass.py to try_except_pass.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/mako_templates.py to mako_templates.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/django_sql_injection.py to django_sql_injection.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_tmp.py to general_hardcoded_tmp.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/ssh_no_host_key_verification.py to ssh_no_host_key_verification.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/crypto_request_no_cert_validation.py to crypto_request_no_cert_validation.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_hardcoded_password.py to general_hardcoded_password.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/app_debug.py to app_debug.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_shell.py to injection_shell.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/general_bind_all_interfaces.py to general_bind_all_interfaces.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/yaml_load.py to yaml_load.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/weak_cryptographic_key.py to weak_cryptographic_key.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/plugins/injection_paramiko.py to injection_paramiko.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/baseline.py to baseline.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/main.py to main.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/cli/config_generator.py to config_generator.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/__main__.py to __main__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/utils.py to utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/imports.py to imports.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/blacklists/calls.py to calls.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/issue.py to issue.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/metrics.py to metrics.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_set.py to test_set.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/node_visitor.py to node_visitor.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/utils.py to utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/meta_ast.py to meta_ast.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/blacklisting.py to blacklisting.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/config.py to config.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/manager.py to manager.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/context.py to context.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/tester.py to tester.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/extension_loader.py to extension_loader.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/test_properties.py to test_properties.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/constants.py to constants.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/core/docs_utils.py to docs_utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/yaml.py to yaml.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/screen.py to screen.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/utils.py to utils.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/html.py to html.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/text.py to text.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/csv.py to csv.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/xml.py to xml.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/__init__.py to __init__.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/json.py to json.cpython-37.pyc byte-compiling /<>/debian/tmp/usr/lib/python3/dist-packages/bandit/formatters/custom.py to custom.cpython-37.pyc running install_egg_info removing '/<>/debian/tmp/usr/lib/python3/dist-packages/bandit-1.5.1.egg-info' (and everything under it) Copying bandit.egg-info to /<>/debian/tmp/usr/lib/python3/dist-packages/bandit-1.5.1.egg-info Skipping SOURCES.txt running install_scripts Installing bandit script to /<>/debian/tmp/usr/bin Installing bandit-baseline script to /<>/debian/tmp/usr/bin Installing bandit-config-generator script to /<>/debian/tmp/usr/bin /usr/lib/python3/dist-packages/pbr/packaging.py:436: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) PYTHONPATH=/<>/debian/tmp/usr/lib/python3/dist-packages pkgos-dh_auto_test --no-py2 'tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*))' + PKGOS_USE_PY2=yes + PKGOS_USE_PY3=yes + PKGOS_TEST_PARALLEL=yes + PYTHONS=disabled + PYTHON3S=disabled + TEST_PARALLEL_OPT=--parallel + PKGOS_USE_PY2=no + shift + [ no = yes ] + [ yes = yes ] + py3versions -vr + PYTHON3S=3.8 3.7 + [ yes = no ] + [ disabled = disabled ] + continue + [ 3.8 = disabled ] + echo 3.8 + cut -d. -f1 + PYMAJOR=3 + echo ===> Testing with python (python3) ===> Testing with python (python3) + [ 3 = 3 ] + pwd + [ -d /<>/debian/tmp/usr/lib/python3/dist-packages ] + [ -z /<>/debian/tmp/usr/lib/python3/dist-packages ] + [ -e .stestr.conf ] + [ -x /usr/bin/python3-stestr ] + STESTR=stestr + rm -rf .stestr + subunit2pyunit + PYTHON=python3.8 stestr run --subunit tests\.(?!(.*unit\.cli\.test_baseline\.BanditBaselineToolTests\.test_bandit_baseline.*|.*functional\.test_runtime.*|.*functional\.test_baseline.*)) tests.functional.test_functional.FunctionalTests.test_asserts tests.functional.test_functional.FunctionalTests.test_asserts ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/binding.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/binding.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_blacklist_input tests.functional.test_functional.FunctionalTests.test_blacklist_input ... ok tests.functional.test_functional.FunctionalTests.test_binding tests.functional.test_functional.FunctionalTests.test_binding ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_extra.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pycryptodome.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_blacklist_pycryptodome tests.functional.test_functional.FunctionalTests.test_blacklist_pycryptodome ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_extra.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/cipher-modes.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/cipher-modes.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/cipher-modes.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_cipher_modes tests.functional.test_functional.FunctionalTests.test_cipher_modes ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/crypto-md5.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/crypto-md5.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/crypto-md5.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/crypto-md5.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/crypto-md5.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/crypto-md5.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/crypto-md5.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_extra.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_crypto_md5 tests.functional.test_functional.FunctionalTests.test_crypto_md5 ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_extra.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_extra.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_extra.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_django_sql_injection tests.functional.test_functional.FunctionalTests.test_django_sql_injection ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_imports_from tests.functional.test_functional.FunctionalTests.test_imports_from ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/mktemp.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mktemp.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mktemp.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mktemp.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_mktemp tests.functional.test_functional.FunctionalTests.test_mktemp ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/dill.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/nosec.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/nosec.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/nosec.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/nosec.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/nosec.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_dill tests.functional.test_functional.FunctionalTests.test_dill ... ok tests.functional.test_functional.FunctionalTests.test_nosec tests.functional.test_functional.FunctionalTests.test_nosec ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_host_key_verification tests.functional.test_functional.FunctionalTests.test_host_key_verification ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-spawn.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 1: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_os_spawn tests.functional.test_functional.FunctionalTests.test_os_spawn ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pycrypto.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 25: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 25: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_blacklist_pycrypto tests.functional.test_functional.FunctionalTests.test_blacklist_pycrypto ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 28: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_ignore_skip tests.functional.test_functional.FunctionalTests.test_ignore_skip ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/pickle_deserialize.py at line 28: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/binding.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_pickle tests.functional.test_functional.FunctionalTests.test_pickle ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/binding.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/popen_wrappers.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/popen_wrappers.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/imports-aliases.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_code_line_numbers tests.functional.test_functional.FunctionalTests.test_code_line_numbers ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/popen_wrappers.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/imports-aliases.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/popen_wrappers.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-aliases.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/imports-aliases.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_raw.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/imports-aliases.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_raw.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/popen_wrappers.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-aliases.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/popen_wrappers.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_raw.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-aliases.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_raw.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/popen_wrappers.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/popen_wrappers.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_raw.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/popen_wrappers.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/popen_wrappers.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-aliases.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_raw.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-aliases.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_raw.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/flask_debug.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_raw.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/popen_wrappers.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-aliases.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_raw.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/popen_wrappers.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_raw.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_raw.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_raw.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/popen_wrappers.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_raw.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/popen_wrappers.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/flask_debug.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/django_sql_injection_raw.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/popen_wrappers.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/flask_debug.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/django_sql_injection_raw.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_imports_aliases tests.functional.test_functional.FunctionalTests.test_imports_aliases ... Bandit internal error running: flask_debug_true on file /<>/examples/flask_debug.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/app_debug.py", line 61, in flask_debug_true if context.check_call_arg_value('debug', 'True'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/django_sql_injection_raw.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/flask_debug.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_popen_wrappers tests.functional.test_functional.FunctionalTests.test_popen_wrappers ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/flask_debug.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: flask_debug_true on file /<>/examples/flask_debug.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/app_debug.py", line 61, in flask_debug_true if context.check_call_arg_value('debug', 'True'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/flask_debug.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-with-importlib.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_django_sql_injection_raw tests.functional.test_functional.FunctionalTests.test_django_sql_injection_raw ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/flask_debug.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: blacklist on file /<>/examples/imports-with-importlib.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/core/blacklisting.py", line 60, in blacklist name = context.call_args[0] File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/flask_debug.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-with-importlib.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: blacklist on file /<>/examples/imports-with-importlib.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/core/blacklisting.py", line 60, in blacklist name = context.call_args[0] File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/flask_debug.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-with-importlib.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: blacklist on file /<>/examples/imports-with-importlib.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/core/blacklisting.py", line 60, in blacklist name = context.call_args[0] File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_baseline_filter tests.functional.test_functional.FunctionalTests.test_baseline_filter ... ok tests.functional.test_functional.FunctionalTests.test_ssl_insecure_version tests.functional.test_functional.FunctionalTests.test_ssl_insecure_version ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-with-importlib.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: blacklist on file /<>/examples/imports-with-importlib.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/core/blacklisting.py", line 60, in blacklist name = context.call_args[0] File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-with-importlib.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: blacklist on file /<>/examples/imports-with-importlib.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/core/blacklisting.py", line 60, in blacklist name = context.call_args[0] File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-with-importlib.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: blacklist on file /<>/examples/imports-with-importlib.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/core/blacklisting.py", line 60, in blacklist name = context.call_args[0] File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_imports_using_importlib tests.functional.test_functional.FunctionalTests.test_imports_using_importlib ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_try_except_continue tests.functional.test_functional.FunctionalTests.test_try_except_continue ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 25: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 28: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/okay.py at line 1: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_okay tests.functional.test_functional.FunctionalTests.test_okay ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 30: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 30: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 31: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os_system.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os_system.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 25: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os_system.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 35: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 26: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 41: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 38: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 49: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 28: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 38: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 51: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/urlopen.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_os_system tests.functional.test_functional.FunctionalTests.test_os_system ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/urlopen.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 43: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 36: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 46: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/paramiko_injection.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 38: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 58: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 50: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/paramiko_injection.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 58: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 39: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/ciphers.py at line 51: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 58: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/paramiko_injection.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/ciphers.py at line 51: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 59: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 43: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_paramiko_injection tests.functional.test_functional.FunctionalTests.test_paramiko_injection ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 51: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 59: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/ciphers.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 63: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 46: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/ciphers.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 63: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 63: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 49: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 64: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 64: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/ciphers.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 68: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/ciphers.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 68: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 68: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 58: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/ciphers.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 69: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/urlopen.py at line 59: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_urlopen tests.functional.test_functional.FunctionalTests.test_urlopen ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/ciphers.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 69: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 69: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 57: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 73: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 61: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 73: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 73: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/wildcard-injection.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 62: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 74: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/wildcard-injection.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 63: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 74: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 64: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 74: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/wildcard-injection.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/ciphers.py at line 66: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/wildcard-injection.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/ciphers.py at line 66: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 78: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 66: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 78: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/wildcard-injection.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 66: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 78: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/wildcard-injection.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 68: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 79: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/ciphers.py at line 70: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/wildcard-injection.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/ciphers.py at line 70: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 83: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/wildcard-injection.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 70: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 83: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 70: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 83: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/wildcard-injection.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 72: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/wildcard-injection.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 84: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/ciphers.py at line 74: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/ciphers.py at line 74: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 88: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 74: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 88: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 74: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 88: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ciphers.py at line 76: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_ciphers tests.functional.test_functional.FunctionalTests.test_ciphers ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 89: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/wildcard-injection.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 99: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/exec-py3.py at line 1: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_wildcard_injection tests.functional.test_functional.FunctionalTests.test_wildcard_injection ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 104: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_exec tests.functional.test_functional.FunctionalTests.test_exec ... Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/partial_path_process.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 109: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/partial_path_process.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 113: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/partial_path_process.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 114: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: hashlib_new on file /<>/examples/hashlib_new_insecure_functions.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/hashlib_new_insecure_functions.py", line 54, in hashlib_new args = context.call_args File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/partial_path_process.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hashlib_new_insecure_functions.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/partial_path_process.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: hashlib_new on file /<>/examples/hashlib_new_insecure_functions.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/hashlib_new_insecure_functions.py", line 54, in hashlib_new args = context.call_args File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 118: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hashlib_new_insecure_functions.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/hashlib_new_insecure_functions.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 119: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: hashlib_new on file /<>/examples/hashlib_new_insecure_functions.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/hashlib_new_insecure_functions.py", line 55, in hashlib_new keywords = context.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 126: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_partial_path tests.functional.test_functional.FunctionalTests.test_partial_path ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/hashlib_new_insecure_functions.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 131: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/hashlib_new_insecure_functions.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 131: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: hashlib_new on file /<>/examples/hashlib_new_insecure_functions.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/hashlib_new_insecure_functions.py", line 54, in hashlib_new args = context.call_args File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 132: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/hashlib_new_insecure_functions.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 132: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hashlib_new_insecure_functions.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 132: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/hashlib_new_insecure_functions.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 133: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: hashlib_new on file /<>/examples/hashlib_new_insecure_functions.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/hashlib_new_insecure_functions.py", line 55, in hashlib_new keywords = context.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 137: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/hashlib_new_insecure_functions.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 137: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: hashlib_new on file /<>/examples/hashlib_new_insecure_functions.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/hashlib_new_insecure_functions.py", line 54, in hashlib_new args = context.call_args File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/mark_safe_insecure.py at line 138: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_random_module tests.functional.test_functional.FunctionalTests.test_random_module ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/hashlib_new_insecure_functions.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/mark_safe_insecure.py at line 138: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 138: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: hashlib_new on file /<>/examples/hashlib_new_insecure_functions.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/hashlib_new_insecure_functions.py", line 54, in hashlib_new args = context.call_args File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 139: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hashlib_new_insecure_functions.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 139: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 143: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 149: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_hashlib_new_insecure_functions tests.functional.test_functional.FunctionalTests.test_hashlib_new_insecure_functions ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 153: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_insecure.py at line 159: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_django_xss_insecure tests.functional.test_functional.FunctionalTests.test_django_xss_insecure ... Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_cgihandler.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_cgihandler.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_cgihandler.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_script.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_script.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_script.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_script.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_script.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 35: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 35: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_directory.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 36: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_directory.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 36: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_directory.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_directory.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httpoxy_twisted_directory.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_httpoxy tests.functional.test_functional.FunctionalTests.test_httpoxy ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 41: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_mark_safe tests.functional.test_functional.FunctionalTests.test_mark_safe ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 1: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 60: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 60: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 60: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' File bandit_baseline_result.txt already exists, aborting Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 62: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' 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.functional.test_functional.FunctionalTests.test_metric_gathering tests.functional.test_functional.FunctionalTests.test_metric_gathering ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 63: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 63: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 65: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/multiline_statement.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 69: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/multiline_statement.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 69: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/multiline_statement.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 71: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/multiline_statement.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/requests-ssl-verify-disabled.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 71: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/multiline_statement.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: request_with_no_cert_validation on file /<>/examples/requests-ssl-verify-disabled.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/crypto_request_no_cert_validation.py", line 64, in request_with_no_cert_validation if context.check_call_arg_value('verify', 'False'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mark_safe_secure.py at line 75: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_django_xss_secure tests.functional.test_functional.FunctionalTests.test_django_xss_secure ... ok tests.functional.test_functional.FunctionalTests.test_multiline_code tests.functional.test_functional.FunctionalTests.test_multiline_code ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/requests-ssl-verify-disabled.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/requests-ssl-verify-disabled.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_nonsense tests.functional.test_functional.FunctionalTests.test_nonsense ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/eval.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_requests_ssl_verify_disabled tests.functional.test_functional.FunctionalTests.test_requests_ssl_verify_disabled ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/eval.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/eval.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/eval.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/eval.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/eval.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/eval.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_eval tests.functional.test_functional.FunctionalTests.test_eval ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/flask_debug.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/flask_debug.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/flask_debug.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: flask_debug_true on file /<>/examples/flask_debug.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/app_debug.py", line 61, in flask_debug_true if context.check_call_arg_value('debug', 'True'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 25: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/flask_debug.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 26: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/flask_debug.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: flask_debug_true on file /<>/examples/flask_debug.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/app_debug.py", line 61, in flask_debug_true if context.check_call_arg_value('debug', 'True'): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 35: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/flask_debug.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 38: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/sql_statements.py at line 39: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/flask_debug.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/flask_debug.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/flask_debug.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_sql_statements tests.functional.test_functional.FunctionalTests.test_sql_statements ... FAIL tests.functional.test_functional.FunctionalTests.test_flask_debug_true tests.functional.test_functional.FunctionalTests.test_flask_debug_true ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/ftplib.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ftplib.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/ftplib.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_ftp_usage tests.functional.test_functional.FunctionalTests.test_ftp_usage ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Temporary file _bandit_baseline_run.json_ needs to be removed prior to running Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-passwords.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-passwords.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: set_bad_file_permissions on file /<>/examples/os-chmod-py3.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 64, in run_tests result = test(context) File "/<>/bandit/plugins/general_bad_file_permissions.py", line 71, in set_bad_file_permissions mode = context.get_call_arg_at_position(1) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-chmod-py3.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-passwords.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_existing_temp_file ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit baseline must be called from a git project root Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-passwords.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_no_repo ... Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/hardcoded-passwords.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/hardcoded-passwords.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_os_chmod tests.functional.test_functional.FunctionalTests.test_os_chmod ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 1: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/skip.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_skip tests.functional.test_functional.FunctionalTests.test_skip ... ok tests.functional.test_functional.FunctionalTests.test_hardcoded_passwords tests.functional.test_functional.FunctionalTests.test_hardcoded_passwords ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/init-py-test/subdirectory-okay.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 1: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_subdirectory_okay tests.functional.test_functional.FunctionalTests.test_subdirectory_okay ... Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 26: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 30: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 30: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 30: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 30: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 30: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/hardcoded-tmp.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_hardcoded_tmp tests.functional.test_functional.FunctionalTests.test_hardcoded_tmp ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/telnetlib.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_telnet_usage tests.functional.test_functional.FunctionalTests.test_telnet_usage ... Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httplib_https.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httplib_https.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/tempnam.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/tempnam.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/httplib_https.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/tempnam.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/tempnam.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_httplib_https tests.functional.test_functional.FunctionalTests.test_httplib_https ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_tempnam tests.functional.test_functional.FunctionalTests.test_tempnam ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 37: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit baseline must not be called with the -o option ok tests.functional.test_functional.FunctionalTests.test_imports tests.functional.test_functional.FunctionalTests.test_imports ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 39: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 39: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 39: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 39: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 39: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-function.py at line 1: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_with_output_argument ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-function.py at line 2: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-function.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-function.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 43: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_celementtree.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/imports-function.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_imports_function tests.functional.test_functional.FunctionalTests.test_imports_function ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 43: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 43: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 43: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_expatbuilder.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 43: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_expatbuilder.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_expatbuilder.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_expatbuilder.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 44: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_lxml.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 44: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_lxml.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 44: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 44: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 44: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_pulldom.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 18: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_xmlrpc.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_xmlrpc.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/jinja2_templating.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_xmlrpc.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/jinja2_templating.py at line 26: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/jinja2_templating.py at line 26: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_jinja2_templating tests.functional.test_functional.FunctionalTests.test_jinja2_templating ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mako_templating.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mako_templating.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/mako_templating.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_mako_templating tests.functional.test_functional.FunctionalTests.test_mako_templating ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_etree_elementtree.py at line 17: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-exec.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_os_exec tests.functional.test_functional.FunctionalTests.test_os_exec ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 49: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 49: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 49: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 49: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 49: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_minidom.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 50: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 50: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 11: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 50: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [ INFO ] No output format specified, using terminal Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 50: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 50: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/os-popen.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 129, in linux_commands_wildcard_injection call_argument = context.get_call_arg_at_position(0) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 10: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_a_shell on file /<>/examples/os-popen.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 459, in start_process_with_a_shell if len(context.call_args) > 0: File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-popen.py at line 15: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 13: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_os_popen tests.functional.test_functional.FunctionalTests.test_os_popen ... Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 52: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 23: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-startfile.py at line 3: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-startfile.py at line 4: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/os-startfile.py at line 5: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 24: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' FAIL tests.functional.test_functional.FunctionalTests.test_os_startfile tests.functional.test_functional.FunctionalTests.test_os_startfile ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/xml_sax.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_xml tests.functional.test_functional.FunctionalTests.test_xml ... ok tests.functional.test_functional.FunctionalTests.test_try_except_pass tests.functional.test_functional.FunctionalTests.test_try_except_pass ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/yaml_load.py at line 6: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/yaml_load.py at line 7: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/yaml_load.py at line 8: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 54: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/yaml_load.py at line 9: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/yaml_load.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_yaml tests.functional.test_functional.FunctionalTests.test_yaml ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: linux_commands_wildcard_injection on file /<>/examples/subprocess_shell.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_wildcard.py", line 127, in linux_commands_wildcard_injection context.check_call_arg_value('shell', 'True')): File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/subprocess_shell.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [ INFO ] Got current commit: [2aef020116ff032e7ccbaa34ee43ddb7adf4d695 master] Bandit internal error running: start_process_with_partial_path on file /<>/examples/subprocess_shell.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_popen_with_shell_equals_true on file /<>/examples/subprocess_shell.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 206, in subprocess_popen_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: subprocess_without_shell_equals_true on file /<>/examples/subprocess_shell.py at line 56: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 297, in subprocess_without_shell_equals_true if not has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.functional.test_functional.FunctionalTests.test_subprocess_shell tests.functional.test_functional.FunctionalTests.test_subprocess_shell ... [ ERROR ] Parent commit not available FAIL tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_no_parent_commit ... [main] DEBUG logging initialized 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.functional.test_functional.FunctionalTests.test_unverified_context tests.functional.test_functional.FunctionalTests.test_unverified_context ... 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.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 ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 12: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 104, in _weak_crypto_key_size_cryptography_io key_size = (context.get_call_arg_value('key_size') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [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 Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [main] WARNING Could not open baseline report: base.json Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror tests.unit.cli.test_main.BanditCLIMainTests.test_main_baseline_ioerror ... Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 14: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 114, in _weak_crypto_key_size_cryptography_io curve = (context.get_call_arg_value('curve') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO using config: bandit.yaml [main] INFO running on Python 3.8.0 [text] INFO Text output written to file: output Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 16: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 104, in _weak_crypto_key_size_cryptography_io key_size = (context.get_call_arg_value('key_size') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' 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 ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 19: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 20: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO using config: bandit.yaml [main] INFO running on Python 3.8.0 [text] INFO Text output written to file: output Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 21: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results tests.unit.cli.test_main.BanditCLIMainTests.test_main_exit_with_results ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Current working directory is dirty and must be resolved Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 22: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [main] ERROR : ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_config ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 25: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 25: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 105, in _weak_crypto_key_size_cryptography_io context.get_call_arg_at_position(arg_position[key_type]) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 27: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 115, in _weak_crypto_key_size_cryptography_io context.call_args[arg_position[key_type]]) File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_dirty_repo ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 29: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 105, in _weak_crypto_key_size_cryptography_io context.get_call_arg_at_position(arg_position[key_type]) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [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 Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 32: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' 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_blacklisting.BlacklistingTests.test_report_issue tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 33: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [config] WARNING Config file '/tmp/tmpl4u4vxba' contains deprecated legacy config data. Please consider upgrading to the new 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] WARNING Legacy blacklist data found in config, overriding data plugins Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 34: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist tests.unit.core.test_config.TestConfigCompat.test_converted_exclude_blacklist ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 35: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 35: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 38: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Git command not found Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 38: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 38: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 104, in _weak_crypto_key_size_cryptography_io key_size = (context.get_call_arg_value('key_size') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 40: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 114, in _weak_crypto_key_size_cryptography_io curve = (context.get_call_arg_value('curve') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_initialize_git_command_failure ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 42: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 104, in _weak_crypto_key_size_cryptography_io key_size = (context.get_call_arg_value('key_size') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [config] WARNING Config file '/tmp/tmp0o5s8d04' contains deprecated legacy config data. Please consider upgrading to the new 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] WARNING Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_include tests.unit.core.test_config.TestConfigCompat.test_converted_include ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 45: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_config.TestGetOption.test_levels tests.unit.core.test_config.TestGetOption.test_levels ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 46: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 46: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 46: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' 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_context.ContextTests.test_call_args tests.unit.core.test_context.ContextTests.test_call_args ... ok tests.unit.core.test_context.ContextTests.test_context_create tests.unit.core.test_context.ContextTests.test_context_create ... ok tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual tests.unit.core.test_context.ContextTests.test_function_def_defaults_qual ... ok tests.unit.core.test_issue.IssueTests.test_get_code tests.unit.core.test_issue.IssueTests.test_get_code ... 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_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_discover_files_exclude tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude ... Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_files ... [manager] WARNING Skipping directory (thing), use -r flag to scan contents Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip tests.unit.core.test_manager.ManagerTests.test_discover_files_recurse_skip ... Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 47: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror tests.unit.core.test_manager.ManagerTests.test_run_tests_ioerror ... Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node tests.unit.core.test_meta_ast.BanditMetaAstTests.test_add_node ... Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 48: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 129, in _weak_crypto_key_size_pycrypto key_size = (context.get_call_arg_value('bits') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_id ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 51: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 51: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 105, in _weak_crypto_key_size_cryptography_io context.get_call_arg_at_position(arg_position[key_type]) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_include ... Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 53: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 115, in _weak_crypto_key_size_cryptography_io context.call_args[arg_position[key_type]]) File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 55: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 105, in _weak_crypto_key_size_cryptography_io context.get_call_arg_at_position(arg_position[key_type]) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 58: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 58: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 59: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 59: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 60: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 60: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: start_process_with_partial_path on file /<>/examples/weak_cryptographic_key_sizes.py at line 61: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 641, in start_process_with_partial_path if config and len(context.call_args): File "/<>/bandit/core/context.py", line 64, in call_args args.append(self._get_literal_value(arg)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' [ INFO ] No output format specified, using terminal Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 61: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 140, in weak_cryptographic_key _weak_crypto_key_size_pycrypto(context, config)) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 130, in _weak_crypto_key_size_pycrypto context.get_call_arg_at_position(0) or File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: any_other_function_with_shell_equals_true on file /<>/examples/weak_cryptographic_key_sizes.py at line 64: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/injection_shell.py", line 375, in any_other_function_with_shell_equals_true if has_shell(context): File "/<>/bandit/plugins/injection_shell.py", line 92, in has_shell if 'shell' in context.call_keywords: File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: ssl_with_bad_version on file /<>/examples/weak_cryptographic_key_sizes.py at line 64: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/insecure_ssl_tls.py", line 135, in ssl_with_bad_version if (context.check_call_arg_value('method', bad_ssl_versions) or File "/<>/bandit/core/context.py", line 269, in check_call_arg_value arg_value = self.get_call_arg_value(argument_name) File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' Bandit internal error running: weak_cryptographic_key on file /<>/examples/weak_cryptographic_key_sizes.py at line 64: module '_ast' has no attribute 'Num'Traceback (most recent call last): File "/<>/bandit/core/tester.py", line 62, in run_tests result = test(context, test._config) File "/<>/bandit/plugins/weak_cryptographic_key.py", line 139, in weak_cryptographic_key return (_weak_crypto_key_size_cryptography_io(context, config) or File "/<>/bandit/plugins/weak_cryptographic_key.py", line 104, in _weak_crypto_key_size_cryptography_io key_size = (context.get_call_arg_value('key_size') or File "/<>/bandit/core/context.py", line 256, in get_call_arg_value kwd_values = self.call_keywords File "/<>/bandit/core/context.py", line 113, in call_keywords return_dict[li.arg] = self._get_literal_value(li.value) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' 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.functional.test_functional.FunctionalTests.test_weak_cryptographic_key tests.functional.test_functional.FunctionalTests.test_weak_cryptographic_key ... FAIL tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger tests.unit.cli.test_baseline.BanditBaselineToolTests.test_init_logger ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_missingmid ... [ INFO ] No output format specified, using terminal ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_dir ... [ INFO ] Got current commit: [91be24bf89fd74c4e75facf0e055ca34edef613e master] ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_typical ... [ INFO ] Got parent commit: [2aef020116ff032e7ccbaa34ee43ddb7adf4d695 master~1] 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_util.UtilTests.test_linerange tests.unit.core.test_util.UtilTests.test_linerange ... ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_main_show_defaults ... [csv] INFO CSV output written to file: /tmp/tmpa8i9_amk [ ERROR ] Unable to get current or parent commit ok tests.unit.formatters.test_csv.CsvFormatterTests.test_report tests.unit.formatters.test_csv.CsvFormatterTests.test_report ... [html] INFO HTML output written to file: /tmp/tmpu2jotcjy 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_baseline.BanditBaselineToolTests.test_main_git_command_failure tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_git_command_failure ... ok tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger tests.unit.cli.test_main.BanditCLIMainLoggerTests.test_init_logger ... [ INFO ] No output format specified, using terminal [ ERROR ] Bandit baseline must be called from a git project root ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_non_repo ... ok 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_no_ini_path_no_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_no_bandit_files ... Unable to parse config file /tmp/tmptma3b919 or missing [bandit] section ok tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults tests.unit.cli.test_config_generator.BanditConfigGeneratorTests.test_parse_args_show_defaults ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_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.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_empty_directory_no_target ... Multiple .bandit files found - scan separately or choose one with --ini /tmp/tmpbv6fzr2i/.bandit, /tmp/tmpbv6fzr2i/second_config_directory/.bandit ok tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents tests.unit.formatters.test_html.HtmlFormatterTests.test_report_contents ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue tests.unit.formatters.test_screen.ScreenFormatterTests.test_output_issue ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files tests.unit.cli.test_main.BanditCLIMainTests.test_get_options_from_ini_no_ini_path_multi_bandit_files ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val tests.unit.cli.test_main.BanditCLIMainTests.test_log_option_source_arg_val ... ok tests.unit.formatters.test_text.TextFormatterTests.test_output_issue tests.unit.formatters.test_text.TextFormatterTests.test_output_issue ... [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. [ INFO ] Getting Bandit baseline results [ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpdj56_xvn'] Output: None [main] INFO Using ini file for excluded paths [main] INFO Using ini file for skipped tests [main] INFO Using ini file for selected tests [main] INFO Using command line arg for selected targets [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: some_test [main] INFO cli exclude tests: skip_test Config file '/tmp/tmpij346vis' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Config file '' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options tests.unit.cli.test_main.BanditCLIMainTests.test_main_handle_ini_options ... ok tests.unit.core.test_config.TestConfigCompat.test_blacklist_error tests.unit.core.test_config.TestConfigCompat.test_blacklist_error ... [text] INFO Text output written to file: /tmp/tmp6s_1ogee [text] INFO Text output written to file: /tmp/tmp6s_1ogee ok tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline tests.unit.formatters.test_text.TextFormatterTests.test_report_nobaseline ... [ INFO ] Comparing Bandit results to baseline [ ERROR ] Error running command: ['discover', '-t', './', './tests', '--load-list', '/tmp/tmpdj56_xvn'] Output: None Config file '/tmp/tmp5b3fhbvi' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_call_data ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. 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_blacklisting.BlacklistingTests.test_report_issue_defaults tests.unit.core.test_blacklisting.BlacklistingTests.test_report_issue_defaults ... Config file '/tmp/tmpsrtokmz3' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_test ... ok tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error tests.unit.cli.test_baseline.BanditBaselineToolTests.test_main_subprocess_error ... Config file '/tmp/tmp5l6ne7zi' contains deprecated legacy config data. Please consider upgrading to the new 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] ERROR bandit.yaml : Could not read config file. ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable tests.unit.cli.test_main.BanditCLIMainTests.test_main_config_unopenable ... ok tests.unit.core.test_config.TestConfigCompat.test_deprecation_message tests.unit.core.test_config.TestConfigCompat.test_deprecation_message ... [config] WARNING Config file '/tmp/tmpl_0h4c7d' contains deprecated legacy config data. Please consider upgrading to the new 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] WARNING Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_context.ContextTests.test__get_literal_value tests.unit.core.test_context.ContextTests.test__get_literal_value ... FAIL 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_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_bad_yaml tests.unit.core.test_config.TestConfigCompat.test_bad_yaml ... 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 ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None ok tests.unit.core.test_issue.IssueTests.test_issue_as_dict tests.unit.core.test_issue.IssueTests.test_issue_as_dict ... 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_output_results_invalid_format tests.unit.core.test_manager.ManagerTests.test_output_results_invalid_format ... [main] WARNING Baseline must be used with one of the following formats: ['custom', 'html', 'json', 'screen', 'txt'] ok tests.unit.core.test_config.TestInit.test_settings tests.unit.core.test_config.TestInit.test_settings ... 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_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_exclude_none ... ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format tests.unit.cli.test_main.BanditCLIMainTests.test_main_invalid_output_format ... ok tests.unit.core.test_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_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_none ... 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_test_set.BanditTestSetTests.test_profile_filter_blacklist_one tests.unit.core.test_test_set.BanditTestSetTests.test_profile_filter_blacklist_one ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_none ... [config] WARNING Config file 'bandit.yaml' contains deprecated legacy config data. Please consider upgrading to the new config format. The tool 'bandit-config-generator' can help you with this. Support for legacy configs will be removed in a future bandit version. [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: badID [main] INFO cli exclude tests: None [main] ERROR Unknown test found in profile: badID ok tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests tests.unit.cli.test_main.BanditCLIMainTests.test_main_unknown_tests ... 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 ... FAIL tests.unit.core.test_context.ContextTests.test_statement tests.unit.core.test_context.ContextTests.test_statement ... 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_severity tests.unit.core.test_issue.IssueTests.test_issue_filter_severity ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed tests.unit.core.test_util.UtilTests.test_escaped_representation_mixed ... [config] WARNING Config file '/tmp/tmpzjb14h3a' contains deprecated legacy config data. Please consider upgrading to the new 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] WARNING Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_manager.ManagerTests.test_create_manager tests.unit.core.test_manager.ManagerTests.test_create_manager ... ok 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.core.test_util.UtilTests.test_escaped_representation_valid_not_printable tests.unit.core.test_util.UtilTests.test_escaped_representation_valid_not_printable ... [config] WARNING Config file '/tmp/tmpxqfiuplx' contains deprecated legacy config data. Please consider upgrading to the new 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] WARNING Legacy blacklist data found in config, overriding data plugins ok tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline tests.unit.core.test_manager.ManagerTests.test_discover_files_exclude_cmdline ... ok tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data tests.unit.core.test_config.TestConfigCompat.test_converted_blacklist_import_data ... ok tests.unit.core.test_manager.ManagerTests.test_matches_globlist tests.unit.core.test_manager.ManagerTests.test_matches_globlist ... ok tests.unit.core.test_util.UtilTests.test_get_call_name3 tests.unit.core.test_util.UtilTests.test_get_call_name3 ... [text] INFO Text output written to file: /tmp/tmpo_m5ydnr/_temp_output.txt [config] WARNING Config file '/tmp/tmpkdt9yxl_' contains deprecated legacy config data. Please consider upgrading to the new 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] WARNING Legacy blacklist data found in config, overriding data plugins 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_config.TestConfigCompat.test_converted_exclude tests.unit.core.test_config.TestConfigCompat.test_converted_exclude ... [config] ERROR while parsing a flow sequence in "/tmp/tmpmcpuo2iy", line 1, column 3 expected ',' or ']', but got '' in "/tmp/tmpmcpuo2iy", line 1, column 14 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_get_module_qualname_from_path_abs_syms tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_abs_syms ... ok tests.unit.core.test_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_yaml_invalid tests.unit.core.test_config.TestInit.test_yaml_invalid ... 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_manager.ManagerTests.test_populate_baseline_invalid_json tests.unit.core.test_manager.ManagerTests.test_populate_baseline_invalid_json ... 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_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_repr tests.unit.core.test_context.ContextTests.test_repr ... ok tests.unit.core.test_context.ContextTests.test_string_val tests.unit.core.test_context.ContextTests.test_string_val ... ok tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile tests.unit.core.test_manager.ManagerTests.test_create_manager_with_profile ... 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_manager.ManagerTests.test_populate_baseline_success tests.unit.core.test_manager.ManagerTests.test_populate_baseline_success ... ok tests.unit.core.test_manager.ManagerTests.test_discover_files_include tests.unit.core.test_manager.ManagerTests.test_discover_files_include ... ok tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches tests.unit.core.test_manager.ManagerTests.test_find_candidate_matches ... ok tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str tests.unit.core.test_meta_ast.BanditMetaAstTests.test_str ... 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_manager.ManagerTests.test_results_count tests.unit.core.test_manager.ManagerTests.test_results_count ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat tests.unit.core.test_test_set.BanditTestSetTests.test_profile_blacklist_compat ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist tests.unit.core.test_test_set.BanditTestSetTests.test_profile_has_builtin_blacklist ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_invalid_path ... ok tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id tests.unit.core.test_test_set.BanditTestSetTests.test_profile_include_id ... ok tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node tests.unit.core.test_util.UtilTests.test_check_ast_node_bad_node ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingmid ... ok tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt tests.unit.core.test_manager.ManagerTests.test_run_tests_keyboardinterrupt ... ok tests.unit.core.test_util.UtilTests.test_deepgetattr tests.unit.core.test_util.UtilTests.test_deepgetattr ... 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_util.UtilTests.test_get_module_qualname_from_path_sys tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_sys ... ok tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_with_dot ... ok tests.unit.core.test_util.UtilTests.test_escaped_representation_simple tests.unit.core.test_util.UtilTests.test_escaped_representation_simple ... 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_get_call_name2 tests.unit.core.test_util.UtilTests.test_get_call_name2 ... ok tests.unit.core.test_util.UtilTests.test_namespace_path_join tests.unit.core.test_util.UtilTests.test_namespace_path_join ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues tests.unit.formatters.test_screen.ScreenFormatterTests.test_no_issues ... 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.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_nobaseline ... 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_get_module_qualname_from_path_rel_missingend tests.unit.core.test_util.UtilTests.test_get_module_qualname_from_path_rel_missingend ... ok tests.unit.formatters.test_text.TextFormatterTests.test_no_issues tests.unit.formatters.test_text.TextFormatterTests.test_no_issues ... ok tests.unit.core.test_util.UtilTests.test_get_call_name1 tests.unit.core.test_util.UtilTests.test_get_call_name1 ... Run started:2020-01-05 12:36:33.014906 Files in scope (1): binding.py (score: {SEVERITY: 1, CONFIDENCE: 1}) Files excluded (1): def.py  Test results: ISSUE_OUTPUT_TEXT -------------------------------------------------- ISSUE_OUTPUT_TEXT --------------------------------------------------  Code scanned: Total lines of code: 1000 Total lines skipped (#nosec): 50  Run metrics: Total issues (by severity): Undefined: 1 Low: 1 Medium: 1 High: 1 Total issues (by confidence): Undefined: 1 Low: 1 Medium: 1 High: 1 Files skipped (1): abc.py (File is bad) ok tests.unit.core.test_util.UtilTests.test_namespace_path_split tests.unit.core.test_util.UtilTests.test_namespace_path_split ... ok tests.unit.core.test_util.UtilTests.test_path_for_function tests.unit.core.test_util.UtilTests.test_path_for_function ... 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 ... [utils] WARNING Cannot resolve file path for module sys [utils] WARNING Unable to parse config file /tmp/tmp63y135xj or missing [bandit] section ok tests.unit.core.test_util.UtilTests.test_path_for_function_no_file tests.unit.core.test_util.UtilTests.test_path_for_function_no_file ... [html] INFO HTML output written to file: /tmp/tmp2cpmv8z_ ok tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping tests.unit.formatters.test_html.HtmlFormatterTests.test_escaping ... [json] INFO JSON output written to file: /tmp/tmpl9n3q_vp ok tests.unit.formatters.test_json.JsonFormatterTests.test_report tests.unit.formatters.test_json.JsonFormatterTests.test_report ... [screen] INFO Screen formatter output was not written to file: /tmp/tmpsvvfmga0, consider '-f txt' ok tests.unit.core.test_util.UtilTests.test_parse_ini_file tests.unit.core.test_util.UtilTests.test_parse_ini_file ... ok tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline tests.unit.formatters.test_screen.ScreenFormatterTests.test_report_baseline ... [utils] WARNING Cannot resolve file where 1 is defined [json] INFO JSON output written to file: /tmp/tmpn281l965 [warnings] WARNING calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. ok tests.unit.core.test_util.UtilTests.test_path_for_function_no_module tests.unit.core.test_util.UtilTests.test_path_for_function_no_module ... [html] INFO HTML output written to file: /tmp/tmpmqc61fg1 ok tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped tests.unit.formatters.test_html.HtmlFormatterTests.test_report_with_skipped ... [text] INFO Text output written to file: /tmp/tmpg249z721 ok tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline tests.unit.formatters.test_text.TextFormatterTests.test_report_baseline ... [xml] INFO XML output written to file: /tmp/tmpjv2737hw ok tests.unit.formatters.test_xml.XmlFormatterTests.test_report tests.unit.formatters.test_xml.XmlFormatterTests.test_report ... usage: bandit-config-generator [-h] [--show-defaults] [-o OUTPUT_FILE] [-t TESTS] [-s SKIPS] Bandit Config Generator This tool is used to generate an optional profile. The profile may be used to include or skip tests and override values for plugins. When used to store an output profile, this tool will output a template that includes all plugins and their default settings. Any settings which aren't being overridden can be safely removed from the profile and default values will be used. Bandit will prefer settings from the profile over the built in values. optional arguments: -h, --help show this help message and exit --show-defaults show the default settings values for each plugin but do not output a profile -o OUTPUT_FILE, --out OUTPUT_FILE output file to save profile -t TESTS, --tests TESTS list of test names to run -s SKIPS, --skip SKIPS list of test names to skip ok tests.unit.formatters.test_yaml.YamlFormatterTests.test_report tests.unit.formatters.test_yaml.YamlFormatterTests.test_report ... None Run started:2020-01-05 12:36:33.046954  Test results: ISSUE_OUTPUT_TEXT -------------------------------------------------- ISSUE_OUTPUT_TEXT -- Candidate Issues -- ISSUE_OUTPUT_TEXT ISSUE_OUTPUT_TEXT --------------------------------------------------  Code scanned: Total lines of code: 0 Total lines skipped (#nosec): 0  Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0): ok ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_binding tests.functional.test_functional.FunctionalTests.test_binding ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 118, in test_binding self.check_example('binding.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[40 chars]UM': 1, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 0}} != {'SEV[40 chars]UM': 0, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 0}} - {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 1, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 1, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_code_line_numbers tests.functional.test_functional.FunctionalTests.test_code_line_numbers ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 696, in test_code_line_numbers code_lines = issues[0].get_code().splitlines() IndexError: list index out of range ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_imports_aliases tests.functional.test_functional.FunctionalTests.test_imports_aliases ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 209, in test_imports_aliases self.check_example('imports-aliases.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 4, 'MEDIUM': 5, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 9}} != {'SEV[27 chars]OW': 3, 'MEDIUM': 5, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 8}} - {'CONFIDENCE': {'HIGH': 9, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 8, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 4, 'MEDIUM': 5, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 3, 'MEDIUM': 5, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_popen_wrappers tests.functional.test_functional.FunctionalTests.test_popen_wrappers ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 371, in test_popen_wrappers self.check_example('popen_wrappers.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 7, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 7}} != {'SEV[27 chars]OW': 0, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 0}} - {'CONFIDENCE': {'HIGH': 7, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 7, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_imports_using_importlib tests.functional.test_functional.FunctionalTests.test_imports_using_importlib ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 257, in test_imports_using_importlib self.check_example('imports-with-importlib.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 2, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 2}} != {'SEV[27 chars]OW': 0, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 0}} - {'CONFIDENCE': {'HIGH': 2, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 2, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_os_system tests.functional.test_functional.FunctionalTests.test_os_system ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 347, in test_os_system self.check_example('os_system.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 1, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 1}} != {'SEV[27 chars]OW': 0, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 0}} - {'CONFIDENCE': {'HIGH': 1, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 1, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_wildcard_injection tests.functional.test_functional.FunctionalTests.test_wildcard_injection ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 447, in test_wildcard_injection self.check_example('wildcard-injection.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 10, 'MEDIUM': 0, 'HIGH': 4}, 'CONFIDENCE'[48 chars]: 9}} != {'SEV[27 chars]OW': 6, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 5}} - {'CONFIDENCE': {'HIGH': 9, 'LOW': 0, 'MEDIUM': 5, 'UNDEFINED': 0}, ? ^ ^ + {'CONFIDENCE': {'HIGH': 5, 'LOW': 0, 'MEDIUM': 1, 'UNDEFINED': 0}, ? ^ ^ - 'SEVERITY': {'HIGH': 4, 'LOW': 10, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ^^ + 'SEVERITY': {'HIGH': 0, 'LOW': 6, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_partial_path tests.functional.test_functional.FunctionalTests.test_partial_path ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 611, in test_partial_path self.check_example('partial_path_process.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[28 chars]W': 11, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[48 chars] 11}} != {'SEV[28 chars]W': 1, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE': [46 chars]: 1}} - {'CONFIDENCE': {'HIGH': 11, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? - + {'CONFIDENCE': {'HIGH': 1, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, - 'SEVERITY': {'HIGH': 0, 'LOW': 11, 'MEDIUM': 0, 'UNDEFINED': 0}} ? - + 'SEVERITY': {'HIGH': 0, 'LOW': 1, 'MEDIUM': 0, 'UNDEFINED': 0}} ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_hashlib_new_insecure_functions tests.functional.test_functional.FunctionalTests.test_hashlib_new_insecure_functions ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 765, in test_hashlib_new_insecure_functions self.check_example('hashlib_new_insecure_functions.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[40 chars]UM': 5, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 5}} != {'SEV[40 chars]UM': 0, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 0}} - {'CONFIDENCE': {'HIGH': 5, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 5, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_multiline_code tests.functional.test_functional.FunctionalTests.test_multiline_code ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 680, in test_multiline_code self.assertEqual(2, len(issues)) File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 2 != 1 ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_requests_ssl_verify_disabled tests.functional.test_functional.FunctionalTests.test_requests_ssl_verify_disabled ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 387, in test_requests_ssl_verify_disabled self.check_example('requests-ssl-verify-disabled.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[51 chars]GH': 7}, 'CONFIDENCE': {'UNDEFINED': 0, 'LOW':[23 chars]: 7}} != {'SEV[51 chars]GH': 0}, 'CONFIDENCE': {'UNDEFINED': 0, 'LOW':[23 chars]: 0}} - {'CONFIDENCE': {'HIGH': 7, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 7, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_sql_statements tests.functional.test_functional.FunctionalTests.test_sql_statements ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 411, in test_sql_statements self.check_example('sql_statements.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[40 chars]UM': 14, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED[35 chars]: 0}} != {'SEV[40 chars]UM': 0, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 0}} - {'CONFIDENCE': {'HIGH': 0, 'LOW': 8, 'MEDIUM': 6, 'UNDEFINED': 0}, ? ^ ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 14, 'UNDEFINED': 0}} ? ^^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_flask_debug_true tests.functional.test_functional.FunctionalTests.test_flask_debug_true ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 707, in test_flask_debug_true self.check_example('flask_debug.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[51 chars]GH': 1}, 'CONFIDENCE': {'UNDEFINED': 0, 'LOW':[23 chars]: 0}} != {'SEV[51 chars]GH': 0}, 'CONFIDENCE': {'UNDEFINED': 0, 'LOW':[23 chars]: 0}} - {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 1, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 1, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_os_chmod tests.functional.test_functional.FunctionalTests.test_os_chmod ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 307, in test_os_chmod self.check_example(filename, expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[40 chars]UM': 2, 'HIGH': 8}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 9}} != {'SEV[40 chars]UM': 0, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 0}} - {'CONFIDENCE': {'HIGH': 9, 'LOW': 0, 'MEDIUM': 1, 'UNDEFINED': 0}, ? ^ ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ ^ - 'SEVERITY': {'HIGH': 8, 'LOW': 0, 'MEDIUM': 2, 'UNDEFINED': 0}} ? ^ ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_hardcoded_passwords tests.functional.test_functional.FunctionalTests.test_hardcoded_passwords ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 185, in test_hardcoded_passwords self.check_example('hardcoded-passwords.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 8, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 0}} != {'SEV[27 chars]OW': 3, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 0}} - {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 8, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 3, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 8, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 3, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_hardcoded_tmp tests.functional.test_functional.FunctionalTests.test_hardcoded_tmp ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 193, in test_hardcoded_tmp self.check_example('hardcoded-tmp.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[40 chars]UM': 3, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 0}} != {'SEV[40 chars]UM': 0, 'HIGH': 0}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 0}} - {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 3, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 3, 'UNDEFINED': 0}} ? ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_os_popen tests.functional.test_functional.FunctionalTests.test_os_popen ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 323, in test_os_popen self.check_example('os-popen.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 8, 'MEDIUM': 0, 'HIGH': 1}, 'CONFIDENCE':[47 chars]: 9}} != {'SEV[27 chars]OW': 0, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 0}} - {'CONFIDENCE': {'HIGH': 9, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ + {'CONFIDENCE': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 1, 'LOW': 8, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_subprocess_shell tests.functional.test_functional.FunctionalTests.test_subprocess_shell ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 431, in test_subprocess_shell self.check_example('subprocess_shell.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[27 chars]OW': 21, 'MEDIUM': 1, 'HIGH': 11}, 'CONFIDENCE[50 chars] 32}} != {'SEV[27 chars]OW': 6, 'MEDIUM': 0, 'HIGH': 0}, 'CONFIDENCE':[47 chars]: 6}} - {'CONFIDENCE': {'HIGH': 32, 'LOW': 1, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^^ ^ + {'CONFIDENCE': {'HIGH': 6, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ ^ - 'SEVERITY': {'HIGH': 11, 'LOW': 21, 'MEDIUM': 1, 'UNDEFINED': 0}} ? ^^ ^^ ^ + 'SEVERITY': {'HIGH': 0, 'LOW': 6, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ^ ^ ====================================================================== FAIL: tests.functional.test_functional.FunctionalTests.test_weak_cryptographic_key tests.functional.test_functional.FunctionalTests.test_weak_cryptographic_key ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/functional/test_functional.py", line 669, in test_weak_cryptographic_key self.check_example('weak_cryptographic_key_sizes.py', expect) File "/<>/tests/functional/test_functional.py", line 85, in check_example self.assertDictEqual(expect, result) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 1128, in assertDictEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: {'SEV[40 chars]UM': 8, 'HIGH': 10}, 'CONFIDENCE': {'UNDEFINED[36 chars] 18}} != {'SEV[40 chars]UM': 0, 'HIGH': 4}, 'CONFIDENCE': {'UNDEFINED'[34 chars]: 4}} - {'CONFIDENCE': {'HIGH': 18, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^^ + {'CONFIDENCE': {'HIGH': 4, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}, ? ^ - 'SEVERITY': {'HIGH': 10, 'LOW': 0, 'MEDIUM': 8, 'UNDEFINED': 0}} ? ^^ ^ + 'SEVERITY': {'HIGH': 4, 'LOW': 0, 'MEDIUM': 0, 'UNDEFINED': 0}} ? ^ ^ ====================================================================== FAIL: tests.unit.core.test_context.ContextTests.test__get_literal_value tests.unit.core.test_context.ContextTests.test__get_literal_value ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/unit/core/test_context.py", line 151, in test__get_literal_value self.assertEqual(expected, new_context._get_literal_value(value)) File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ====================================================================== FAIL: tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position tests.unit.core.test_context.ContextTests.test_get_call_arg_at_position ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<>/tests/unit/core/test_context.py", line 229, in test_get_call_arg_at_position new_context.get_call_arg_at_position(0)) File "/<>/bandit/core/context.py", line 304, in get_call_arg_at_position return self._get_literal_value( File "/<>/bandit/core/context.py", line 202, in _get_literal_value if isinstance(literal, _ast.Num): AttributeError: module '_ast' has no attribute 'Num' ---------------------------------------------------------------------- Ran 226 tests in 2.777s FAILED (failures=21) make[1]: *** [debian/rules:20: override_dh_auto_install] Error 1 make[1]: Leaving directory '/<>' make: *** [debian/rules:7: binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 20200105-1236 Finished -------- E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build-Space: 4224 Build-Time: 6 Distribution: focal Fail-Stage: build Host Architecture: amd64 Install-Time: 39 Job: bandit_1.5.1-3.dsc Machine Architecture: amd64 Package: bandit Package-Time: 45 Source-Version: 1.5.1-3 Space: 4224 Status: attempted Version: 1.5.1-3 -------------------------------------------------------------------------------- Finished at 20200105-1236 Build needed 00:00:45, 4224k disc space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=amd64 PACKAGEBUILD-18283026 Scanning for processes to kill in build PACKAGEBUILD-18283026