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/python-txws.spec'], chrootPath='/var/lib/mock/dist-an8-infra-build-51459-23565/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-txws.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-txws-0.9.1-20.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-txws.spec'], chrootPath='/var/lib/mock/dist-an8-infra-build-51459-23565/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-txws.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.ZNiTEq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf txWS-0.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/txWS-0.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd txWS-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Drop-vcversioner.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/python-txws-python39.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf txWS.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1q4mvQ + umask 022 + cd /builddir/build/BUILD + cd txWS-0.9.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/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib copying txws.py -> build/lib + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nOiOik + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch ++ dirname /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch + cd txWS-0.9.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/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch/usr creating /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch/usr/lib/python3.6/site-packages copying build/lib/txws.py -> /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch/usr/lib/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch/usr/lib/python3.6/site-packages/txws.py to txws.cpython-36.pyc writing byte-compilation script '/tmp/tmppv67nifx.py' /usr/libexec/platform-python /tmp/tmppv67nifx.py removing /tmp/tmppv67nifx.py running install_egg_info running egg_info creating txWS.egg-info writing txWS.egg-info/PKG-INFO writing dependency_links to txWS.egg-info/dependency_links.txt writing requirements to txWS.egg-info/requires.txt writing top-level names to txWS.egg-info/top_level.txt writing manifest file 'txWS.egg-info/SOURCES.txt' reading manifest file 'txWS.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'version.txt' writing manifest file 'txWS.egg-info/SOURCES.txt' Copying txWS.egg-info to /builddir/build/BUILDROOT/python-txws-0.9.1-20.an8.noarch/usr/lib/python3.6/site-packages/txWS-0.9.1-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j64 --strict-build-id -m -i --build-id-seed 0.9.1-20.an8 --unique-debug-suffix -0.9.1-20.an8.noarch --unique-debug-src-base python-txws-0.9.1-20.an8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/txWS-0.9.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/python-txws-0.9.1-20.an8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /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.z56thP + umask 022 + cd /builddir/build/BUILD + cd txWS-0.9.1 ++ pwd + PYTHONPATH=/builddir/build/BUILD/txWS-0.9.1 + trial-3.6 tests Traceback (most recent call last): File "/usr/bin/trial-3.6", line 6, in from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'attrs>=17.4.0' distribution was not found and is required by Twisted error: Bad exit status from /var/tmp/rpm-tmp.z56thP (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.z56thP (%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: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-txws.spec