Mock Version: 1.4.15 Mock Version: 1.4.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pdir2.spec'], chrootPath='/var/lib/mock/f30-build-16124407-1155067/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pdir2.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-pdir2-0.3.1.post2-1.fc30.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-pdir2.spec'], chrootPath='/var/lib/mock/f30-build-16124407-1155067/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-pdir2.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.GJ4yd7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pdir2-0.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pdir2-0.3.1.post2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pdir2-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/remove-environment-markers.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/pytest-compat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b95wRu + umask 022 + cd /builddir/build/BUILD + cd pdir2-0.3.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/pdir copying pdir/__init__.py -> build/lib/pdir copying pdir/attr_category.py -> build/lib/pdir copying pdir/format.py -> build/lib/pdir copying pdir/constants.py -> build/lib/pdir copying pdir/_internal_utils.py -> build/lib/pdir copying pdir/api.py -> build/lib/pdir copying pdir/color.py -> build/lib/pdir copying pdir/configuration.py -> build/lib/pdir running egg_info creating pdir2.egg-info writing pdir2.egg-info/PKG-INFO writing dependency_links to pdir2.egg-info/dependency_links.txt writing top-level names to pdir2.egg-info/top_level.txt writing manifest file 'pdir2.egg-info/SOURCES.txt' reading manifest file 'pdir2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pdir2.egg-info/SOURCES.txt' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kBMUgT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch + cd pdir2-0.3.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr creating /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib creating /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7 creating /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages creating /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/__init__.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/attr_category.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/format.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/constants.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/_internal_utils.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/api.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/color.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir copying build/lib/pdir/configuration.py -> /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/attr_category.py to attr_category.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/format.py to format.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/constants.py to constants.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/_internal_utils.py to _internal_utils.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/api.py to api.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/color.py to color.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir/configuration.py to configuration.cpython-37.pyc writing byte-compilation script '/tmp/tmpy9npdnzw.py' /usr/bin/python3 /tmp/tmpy9npdnzw.py removing /tmp/tmpy9npdnzw.py running install_egg_info running egg_info writing pdir2.egg-info/PKG-INFO writing dependency_links to pdir2.egg-info/dependency_links.txt writing top-level names to pdir2.egg-info/top_level.txt reading manifest file 'pdir2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pdir2.egg-info/SOURCES.txt' Copying pdir2.egg-info to /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages/pdir2-0.3.1.post2-py3.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 0.3.1.post2-1.fc30 --unique-debug-suffix -0.3.1.post2-1.fc30.noarch --unique-debug-src-base python-pdir2-0.3.1.post2-1.fc30.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pdir2-0.3.1 BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Prv6uj + umask 022 + cd /builddir/build/BUILD + cd pdir2-0.3.1 + PYTHONPATH=/builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/lib/python3.7/site-packages + py.test-3.7 --verbose ============================= test session starts ============================== platform linux -- Python 3.7.3, pytest-3.9.3, py-1.7.0, pluggy-0.8.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pdir2-0.3.1, inifile: collecting ... collected 32 items tests/test_buggy_attrs.py::test_dataframe PASSED [ 3%] tests/test_buggy_attrs.py::test_type PASSED [ 6%] tests/test_buggy_attrs.py::test_list PASSED [ 9%] tests/test_buggy_attrs.py::test_descriptor PASSED [ 12%] tests/test_container.py::test_acting_like_a_list PASSED [ 15%] tests/test_container.py::test_acting_like_a_list_when_search PASSED [ 18%] tests/test_container.py::test_attr_order PASSED [ 21%] tests/test_filters.py::test_properties PASSED [ 25%] tests/test_filters.py::test_methods PASSED [ 28%] tests/test_filters.py::test_public PASSED [ 31%] tests/test_filters.py::test_own PASSED [ 34%] tests/test_filters.py::test_chained_filters PASSED [ 37%] tests/test_filters.py::test_order_of_chained_filters PASSED [ 40%] tests/test_filters.py::test_filters_with_search PASSED [ 43%] tests/test_pdir_format.py::test_pdir_module PASSED [ 46%] tests/test_pdir_format.py::test_pdir_object PASSED [ 50%] tests/test_pdir_format.py::test_pdir_class xfail [ 53%] tests/test_pdir_format.py::test_dir_without_argument PASSED [ 56%] tests/test_pdir_format.py::test_slots PASSED [ 59%] tests/test_search.py::test_search_without_argument PASSED [ 62%] tests/test_search.py::test_search_with_argument PASSED [ 65%] tests/test_slots.py::test_not_set PASSED [ 68%] tests/test_slots.py::test_set_derive PASSED [ 71%] tests/test_slots.py::test_set_base PASSED [ 75%] tests/test_z_config.py::test_default_env_without_config PASSED [ 78%] tests/test_z_config.py::test_set_env_without_config PASSED [ 81%] tests/test_z_config.py::test_read_config PASSED [ 84%] tests/test_z_config.py::test_read_config_from_custom_location PASSED [ 87%] tests/test_z_config.py::test_uniform_color PASSED [ 90%] tests/test_z_config.py::test_empty_config PASSED [ 93%] tests/test_z_config.py::test_invalid_config_1 PASSED [ 96%] tests/test_z_config.py::test_invalid_config_2 PASSED [100%] =============================== warnings summary =============================== tests/test_buggy_attrs.py::test_dataframe /usr/lib/python3.7/site-packages/pandas/core/dtypes/inference.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable /usr/lib/python3.7/site-packages/pandas/core/tools/datetimes.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping /builddir/build/BUILD/pdir2-0.3.1/pdir/attr_category.py:81: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working lambda obj: isinstance(obj, collections.Iterator), -- Docs: https://docs.pytest.org/en/latest/warnings.html =============== 31 passed, 1 xfailed, 3 warnings in 1.03 seconds =============== Processing files: python3-pdir2-0.3.1.post2-1.fc30.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6JoepN + exit 0 + umask 022 + cd /builddir/build/BUILD + cd pdir2-0.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/share/doc/python3-pdir2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/share/doc/python3-pdir2 + cp -pr README.md /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/share/doc/python3-pdir2 + cp -pr HISTORY.md /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/share/doc/python3-pdir2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9BHzkh + umask 022 + cd /builddir/build/BUILD + cd pdir2-0.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/share/licenses/python3-pdir2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/share/licenses/python3-pdir2 + cp -pr LICENSE /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch/usr/share/licenses/python3-pdir2 + exit 0 Provides: python3-pdir2 = 0.3.1.post2-1.fc30 python3.7dist(pdir2) = 0.3.1.post2 python3dist(pdir2) = 0.3.1.post2 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: python(abi) = 3.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch Wrote: /builddir/build/RPMS/python3-pdir2-0.3.1.post2-1.fc30.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Cp1BZM + umask 022 + cd /builddir/build/BUILD + cd pdir2-0.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pdir2-0.3.1.post2-1.fc30.noarch + exit 0 Child return code was: 0