Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python2-setuptools.spec'], chrootPath='/var/lib/mock/module-python27-2.7-8020020210324140512-ff983833-build-10335-1822/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1g7ahjpd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1g7ahjpd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '04fd4821e706488e9f21841eab4f7b44', '-D', '/var/lib/mock/module-python27-2.7-8020020210324140512-ff983833-build-10335-1822/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1g7ahjpd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python2-setuptools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python2-setuptools.spec'], chrootPath='/var/lib/mock/module-python27-2.7-8020020210324140512-ff983833-build-10335-1822/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1g7ahjpd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1g7ahjpd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ca61b85748154d24a7e8e182b2e90249', '-D', '/var/lib/mock/module-python27-2.7-8020020210324140512-ff983833-build-10335-1822/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1g7ahjpd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python2-setuptools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nPnTHR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools-39.0.1 + /usr/bin/unzip -qq /builddir/build/SOURCES/setuptools-39.0.1.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools-39.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find setuptools -name '*.py' + xargs sed -i -e '1 {/^#!\//d}' + rm -f setuptools/cli-32.exe setuptools/cli-64.exe setuptools/cli.exe setuptools/gui-32.exe setuptools/gui-64.exe setuptools/gui.exe + rm setuptools/tests/test_integration.py + echo 'Patch #0 (skip-internet-requiring-tests.patch):' Patch #0 (skip-internet-requiring-tests.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setuptools/tests/test_egg_info.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1QQq4W + umask 022 + cd /builddir/build/BUILD + cd setuptools-39.0.1 + export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py bdist_wheel /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running bdist_wheel running build running build_py creating build creating build/lib copying easy_install.py -> build/lib creating build/lib/pkg_resources copying pkg_resources/py31compat.py -> build/lib/pkg_resources copying pkg_resources/__init__.py -> build/lib/pkg_resources creating build/lib/setuptools copying setuptools/version.py -> build/lib/setuptools copying setuptools/py36compat.py -> build/lib/setuptools copying setuptools/ssl_support.py -> build/lib/setuptools copying setuptools/unicode_utils.py -> build/lib/setuptools copying setuptools/monkey.py -> build/lib/setuptools copying setuptools/extension.py -> build/lib/setuptools copying setuptools/wheel.py -> build/lib/setuptools copying setuptools/sandbox.py -> build/lib/setuptools copying setuptools/pep425tags.py -> build/lib/setuptools copying setuptools/py31compat.py -> build/lib/setuptools copying setuptools/build_meta.py -> build/lib/setuptools copying setuptools/depends.py -> build/lib/setuptools copying setuptools/dep_util.py -> build/lib/setuptools copying setuptools/windows_support.py -> build/lib/setuptools copying setuptools/__init__.py -> build/lib/setuptools copying setuptools/archive_util.py -> build/lib/setuptools copying setuptools/package_index.py -> build/lib/setuptools copying setuptools/launch.py -> build/lib/setuptools copying setuptools/site-patch.py -> build/lib/setuptools copying setuptools/glibc.py -> build/lib/setuptools copying setuptools/lib2to3_ex.py -> build/lib/setuptools copying setuptools/config.py -> build/lib/setuptools copying setuptools/msvc.py -> build/lib/setuptools copying setuptools/py33compat.py -> build/lib/setuptools copying setuptools/glob.py -> build/lib/setuptools copying setuptools/dist.py -> build/lib/setuptools copying setuptools/namespaces.py -> build/lib/setuptools copying setuptools/py27compat.py -> build/lib/setuptools creating build/lib/pkg_resources/_vendor copying pkg_resources/_vendor/appdirs.py -> build/lib/pkg_resources/_vendor copying pkg_resources/_vendor/__init__.py -> build/lib/pkg_resources/_vendor copying pkg_resources/_vendor/pyparsing.py -> build/lib/pkg_resources/_vendor copying pkg_resources/_vendor/six.py -> build/lib/pkg_resources/_vendor creating build/lib/pkg_resources/extern copying pkg_resources/extern/__init__.py -> build/lib/pkg_resources/extern creating build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/version.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/utils.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/__about__.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/_structures.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/__init__.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/requirements.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/_compat.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/markers.py -> build/lib/pkg_resources/_vendor/packaging copying pkg_resources/_vendor/packaging/specifiers.py -> build/lib/pkg_resources/_vendor/packaging creating build/lib/setuptools/_vendor copying setuptools/_vendor/__init__.py -> build/lib/setuptools/_vendor copying setuptools/_vendor/pyparsing.py -> build/lib/setuptools/_vendor copying setuptools/_vendor/six.py -> build/lib/setuptools/_vendor creating build/lib/setuptools/extern copying setuptools/extern/__init__.py -> build/lib/setuptools/extern creating build/lib/setuptools/command copying setuptools/command/py36compat.py -> build/lib/setuptools/command copying setuptools/command/dist_info.py -> build/lib/setuptools/command copying setuptools/command/easy_install.py -> build/lib/setuptools/command copying setuptools/command/build_ext.py -> build/lib/setuptools/command copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command copying setuptools/command/register.py -> build/lib/setuptools/command copying setuptools/command/setopt.py -> build/lib/setuptools/command copying setuptools/command/install_lib.py -> build/lib/setuptools/command copying setuptools/command/test.py -> build/lib/setuptools/command copying setuptools/command/__init__.py -> build/lib/setuptools/command copying setuptools/command/install.py -> build/lib/setuptools/command copying setuptools/command/upload.py -> build/lib/setuptools/command copying setuptools/command/alias.py -> build/lib/setuptools/command copying setuptools/command/upload_docs.py -> build/lib/setuptools/command copying setuptools/command/saveopts.py -> build/lib/setuptools/command copying setuptools/command/build_clib.py -> build/lib/setuptools/command copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command copying setuptools/command/develop.py -> build/lib/setuptools/command copying setuptools/command/sdist.py -> build/lib/setuptools/command copying setuptools/command/install_scripts.py -> build/lib/setuptools/command copying setuptools/command/build_py.py -> build/lib/setuptools/command copying setuptools/command/egg_info.py -> build/lib/setuptools/command copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command copying setuptools/command/rotate.py -> build/lib/setuptools/command copying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command creating build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/version.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/utils.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/__about__.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/_structures.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/__init__.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/requirements.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/_compat.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/markers.py -> build/lib/setuptools/_vendor/packaging copying setuptools/_vendor/packaging/specifiers.py -> build/lib/setuptools/_vendor/packaging copying setuptools/script (dev).tmpl -> build/lib/setuptools copying setuptools/script.tmpl -> build/lib/setuptools copying setuptools/command/launcher manifest.xml -> build/lib/setuptools/command installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pkg_resources creating build/bdist.linux-x86_64/wheel/pkg_resources/_vendor creating build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/version.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/utils.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/__about__.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/_structures.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/__init__.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/requirements.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/_compat.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/markers.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/packaging/specifiers.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor/packaging copying build/lib/pkg_resources/_vendor/appdirs.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor copying build/lib/pkg_resources/_vendor/__init__.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor copying build/lib/pkg_resources/_vendor/pyparsing.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor copying build/lib/pkg_resources/_vendor/six.py -> build/bdist.linux-x86_64/wheel/pkg_resources/_vendor copying build/lib/pkg_resources/py31compat.py -> build/bdist.linux-x86_64/wheel/pkg_resources copying build/lib/pkg_resources/__init__.py -> build/bdist.linux-x86_64/wheel/pkg_resources creating build/bdist.linux-x86_64/wheel/pkg_resources/extern copying build/lib/pkg_resources/extern/__init__.py -> build/bdist.linux-x86_64/wheel/pkg_resources/extern copying build/lib/easy_install.py -> build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/setuptools creating build/bdist.linux-x86_64/wheel/setuptools/_vendor creating build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/version.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/utils.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/__about__.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/_structures.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/requirements.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/_compat.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/markers.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/packaging/specifiers.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor/packaging copying build/lib/setuptools/_vendor/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor copying build/lib/setuptools/_vendor/pyparsing.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor copying build/lib/setuptools/_vendor/six.py -> build/bdist.linux-x86_64/wheel/setuptools/_vendor copying build/lib/setuptools/version.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/script.tmpl -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/py36compat.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/ssl_support.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/unicode_utils.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/monkey.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/extension.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/wheel.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/sandbox.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/pep425tags.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/py31compat.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/build_meta.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/depends.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/dep_util.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/windows_support.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/archive_util.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/package_index.py -> build/bdist.linux-x86_64/wheel/setuptools creating build/bdist.linux-x86_64/wheel/setuptools/extern copying build/lib/setuptools/extern/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools/extern copying build/lib/setuptools/launch.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/site-patch.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/glibc.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/lib2to3_ex.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/script (dev).tmpl -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/config.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/msvc.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/py33compat.py -> build/bdist.linux-x86_64/wheel/setuptools creating build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/launcher manifest.xml -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/py36compat.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/dist_info.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/easy_install.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/build_ext.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/register.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/setopt.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/install_lib.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/test.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/install.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/upload.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/alias.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/upload_docs.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/saveopts.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/build_clib.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/develop.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/sdist.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/install_scripts.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/build_py.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/egg_info.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/rotate.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/command/bdist_wininst.py -> build/bdist.linux-x86_64/wheel/setuptools/command copying build/lib/setuptools/glob.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/dist.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/namespaces.py -> build/bdist.linux-x86_64/wheel/setuptools copying build/lib/setuptools/py27compat.py -> build/bdist.linux-x86_64/wheel/setuptools running install_egg_info running egg_info writing requirements to setuptools.egg-info/requires.txt writing setuptools.egg-info/PKG-INFO writing top-level names to setuptools.egg-info/top_level.txt writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt reading manifest file 'setuptools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.exe' under directory 'setuptools' writing manifest file 'setuptools.egg-info/SOURCES.txt' Copying setuptools.egg-info to build/bdist.linux-x86_64/wheel/setuptools-39.0.1-py2.7.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/setuptools-39.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/setuptools-39.0.1/dist/setuptools-39.0.1-py2.py3-none-any.whl' and adding '.' to it adding 'easy_install.py' adding 'pkg_resources/__init__.py' adding 'pkg_resources/py31compat.py' adding 'pkg_resources/_vendor/__init__.py' adding 'pkg_resources/_vendor/appdirs.py' adding 'pkg_resources/_vendor/pyparsing.py' adding 'pkg_resources/_vendor/six.py' adding 'pkg_resources/_vendor/packaging/__about__.py' adding 'pkg_resources/_vendor/packaging/__init__.py' adding 'pkg_resources/_vendor/packaging/_compat.py' adding 'pkg_resources/_vendor/packaging/_structures.py' adding 'pkg_resources/_vendor/packaging/markers.py' adding 'pkg_resources/_vendor/packaging/requirements.py' adding 'pkg_resources/_vendor/packaging/specifiers.py' adding 'pkg_resources/_vendor/packaging/utils.py' adding 'pkg_resources/_vendor/packaging/version.py' adding 'pkg_resources/extern/__init__.py' adding 'setuptools/__init__.py' adding 'setuptools/archive_util.py' adding 'setuptools/build_meta.py' adding 'setuptools/config.py' adding 'setuptools/dep_util.py' adding 'setuptools/depends.py' adding 'setuptools/dist.py' adding 'setuptools/extension.py' adding 'setuptools/glibc.py' adding 'setuptools/glob.py' adding 'setuptools/launch.py' adding 'setuptools/lib2to3_ex.py' adding 'setuptools/monkey.py' adding 'setuptools/msvc.py' adding 'setuptools/namespaces.py' adding 'setuptools/package_index.py' adding 'setuptools/pep425tags.py' adding 'setuptools/py27compat.py' adding 'setuptools/py31compat.py' adding 'setuptools/py33compat.py' adding 'setuptools/py36compat.py' adding 'setuptools/sandbox.py' adding 'setuptools/script (dev).tmpl' adding 'setuptools/script.tmpl' adding 'setuptools/site-patch.py' adding 'setuptools/ssl_support.py' adding 'setuptools/unicode_utils.py' adding 'setuptools/version.py' adding 'setuptools/wheel.py' adding 'setuptools/windows_support.py' adding 'setuptools/_vendor/__init__.py' adding 'setuptools/_vendor/pyparsing.py' adding 'setuptools/_vendor/six.py' adding 'setuptools/_vendor/packaging/__about__.py' adding 'setuptools/_vendor/packaging/__init__.py' adding 'setuptools/_vendor/packaging/_compat.py' adding 'setuptools/_vendor/packaging/_structures.py' adding 'setuptools/_vendor/packaging/markers.py' adding 'setuptools/_vendor/packaging/requirements.py' adding 'setuptools/_vendor/packaging/specifiers.py' adding 'setuptools/_vendor/packaging/utils.py' adding 'setuptools/_vendor/packaging/version.py' adding 'setuptools/command/__init__.py' adding 'setuptools/command/alias.py' adding 'setuptools/command/bdist_egg.py' adding 'setuptools/command/bdist_rpm.py' adding 'setuptools/command/bdist_wininst.py' adding 'setuptools/command/build_clib.py' adding 'setuptools/command/build_ext.py' adding 'setuptools/command/build_py.py' adding 'setuptools/command/develop.py' adding 'setuptools/command/dist_info.py' adding 'setuptools/command/easy_install.py' adding 'setuptools/command/egg_info.py' adding 'setuptools/command/install.py' adding 'setuptools/command/install_egg_info.py' adding 'setuptools/command/install_lib.py' adding 'setuptools/command/install_scripts.py' adding 'setuptools/command/launcher manifest.xml' adding 'setuptools/command/py36compat.py' adding 'setuptools/command/register.py' adding 'setuptools/command/rotate.py' adding 'setuptools/command/saveopts.py' adding 'setuptools/command/sdist.py' adding 'setuptools/command/setopt.py' adding 'setuptools/command/test.py' adding 'setuptools/command/upload.py' adding 'setuptools/command/upload_docs.py' adding 'setuptools/extern/__init__.py' adding 'setuptools-39.0.1.dist-info/LICENSE.txt' adding 'setuptools-39.0.1.dist-info/dependency_links.txt' adding 'setuptools-39.0.1.dist-info/entry_points.txt' adding 'setuptools-39.0.1.dist-info/top_level.txt' adding 'setuptools-39.0.1.dist-info/zip-safe' adding 'setuptools-39.0.1.dist-info/WHEEL' adding 'setuptools-39.0.1.dist-info/METADATA' adding 'setuptools-39.0.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zCBa06 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch ++ dirname /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch + cd setuptools-39.0.1 + export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + pip2.7 install -I dist/setuptools-39.0.1-py2.py3-none-any.whl --root /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch --strip-file-prefix /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch --no-deps Processing ./dist/setuptools-39.0.1-py2.py3-none-any.whl Installing collected packages: setuptools Successfully installed setuptools-39.0.1 + rm /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/bin/easy_install + ln -s easy_install-2.7 /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/bin/easy_install-2 + rm -rf /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/lib/python2.7/site-packages/setuptools/tests + sed -i '/^setuptools\/tests\//d' /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/lib/python2.7/site-packages/setuptools-39.0.1.dist-info/RECORD + find /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/lib/python2.7/site-packages -name '*.exe' + xargs rm -f + rm -r docs/Makefile docs/conf.py docs/_templates docs/_theme + mkdir -p /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/share/python2-wheels + install -p dist/setuptools-39.0.1-py2.py3-none-any.whl -t /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/share/python2-wheels + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 39.0.1-11.module+el8.2.0+10053+f17eaccc --unique-debug-suffix -39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch --unique-debug-src-base python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/setuptools-39.0.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python2-setuptools-39.0.1-11.module+el8.2.0+10053+f17eaccc.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.l8zp8k + umask 022 + cd /builddir/build/BUILD + cd setuptools-39.0.1 + export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + PYTHONDONTWRITEBYTECODE=1 ++ pwd + PYTHONPATH=/builddir/build/BUILD/setuptools-39.0.1 + py.test-2.7 --ignore=setuptools/tests/test_virtualenv.py ============================= test session starts ============================== platform linux2 -- Python 2.7.17, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/setuptools-39.0.1, inifile: pytest.ini collected 428 items / 4 skipped pkg_resources/__init__.py .. [ 0%] pkg_resources/api_tests.txt . [ 0%] pkg_resources/tests/test_find_distributions.py ... [ 1%] pkg_resources/tests/test_markers.py . [ 1%] pkg_resources/tests/test_pkg_resources.py ..... [ 2%] pkg_resources/tests/test_resources.py .................................. [ 10%] ............................................ [ 21%] pkg_resources/tests/test_working_set.py ................................ [ 28%] .. [ 28%] setuptools/namespaces.py . [ 29%] setuptools/package_index.py . [ 29%] setuptools/sandbox.py . [ 29%] setuptools/command/develop.py . [ 29%] setuptools/command/install_lib.py . [ 30%] setuptools/command/py36compat.py . [ 30%] setuptools/tests/test_archive_util.py x [ 30%] setuptools/tests/test_bdist_egg.py .x [ 31%] setuptools/tests/test_build_clib.py . [ 31%] setuptools/tests/test_build_ext.py .. [ 31%] setuptools/tests/test_build_py.py . [ 32%] setuptools/tests/test_config.py ...................... [ 37%] setuptools/tests/test_dep_util.py . [ 37%] setuptools/tests/test_depends.py . [ 37%] setuptools/tests/test_develop.py .s.... [ 39%] setuptools/tests/test_dist.py ........... [ 41%] setuptools/tests/test_dist_info.py .. [ 42%] setuptools/tests/test_easy_install.py ......x........................... [ 50%] ... [ 50%] setuptools/tests/test_egg_info.py ....xx...............x....X......... [ 59%] setuptools/tests/test_find_packages.py ............ [ 61%] setuptools/tests/test_install_scripts.py .s.s [ 62%] setuptools/tests/test_manifest.py ...................................... [ 71%] ............................. [ 78%] setuptools/tests/test_namespaces.py x.. [ 79%] setuptools/tests/test_packageindex.py .................. [ 83%] setuptools/tests/test_sandbox.py .......... [ 85%] setuptools/tests/test_sdist.py ..xxxxXx.. [ 88%] setuptools/tests/test_setuptools.py ......................... [ 93%] setuptools/tests/test_test.py .. [ 94%] setuptools/tests/test_unicode_utils.py . [ 94%] setuptools/tests/test_upload_docs.py .. [ 95%] setuptools/tests/test_wheel.py .....F.FFFFF....FF [ 99%] setuptools/tests/test_windows_wrappers.py sss [100%] =========================== short test summary info ============================ SKIP [1] setuptools/tests/test_windows_wrappers.py:111: Windows only SKIP [1] setuptools/tests/test_windows_wrappers.py:166: Windows only SKIP [1] setuptools/tests/test_install_scripts.py:50: Windows only SKIP [2] /builddir/build/BUILD/setuptools-39.0.1/setuptools/tests/test_build_meta.py:10: could not import 'concurrent.futures' SKIP [1] setuptools/tests/test_windows_wrappers.py:71: Windows only SKIP [1] /builddir/build/BUILD/setuptools-39.0.1/setuptools/tests/test_develop.py:108: TODO: needs a fixture to cause 'develop' to be invoked without mutating environment. SKIP [2] /builddir/build/BUILD/setuptools-39.0.1/setuptools/tests/test_msvc.py:18: could not import 'distutils.msvc9compiler' SKIP [1] setuptools/tests/test_install_scripts.py:77: Windows only XFAIL setuptools/tests/test_archive_util.py::test_unicode_files #710 and #712 XFAIL setuptools/tests/test_bdist_egg.py::Test::()::test_exclude_source_files Byte code disabled XFAIL setuptools/tests/test_easy_install.py::TestEasyInstallTest::()::test_unicode_filename_in_sdist Test fails in this locale XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::()::test_requires[install_requires_deterministic] XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::()::test_requires[install_requires_deterministic_in_setup_cfg] XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::()::test_requires[extras_require_with_marker_in_setup_cfg] XFAIL setuptools/tests/test_namespaces.py::TestNamespaces::()::test_mixed_site_and_non_site Requires importlib.util.module_from_spec XFAIL setuptools/tests/test_sdist.py::TestSdistTest::()::test_manifest_is_written_with_utf8_encoding Test fails in this locale XFAIL setuptools/tests/test_sdist.py::TestSdistTest::()::test_write_manifest_allows_utf8_filenames Test fails in this locale XFAIL setuptools/tests/test_sdist.py::TestSdistTest::()::test_write_manifest_skips_non_utf8_filenames Test runs on Python 3 only XFAIL setuptools/tests/test_sdist.py::TestSdistTest::()::test_manifest_is_read_with_utf8_encoding Test fails in this locale XFAIL setuptools/tests/test_sdist.py::TestSdistTest::()::test_sdist_with_utf8_encoded_filename Test fails in this locale XPASS setuptools/tests/test_egg_info.py::TestEggInfo::()::test_install_requires_unordered_disallowed Test requires an internet connection XPASS setuptools/tests/test_sdist.py::TestSdistTest::()::test_read_manifest_skips_non_utf8_filenames Test runs on Python 3 only =================================== FAILURES =================================== __________________________ test_wheel_install[basic] ___________________________ params = {'file_defs': {'foo': {'__init__.py': ''}}, 'id': 'basic', 'install_tree': 'foo-1.0-py{py_version}.egg/\n|-- EGG-INFO/...EL\n| |-- metadata.json\n| |-- top_level.txt\n|-- foo/\n| |-- __init__.py\n', 'setup_kwargs': {'packages': ['foo']}} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmpKIM1YL/dist/foo-1.0-py2-none-any.whl' install_dir = '/tmp/tmpWurLzz' install_tree = 'foo-1.0-py2.7.egg/\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- top_level.txt\n|-- foo/\n| |-- __init__.py\n' project_name = 'foo', version = '1.0', requires_txt = None def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....__init__.py\n' == 'foo-1.0-py2.7...__init__.py\n' E foo-1.0-py2.7.egg/ E |-- EGG-INFO/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (4 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError ----------------------------- Captured stderr call ----------------------------- warning: build_py: byte-compiling is disabled, skipping. warning: install_lib: byte-compiling is disabled, skipping. ___________________________ test_wheel_install[data] ___________________________ params = {'file_defs': {'data.txt': 'Some data...\n'}, 'id': 'data', 'install_tree': 'foo-1.0-py{py_version}.egg/\n|-- EGG-INFO...n| |-- top_level.txt\n|-- data_dir/\n| |-- data.txt\n', 'setup_kwargs': {'data_files': [('data_dir', ['data.txt'])]}} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmpZxTscS/dist/foo-1.0-py2-none-any.whl' install_dir = '/tmp/tmpn5iyho' install_tree = 'foo-1.0-py2.7.egg/\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- top_level.txt\n|-- data_dir/\n| |-- data.txt\n' project_name = 'foo', version = '1.0', requires_txt = None def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....-- data.txt\n' == 'foo-1.0-py2.7...-- data.txt\n' E foo-1.0-py2.7.egg/ E |-- EGG-INFO/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (4 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError ________________________ test_wheel_install[extension] _________________________ params = {'file_defs': {'extension.c': '#include "Python.h"\n\n#if PY_MAJOR_VERSION >= 3\n\nstatic struct PyModuleDef moduledef...l.txt\n', 'setup_kwargs': {'ext_modules': [setuptools.Extension(**{'sources': ['extension.c'], 'name': 'extension'})]}} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmphRS10r/dist/foo-1.0-cp27-cp27mu-linux_x86_64.whl' install_dir = '/tmp/tmpjjNcA2' install_tree = 'foo-1.0-py2.7-linux-x86_64.egg/\n|-- extension.so\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- top_level.txt\n' project_name = 'foo', version = '1.0', requires_txt = None def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....p_level.txt\n' == 'foo-1.0-py2.7...p_level.txt\n' E Skipping 60 identical leading characters in diff, use -v to show E O/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (2 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError ----------------------------- Captured stderr call ----------------------------- warning: install_lib: byte-compiling is disabled, skipping. __________________________ test_wheel_install[header] __________________________ params = {'file_defs': {'header.h': ''}, 'id': 'header', 'install_tree': 'foo-1.0-py{py_version}.egg/\n|-- header.h\n|-- EGG-IN...n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- top_level.txt\n', 'setup_kwargs': {'headers': ['header.h']}} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmptnjwjl/dist/foo-1.0-py2-none-any.whl' install_dir = '/tmp/tmp3aRmNR' install_tree = 'foo-1.0-py2.7.egg/\n|-- header.h\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- top_level.txt\n' project_name = 'foo', version = '1.0', requires_txt = None def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....p_level.txt\n' == 'foo-1.0-py2.7...p_level.txt\n' E Skipping 43 identical leading characters in diff, use -v to show E O/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (2 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError __________________________ test_wheel_install[script] __________________________ params = {'file_defs': {'script.py': "#/usr/bin/python\nprint('hello world!')\n", 'script.sh': "#/bin/sh\necho 'hello world!'\n...n| |-- scripts/\n| | |-- script.py\n| | |-- script.sh\n', 'setup_kwargs': {'scripts': ['script.py', 'script.sh']}} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmpPo9SJd/dist/foo-1.0-py2-none-any.whl' install_dir = '/tmp/tmppe583i' install_tree = 'foo-1.0-py2.7.egg/\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- top_level.txt\n| |-- scripts/\n| | |-- script.py\n| | |-- script.sh\n' project_name = 'foo', version = '1.0', requires_txt = None def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....- script.sh\n' == 'foo-1.0-py2.7...- script.sh\n' E foo-1.0-py2.7.egg/ E |-- EGG-INFO/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (5 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError ________________________ test_wheel_install[requires1] _________________________ params = {'id': 'requires1', 'install_requires': 'foobar==2.0', 'install_tree': 'foo-1.0-py{py_version}.egg/\n|-- EGG-INFO/\n| ...ORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- requires.txt\n| |-- top_level.txt\n', 'requires_txt': 'foobar==2.0\n'} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmp3aw9hg/dist/foo-1.0-py2-none-any.whl' install_dir = '/tmp/tmp0308LK' install_tree = 'foo-1.0-py2.7.egg/\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- requires.txt\n| |-- top_level.txt\n' project_name = 'foo', version = '1.0', requires_txt = 'foobar==2.0\n' def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....p_level.txt\n' == 'foo-1.0-py2.7...p_level.txt\n' E foo-1.0-py2.7.egg/ E |-- EGG-INFO/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (3 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError ____________________ test_wheel_install[namespace_package] _____________________ params = {'file_defs': {'foo': {'bar': {'__init__.py': ''}}}, 'id': 'namespace_package', 'install_tree': 'foo-1.0-py{py_version...__.py\n| |-- bar/\n| | |-- __init__.py\n', 'setup_kwargs': {'namespace_packages': ['foo'], 'packages': ['foo.bar']}} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmpfEmdbE/dist/foo-1.0-py2-none-any.whl' install_dir = '/tmp/tmpb57oFt' install_tree = 'foo-1.0-py2.7.egg/\n|-- foo-1.0-py2.7-nspkg.pth\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECOR... |-- namespace_packages.txt\n| |-- top_level.txt\n|-- foo/\n| |-- __init__.py\n| |-- bar/\n| | |-- __init__.py\n' project_name = 'foo', version = '1.0', requires_txt = None def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....__init__.py\n' == 'foo-1.0-py2.7...__init__.py\n' E Skipping 58 identical leading characters in diff, use -v to show E O/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (7 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError ----------------------------- Captured stderr call ----------------------------- warning: build_py: byte-compiling is disabled, skipping. warning: install_lib: byte-compiling is disabled, skipping. _____________________ test_wheel_install[data_in_package] ______________________ params = {'file_defs': {'foo': {'__init__.py': '', 'data_dir': {'data.txt': 'Some data...\n'}}}, 'id': 'data_in_package', 'inst...| |-- data.txt\n', 'setup_kwargs': {'data_files': [('foo/data_dir', ['foo/data_dir/data.txt'])], 'packages': ['foo']}} @pytest.mark.parametrize( 'params', WHEEL_INSTALL_TESTS, ids=list(params['id'] for params in WHEEL_INSTALL_TESTS), ) def test_wheel_install(params): project_name = params.get('name', 'foo') version = params.get('version', '1.0') install_requires = params.get('install_requires', []) extras_require = params.get('extras_require', {}) requires_txt = params.get('requires_txt', None) install_tree = params.get('install_tree') file_defs = params.get('file_defs', {}) setup_kwargs = params.get('setup_kwargs', {}) with build_wheel( name=project_name, version=version, install_requires=install_requires, extras_require=extras_require, extra_file_defs=file_defs, **setup_kwargs ) as filename, tempdir() as install_dir: _check_wheel_install(filename, install_dir, install_tree, project_name, > version, requires_txt) setuptools/tests/test_wheel.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/tmp/tmpBCuYXJ/dist/foo-1.0-py2-none-any.whl' install_dir = '/tmp/tmptLlAuP' install_tree = 'foo-1.0-py2.7.egg/\n|-- EGG-INFO/\n| |-- DESCRIPTION.rst\n| |-- PKG-INFO\n| |-- RECORD\n| |-- WHEEL\n| |-- metadata.json\n| |-- top_level.txt\n|-- foo/\n| |-- __init__.py\n| |-- data_dir/\n| | |-- data.txt\n' project_name = 'foo', version = '1.0', requires_txt = None def _check_wheel_install(filename, install_dir, install_tree, project_name, version, requires_txt): w = Wheel(filename) egg_path = os.path.join(install_dir, w.egg_name()) w.install_as_egg(egg_path) if install_tree is not None: install_tree = install_tree.format( py_version=PY_MAJOR, platform=get_platform(), shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO') ) > assert install_tree == tree(install_dir) E AssertionError: assert 'foo-1.0-py2....-- data.txt\n' == 'foo-1.0-py2.7...-- data.txt\n' E foo-1.0-py2.7.egg/ E |-- EGG-INFO/ E - | |-- DESCRIPTION.rst E | |-- PKG-INFO E | |-- RECORD E | |-- WHEEL E - | |-- metadata.json... E E ...Full output truncated (6 lines hidden), use '-vv' to show setuptools/tests/test_wheel.py:127: AssertionError ----------------------------- Captured stderr call ----------------------------- warning: build_py: byte-compiling is disabled, skipping. warning: install_lib: byte-compiling is disabled, skipping. =============================== warnings summary =============================== setuptools/tests/test_easy_install.py::TestPTHFileWriter::()::test_add_from_cwd_site_sets_dirty /builddir/build/BUILD/setuptools-39.0.1/setuptools/command/easy_install.py:1655: UserWarning: Unbuilt egg for Unknown [unknown version] (/builddir/build/BUILD/setuptools-39.0.1) Environment.add(self, dist) setuptools/tests/test_easy_install.py::TestPTHFileWriter::()::test_add_from_site_is_ignored /builddir/build/BUILD/setuptools-39.0.1/setuptools/command/easy_install.py:1655: UserWarning: Unbuilt egg for Unknown [unknown version] (/test/location/does-not-have-to-exist) Environment.add(self, dist) setuptools/tests/test_sandbox.py::TestExceptionSaver::()::test_sandbox_violation_raised_hiding_setuptools /builddir/build/BUILD/setuptools-39.0.1/setuptools/sandbox.py:406: RuntimeWarning: Parent module 'setuptools' not found while handling absolute import from setuptools.sandbox import SandboxViolation -- Docs: http://doc.pytest.org/en/latest/warnings.html 8 failed, 400 passed, 10 skipped, 12 xfailed, 2 xpassed, 3 warnings in 17.08 seconds error: Bad exit status from /var/tmp/rpm-tmp.l8zp8k (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.l8zp8k (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ca61b85748154d24a7e8e182b2e90249 -D /var/lib/mock/module-python27-2.7-8020020210324140512-ff983833-build-10335-1822/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1g7ahjpd:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python2-setuptools.spec