Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'], chrootPath='/var/lib/mock/f40-build-50576-2713/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eb92918186cf439693a2072979c08272', '-D', '/var/lib/mock/f40-build-50576-2713/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1709856000 Wrote: /builddir/build/SRPMS/bandit-1.7.8-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'], chrootPath='/var/lib/mock/f40-build-50576-2713/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f7b0f4cd6da24766a5f97e4e4c474038', '-D', '/var/lib/mock/f40-build-50576-2713/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1709856000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SsnvD0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bandit-1.7.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bandit-1.7.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bandit-1.7.8 + rm -rf /builddir/build/BUILD/bandit-1.7.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bandit-1.7.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm tests/unit/formatters/test_html.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.MIKzvl + umask 022 + cd /builddir/build/BUILD + cd bandit-1.7.8 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir --output /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/bandit-1.7.8-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'], chrootPath='/var/lib/mock/f40-build-50576-2713/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '960bfbbfd07343679f74c8d91fe67c3a', '-D', '/var/lib/mock/f40-build-50576-2713/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1709856000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3FGHcn + umask 022 + cd /builddir/build/BUILD + cd bandit-1.7.8 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir --output /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 5.11.1) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_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 creating '/builddir/build/BUILD/bandit-1.7.8/bandit-1.7.8.dist-info' Handling PyYAML >=5.3.1 from hook generated metadata: Requires-Dist (bandit) Requirement not satisfied: PyYAML >=5.3.1 Handling stevedore >=1.20.0 from hook generated metadata: Requires-Dist (bandit) Requirement not satisfied: stevedore >=1.20.0 Handling rich from hook generated metadata: Requires-Dist (bandit) Requirement not satisfied: rich Handling colorama >=0.3.9 ; (platform_system=="Windows") from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: colorama >=0.3.9 ; (platform_system=="Windows") Handling GitPython >=3.1.30 ; extra == 'baseline' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: GitPython >=3.1.30 ; extra == 'baseline' Handling sarif-om >=1.0.4 ; extra == 'sarif' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: sarif-om >=1.0.4 ; extra == 'sarif' Handling jschema-to-python >=1.2.3 ; extra == 'sarif' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: jschema-to-python >=1.2.3 ; extra == 'sarif' Handling coverage >=4.5.4 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: coverage >=4.5.4 ; extra == 'test' Handling fixtures >=3.0.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: fixtures >=3.0.0 ; extra == 'test' Handling flake8 >=4.0.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: flake8 >=4.0.0 ; extra == 'test' Handling stestr >=2.5.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: stestr >=2.5.0 ; extra == 'test' Handling testscenarios >=0.5.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: testscenarios >=0.5.0 ; extra == 'test' Handling testtools >=2.3.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: testtools >=2.3.0 ; extra == 'test' Handling beautifulsoup4 >=4.8.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: beautifulsoup4 >=4.8.0 ; extra == 'test' Handling pylint ==1.9.4 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: pylint ==1.9.4 ; extra == 'test' Handling tomli >=1.1.0 ; (python_version < "3.11") and extra == 'toml' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: tomli >=1.1.0 ; (python_version < "3.11") and extra == 'toml' Handling PyYAML ; extra == 'yaml' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: PyYAML ; extra == 'yaml' + cat /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires + rm -rfv bandit-1.7.8.dist-info/ removed 'bandit-1.7.8.dist-info/entry_points.txt' removed 'bandit-1.7.8.dist-info/METADATA' removed 'bandit-1.7.8.dist-info/top_level.txt' removed 'bandit-1.7.8.dist-info/LICENSE' removed 'bandit-1.7.8.dist-info/AUTHORS' removed 'bandit-1.7.8.dist-info/pbr.json' removed directory 'bandit-1.7.8.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/bandit-1.7.8-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'], chrootPath='/var/lib/mock/f40-build-50576-2713/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '55fac4603a184f2abaa63b575aaf8a80', '-D', '/var/lib/mock/f40-build-50576-2713/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1709856000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uczQlK + umask 022 + cd /builddir/build/BUILD + cd bandit-1.7.8 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir --output /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 5.11.1) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_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 creating '/builddir/build/BUILD/bandit-1.7.8/bandit-1.7.8.dist-info' Handling PyYAML >=5.3.1 from hook generated metadata: Requires-Dist (bandit) Requirement satisfied: PyYAML >=5.3.1 (installed: PyYAML 6.0.1) Handling stevedore >=1.20.0 from hook generated metadata: Requires-Dist (bandit) Requirement satisfied: stevedore >=1.20.0 (installed: stevedore 5.1.0) Handling rich from hook generated metadata: Requires-Dist (bandit) Requirement satisfied: rich (installed: rich 13.7.0) Handling colorama >=0.3.9 ; (platform_system=="Windows") from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: colorama >=0.3.9 ; (platform_system=="Windows") Handling GitPython >=3.1.30 ; extra == 'baseline' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: GitPython >=3.1.30 ; extra == 'baseline' Handling sarif-om >=1.0.4 ; extra == 'sarif' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: sarif-om >=1.0.4 ; extra == 'sarif' Handling jschema-to-python >=1.2.3 ; extra == 'sarif' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: jschema-to-python >=1.2.3 ; extra == 'sarif' Handling coverage >=4.5.4 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: coverage >=4.5.4 ; extra == 'test' Handling fixtures >=3.0.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: fixtures >=3.0.0 ; extra == 'test' Handling flake8 >=4.0.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: flake8 >=4.0.0 ; extra == 'test' Handling stestr >=2.5.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: stestr >=2.5.0 ; extra == 'test' Handling testscenarios >=0.5.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: testscenarios >=0.5.0 ; extra == 'test' Handling testtools >=2.3.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: testtools >=2.3.0 ; extra == 'test' Handling beautifulsoup4 >=4.8.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: beautifulsoup4 >=4.8.0 ; extra == 'test' Handling pylint ==1.9.4 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: pylint ==1.9.4 ; extra == 'test' Handling tomli >=1.1.0 ; (python_version < "3.11") and extra == 'toml' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: tomli >=1.1.0 ; (python_version < "3.11") and extra == 'toml' Handling PyYAML ; extra == 'yaml' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: PyYAML ; extra == 'yaml' + cat /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires + rm -rfv bandit-1.7.8.dist-info/ removed 'bandit-1.7.8.dist-info/entry_points.txt' removed 'bandit-1.7.8.dist-info/METADATA' removed 'bandit-1.7.8.dist-info/top_level.txt' removed 'bandit-1.7.8.dist-info/LICENSE' removed 'bandit-1.7.8.dist-info/AUTHORS' removed 'bandit-1.7.8.dist-info/pbr.json' removed directory 'bandit-1.7.8.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/bandit-1.7.8-1.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'], chrootPath='/var/lib/mock/f40-build-50576-2713/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bd9fddbb68c0413cb1deb69eb311b117', '-D', '/var/lib/mock/f40-build-50576-2713/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.svs9zw87:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/bandit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1709856000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.bPZPpb + umask 022 + cd /builddir/build/BUILD + cd bandit-1.7.8 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir --output /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.3) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 5.11.1) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_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 creating '/builddir/build/BUILD/bandit-1.7.8/bandit-1.7.8.dist-info' Handling PyYAML >=5.3.1 from hook generated metadata: Requires-Dist (bandit) Requirement satisfied: PyYAML >=5.3.1 (installed: PyYAML 6.0.1) Handling stevedore >=1.20.0 from hook generated metadata: Requires-Dist (bandit) Requirement satisfied: stevedore >=1.20.0 (installed: stevedore 5.1.0) Handling rich from hook generated metadata: Requires-Dist (bandit) Requirement satisfied: rich (installed: rich 13.7.0) Handling colorama >=0.3.9 ; (platform_system=="Windows") from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: colorama >=0.3.9 ; (platform_system=="Windows") Handling GitPython >=3.1.30 ; extra == 'baseline' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: GitPython >=3.1.30 ; extra == 'baseline' Handling sarif-om >=1.0.4 ; extra == 'sarif' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: sarif-om >=1.0.4 ; extra == 'sarif' Handling jschema-to-python >=1.2.3 ; extra == 'sarif' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: jschema-to-python >=1.2.3 ; extra == 'sarif' Handling coverage >=4.5.4 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: coverage >=4.5.4 ; extra == 'test' Handling fixtures >=3.0.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: fixtures >=3.0.0 ; extra == 'test' Handling flake8 >=4.0.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: flake8 >=4.0.0 ; extra == 'test' Handling stestr >=2.5.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: stestr >=2.5.0 ; extra == 'test' Handling testscenarios >=0.5.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: testscenarios >=0.5.0 ; extra == 'test' Handling testtools >=2.3.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: testtools >=2.3.0 ; extra == 'test' Handling beautifulsoup4 >=4.8.0 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: beautifulsoup4 >=4.8.0 ; extra == 'test' Handling pylint ==1.9.4 ; extra == 'test' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: pylint ==1.9.4 ; extra == 'test' Handling tomli >=1.1.0 ; (python_version < "3.11") and extra == 'toml' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: tomli >=1.1.0 ; (python_version < "3.11") and extra == 'toml' Handling PyYAML ; extra == 'yaml' from hook generated metadata: Requires-Dist (bandit) Ignoring alien requirement: PyYAML ; extra == 'yaml' + cat /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-buildrequires + rm -rfv bandit-1.7.8.dist-info/ removed 'bandit-1.7.8.dist-info/entry_points.txt' removed 'bandit-1.7.8.dist-info/METADATA' removed 'bandit-1.7.8.dist-info/top_level.txt' removed 'bandit-1.7.8.dist-info/LICENSE' removed 'bandit-1.7.8.dist-info/AUTHORS' removed 'bandit-1.7.8.dist-info/pbr.json' removed directory 'bandit-1.7.8.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0qL5oN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bandit-1.7.8 + mkdir -p /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir Processing /builddir/build/BUILD/bandit-1.7.8 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info creating /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info writing /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info/SOURCES.txt' 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 adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-modern-metadata-vwlmneok/bandit-1.7.8.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: bandit Building wheel for bandit (pyproject.toml): started Running command Building wheel for bandit (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:39: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/bandit creating build/lib/bandit/plugins copying bandit/plugins/injection_wildcard.py -> build/lib/bandit/plugins copying bandit/plugins/injection_paramiko.py -> build/lib/bandit/plugins copying bandit/plugins/crypto_request_no_cert_validation.py -> build/lib/bandit/plugins copying bandit/plugins/general_hardcoded_tmp.py -> build/lib/bandit/plugins copying bandit/plugins/general_hardcoded_password.py -> build/lib/bandit/plugins copying bandit/plugins/general_bad_file_permissions.py -> build/lib/bandit/plugins copying bandit/plugins/general_bind_all_interfaces.py -> build/lib/bandit/plugins copying bandit/plugins/jinja2_templates.py -> build/lib/bandit/plugins copying bandit/plugins/django_sql_injection.py -> build/lib/bandit/plugins copying bandit/plugins/weak_cryptographic_key.py -> build/lib/bandit/plugins copying bandit/plugins/mako_templates.py -> build/lib/bandit/plugins copying bandit/plugins/hashlib_insecure_functions.py -> build/lib/bandit/plugins copying bandit/plugins/request_without_timeout.py -> build/lib/bandit/plugins copying bandit/plugins/tarfile_unsafe_members.py -> build/lib/bandit/plugins copying bandit/plugins/insecure_ssl_tls.py -> build/lib/bandit/plugins copying bandit/plugins/ssh_no_host_key_verification.py -> build/lib/bandit/plugins copying bandit/plugins/try_except_continue.py -> build/lib/bandit/plugins copying bandit/plugins/app_debug.py -> build/lib/bandit/plugins copying bandit/plugins/snmp_security_check.py -> build/lib/bandit/plugins copying bandit/plugins/exec.py -> build/lib/bandit/plugins copying bandit/plugins/logging_config_insecure_listen.py -> build/lib/bandit/plugins copying bandit/plugins/injection_shell.py -> build/lib/bandit/plugins copying bandit/plugins/yaml_load.py -> build/lib/bandit/plugins copying bandit/plugins/django_xss.py -> build/lib/bandit/plugins copying bandit/plugins/asserts.py -> build/lib/bandit/plugins copying bandit/plugins/try_except_pass.py -> build/lib/bandit/plugins copying bandit/plugins/injection_sql.py -> build/lib/bandit/plugins copying bandit/plugins/__init__.py -> build/lib/bandit/plugins creating build/lib/bandit/core copying bandit/core/constants.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/context.py -> build/lib/bandit/core copying bandit/core/blacklisting.py -> build/lib/bandit/core copying bandit/core/manager.py -> build/lib/bandit/core copying bandit/core/test_set.py -> build/lib/bandit/core copying bandit/core/tester.py -> build/lib/bandit/core copying bandit/core/config.py -> build/lib/bandit/core copying bandit/core/node_visitor.py -> build/lib/bandit/core copying bandit/core/test_properties.py -> build/lib/bandit/core copying bandit/core/metrics.py -> build/lib/bandit/core copying bandit/core/extension_loader.py -> build/lib/bandit/core copying bandit/core/docs_utils.py -> build/lib/bandit/core copying bandit/core/__init__.py -> build/lib/bandit/core copying bandit/core/issue.py -> build/lib/bandit/core creating build/lib/bandit/cli copying bandit/cli/config_generator.py -> build/lib/bandit/cli copying bandit/cli/main.py -> build/lib/bandit/cli copying bandit/cli/baseline.py -> build/lib/bandit/cli copying bandit/cli/__init__.py -> build/lib/bandit/cli copying bandit/__main__.py -> build/lib/bandit copying bandit/__init__.py -> build/lib/bandit creating build/lib/bandit/formatters copying bandit/formatters/utils.py -> build/lib/bandit/formatters copying bandit/formatters/custom.py -> build/lib/bandit/formatters copying bandit/formatters/json.py -> build/lib/bandit/formatters copying bandit/formatters/xml.py -> build/lib/bandit/formatters copying bandit/formatters/html.py -> build/lib/bandit/formatters copying bandit/formatters/csv.py -> build/lib/bandit/formatters copying bandit/formatters/screen.py -> build/lib/bandit/formatters copying bandit/formatters/text.py -> build/lib/bandit/formatters copying bandit/formatters/yaml.py -> build/lib/bandit/formatters copying bandit/formatters/sarif.py -> build/lib/bandit/formatters copying bandit/formatters/__init__.py -> build/lib/bandit/formatters creating build/lib/bandit/blacklists copying bandit/blacklists/utils.py -> build/lib/bandit/blacklists copying bandit/blacklists/calls.py -> build/lib/bandit/blacklists copying bandit/blacklists/imports.py -> build/lib/bandit/blacklists copying bandit/blacklists/__init__.py -> build/lib/bandit/blacklists 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 installing to build/bdist.linux-riscv64/wheel running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.1s) running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/bandit creating build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/constants.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/utils.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/meta_ast.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/context.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/blacklisting.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/manager.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/test_set.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/tester.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/config.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/node_visitor.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/test_properties.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/metrics.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/extension_loader.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/docs_utils.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/__init__.py -> build/bdist.linux-riscv64/wheel/bandit/core copying build/lib/bandit/core/issue.py -> build/bdist.linux-riscv64/wheel/bandit/core creating build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/utils.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/custom.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/json.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/xml.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/html.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/csv.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/screen.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/text.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/yaml.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/sarif.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/formatters/__init__.py -> build/bdist.linux-riscv64/wheel/bandit/formatters copying build/lib/bandit/__main__.py -> build/bdist.linux-riscv64/wheel/bandit creating build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/injection_wildcard.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/injection_paramiko.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/crypto_request_no_cert_validation.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_tmp.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/general_hardcoded_password.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/general_bad_file_permissions.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/general_bind_all_interfaces.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/jinja2_templates.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/django_sql_injection.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/weak_cryptographic_key.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/mako_templates.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/hashlib_insecure_functions.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/request_without_timeout.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/tarfile_unsafe_members.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/insecure_ssl_tls.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/ssh_no_host_key_verification.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/try_except_continue.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/app_debug.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/snmp_security_check.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/exec.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/logging_config_insecure_listen.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/injection_shell.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/yaml_load.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/django_xss.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/asserts.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/try_except_pass.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/injection_sql.py -> build/bdist.linux-riscv64/wheel/bandit/plugins copying build/lib/bandit/plugins/__init__.py -> build/bdist.linux-riscv64/wheel/bandit/plugins creating build/bdist.linux-riscv64/wheel/bandit/blacklists copying build/lib/bandit/blacklists/utils.py -> build/bdist.linux-riscv64/wheel/bandit/blacklists copying build/lib/bandit/blacklists/calls.py -> build/bdist.linux-riscv64/wheel/bandit/blacklists copying build/lib/bandit/blacklists/imports.py -> build/bdist.linux-riscv64/wheel/bandit/blacklists copying build/lib/bandit/blacklists/__init__.py -> build/bdist.linux-riscv64/wheel/bandit/blacklists creating build/bdist.linux-riscv64/wheel/bandit/cli copying build/lib/bandit/cli/config_generator.py -> build/bdist.linux-riscv64/wheel/bandit/cli copying build/lib/bandit/cli/main.py -> build/bdist.linux-riscv64/wheel/bandit/cli copying build/lib/bandit/cli/baseline.py -> build/bdist.linux-riscv64/wheel/bandit/cli copying build/lib/bandit/cli/__init__.py -> build/bdist.linux-riscv64/wheel/bandit/cli copying build/lib/bandit/__init__.py -> build/bdist.linux-riscv64/wheel/bandit running install_egg_info Copying bandit.egg-info to build/bdist.linux-riscv64/wheel/bandit-1.7.8-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/bandit-1.7.8.dist-info/WHEEL creating '/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir/pip-wheel-mp73z3v7/.tmp-eqknncg8/bandit-1.7.8-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'bandit/__init__.py' adding 'bandit/__main__.py' adding 'bandit/blacklists/__init__.py' adding 'bandit/blacklists/calls.py' adding 'bandit/blacklists/imports.py' adding 'bandit/blacklists/utils.py' adding 'bandit/cli/__init__.py' adding 'bandit/cli/baseline.py' adding 'bandit/cli/config_generator.py' adding 'bandit/cli/main.py' adding 'bandit/core/__init__.py' adding 'bandit/core/blacklisting.py' adding 'bandit/core/config.py' adding 'bandit/core/constants.py' adding 'bandit/core/context.py' adding 'bandit/core/docs_utils.py' adding 'bandit/core/extension_loader.py' adding 'bandit/core/issue.py' adding 'bandit/core/manager.py' adding 'bandit/core/meta_ast.py' adding 'bandit/core/metrics.py' adding 'bandit/core/node_visitor.py' adding 'bandit/core/test_properties.py' adding 'bandit/core/test_set.py' adding 'bandit/core/tester.py' adding 'bandit/core/utils.py' adding 'bandit/formatters/__init__.py' adding 'bandit/formatters/csv.py' adding 'bandit/formatters/custom.py' adding 'bandit/formatters/html.py' adding 'bandit/formatters/json.py' adding 'bandit/formatters/sarif.py' adding 'bandit/formatters/screen.py' adding 'bandit/formatters/text.py' adding 'bandit/formatters/utils.py' adding 'bandit/formatters/xml.py' adding 'bandit/formatters/yaml.py' adding 'bandit/plugins/__init__.py' adding 'bandit/plugins/app_debug.py' adding 'bandit/plugins/asserts.py' adding 'bandit/plugins/crypto_request_no_cert_validation.py' adding 'bandit/plugins/django_sql_injection.py' adding 'bandit/plugins/django_xss.py' adding 'bandit/plugins/exec.py' adding 'bandit/plugins/general_bad_file_permissions.py' adding 'bandit/plugins/general_bind_all_interfaces.py' adding 'bandit/plugins/general_hardcoded_password.py' adding 'bandit/plugins/general_hardcoded_tmp.py' adding 'bandit/plugins/hashlib_insecure_functions.py' adding 'bandit/plugins/injection_paramiko.py' adding 'bandit/plugins/injection_shell.py' adding 'bandit/plugins/injection_sql.py' adding 'bandit/plugins/injection_wildcard.py' adding 'bandit/plugins/insecure_ssl_tls.py' adding 'bandit/plugins/jinja2_templates.py' adding 'bandit/plugins/logging_config_insecure_listen.py' adding 'bandit/plugins/mako_templates.py' adding 'bandit/plugins/request_without_timeout.py' adding 'bandit/plugins/snmp_security_check.py' adding 'bandit/plugins/ssh_no_host_key_verification.py' adding 'bandit/plugins/tarfile_unsafe_members.py' adding 'bandit/plugins/try_except_continue.py' adding 'bandit/plugins/try_except_pass.py' adding 'bandit/plugins/weak_cryptographic_key.py' adding 'bandit/plugins/yaml_load.py' adding 'bandit-1.7.8.dist-info/AUTHORS' adding 'bandit-1.7.8.dist-info/LICENSE' adding 'bandit-1.7.8.dist-info/METADATA' adding 'bandit-1.7.8.dist-info/WHEEL' adding 'bandit-1.7.8.dist-info/entry_points.txt' adding 'bandit-1.7.8.dist-info/pbr.json' adding 'bandit-1.7.8.dist-info/top_level.txt' adding 'bandit-1.7.8.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for bandit (pyproject.toml): finished with status 'done' Created wheel for bandit: filename=bandit-1.7.8-py3-none-any.whl size=127062 sha256=8b071545141a90c3e3a721dcc7e98ccce21d0ba15bfdd8fa8e668b8bc553a995 Stored in directory: /builddir/.cache/pip/wheels/bc/b8/0b/e710ca9573342e00e687e5138b7203a65d38c1df186fe283b8 Successfully built bandit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vcky8R + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bandit-1.7.8 ++ ls /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir/bandit-1.7.8-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=bandit==1.7.8 + '[' -z bandit==1.7.8 ']' + TMPDIR=/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir bandit==1.7.8 Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/bandit-1.7.8/pyproject-wheeldir Processing ./pyproject-wheeldir/bandit-1.7.8-py3-none-any.whl Installing collected packages: bandit Creating /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit to 755 changing mode of /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit-baseline to 755 changing mode of /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit-config-generator to 755 Successfully installed bandit-1.7.8 + '[' -d /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit-baseline /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit-config-generator /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit: updating /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit-baseline: updating /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/bandit-config-generator: updating + rm -rfv /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/bandit-1.7.8.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages/bandit-1.7.8.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch --record /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages/bandit-1.7.8.dist-info/RECORD --output /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages/bandit-1.7.8.dist-info/RECORD removed '/builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages/bandit-1.7.8.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages/bandit-1.7.8.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages/bandit-1.7.8.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/bandit-1.7.8-1.fc40.noarch-pyproject-record --prefix /usr bandit + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.7.8-1.fc40 --unique-debug-suffix -1.7.8-1.fc40.noarch --unique-debug-src-base bandit-1.7.8-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bandit-1.7.8 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 Bytecompiling .py files below /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ts80Ec + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bandit-1.7.8 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/bandit-1.7.8/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest tests ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.4.3, pluggy-1.3.0 rootdir: /builddir/build/BUILD/bandit-1.7.8 collected 266 items tests/functional/test_baseline.py ....... [ 2%] tests/functional/test_functional.py .................................... [ 16%] .................................... [ 29%] tests/functional/test_runtime.py ......... [ 33%] tests/unit/cli/test_baseline.py ............ [ 37%] tests/unit/cli/test_config_generator.py ...... [ 39%] tests/unit/cli/test_main.py ...................... [ 48%] tests/unit/core/test_blacklisting.py .. [ 48%] tests/unit/core/test_config.py .......................... [ 58%] tests/unit/core/test_context.py ................... [ 65%] tests/unit/core/test_docs_util.py ... [ 66%] tests/unit/core/test_issue.py ....... [ 69%] tests/unit/core/test_manager.py ..................... [ 77%] tests/unit/core/test_meta_ast.py .. [ 78%] tests/unit/core/test_test_set.py .............. [ 83%] tests/unit/core/test_util.py .............................. [ 94%] tests/unit/formatters/test_csv.py . [ 95%] tests/unit/formatters/test_custom.py . [ 95%] tests/unit/formatters/test_json.py . [ 95%] tests/unit/formatters/test_sarif.py . [ 96%] tests/unit/formatters/test_screen.py .... [ 97%] tests/unit/formatters/test_text.py .... [ 99%] tests/unit/formatters/test_xml.py . [ 99%] tests/unit/formatters/test_yaml.py . [100%] =============================== warnings summary =============================== bandit/core/utils.py:364: 1 warning tests/functional/test_functional.py: 3003 warnings tests/unit/core/test_context.py: 21 warnings ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead tests/functional/test_functional.py: 2351 warnings tests/unit/core/test_context.py: 24 warnings ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead tests/functional/test_functional.py: 1173 warnings tests/unit/core/test_context.py: 5 warnings ast.Ellipsis is deprecated and will be removed in Python 3.14; use ast.Constant instead tests/functional/test_functional.py: 1741 warnings tests/unit/core/test_context.py: 11 warnings Attribute s is deprecated and will be removed in Python 3.14; use value instead tests/functional/test_functional.py: 884 warnings tests/unit/core/test_context.py: 2 warnings ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead tests/functional/test_functional.py: 291 warnings tests/unit/core/test_context.py: 8 warnings Attribute n is deprecated and will be removed in Python 3.14; use value instead tests/functional/test_functional.py: 314 warnings tests/unit/core/test_context.py: 3 warnings ast.Bytes is deprecated and will be removed in Python 3.14; use ast.Constant instead tests/unit/cli/test_main.py: 3 warnings tests/unit/core/test_manager.py: 2 warnings tests/unit/formatters/test_json.py: 1 warning tests/unit/formatters/test_sarif.py: 1 warning tests/unit/formatters/test_screen.py: 4 warnings tests/unit/formatters/test_text.py: 4 warnings tests/unit/formatters/test_yaml.py: 1 warning datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). tests/unit/core/test_test_set.py::test_plugin Expected None, but tests/unit/core/test_test_set.py::test_plugin returned {'Import': [{'name': 'telnet', 'id': 'B401', 'cwe': 319, 'message': 'A telnet-related module is being imported. Telnet is considered insecure. Use SSH or some other encrypted protocol.', 'qualnames': ['telnetlib'], 'level': 'HIGH'}, {'name': 'marshal', 'id': 'B302', 'cwe': 502, 'message': 'Deserialization with the marshal module is possibly dangerous.', 'qualnames': ['marshal.load', 'marshal.loads'], 'level': 'MEDIUM'}], 'ImportFrom': [{'name': 'telnet', 'id': 'B401', 'cwe': 319, 'message': 'A telnet-related module is being imported. Telnet is considered insecure. Use SSH or some other encrypted protocol.', 'qualnames': ['telnetlib'], 'level': 'HIGH'}, {'name': 'marshal', 'id': 'B302', 'cwe': 502, 'message': 'Deserialization with the marshal module is possibly dangerous.', 'qualnames': ['marshal.load', 'marshal.loads'], 'level': 'MEDIUM'}], 'Call': [{'name': 'telnet', 'id': 'B401', 'cwe': 319, 'message': 'A telnet-related module is being imported. Telnet is considered insecure. Use SSH or some other encrypted protocol.', 'qualnames': ['telnetlib'], 'level': 'HIGH'}, {'name': 'marshal', 'id': 'B302', 'cwe': 502, 'message': 'Deserialization with the marshal module is possibly dangerous.', 'qualnames': ['marshal.load', 'marshal.loads'], 'level': 'MEDIUM'}]}, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================ 266 passed, 9849 warnings in 229.11s (0:03:49) ================ + RPM_EC=0 ++ jobs -p + exit 0 Processing files: bandit-1.7.8-1.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ABOvp4 + umask 022 + cd /builddir/build/BUILD + cd bandit-1.7.8 + DOCDIR=/builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/doc/bandit + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/doc/bandit + cp -pr /builddir/build/BUILD/bandit-1.7.8/AUTHORS /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/doc/bandit + cp -pr /builddir/build/BUILD/bandit-1.7.8/ChangeLog /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/doc/bandit + cp -pr /builddir/build/BUILD/bandit-1.7.8/README.rst /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/doc/bandit + cp -pr /builddir/build/BUILD/bandit-1.7.8/doc /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/doc/bandit + cp -pr /builddir/build/BUILD/bandit-1.7.8/examples /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/doc/bandit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Iuwbqj + umask 022 + cd /builddir/build/BUILD + cd bandit-1.7.8 + LICENSEDIR=/builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/licenses/bandit + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/licenses/bandit + cp -pr /builddir/build/BUILD/bandit-1.7.8/LICENSE /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch/usr/share/licenses/bandit + RPM_EC=0 ++ jobs -p + exit 0 Provides: bandit = 1.7.8-1.fc40 python3.12dist(bandit) = 1.7.8 python3dist(bandit) = 1.7.8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.12 python3.12dist(pyyaml) >= 5.3.1 python3.12dist(rich) python3.12dist(stevedore) >= 1.20 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bandit-1.7.8-1.fc40.noarch Wrote: /builddir/build/SRPMS/bandit-1.7.8-1.fc40.src.rpm Wrote: /builddir/build/RPMS/bandit-1.7.8-1.fc40.noarch.rpm Child return code was: 0