Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55133-14778/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.oc9.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/python-flake8.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55133-14778/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pPvSGF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-4.0.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/flake8-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cBE9uY + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + 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 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.oc9.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55133-14778/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0XZ6Po + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-4.0.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/flake8-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ZyiM05 + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + 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 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/flake8.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/flake8.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running dist_info HOOK STDOUT: creating flake8.egg-info HOOK STDOUT: writing flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to flake8.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flake8-4.0.1/flake8-4.0.1.dist-info' Handling mccabe (<0.7.0,>=0.6.0) from wheel metadata: Requires-Dist Requirement not satisfied: mccabe (<0.7.0,>=0.6.0) Handling pycodestyle (<2.9.0,>=2.8.0) from wheel metadata: Requires-Dist Requirement not satisfied: pycodestyle (<2.9.0,>=2.8.0) Handling pyflakes (<2.5.0,>=2.4.0) from wheel metadata: Requires-Dist Requirement not satisfied: pyflakes (<2.5.0,>=2.4.0) Handling importlib-metadata (<4.3) ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata (<4.3) ; python_version < "3.8" + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.oc9.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55133-14778/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aa19ls + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-4.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/flake8-4.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.PoDd8Y ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + 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 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/flake8.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/flake8.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running dist_info HOOK STDOUT: creating flake8.egg-info HOOK STDOUT: writing flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to flake8.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flake8-4.0.1/flake8-4.0.1.dist-info' Handling mccabe (<0.7.0,>=0.6.0) from wheel metadata: Requires-Dist Requirement satisfied: mccabe (<0.7.0,>=0.6.0) (installed: mccabe 0.6.1) Handling pycodestyle (<2.9.0,>=2.8.0) from wheel metadata: Requires-Dist Requirement satisfied: pycodestyle (<2.9.0,>=2.8.0) (installed: pycodestyle 2.8.0) Handling pyflakes (<2.5.0,>=2.4.0) from wheel metadata: Requires-Dist Requirement satisfied: pyflakes (<2.5.0,>=2.4.0) (installed: pyflakes 2.4.0) Handling importlib-metadata (<4.3) ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata (<4.3) ; python_version < "3.8" + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.oc9.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/python-flake8.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-55133-14778/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rOqS3M + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + 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 flake8-4.0.1.dist-info/ removed 'flake8-4.0.1.dist-info/entry_points.txt' removed 'flake8-4.0.1.dist-info/METADATA' removed 'flake8-4.0.1.dist-info/LICENSE' removed 'flake8-4.0.1.dist-info/top_level.txt' removed directory 'flake8-4.0.1.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.3.2.post20230919) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/flake8.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/flake8.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running dist_info HOOK STDOUT: creating flake8.egg-info HOOK STDOUT: writing flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to flake8.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flake8-4.0.1/flake8-4.0.1.dist-info' Handling mccabe (<0.7.0,>=0.6.0) from wheel metadata: Requires-Dist Requirement satisfied: mccabe (<0.7.0,>=0.6.0) (installed: mccabe 0.6.1) Handling pycodestyle (<2.9.0,>=2.8.0) from wheel metadata: Requires-Dist Requirement satisfied: pycodestyle (<2.9.0,>=2.8.0) (installed: pycodestyle 2.8.0) Handling pyflakes (<2.5.0,>=2.4.0) from wheel metadata: Requires-Dist Requirement satisfied: pyflakes (<2.5.0,>=2.4.0) (installed: pyflakes 2.4.0) Handling importlib-metadata (<4.3) ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata (<4.3) ; python_version < "3.8" + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QE8PQc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 flake8-4.0.1 + mkdir -p /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/flake8-4.0.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/flake8-4.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running dist_info creating /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info writing /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-jwgngwxz/flake8-4.0.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: flake8 Building wheel for flake8 (pyproject.toml): started Running command Building wheel for flake8 (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:459: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/flake8 copying src/flake8/utils.py -> build/lib/flake8 copying src/flake8/_compat.py -> build/lib/flake8 copying src/flake8/__init__.py -> build/lib/flake8 copying src/flake8/defaults.py -> build/lib/flake8 copying src/flake8/processor.py -> build/lib/flake8 copying src/flake8/style_guide.py -> build/lib/flake8 copying src/flake8/statistics.py -> build/lib/flake8 copying src/flake8/__main__.py -> build/lib/flake8 copying src/flake8/checker.py -> build/lib/flake8 copying src/flake8/exceptions.py -> build/lib/flake8 creating build/lib/flake8/plugins copying src/flake8/plugins/pyflakes.py -> build/lib/flake8/plugins copying src/flake8/plugins/__init__.py -> build/lib/flake8/plugins copying src/flake8/plugins/manager.py -> build/lib/flake8/plugins creating build/lib/flake8/formatting copying src/flake8/formatting/base.py -> build/lib/flake8/formatting copying src/flake8/formatting/__init__.py -> build/lib/flake8/formatting copying src/flake8/formatting/default.py -> build/lib/flake8/formatting creating build/lib/flake8/api copying src/flake8/api/__init__.py -> build/lib/flake8/api copying src/flake8/api/legacy.py -> build/lib/flake8/api creating build/lib/flake8/main copying src/flake8/main/application.py -> build/lib/flake8/main copying src/flake8/main/cli.py -> build/lib/flake8/main copying src/flake8/main/__init__.py -> build/lib/flake8/main copying src/flake8/main/debug.py -> build/lib/flake8/main copying src/flake8/main/options.py -> build/lib/flake8/main creating build/lib/flake8/options copying src/flake8/options/aggregator.py -> build/lib/flake8/options copying src/flake8/options/__init__.py -> build/lib/flake8/options copying src/flake8/options/config.py -> build/lib/flake8/options copying src/flake8/options/manager.py -> build/lib/flake8/options installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/flake8 creating build/bdist.linux-aarch64/wheel/flake8/plugins copying build/lib/flake8/plugins/pyflakes.py -> build/bdist.linux-aarch64/wheel/flake8/plugins copying build/lib/flake8/plugins/__init__.py -> build/bdist.linux-aarch64/wheel/flake8/plugins copying build/lib/flake8/plugins/manager.py -> build/bdist.linux-aarch64/wheel/flake8/plugins copying build/lib/flake8/utils.py -> build/bdist.linux-aarch64/wheel/flake8 copying build/lib/flake8/_compat.py -> build/bdist.linux-aarch64/wheel/flake8 copying build/lib/flake8/__init__.py -> build/bdist.linux-aarch64/wheel/flake8 copying build/lib/flake8/defaults.py -> build/bdist.linux-aarch64/wheel/flake8 creating build/bdist.linux-aarch64/wheel/flake8/formatting copying build/lib/flake8/formatting/base.py -> build/bdist.linux-aarch64/wheel/flake8/formatting copying build/lib/flake8/formatting/__init__.py -> build/bdist.linux-aarch64/wheel/flake8/formatting copying build/lib/flake8/formatting/default.py -> build/bdist.linux-aarch64/wheel/flake8/formatting copying build/lib/flake8/processor.py -> build/bdist.linux-aarch64/wheel/flake8 creating build/bdist.linux-aarch64/wheel/flake8/api copying build/lib/flake8/api/__init__.py -> build/bdist.linux-aarch64/wheel/flake8/api copying build/lib/flake8/api/legacy.py -> build/bdist.linux-aarch64/wheel/flake8/api copying build/lib/flake8/style_guide.py -> build/bdist.linux-aarch64/wheel/flake8 creating build/bdist.linux-aarch64/wheel/flake8/main copying build/lib/flake8/main/application.py -> build/bdist.linux-aarch64/wheel/flake8/main copying build/lib/flake8/main/cli.py -> build/bdist.linux-aarch64/wheel/flake8/main copying build/lib/flake8/main/__init__.py -> build/bdist.linux-aarch64/wheel/flake8/main copying build/lib/flake8/main/debug.py -> build/bdist.linux-aarch64/wheel/flake8/main copying build/lib/flake8/main/options.py -> build/bdist.linux-aarch64/wheel/flake8/main copying build/lib/flake8/statistics.py -> build/bdist.linux-aarch64/wheel/flake8 copying build/lib/flake8/__main__.py -> build/bdist.linux-aarch64/wheel/flake8 creating build/bdist.linux-aarch64/wheel/flake8/options copying build/lib/flake8/options/aggregator.py -> build/bdist.linux-aarch64/wheel/flake8/options copying build/lib/flake8/options/__init__.py -> build/bdist.linux-aarch64/wheel/flake8/options copying build/lib/flake8/options/config.py -> build/bdist.linux-aarch64/wheel/flake8/options copying build/lib/flake8/options/manager.py -> build/bdist.linux-aarch64/wheel/flake8/options copying build/lib/flake8/checker.py -> build/bdist.linux-aarch64/wheel/flake8 copying build/lib/flake8/exceptions.py -> build/bdist.linux-aarch64/wheel/flake8 running install_egg_info running egg_info writing src/flake8.egg-info/PKG-INFO writing dependency_links to src/flake8.egg-info/dependency_links.txt writing entry points to src/flake8.egg-info/entry_points.txt writing requirements to src/flake8.egg-info/requires.txt writing top-level names to src/flake8.egg-info/top_level.txt reading manifest file 'src/flake8.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' adding license file 'LICENSE' writing manifest file 'src/flake8.egg-info/SOURCES.txt' Copying src/flake8.egg-info to build/bdist.linux-aarch64/wheel/flake8-4.0.1-py3.10.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/flake8-4.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-wheel-mcew7y9s/tmpfg6agf__/flake8-4.0.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'flake8/__init__.py' adding 'flake8/__main__.py' adding 'flake8/_compat.py' adding 'flake8/checker.py' adding 'flake8/defaults.py' adding 'flake8/exceptions.py' adding 'flake8/processor.py' adding 'flake8/statistics.py' adding 'flake8/style_guide.py' adding 'flake8/utils.py' adding 'flake8/api/__init__.py' adding 'flake8/api/legacy.py' adding 'flake8/formatting/__init__.py' adding 'flake8/formatting/base.py' adding 'flake8/formatting/default.py' adding 'flake8/main/__init__.py' adding 'flake8/main/application.py' adding 'flake8/main/cli.py' adding 'flake8/main/debug.py' adding 'flake8/main/options.py' adding 'flake8/options/__init__.py' adding 'flake8/options/aggregator.py' adding 'flake8/options/config.py' adding 'flake8/options/manager.py' adding 'flake8/plugins/__init__.py' adding 'flake8/plugins/manager.py' adding 'flake8/plugins/pyflakes.py' adding 'flake8-4.0.1.dist-info/LICENSE' adding 'flake8-4.0.1.dist-info/METADATA' adding 'flake8-4.0.1.dist-info/WHEEL' adding 'flake8-4.0.1.dist-info/entry_points.txt' adding 'flake8-4.0.1.dist-info/top_level.txt' adding 'flake8-4.0.1.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for flake8 (pyproject.toml): finished with status 'done' Created wheel for flake8: filename=flake8-4.0.1-py2.py3-none-any.whl size=64075 sha256=a1dea615b5d991a949be3cc15af9908d4dd72637c84c826cb73c27f9ee8ce5a3 Stored in directory: /builddir/.cache/pip/wheels/a4/90/14/64f9bdecd909f39d8a3423331a8bdb333d7f4f1411699e029f Successfully built flake8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IxzQx4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch ++ dirname /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch + cd flake8-4.0.1 ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple ++ ls /builddir/build/BUILD/flake8-4.0.1/pyproject-wheeldir/flake8-4.0.1-py2.py3-none-any.whl + specifier=flake8==4.0.1 + TMPDIR=/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch --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/flake8-4.0.1/pyproject-wheeldir flake8==4.0.1 Using pip 22.1.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/flake8-4.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/flake8-4.0.1-py2.py3-none-any.whl Installing collected packages: flake8 Creating /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin/flake8 to 755 Successfully installed flake8-4.0.1 + '[' -d /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.10.py ']' + pathfix=/usr/bin/pathfix3.10.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.10.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin/flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin/flake8: updating + rm -rfv /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/flake8-4.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages/flake8-4.0.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch --record /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages/flake8-4.0.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages/flake8-4.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages/flake8-4.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages/flake8-4.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages/flake8-4.0.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr flake8 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin/flake8-3 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin/flake8-3.10 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin/python3-flake8 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.0.1-3.oc9 --unique-debug-suffix -4.0.1-3.oc9.noarch --unique-debug-src-base python-flake8-4.0.1-3.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/flake8-4.0.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CpvPeq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 flake8-4.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir' + /usr/bin/pytest tests -v ============================= test session starts ============================== platform linux -- Python 3.10.5, pytest-7.1.3, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/flake8-4.0.1, configfile: pytest.ini collecting ... collected 481 items tests/integration/test_aggregator.py::test_aggregate_options_with_config PASSED [ 0%] tests/integration/test_aggregator.py::test_aggregate_options_when_isolated PASSED [ 0%] tests/integration/test_api_legacy.py::test_legacy_api PASSED [ 0%] tests/integration/test_checker.py::test_handle_file_plugins[PluginClass] PASSED [ 0%] tests/integration/test_checker.py::test_handle_file_plugins[plugin_func_gen] PASSED [ 1%] tests/integration/test_checker.py::test_handle_file_plugins[plugin_func_list] PASSED [ 1%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_ret-1] PASSED [ 1%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_none-0] PASSED [ 1%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_list_single-1] PASSED [ 1%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_list_multiple-2] PASSED [ 2%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_gen_single-1] PASSED [ 2%] tests/integration/test_checker.py::test_line_check_results[plugin_func_physical_gen_multiple-3] PASSED [ 2%] tests/integration/test_checker.py::test_logical_line_offset_out_of_bounds PASSED [ 2%] tests/integration/test_checker.py::test_report_order[results0-expected_order0] PASSED [ 2%] tests/integration/test_checker.py::test_report_order[results1-expected_order1] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results2-expected_order2] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results3-expected_order3] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results4-expected_order4] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results5-expected_order5] PASSED [ 3%] tests/integration/test_checker.py::test_report_order[results6-expected_order6] PASSED [ 4%] tests/integration/test_checker.py::test_report_order[results7-expected_order7] PASSED [ 4%] tests/integration/test_checker.py::test_report_order[results8-expected_order8] PASSED [ 4%] tests/integration/test_checker.py::test_acquire_when_multiprocessing_pool_can_initialize PASSED [ 4%] tests/integration/test_checker.py::test_acquire_when_multiprocessing_pool_can_not_initialize PASSED [ 4%] tests/integration/test_checker.py::test_handling_syntaxerrors_across_pythons PASSED [ 5%] tests/integration/test_main.py::test_diff_option PASSED [ 5%] tests/integration/test_main.py::test_form_feed_line_split PASSED [ 5%] tests/integration/test_main.py::test_e101_indent_char_does_not_reset PASSED [ 5%] tests/integration/test_main.py::test_statistics_option PASSED [ 6%] tests/integration/test_main.py::test_show_source_option PASSED [ 6%] tests/integration/test_main.py::test_extend_exclude PASSED [ 6%] tests/integration/test_main.py::test_malformed_per_file_ignores_error PASSED [ 6%] tests/integration/test_main.py::test_tokenization_error_but_not_syntax_error PASSED [ 6%] tests/integration/test_main.py::test_tokenization_error_is_a_syntax_error PASSED [ 7%] tests/integration/test_main.py::test_bug_report_successful PASSED [ 7%] tests/integration/test_main.py::test_specific_noqa_does_not_clobber_pycodestyle_noqa PASSED [ 7%] tests/integration/test_main.py::test_specific_noqa_on_line_with_continuation PASSED [ 7%] tests/integration/test_main.py::test_physical_line_file_not_ending_in_newline PASSED [ 7%] tests/integration/test_main.py::test_physical_line_file_not_ending_in_newline_trailing_ws PASSED [ 8%] tests/integration/test_main.py::test_obtaining_args_from_sys_argv_when_not_explicity_provided PASSED [ 8%] tests/integration/test_main.py::test_cli_config_option_respected PASSED [ 8%] tests/integration/test_main.py::test_cli_isolated_overrides_config_option PASSED [ 8%] tests/integration/test_main.py::test_file_not_found PASSED [ 8%] tests/integration/test_main.py::test_output_file PASSED [ 9%] tests/integration/test_plugins.py::test_enable_local_plugin_from_config PASSED [ 9%] tests/integration/test_plugins.py::test_local_plugin_can_add_option PASSED [ 9%] tests/integration/test_plugins.py::test_enable_local_plugin_at_non_installed_path PASSED [ 9%] tests/unit/test_application.py::test_exit_does_raise[0-False-False-False] PASSED [ 9%] tests/unit/test_application.py::test_exit_does_raise[0-True-False-True] PASSED [ 10%] tests/unit/test_application.py::test_exit_does_raise[2-False-False-True] PASSED [ 10%] tests/unit/test_application.py::test_exit_does_raise[2-True-False-True] PASSED [ 10%] tests/unit/test_application.py::test_exit_does_raise[0-True-True-True] PASSED [ 10%] tests/unit/test_application.py::test_exit_does_raise[2-False-True-False] PASSED [ 11%] tests/unit/test_application.py::test_exit_does_raise[2-True-True-True] PASSED [ 11%] tests/unit/test_application.py::test_warns_on_unknown_formatter_plugin_name PASSED [ 11%] tests/unit/test_application.py::test_returns_specified_plugin PASSED [ 11%] tests/unit/test_application.py::test_prelim_opts_args PASSED [ 11%] tests/unit/test_application.py::test_prelim_opts_ignore_help PASSED [ 12%] tests/unit/test_application.py::test_prelim_opts_handles_empty PASSED [ 12%] tests/unit/test_base_formatter.py::test_start[None] PASSED [ 12%] tests/unit/test_base_formatter.py::test_start[out.txt] PASSED [ 12%] tests/unit/test_base_formatter.py::test_stop PASSED [ 12%] tests/unit/test_base_formatter.py::test_format_needs_to_be_implemented PASSED [ 13%] tests/unit/test_base_formatter.py::test_show_source_returns_nothing_when_not_showing_source PASSED [ 13%] tests/unit/test_base_formatter.py::test_show_source_returns_nothing_when_there_is_source PASSED [ 13%] tests/unit/test_base_formatter.py::test_show_source_updates_physical_line_appropriately[x=1\n- ^-2] PASSED [ 13%] tests/unit/test_base_formatter.py::test_show_source_updates_physical_line_appropriately[ x=(1\n +2)\n- ^-5] PASSED [ 13%] tests/unit/test_base_formatter.py::test_show_source_updates_physical_line_appropriately[\tx\t=\ty\n-\t \t \t^-6] PASSED [ 14%] tests/unit/test_base_formatter.py::test_write_uses_an_output_file[False] PASSED [ 14%] tests/unit/test_base_formatter.py::test_write_uses_an_output_file[True] PASSED [ 14%] tests/unit/test_base_formatter.py::test_write_produces_stdout PASSED [ 14%] tests/unit/test_base_formatter.py::test_after_init_is_always_called PASSED [ 14%] tests/unit/test_base_formatter.py::test_handle_formats_the_error PASSED [ 15%] tests/unit/test_checker_manager.py::test_oserrors_cause_serial_fall_back PASSED [ 15%] tests/unit/test_checker_manager.py::test_oserrors_are_reraised PASSED [ 15%] tests/unit/test_checker_manager.py::test_multiprocessing_is_disabled PASSED [ 15%] tests/unit/test_checker_manager.py::test_make_checkers PASSED [ 16%] tests/unit/test_config_file_finder.py::test_cli_config PASSED [ 16%] tests/unit/test_config_file_finder.py::test_generate_possible_local_files[/builddir/build/BUILD/flake8-4.0.1-expected0] PASSED [ 16%] tests/unit/test_config_file_finder.py::test_generate_possible_local_files[/builddir/build/BUILD/flake8-4.0.1/src-expected1] PASSED [ 16%] tests/unit/test_config_file_finder.py::test_generate_possible_local_files[/-expected2] PASSED [ 16%] tests/unit/test_config_file_finder.py::test_local_config_files[extra_config_files0-expected0] PASSED [ 17%] tests/unit/test_config_file_finder.py::test_local_config_files[extra_config_files1-expected1] PASSED [ 17%] tests/unit/test_config_file_finder.py::test_local_configs PASSED [ 17%] tests/unit/test_config_file_finder.py::test_read_config_catches_broken_config_files[files0] PASSED [ 17%] tests/unit/test_config_file_finder.py::test_read_config_catches_broken_config_files[files1] PASSED [ 17%] tests/unit/test_config_file_finder.py::test_read_config_catches_decoding_errors PASSED [ 18%] tests/unit/test_config_file_finder.py::test_config_file_default_value PASSED [ 18%] tests/unit/test_config_file_finder.py::test_setting_config_file_value PASSED [ 18%] tests/unit/test_config_file_finder.py::test_ignore_config_files_default_value PASSED [ 18%] tests/unit/test_config_file_finder.py::test_setting_ignore_config_files_value[False] PASSED [ 18%] tests/unit/test_config_file_finder.py::test_setting_ignore_config_files_value[True] PASSED [ 19%] tests/unit/test_config_parser.py::test_parse_cli_config PASSED [ 19%] tests/unit/test_config_parser.py::test_is_configured_by[tests/fixtures/config_files/cli-specified.ini-True] PASSED [ 19%] tests/unit/test_config_parser.py::test_is_configured_by[tests/fixtures/config_files/no-flake8-section.ini-False] PASSED [ 19%] tests/unit/test_config_parser.py::test_parse_local_config PASSED [ 19%] tests/unit/test_config_parser.py::test_parse_isolates_config PASSED [ 20%] tests/unit/test_config_parser.py::test_parse_uses_cli_config PASSED [ 20%] tests/unit/test_config_parser.py::test_parsed_configs_are_equivalent[tests/fixtures/config_files/cli-specified.ini] PASSED [ 20%] tests/unit/test_config_parser.py::test_parsed_configs_are_equivalent[tests/fixtures/config_files/cli-specified-with-inline-comments.ini] PASSED [ 20%] tests/unit/test_config_parser.py::test_parsed_configs_are_equivalent[tests/fixtures/config_files/cli-specified-without-inline-comments.ini] PASSED [ 20%] tests/unit/test_config_parser.py::test_parsed_hyphenated_and_underscored_names[tests/fixtures/config_files/config-with-hyphenated-options.ini] PASSED [ 21%] tests/unit/test_debug.py::test_dependencies PASSED [ 21%] tests/unit/test_debug.py::test_plugins_from[plugins0-expected0] PASSED [ 21%] tests/unit/test_debug.py::test_plugins_from[plugins1-expected1] PASSED [ 21%] tests/unit/test_debug.py::test_plugins_from[plugins2-expected2] PASSED [ 22%] tests/unit/test_debug.py::test_plugins_from[plugins3-expected3] PASSED [ 22%] tests/unit/test_debug.py::test_information PASSED [ 22%] tests/unit/test_debug.py::test_print_information_no_plugins PASSED [ 22%] tests/unit/test_debug.py::test_print_information PASSED [ 22%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list0-extend_ignore0-E111] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list1-extend_ignore1-E121] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list2-extend_ignore2-E121] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list3-extend_ignore3-E121] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list4-extend_ignore4-E121] PASSED [ 23%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list5-extend_ignore5-E211] PASSED [ 24%] tests/unit/test_decision_engine.py::test_was_ignored_ignores_errors[ignore_list6-extend_ignore6-E211] PASSED [ 24%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list0-extend_ignore0-E112] PASSED [ 24%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list1-extend_ignore1-E122] PASSED [ 24%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list2-extend_ignore2-W121] PASSED [ 24%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list3-extend_ignore3-E112] PASSED [ 25%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list4-extend_ignore4-E111] PASSED [ 25%] tests/unit/test_decision_engine.py::test_was_ignored_implicitly_selects_errors[ignore_list5-extend_ignore5-E111] PASSED [ 25%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list0-extend_select0-enable_extensions0-E111] PASSED [ 25%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list1-extend_select1-enable_extensions1-E121] PASSED [ 25%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list2-extend_select2-enable_extensions2-E121] PASSED [ 26%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list3-extend_select3-enable_extensions3-E121] PASSED [ 26%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list4-extend_select4-enable_extensions4-E211] PASSED [ 26%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list5-extend_select5-enable_extensions5-E211] PASSED [ 26%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list6-extend_select6-enable_extensions6-E211] PASSED [ 27%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list7-extend_select7-enable_extensions7-E211] PASSED [ 27%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list8-extend_select8-enable_extensions8-E211] PASSED [ 27%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list9-extend_select9-enable_extensions9-E211] PASSED [ 27%] tests/unit/test_decision_engine.py::test_was_selected_selects_errors[select_list10-extend_select10-enable_extensions10-E121] PASSED [ 27%] tests/unit/test_decision_engine.py::test_was_selected_implicitly_selects_errors PASSED [ 28%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list0-E112] PASSED [ 28%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list1-E122] PASSED [ 28%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list2-E132] PASSED [ 28%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list3-E321] PASSED [ 28%] tests/unit/test_decision_engine.py::test_was_selected_excludes_errors[select_list4-E410] PASSED [ 29%] tests/unit/test_decision_engine.py::test_decision_for[select_list0-ignore_list0-extend_ignore0-E111-Decision.Selected] PASSED [ 29%] tests/unit/test_decision_engine.py::test_decision_for[select_list1-ignore_list1-extend_ignore1-E112-Decision.Ignored] PASSED [ 29%] tests/unit/test_decision_engine.py::test_decision_for[select_list2-ignore_list2-extend_ignore2-E121-Decision.Selected] PASSED [ 29%] tests/unit/test_decision_engine.py::test_decision_for[select_list3-ignore_list3-extend_ignore3-E122-Decision.Ignored] PASSED [ 29%] tests/unit/test_decision_engine.py::test_decision_for[select_list4-ignore_list4-extend_ignore4-E132-Decision.Ignored] PASSED [ 30%] tests/unit/test_decision_engine.py::test_decision_for[select_list5-ignore_list5-extend_ignore5-E321-Decision.Ignored] PASSED [ 30%] tests/unit/test_decision_engine.py::test_decision_for[select_list6-ignore_list6-extend_ignore6-E410-Decision.Ignored] PASSED [ 30%] tests/unit/test_decision_engine.py::test_decision_for[select_list7-ignore_list7-extend_ignore7-E112-Decision.Selected] PASSED [ 30%] tests/unit/test_decision_engine.py::test_decision_for[select_list8-ignore_list8-extend_ignore8-E112-Decision.Selected] PASSED [ 30%] tests/unit/test_decision_engine.py::test_decision_for[select_list9-ignore_list9-extend_ignore9-E122-Decision.Ignored] PASSED [ 31%] tests/unit/test_decision_engine.py::test_decision_for[select_list10-ignore_list10-extend_ignore10-E132-Decision.Ignored] PASSED [ 31%] tests/unit/test_decision_engine.py::test_decision_for[select_list11-ignore_list11-extend_ignore11-E321-Decision.Ignored] PASSED [ 31%] tests/unit/test_decision_engine.py::test_decision_for[select_list12-ignore_list12-extend_ignore12-E410-Decision.Ignored] PASSED [ 31%] tests/unit/test_decision_engine.py::test_decision_for[select_list13-ignore_list13-extend_ignore13-E410-Decision.Ignored] PASSED [ 32%] tests/unit/test_decision_engine.py::test_decision_for[select_list14-ignore_list14-extend_ignore14-E410-Decision.Selected] PASSED [ 32%] tests/unit/test_decision_engine.py::test_decision_for[select_list15-ignore_list15-extend_ignore15-E410-Decision.Selected] PASSED [ 32%] tests/unit/test_decision_engine.py::test_decision_for[select_list16-ignore_list16-extend_ignore16-E410-Decision.Ignored] PASSED [ 32%] tests/unit/test_decision_engine.py::test_decision_for[select_list17-ignore_list17-extend_ignore17-E126-Decision.Selected] PASSED [ 32%] tests/unit/test_decision_engine.py::test_decision_for[select_list18-ignore_list18-extend_ignore18-E126-Decision.Ignored] PASSED [ 33%] tests/unit/test_decision_engine.py::test_decision_for[select_list19-ignore_list19-extend_ignore19-W391-Decision.Ignored] PASSED [ 33%] tests/unit/test_decision_engine.py::test_decision_for[select_list20-ignore_list20-extend_ignore20-E131-Decision.Ignored] PASSED [ 33%] tests/unit/test_decision_engine.py::test_decision_for[select_list21-ignore_list21-extend_ignore21-E131-Decision.Ignored] PASSED [ 33%] tests/unit/test_decision_engine.py::test_decision_for[select_list22-ignore_list22-extend_ignore22-E126-Decision.Ignored] PASSED [ 33%] tests/unit/test_decision_engine.py::test_decision_for[select_list23-ignore_list23-extend_ignore23-W391-Decision.Selected] PASSED [ 34%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select0-ignore0-extended_default_ignore0-extended_default_select0-enabled_extensions0-I100-Decision.Selected] PASSED [ 34%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select1-ignore1-extended_default_ignore1-extended_default_select1-enabled_extensions1-I201-Decision.Ignored] PASSED [ 34%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select2-ignore2-extended_default_ignore2-extended_default_select2-enabled_extensions2-I101-Decision.Selected] PASSED [ 34%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select3-ignore3-extended_default_ignore3-extended_default_select3-enabled_extensions3-I201-Decision.Ignored] PASSED [ 34%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select4-ignore4-extended_default_ignore4-extended_default_select4-enabled_extensions4-I101-Decision.Selected] PASSED [ 35%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select5-ignore5-extended_default_ignore5-extended_default_select5-enabled_extensions5-I101-Decision.Ignored] PASSED [ 35%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select6-ignore6-extended_default_ignore6-extended_default_select6-enabled_extensions6-U401-Decision.Selected] PASSED [ 35%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select7-ignore7-extended_default_ignore7-extended_default_select7-enabled_extensions7-U401-Decision.Ignored] PASSED [ 35%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select8-ignore8-extended_default_ignore8-extended_default_select8-enabled_extensions8-U402-Decision.Selected] PASSED [ 35%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select9-ignore9-extended_default_ignore9-extended_default_select9-enabled_extensions9-E131-Decision.Ignored] PASSED [ 36%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select10-ignore10-extended_default_ignore10-extended_default_select10-enabled_extensions10-E126-Decision.Selected] PASSED [ 36%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select11-ignore11-extended_default_ignore11-extended_default_select11-enabled_extensions11-E221-Decision.Selected] PASSED [ 36%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select12-ignore12-extended_default_ignore12-extended_default_select12-enabled_extensions12-E212-Decision.Ignored] PASSED [ 36%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select13-ignore13-extended_default_ignore13-extended_default_select13-enabled_extensions13-C901-Decision.Ignored] PASSED [ 37%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select14-ignore14-extended_default_ignore14-extended_default_select14-enabled_extensions14-E131-Decision.Selected] PASSED [ 37%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select15-ignore15-extended_default_ignore15-extended_default_select15-enabled_extensions15-I101-Decision.Selected] PASSED [ 37%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select16-ignore16-extended_default_ignore16-extended_default_select16-enabled_extensions16-G101-Decision.Selected] PASSED [ 37%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select17-ignore17-extended_default_ignore17-extended_default_select17-enabled_extensions17-G101-Decision.Ignored] PASSED [ 37%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select18-ignore18-extended_default_ignore18-extended_default_select18-enabled_extensions18-I101-Decision.Selected] PASSED [ 38%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select19-ignore19-extended_default_ignore19-extended_default_select19-enabled_extensions19-I101-Decision.Ignored] PASSED [ 38%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select20-ignore20-extended_default_ignore20-extended_default_select20-enabled_extensions20-I101-Decision.Selected] PASSED [ 38%] tests/unit/test_decision_engine.py::test_more_specific_decision_for_logic[select21-ignore21-extended_default_ignore21-extended_default_select21-enabled_extensions21-I101-Decision.Ignored] PASSED [ 38%] tests/unit/test_exceptions.py::test_pickleable[err0] PASSED [ 38%] tests/unit/test_exceptions.py::test_pickleable[err1] PASSED [ 39%] tests/unit/test_exceptions.py::test_pickleable[err2] PASSED [ 39%] tests/unit/test_file_checker.py::test_repr PASSED [ 39%] tests/unit/test_file_checker.py::test_nonexistent_file PASSED [ 39%] tests/unit/test_file_checker.py::test_raises_exception_on_failed_plugin PASSED [ 39%] tests/unit/test_file_processor.py::test_read_lines_splits_lines PASSED [ 40%] tests/unit/test_file_processor.py::test_read_lines_universal_newlines PASSED [ 40%] tests/unit/test_file_processor.py::test_read_lines_incorrect_utf_16 PASSED [ 40%] tests/unit/test_file_processor.py::test_read_lines_unknown_encoding PASSED [ 40%] tests/unit/test_file_processor.py::test_strip_utf_bom[\xef\xbb\xbf"""Module docstring."""\n] PASSED [ 40%] tests/unit/test_file_processor.py::test_strip_utf_bom[\ufeff"""Module docstring."""\n] PASSED [ 41%] tests/unit/test_file_processor.py::test_should_ignore_file[lines0-False] PASSED [ 41%] tests/unit/test_file_processor.py::test_should_ignore_file[lines1-False] PASSED [ 41%] tests/unit/test_file_processor.py::test_should_ignore_file[lines2-False] PASSED [ 41%] tests/unit/test_file_processor.py::test_should_ignore_file[lines3-True] PASSED [ 41%] tests/unit/test_file_processor.py::test_should_ignore_file[lines4-True] PASSED [ 42%] tests/unit/test_file_processor.py::test_should_ignore_file[lines5-True] PASSED [ 42%] tests/unit/test_file_processor.py::test_should_ignore_file[lines6-True] PASSED [ 42%] tests/unit/test_file_processor.py::test_should_ignore_file[lines7-True] PASSED [ 42%] tests/unit/test_file_processor.py::test_should_ignore_file[lines8-True] PASSED [ 43%] tests/unit/test_file_processor.py::test_should_ignore_file[lines9-False] PASSED [ 43%] tests/unit/test_file_processor.py::test_should_ignore_file[lines10-False] PASSED [ 43%] tests/unit/test_file_processor.py::test_should_ignore_file_to_handle_disable_noqa PASSED [ 43%] tests/unit/test_file_processor.py::test_read_lines_from_stdin PASSED [ 43%] tests/unit/test_file_processor.py::test_stdin_filename_attribute PASSED [ 44%] tests/unit/test_file_processor.py::test_read_lines_uses_display_name PASSED [ 44%] tests/unit/test_file_processor.py::test_read_lines_ignores_empty_display_name PASSED [ 44%] tests/unit/test_file_processor.py::test_noqa_line_for PASSED [ 44%] tests/unit/test_file_processor.py::test_noqa_line_for_continuation PASSED [ 44%] tests/unit/test_file_processor.py::test_noqa_line_for_no_eol_at_end_of_file PASSED [ 45%] tests/unit/test_file_processor.py::test_next_line PASSED [ 45%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params0-None-expected_kwargs0] PASSED [ 45%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params1-args1-expected_kwargs1] PASSED [ 45%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params2-args2-expected_kwargs2] PASSED [ 45%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params3-args3-expected_kwargs3] PASSED [ 46%] tests/unit/test_file_processor.py::test_keyword_arguments_for[params4-args4-expected_kwargs4] PASSED [ 46%] tests/unit/test_file_processor.py::test_keyword_arguments_for_does_not_handle_attribute_errors PASSED [ 46%] tests/unit/test_file_processor.py::test_split_line[line-expected_lines0] PASSED [ 46%] tests/unit/test_file_processor.py::test_split_line[line 1\n-expected_lines1] PASSED [ 46%] tests/unit/test_file_processor.py::test_split_line[line 1\nline 2\n-expected_lines2] PASSED [ 47%] tests/unit/test_file_processor.py::test_split_line[line 1\n\nline 2\n-expected_lines3] PASSED [ 47%] tests/unit/test_file_processor.py::test_build_ast PASSED [ 47%] tests/unit/test_file_processor.py::test_next_logical_line_updates_the_previous_logical_line PASSED [ 47%] tests/unit/test_file_processor.py::test_visited_new_blank_line PASSED [ 48%] tests/unit/test_file_processor.py::test_inside_multiline PASSED [ 48%] tests/unit/test_file_processor.py::test_mutate_string[""-""] PASSED [ 48%] tests/unit/test_file_processor.py::test_mutate_string[''-''] PASSED [ 48%] tests/unit/test_file_processor.py::test_mutate_string["a"-"x"] PASSED [ 48%] tests/unit/test_file_processor.py::test_mutate_string['a'-'x'] PASSED [ 49%] tests/unit/test_file_processor.py::test_mutate_string["x"-"x"] PASSED [ 49%] tests/unit/test_file_processor.py::test_mutate_string['x'-'x'] PASSED [ 49%] tests/unit/test_file_processor.py::test_mutate_string["abcdef"-"xxxxxx"] PASSED [ 49%] tests/unit/test_file_processor.py::test_mutate_string['abcdef'-'xxxxxx'] PASSED [ 49%] tests/unit/test_file_processor.py::test_mutate_string[""""""-""""""] PASSED [ 50%] tests/unit/test_file_processor.py::test_mutate_string[''''''-''''''] PASSED [ 50%] tests/unit/test_file_processor.py::test_mutate_string["""a"""-"""x"""] PASSED [ 50%] tests/unit/test_file_processor.py::test_mutate_string['''a'''-'''x'''] PASSED [ 50%] tests/unit/test_file_processor.py::test_mutate_string["""x"""-"""x"""] PASSED [ 50%] tests/unit/test_file_processor.py::test_mutate_string['''x'''-'''x'''] PASSED [ 51%] tests/unit/test_file_processor.py::test_mutate_string["""abcdef"""-"""xxxxxx"""] PASSED [ 51%] tests/unit/test_file_processor.py::test_mutate_string['''abcdef'''-'''xxxxxx'''] PASSED [ 51%] tests/unit/test_file_processor.py::test_mutate_string["""xxxxxx"""-"""xxxxxx"""] PASSED [ 51%] tests/unit/test_file_processor.py::test_mutate_string['''xxxxxx'''-'''xxxxxx'''] PASSED [ 51%] tests/unit/test_file_processor.py::test_expand_indent[ -4] PASSED [ 52%] tests/unit/test_file_processor.py::test_expand_indent[ -6] PASSED [ 52%] tests/unit/test_file_processor.py::test_expand_indent[\t-8] PASSED [ 52%] tests/unit/test_file_processor.py::test_expand_indent[\t\t-16] PASSED [ 52%] tests/unit/test_file_processor.py::test_expand_indent[ \t-8] PASSED [ 53%] tests/unit/test_file_processor.py::test_expand_indent[ \t-16] PASSED [ 53%] tests/unit/test_file_processor.py::test_log_token[token0-l.1\t[:19]\tCOMMENT\t'# this is a comment'] PASSED [ 53%] tests/unit/test_file_processor.py::test_log_token[token1-l.1\t[5:19]\tCOMMENT\t'# this is a comment'] PASSED [ 53%] tests/unit/test_file_processor.py::test_log_token[token2-l.1\tl.2\tCOMMENT\t'# this is a comment'] PASSED [ 53%] tests/unit/test_file_processor.py::test_count_parentheses[0-(-1] PASSED [ 54%] tests/unit/test_file_processor.py::test_count_parentheses[0-[-1] PASSED [ 54%] tests/unit/test_file_processor.py::test_count_parentheses[0-{-1] PASSED [ 54%] tests/unit/test_file_processor.py::test_count_parentheses[1-)-0] PASSED [ 54%] tests/unit/test_file_processor.py::test_count_parentheses[1-]-0] PASSED [ 54%] tests/unit/test_file_processor.py::test_count_parentheses[1-}-0] PASSED [ 55%] tests/unit/test_file_processor.py::test_count_parentheses[10-+-10] PASSED [ 55%] tests/unit/test_file_processor.py::test_nonexistent_file PASSED [ 55%] tests/unit/test_filenameonly_formatter.py::test_caches_filenames_already_printed PASSED [ 55%] tests/unit/test_filenameonly_formatter.py::test_only_returns_a_string_once_from_format PASSED [ 55%] tests/unit/test_filenameonly_formatter.py::test_show_source_returns_nothing PASSED [ 56%] tests/unit/test_get_local_plugins.py::test_get_local_plugins_respects_isolated PASSED [ 56%] tests/unit/test_get_local_plugins.py::test_get_local_plugins_uses_cli_config PASSED [ 56%] tests/unit/test_get_local_plugins.py::test_get_local_plugins PASSED [ 56%] tests/unit/test_legacy_api.py::test_get_style_guide PASSED [ 56%] tests/unit/test_legacy_api.py::test_styleguide_options PASSED [ 57%] tests/unit/test_legacy_api.py::test_styleguide_paths PASSED [ 57%] tests/unit/test_legacy_api.py::test_styleguide_check_files PASSED [ 57%] tests/unit/test_legacy_api.py::test_styleguide_excluded PASSED [ 57%] tests/unit/test_legacy_api.py::test_styleguide_excluded_with_parent PASSED [ 58%] tests/unit/test_legacy_api.py::test_styleguide_init_report_does_nothing PASSED [ 58%] tests/unit/test_legacy_api.py::test_styleguide_init_report_with_non_subclass PASSED [ 58%] tests/unit/test_legacy_api.py::test_styleguide_init_report PASSED [ 58%] tests/unit/test_legacy_api.py::test_styleguide_input_file PASSED [ 58%] tests/unit/test_legacy_api.py::test_report_total_errors PASSED [ 59%] tests/unit/test_legacy_api.py::test_report_get_statistics PASSED [ 59%] tests/unit/test_nothing_formatter.py::test_format_returns_nothing PASSED [ 59%] tests/unit/test_nothing_formatter.py::test_show_source_returns_nothing PASSED [ 59%] tests/unit/test_option.py::test_to_argparse PASSED [ 59%] tests/unit/test_option.py::test_to_optparse PASSED [ 60%] tests/unit/test_option.py::test_to_argparse_creates_an_option_as_we_expect PASSED [ 60%] tests/unit/test_option.py::test_config_name_generation PASSED [ 60%] tests/unit/test_option.py::test_config_name_needs_long_option_name PASSED [ 60%] tests/unit/test_option.py::test_dest_is_not_overridden PASSED [ 60%] tests/unit/test_option_manager.py::test_option_manager_creates_option_parser PASSED [ 61%] tests/unit/test_option_manager.py::test_option_manager_including_parent_options PASSED [ 61%] tests/unit/test_option_manager.py::test_parse_args_forwarding_default_values PASSED [ 61%] tests/unit/test_option_manager.py::test_parse_args_forwarding_type_coercion PASSED [ 61%] tests/unit/test_option_manager.py::test_add_option_short_option_only PASSED [ 61%] tests/unit/test_option_manager.py::test_add_option_long_option_only PASSED [ 62%] tests/unit/test_option_manager.py::test_add_short_and_long_option_names PASSED [ 62%] tests/unit/test_option_manager.py::test_add_option_with_custom_args PASSED [ 62%] tests/unit/test_option_manager.py::test_parse_args_normalize_path PASSED [ 62%] tests/unit/test_option_manager.py::test_parse_args_handles_comma_separated_defaults PASSED [ 62%] tests/unit/test_option_manager.py::test_parse_args_handles_comma_separated_lists PASSED [ 63%] tests/unit/test_option_manager.py::test_parse_args_normalize_paths PASSED [ 63%] tests/unit/test_option_manager.py::test_generate_versions PASSED [ 63%] tests/unit/test_option_manager.py::test_plugins_are_sorted_in_generate_versions PASSED [ 63%] tests/unit/test_option_manager.py::test_generate_versions_with_format_string PASSED [ 64%] tests/unit/test_option_manager.py::test_update_version_string PASSED [ 64%] tests/unit/test_option_manager.py::test_generate_epilog PASSED [ 64%] tests/unit/test_option_manager.py::test_extend_default_ignore PASSED [ 64%] tests/unit/test_option_manager.py::test_parse_known_args PASSED [ 64%] tests/unit/test_option_manager.py::test_optparse_normalize_callback_option_legacy PASSED [ 65%] tests/unit/test_option_manager.py::test_optparse_normalize_types[int-5-5] PASSED [ 65%] tests/unit/test_option_manager.py::test_optparse_normalize_types[long-6-6] PASSED [ 65%] tests/unit/test_option_manager.py::test_optparse_normalize_types[string-foo-foo] PASSED [ 65%] tests/unit/test_option_manager.py::test_optparse_normalize_types[float-1.5-1.5] PASSED [ 65%] tests/unit/test_option_manager.py::test_optparse_normalize_types[complex-1+5j-(1+5j)] PASSED [ 66%] tests/unit/test_option_manager.py::test_optparse_normalize_types[str-foo-foo] PASSED [ 66%] tests/unit/test_option_manager.py::test_optparse_normalize_choice_type PASSED [ 66%] tests/unit/test_option_manager.py::test_optparse_normalize_help PASSED [ 66%] tests/unit/test_option_manager.py::test_optmanager_group PASSED [ 66%] tests/unit/test_option_manager.py::test_parse_valid_jobs_argument[auto-True--1] PASSED [ 67%] tests/unit/test_option_manager.py::test_parse_valid_jobs_argument[4-False-4] PASSED [ 67%] tests/unit/test_option_manager.py::test_parse_invalid_jobs_argument PASSED [ 67%] tests/unit/test_option_manager.py::test_jobs_argument_str PASSED [ 67%] tests/unit/test_plugin.py::test_load_plugin_fallsback_on_old_setuptools PASSED [ 67%] tests/unit/test_plugin.py::test_load_plugin_is_idempotent PASSED [ 68%] tests/unit/test_plugin.py::test_load_plugin_catches_and_reraises_exceptions PASSED [ 68%] tests/unit/test_plugin.py::test_load_noncallable_plugin PASSED [ 68%] tests/unit/test_plugin.py::test_plugin_property_loads_plugin_on_first_use PASSED [ 68%] tests/unit/test_plugin.py::test_execute_calls_plugin_with_passed_arguments PASSED [ 69%] tests/unit/test_plugin.py::test_version_proxies_to_the_plugin PASSED [ 69%] tests/unit/test_plugin.py::test_register_options PASSED [ 69%] tests/unit/test_plugin.py::test_register_options_checks_plugin_for_method PASSED [ 69%] tests/unit/test_plugin.py::test_provide_options PASSED [ 69%] tests/unit/test_plugin.py::test_enable[ignore_list0-W-expected_list0] PASSED [ 70%] tests/unit/test_plugin.py::test_enable[ignore_list1-C9-expected_list1] PASSED [ 70%] tests/unit/test_plugin.py::test_enable_without_providing_parsed_options PASSED [ 70%] tests/unit/test_plugin_manager.py::test_calls_entrypoints_on_instantiation PASSED [ 70%] tests/unit/test_plugin_manager.py::test_calls_entrypoints_creates_plugins_automaticaly PASSED [ 70%] tests/unit/test_plugin_manager.py::test_handles_mapping_functions_across_plugins PASSED [ 71%] tests/unit/test_plugin_manager.py::test_local_plugins PASSED [ 71%] tests/unit/test_plugin_type_manager.py::test_instantiates_a_manager PASSED [ 71%] tests/unit/test_plugin_type_manager.py::test_proxies_names_to_manager PASSED [ 71%] tests/unit/test_plugin_type_manager.py::test_proxies_plugins_to_manager PASSED [ 71%] tests/unit/test_plugin_type_manager.py::test_generate_call_function PASSED [ 72%] tests/unit/test_plugin_type_manager.py::test_load_plugins PASSED [ 72%] tests/unit/test_plugin_type_manager.py::test_load_plugins_fails PASSED [ 72%] tests/unit/test_plugin_type_manager.py::test_register_options PASSED [ 72%] tests/unit/test_plugin_type_manager.py::test_provide_options PASSED [ 72%] tests/unit/test_plugin_type_manager.py::test_proxy_contains_to_managers_plugins_dict PASSED [ 73%] tests/unit/test_plugin_type_manager.py::test_proxies_getitem_to_managers_plugins_dict PASSED [ 73%] tests/unit/test_pyflakes_codes.py::test_all_pyflakes_messages_have_flake8_codes_assigned PASSED [ 73%] tests/unit/test_pyflakes_codes.py::test_undefined_local_code PASSED [ 73%] tests/unit/test_statistics.py::test_key_creation PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args0-True] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args1-True] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args2-True] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args3-True] PASSED [ 74%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args4-True] PASSED [ 75%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args5-True] PASSED [ 75%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args6-True] PASSED [ 75%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args7-True] PASSED [ 75%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args8-False] PASSED [ 75%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args9-False] PASSED [ 76%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args10-False] PASSED [ 76%] tests/unit/test_statistics.py::test_key_matching[E123-file000.py-args11-False] PASSED [ 76%] tests/unit/test_statistics.py::test_statistic_creation PASSED [ 76%] tests/unit/test_statistics.py::test_statistic_increment PASSED [ 76%] tests/unit/test_statistics.py::test_recording_statistics PASSED [ 77%] tests/unit/test_statistics.py::test_statistics_for_single_record PASSED [ 77%] tests/unit/test_statistics.py::test_statistics_for_filters_by_filename PASSED [ 77%] tests/unit/test_statistics.py::test_statistic_for_retrieves_more_than_one_value PASSED [ 77%] tests/unit/test_style_guide.py::test_handle_error_does_not_raise_type_errors PASSED [ 77%] tests/unit/test_style_guide.py::test_style_guide_manager PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_applies_to[first_file.py-first_file.py-True] PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_applies_to[first_file.py-second_file.py-False] PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_applies_to[sub_dir/*.py-first_file.py-False] PASSED [ 78%] tests/unit/test_style_guide.py::test_style_guide_applies_to[sub_dir/*.py-sub_dir/file.py-True] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_applies_to[sub_dir/*.py-other_dir/file.py-False] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores_parsing PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores0-F401-first_file.py-1] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores1-E121-first_file.py-0] PASSED [ 79%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores2-F401-second_file.py-0] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores3-F401-third_file.py-1] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores4-E311-third_file.py-0] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_pre_file_ignores[ignores5-F401-sub_dir/file.py-0] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[first_file.py-first_file.py] PASSED [ 80%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[second_file.py-second_file.py] PASSED [ 81%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[third_file.py-third_file.py] PASSED [ 81%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[fourth_file.py-None] PASSED [ 81%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[sub_dir/__init__.py-/builddir/build/BUILD/flake8-4.0.1/sub_dir/*] PASSED [ 81%] tests/unit/test_style_guide.py::test_style_guide_manager_style_guide_for[other_dir/__init__.py-None] PASSED [ 81%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,\n\tW234,\n E206-expected0] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,E206-expected1] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123 W234 E206-expected2] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123\nW234 E206-expected3] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123\nW234\nE206-expected4] PASSED [ 82%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,E206,-expected5] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,E206, ,\n-expected6] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,W234,,E206,,-expected7] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123, W234,, E206,,-expected8] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[E123,,W234,,E206,,-expected9] PASSED [ 83%] tests/unit/test_utils.py::test_parse_comma_separated_list[-expected10] PASSED [ 84%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[-expected0] PASSED [ 84%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[ -expected1] PASSED [ 84%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[\n\n\n-expected2] PASSED [ 84%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E123-expected3] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py,g.py:E,F-expected4] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[ f.py , g.py : E , F -expected5] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E g.py:F-expected6] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py: E\ng.py: F\n-expected7] PASSED [ 85%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py g.py: E F-expected8] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:\n E,F\ng.py:\n G,H-expected9] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[F.py,G.py: F,G-expected10] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[:E-expected11] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:-expected12] PASSED [ 86%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[:E f.py:F-expected13] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py: g.py:F-expected14] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E:-expected15] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:E.py:-expected16] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py:Eg.py:F-expected17] PASSED [ 87%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[value18-expected18] PASSED [ 88%] tests/unit/test_utils.py::test_parse_files_to_codes_mapping[f.py: ABC123-expected19] PASSED [ 88%] tests/unit/test_utils.py::test_invalid_file_list[E123] PASSED [ 88%] tests/unit/test_utils.py::test_invalid_file_list[f.py,E123] PASSED [ 88%] tests/unit/test_utils.py::test_invalid_file_list[f.py E123] PASSED [ 88%] tests/unit/test_utils.py::test_invalid_file_list[f.py] PASSED [ 89%] tests/unit/test_utils.py::test_invalid_file_list[f.py:E,g.pyf.py::] PASSED [ 89%] tests/unit/test_utils.py::test_invalid_file_list[f.py:E1F1] PASSED [ 89%] tests/unit/test_utils.py::test_normalize_path[flake8-flake8] PASSED [ 89%] tests/unit/test_utils.py::test_normalize_path[../flake8-/builddir/build/BUILD/flake8] PASSED [ 90%] tests/unit/test_utils.py::test_normalize_path[flake8/-/builddir/build/BUILD/flake8-4.0.1/flake8] PASSED [ 90%] tests/unit/test_utils.py::test_normalize_paths[value0-expected0] PASSED [ 90%] tests/unit/test_utils.py::test_normalize_paths[value1-expected1] PASSED [ 90%] tests/unit/test_utils.py::test_is_windows_checks_for_nt PASSED [ 90%] tests/unit/test_utils.py::test_fnmatch[foo.py-patterns0-True] PASSED [ 91%] tests/unit/test_utils.py::test_fnmatch[foo.py-patterns1-False] PASSED [ 91%] tests/unit/test_utils.py::test_fnmatch[foo.pyc-patterns2-True] PASSED [ 91%] tests/unit/test_utils.py::test_fnmatch[foo.pyc-patterns3-True] PASSED [ 91%] tests/unit/test_utils.py::test_filenames_from_a_directory PASSED [ 91%] tests/unit/test_utils.py::test_filenames_from_a_directory_with_a_predicate PASSED [ 92%] tests/unit/test_utils.py::test_filenames_from_a_directory_with_a_predicate_from_the_current_dir PASSED [ 92%] tests/unit/test_utils.py::test_filenames_from_a_single_file PASSED [ 92%] tests/unit/test_utils.py::test_filenames_from_a_single_file_does_not_exist PASSED [ 92%] tests/unit/test_utils.py::test_filenames_from_exclude_doesnt_exclude_directory_names PASSED [ 92%] tests/unit/test_utils.py::test_parameters_for_class_plugin PASSED [ 93%] tests/unit/test_utils.py::test_parameters_for_function_plugin PASSED [ 93%] tests/unit/test_utils.py::test_parse_unified_diff[diff --git a/flake8/utils.py b/flake8/utils.py\nindex f6ce384..7cd12b0 100644\n--- a/flake8/utils.py\n+++ b/flake8/utils.py\n@@ -75,8 +75,8 @@ def stdin_get_value():\n return cached_value.getvalue()\n\n\n-def parse_unified_diff():\n- # type: () -> List[str]\n+def parse_unified_diff(diff=None):\n+ # type: (str) -> List[str]\n """Parse the unified diff passed on stdin.\n\n :returns:\n@@ -84,7 +84,10 @@ def parse_unified_diff():\n :rtype:\n dict\n """\n- diff = stdin_get_value()\n+ # Allow us to not have to patch out stdin_get_value\n+ if diff is None:\n+ diff = stdin_get_value()\n+\n number_of_rows = None\n current_path = None\n parsed_paths = collections.defaultdict(set)\n-parsed_diff0] PASSED [ 93%] tests/unit/test_utils.py::test_parse_unified_diff[diff --git a/flake8/utils.py b/flake8/utils.py\nindex f6ce384..7cd12b0 100644\n--- a/flake8/utils.py\n+++ b/flake8/utils.py\n@@ -75,8 +75,8 @@ def stdin_get_value():\n return cached_value.getvalue()\n \n \n-def parse_unified_diff():\n- # type: () -> List[str]\n+def parse_unified_diff(diff=None):\n+ # type: (str) -> List[str]\n """Parse the unified diff passed on stdin.\n \n :returns:\n@@ -84,7 +84,10 @@ def parse_unified_diff():\n :rtype:\n dict\n """\n- diff = stdin_get_value()\n+ # Allow us to not have to patch out stdin_get_value\n+ if diff is None:\n+ diff = stdin_get_value()\n+\n number_of_rows = None\n current_path = None\n parsed_paths = collections.defaultdict(set)\ndiff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py\nindex d69d939..21482ce 100644\n--- a/tests/unit/test_utils.py\n+++ b/tests/unit/test_utils.py\n@@ -115,3 +115,13 @@ def test_parameters_for_function_plugin():\n plugin = plugin_manager.Plugin('plugin-name', object())\n plugin._plugin = fake_plugin\n assert utils.parameters_for(plugin) == ['physical_line', 'self', 'tree']\n+\n+\n+def read_diff_file(filename):\n+ """Read the diff file in its entirety."""\n+ with open(filename, 'r') as fd:\n+ content = fd.read()\n+ return content\n+\n+\n+SINGLE_FILE_DIFF = read_diff_file('tests/fixtures/diffs/single_file_diff')\n-parsed_diff1] PASSED [ 93%] tests/unit/test_utils.py::test_parse_unified_diff[diff --git a/flake8/utils.py b/flake8/utils.py\nindex f6ce384..7cd12b0 100644\n--- a/flake8/utils.py\n+++ b/flake8/utils.py\n@@ -75,8 +75,8 @@ def stdin_get_value():\n return cached_value.getvalue()\n \n \n-def parse_unified_diff():\n- # type: () -> List[str]\n+def parse_unified_diff(diff=None):\n+ # type: (str) -> List[str]\n """Parse the unified diff passed on stdin.\n \n :returns:\n@@ -84,7 +84,10 @@ def parse_unified_diff():\n :rtype:\n dict\n """\n- diff = stdin_get_value()\n+ # Allow us to not have to patch out stdin_get_value\n+ if diff is None:\n+ diff = stdin_get_value()\n+\n number_of_rows = None\n current_path = None\n parsed_paths = collections.defaultdict(set)\ndiff --git a/tests/fixtures/diffs/single_file_diff b/tests/fixtures/diffs/single_file_diff\nnew file mode 100644\nindex 0000000..77ca534\n--- /dev/null\n+++ b/tests/fixtures/diffs/single_file_diff\n@@ -0,0 +1,27 @@\n+diff --git a/flake8/utils.py b/flake8/utils.py\n+index f6ce384..7cd12b0 100644\n+--- a/flake8/utils.py\n++++ b/flake8/utils.py\n+@@ -75,8 +75,8 @@ def stdin_get_value():\n+ return cached_value.getvalue()\n+\n+\n+-def parse_unified_diff():\n+- # type: () -> List[str]\n++def parse_unified_diff(diff=None):\n++ # type: (str) -> List[str]\n+ """Parse the unified diff passed on stdin.\n+\n+ :returns:\n+@@ -84,7 +84,10 @@ def parse_unified_diff():\n+ :rtype:\n+ dict\n+ """\n+- diff = stdin_get_value()\n++ # Allow us to not have to patch out stdin_get_value\n++ if diff is None:\n++ diff = stdin_get_value()\n++\n+ number_of_rows = None\n+ current_path = None\n+ parsed_paths = collections.defaultdict(set)\ndiff --git a/tests/fixtures/diffs/two_file_diff b/tests/fixtures/diffs/two_file_diff\nnew file mode 100644\nindex 0000000..5bd35cd\n--- /dev/null\n+++ b/tests/fixtures/diffs/two_file_diff\n@@ -0,0 +1,45 @@\n+diff --git a/flake8/utils.py b/flake8/utils.py\n+index f6ce384..7cd12b0 100644\n+--- a/flake8/utils.py\n++++ b/flake8/utils.py\n+@@ -75,8 +75,8 @@ def stdin_get_value():\n+ return cached_value.getvalue()\n+\n+\n+-def parse_unified_diff():\n+- # type: () -> List[str]\n++def parse_unified_diff(diff=None):\n++ # type: (str) -> List[str]\n+ """Parse the unified diff passed on stdin.\n+\n+ :returns:\n+@@ -84,7 +84,10 @@ def parse_unified_diff():\n+ :rtype:\n+ dict\n+ """\n+- diff = stdin_get_value()\n++ # Allow us to not have to patch out stdin_get_value\n++ if diff is None:\n++ diff = stdin_get_value()\n++\n+ number_of_rows = None\n+ current_path = None\n+ parsed_paths = collections.defaultdict(set)\n+diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py\n+index d69d939..21482ce 100644\n+--- a/tests/unit/test_utils.py\n++++ b/tests/unit/test_utils.py\n+@@ -115,3 +115,13 @@ def test_parameters_for_function_plugin():\n+ plugin = plugin_manager.Plugin('plugin-name', object())\n+ plugin._plugin = fake_plugin\n+ assert utils.parameters_for(plugin) == ['physical_line', 'self', 'tree']\n++\n++\n++def read_diff_file(filename):\n++ """Read the diff file in its entirety."""\n++ with open(filename, 'r') as fd:\n++ content = fd.read()\n++ return content\n++\n++\n++SINGLE_FILE_DIFF = read_diff_file('tests/fixtures/diffs/single_file_diff')\ndiff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py\nindex d69d939..1461369 100644\n--- a/tests/unit/test_utils.py\n+++ b/tests/unit/test_utils.py\n@@ -115,3 +115,14 @@ def test_parameters_for_function_plugin():\n plugin = plugin_manager.Plugin('plugin-name', object())\n plugin._plugin = fake_plugin\n assert utils.parameters_for(plugin) == ['physical_line', 'self', 'tree']\n+\n+\n+def read_diff_file(filename):\n+ """Read the diff file in its entirety."""\n+ with open(filename, 'r') as fd:\n+ content = fd.read()\n+ return content\n+\n+\n+SINGLE_FILE_DIFF = read_diff_file('tests/fixtures/diffs/single_file_diff')\n+TWO_FILE_DIFF = read_diff_file('tests/fixtures/diffs/two_file_diff')\n-parsed_diff2] PASSED [ 93%] tests/unit/test_utils.py::test_matches_filename_for_excluding_dotfiles PASSED [ 94%] tests/unit/test_utils.py::test_stdin_get_value_crlf PASSED [ 94%] tests/unit/test_utils.py::test_stdin_unknown_coding_token PASSED [ 94%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1-False] PASSED [ 94%] tests/unit/test_violation.py::test_is_inline_ignored[E121-a = 1 # noqa: E111-False] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[E121-a = 1 # noqa: E111,W123,F821-False] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa: E111,W123,F821-True] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa: E111,W123,F821-True] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa: E111, W123,F821-True] PASSED [ 95%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa: E11,W123,F821-True] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[E121-a = 1 # noqa:E111,W123,F821-False] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa:E111,W123,F821-True] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa:E111,W123,F821-True] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[W123-a = 1 # noqa:E111, W123,F821-True] PASSED [ 96%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa:E11,W123,F821-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa, analysis:ignore-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa analysis:ignore-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa - We do not care-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa: We do not care-True] PASSED [ 97%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa:We do not care-True] PASSED [ 98%] tests/unit/test_violation.py::test_is_inline_ignored[ABC123-a = 1 # noqa: ABC123-True] PASSED [ 98%] tests/unit/test_violation.py::test_is_inline_ignored[E111-a = 1 # noqa: ABC123-False] PASSED [ 98%] tests/unit/test_violation.py::test_is_inline_ignored[ABC123-a = 1 # noqa: ABC124-False] PASSED [ 98%] tests/unit/test_violation.py::test_disable_is_inline_ignored PASSED [ 98%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-10-diff0-True] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-1-diff1-True] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-10-diff2-False] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-1-diff3-False] PASSED [ 99%] tests/unit/test_violation.py::test_violation_is_in_diff[file.py-10-diff4-False] PASSED [100%] ============================= 481 passed in 1.86s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-flake8-4.0.1-3.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kWpZq4 + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/share/doc/python3-flake8 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/share/doc/python3-flake8 + cp -pr README.rst /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/share/doc/python3-flake8 + cp -pr CONTRIBUTORS.txt /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch/usr/share/doc/python3-flake8 + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-flake8 = 4.0.1-3.oc9 python3-flake8 = 4.0.1-3.oc9 python3.10-flake8 = 4.0.1-3.oc9 python3.10dist(flake8) = 4.0.1 python3dist(flake8) = 4.0.1 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: (python3.10dist(mccabe) < 0.7~~ with python3.10dist(mccabe) >= 0.6) (python3.10dist(pycodestyle) < 2.9~~ with python3.10dist(pycodestyle) >= 2.8) (python3.10dist(pyflakes) < 2.5~~ with python3.10dist(pyflakes) >= 2.4) /usr/bin/python3 python(abi) = 3.10 Obsoletes: python3.10-flake8 < 4.0.1-3.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-flake8-4.0.1-3.oc9.noarch Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.oc9.src.rpm Wrote: /builddir/build/RPMS/python3-flake8-4.0.1-3.oc9.noarch.rpm Child return code was: 0