Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tracer.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_4/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tracer.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Wrote: /builddir/build/SRPMS/tracer-0.7.5-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tracer.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_4/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tracer.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8vo4e2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tracer-0.7.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/tracer-0.7.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tracer-0.7.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '1s|^#!.*$|#!/usr/bin/python3|' bin/tracer.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dRoOnp + umask 022 + cd /builddir/build/BUILD + cd tracer-0.7.5 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib64/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running build running build_py creating build/lib creating build/lib/tracer copying tracer/__init__.py -> build/lib/tracer copying tracer/hooks.py -> build/lib/tracer copying tracer/main.py -> build/lib/tracer copying tracer/paths.py -> build/lib/tracer copying tracer/query.py -> build/lib/tracer copying tracer/version.py -> build/lib/tracer creating build/lib/tracer/controllers copying tracer/controllers/__init__.py -> build/lib/tracer/controllers copying tracer/controllers/default.py -> build/lib/tracer/controllers copying tracer/controllers/helper.py -> build/lib/tracer/controllers copying tracer/controllers/resource.py -> build/lib/tracer/controllers creating build/lib/tracer/packageManagers copying tracer/packageManagers/__init__.py -> build/lib/tracer/packageManagers copying tracer/packageManagers/alpm.py -> build/lib/tracer/packageManagers copying tracer/packageManagers/dnf.py -> build/lib/tracer/packageManagers copying tracer/packageManagers/dpkg.py -> build/lib/tracer/packageManagers copying tracer/packageManagers/ipackageManager.py -> build/lib/tracer/packageManagers copying tracer/packageManagers/portage.py -> build/lib/tracer/packageManagers copying tracer/packageManagers/rpm.py -> build/lib/tracer/packageManagers copying tracer/packageManagers/yum.py -> build/lib/tracer/packageManagers creating build/lib/tracer/resources copying tracer/resources/FilenameCleaner.py -> build/lib/tracer/resources copying tracer/resources/PackageManager.py -> build/lib/tracer/resources copying tracer/resources/SystemdDbus.py -> build/lib/tracer/resources copying tracer/resources/__init__.py -> build/lib/tracer/resources copying tracer/resources/applications.py -> build/lib/tracer/resources copying tracer/resources/args_parser.py -> build/lib/tracer/resources copying tracer/resources/collections.py -> build/lib/tracer/resources copying tracer/resources/exceptions.py -> build/lib/tracer/resources copying tracer/resources/lang.py -> build/lib/tracer/resources copying tracer/resources/memory.py -> build/lib/tracer/resources copying tracer/resources/package.py -> build/lib/tracer/resources copying tracer/resources/processes.py -> build/lib/tracer/resources copying tracer/resources/pycomp.py -> build/lib/tracer/resources copying tracer/resources/router.py -> build/lib/tracer/resources copying tracer/resources/rules.py -> build/lib/tracer/resources copying tracer/resources/system.py -> build/lib/tracer/resources copying tracer/resources/tracer.py -> build/lib/tracer/resources creating build/lib/tracer/views copying tracer/views/__init__.py -> build/lib/tracer/views copying tracer/views/blocks.py -> build/lib/tracer/views copying tracer/views/default.py -> build/lib/tracer/views copying tracer/views/helper.py -> build/lib/tracer/views copying tracer/views/interactive.py -> build/lib/tracer/views copying tracer/views/note_for_hidden.py -> build/lib/tracer/views creating build/lib/tracer/views/resource copying tracer/views/resource/__init__.py -> build/lib/tracer/views/resource copying tracer/views/resource/applications.py -> build/lib/tracer/views/resource copying tracer/views/resource/packages.py -> build/lib/tracer/views/resource copying tracer/views/resource/processes.py -> build/lib/tracer/views/resource copying tracer/views/resource/rules.py -> build/lib/tracer/views/resource copying tracer/views/resource/system.py -> build/lib/tracer/views/resource creating build/lib/data copying data/__init__.py -> build/lib/data copying data/applications.xml -> build/lib/data copying data/rules.xml -> build/lib/data running build_scripts creating build/scripts-3.9 copying and adjusting build/tracer -> build/scripts-3.9 changing mode of build/scripts-3.9/tracer from 644 to 755 + make -j8 man make --directory=doc man make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/tracer-0.7.5/doc' sphinx-build -b man -d build/doctrees source build/man Running Sphinx v3.4.3 making output directory... done building [mo]: targets for 0 po files that are out of date building [man]: all manpages updating environment: [new config] 6 added, 0 changed, 0 removed reading sources... [ 16%] api reading sources... [ 33%] developer-guide reading sources... [ 50%] get-tracer reading sources... [ 66%] index reading sources... [ 83%] manpage reading sources... [100%] user-guide looking for now-outdated files... none found pickling environment... done checking consistency... done writing... tracer.8 { } done build succeeded. The manual pages are in build/man. Build finished. The manual pages are in build/man. make[1]: Leaving directory '/builddir/build/BUILD/tracer-0.7.5/doc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DWG6Zs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64 + cd tracer-0.7.5 + mkdir -p /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/tracer/ + cp -a data/README.md data/__init__.py data/applications.xml data/rules.xml /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/tracer/ + mkdir -p /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/lib/python3.9/site-packages/tracer/ + cp -ar tracer/__init__.py tracer/__pycache__ tracer/controllers tracer/hooks.py tracer/main.py tracer/packageManagers tracer/paths.py tracer/query.py tracer/resources tracer/version.py tracer/views tests /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/lib/python3.9/site-packages/tracer/ + install -Dpm0755 bin/tracer.py /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/bin/tracer + install -Dpm0644 doc/build/man/tracer.8 /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/man/man8/tracer.8 + mkdir -p /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/etc/bash_completion.d + install -pm 644 scripts/tracer.bash_completion /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/etc/bash_completion.d/tracer + make DESTDIR=/builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share mo mkdir -p /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/locale/cs/LC_MESSAGES/ msgcat po/cs.po | msgfmt -o /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/locale/cs/LC_MESSAGES/tracer.mo - + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64 tracer + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.7.5-4.el9 --unique-debug-suffix -0.7.5-4.el9.x86_64 --unique-debug-src-base tracer-0.7.5-4.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/tracer-0.7.5 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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Vo3t6S + umask 022 + cd /builddir/build/BUILD + cd tracer-0.7.5 + python3 -m pytest -v tests ============================= test session starts ============================== platform linux -- Python 3.9.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/tracer-0.7.5 collecting ... collected 73 items tests/test_FilenameCleaner.py::TestFilenameCleaner::test_strip PASSED [ 1%] tests/test_alpm.py::TestAlpm::test_implements_package_manager_interface SKIPPED [ 2%] tests/test_alpm.py::TestAlpm::test_load_package_info SKIPPED (Skippi...) [ 4%] tests/test_alpm.py::TestAlpm::test_package_files_implemented SKIPPED [ 5%] tests/test_alpm.py::TestAlpm::test_package_newer_than_implemented SKIPPED [ 6%] tests/test_alpm.py::TestAlpm::test_provided_by SKIPPED (Skipping tes...) [ 8%] tests/test_applications.py::TestApplications::test_app_with_no_definition PASSED [ 9%] tests/test_applications.py::TestApplications::test_application_processes PASSED [ 10%] tests/test_applications.py::TestApplications::test_apps_attributes PASSED [ 12%] tests/test_applications.py::TestApplications::test_apps_duplicity PASSED [ 13%] tests/test_applications.py::TestApplications::test_apps_types PASSED [ 15%] tests/test_applications.py::TestApplications::test_contains_formating PASSED [ 16%] tests/test_applications.py::TestApplications::test_contains_name PASSED [ 17%] tests/test_applications.py::TestApplications::test_helper_contains_when_none PASSED [ 19%] tests/test_applications.py::TestApplications::test_load PASSED [ 20%] tests/test_applications.py::TestApplications::test_representations PASSED [ 21%] tests/test_collections.py::TestCollections::test_applications_sorted PASSED [ 23%] tests/test_collections.py::TestCollections::test_packages_intersection PASSED [ 24%] tests/test_collections.py::TestCollections::test_processes_none_user PASSED [ 26%] tests/test_collections.py::TestCollections::test_processes_types PASSED [ 27%] tests/test_collections.py::TestCollections::test_processes_update SKIPPED [ 28%] tests/test_collections.py::TestCollections::test_replace_values PASSED [ 30%] tests/test_dnf.py::TestDnf::test_implements_package_manager_interface SKIPPED [ 31%] tests/test_dnf.py::TestDnf::test_load_package_info SKIPPED (Skipping...) [ 32%] tests/test_dnf.py::TestDnf::test_package_files_implemented SKIPPED (...) [ 34%] tests/test_dnf.py::TestDnf::test_package_newer_than_implemented SKIPPED [ 35%] tests/test_dnf.py::TestDnf::test_provided_by SKIPPED (Skipping tests...) [ 36%] tests/test_dpkg.py::TestDpkg::test_implements_package_manager_interface SKIPPED [ 38%] tests/test_dpkg.py::TestDpkg::test_load_package_info SKIPPED (Skippi...) [ 39%] tests/test_dpkg.py::TestDpkg::test_package_files_implemented SKIPPED [ 41%] tests/test_dpkg.py::TestDpkg::test_package_newer_than_implemented SKIPPED [ 42%] tests/test_dpkg.py::TestDpkg::test_provided_by SKIPPED (Skipping tes...) [ 43%] tests/test_hooks.py::TestHooks::test_hook PASSED [ 45%] tests/test_hooks.py::TestHooks::test_hooks_list PASSED [ 46%] tests/test_hooks.py::TestHooks::test_undefined_hook PASSED [ 47%] tests/test_lang.py::TestLang::test_provide_underscore_function PASSED [ 49%] tests/test_package.py::TestPackage::test_equality PASSED [ 50%] tests/test_package.py::TestPackage::test_representation PASSED [ 52%] tests/test_portage.py::TestPortage::test_implements_package_manager_interface SKIPPED [ 53%] tests/test_portage.py::TestPortage::test_load_package_info SKIPPED (...) [ 54%] tests/test_portage.py::TestPortage::test_package_files_implemented SKIPPED [ 56%] tests/test_portage.py::TestPortage::test_package_newer_than_implemented SKIPPED [ 57%] tests/test_portage.py::TestPortage::test_provided_by SKIPPED (Skippi...) [ 58%] tests/test_processes.py::TestProcesses::test_children SKIPPED (@TODO...) [ 60%] tests/test_processes.py::TestProcesses::test_name_sshd PASSED [ 61%] tests/test_processes.py::TestProcesses::test_process_caching SKIPPED [ 63%] tests/test_processes.py::TestProcesses::test_unique_process SKIPPED [ 64%] tests/test_query.py::TestQuery::test_affected_applications PASSED [ 65%] tests/test_rules.py::TestRules::test_app_with_no_rule PASSED [ 67%] tests/test_rules.py::TestRules::test_load PASSED [ 68%] tests/test_rules.py::TestRules::test_representations PASSED [ 69%] tests/test_rules.py::TestRules::test_rules_attributes PASSED [ 71%] tests/test_rules.py::TestRules::test_rules_duplicity PASSED [ 72%] tests/test_rules.py::TestRules::test_rules_types PASSED [ 73%] tests/test_rules.py::TestRules::test_update PASSED [ 75%] tests/test_tracer.py::TestRules::test_trace_affected PASSED [ 76%] tests/test_tracer.py::TestRules::test_trace_application PASSED [ 78%] tests/test_views.py::TestViews::test_default_all PASSED [ 79%] tests/test_views.py::TestViews::test_default_all_session PASSED [ 80%] tests/test_views.py::TestViews::test_default_all_session_static PASSED [ 82%] tests/test_views.py::TestViews::test_default_all_static PASSED [ 83%] tests/test_views.py::TestViews::test_default_none PASSED [ 84%] tests/test_views.py::TestViews::test_default_not_all PASSED [ 86%] tests/test_views.py::TestViews::test_default_note_only PASSED [ 87%] tests/test_views.py::TestViews::test_default_with_helpers PASSED [ 89%] tests/test_views.py::TestViews::test_default_with_without_helpers PASSED [ 90%] tests/test_views.py::TestViews::test_default_without_helpers PASSED [ 91%] tests/test_views.py::TestViews::test_helper PASSED [ 93%] tests/test_yum.py::TestYum::test_implements_package_manager_interface SKIPPED [ 94%] tests/test_yum.py::TestYum::test_load_package_info SKIPPED (Skipping...) [ 95%] tests/test_yum.py::TestYum::test_package_files_implemented SKIPPED (...) [ 97%] tests/test_yum.py::TestYum::test_package_newer_than_implemented SKIPPED [ 98%] tests/test_yum.py::TestYum::test_provided_by SKIPPED (Skipping tests...) [100%] =============================== warnings summary =============================== tracer/hooks.py:20 /builddir/build/BUILD/tracer-0.7.5/tracer/hooks.py:20: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp -- Docs: https://docs.pytest.org/en/stable/warnings.html ================== 44 passed, 29 skipped, 1 warning in 0.31s =================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: tracer-common-0.7.5-4.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.F7I4q9 + umask 022 + cd /builddir/build/BUILD + cd tracer-0.7.5 + DOCDIR=/builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/doc/tracer-common + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/doc/tracer-common + cp -pr README.md /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/doc/tracer-common + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PKD6GG + umask 022 + cd /builddir/build/BUILD + cd tracer-0.7.5 + LICENSEDIR=/builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/licenses/tracer-common + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/licenses/tracer-common + cp -pr LICENSE /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64/usr/share/licenses/tracer-common + RPM_EC=0 ++ jobs -p + exit 0 Provides: tracer-common = 0.7.5-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-tracer-0.7.5-4.el9.noarch Provides: python-tracer = 0.7.5-4.el9 python3-tracer = 0.7.5-4.el9 python3.9-tracer = 0.7.5-4.el9 tracer = 0.7.5-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.9 Obsoletes: python-tracer < 0.7.5-4.el9 tracer <= 0.6.11 Suggests: python3-argcomplete Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64 Wrote: /builddir/build/RPMS/tracer-common-0.7.5-4.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-tracer-0.7.5-4.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cDgroM + umask 022 + cd /builddir/build/BUILD + cd tracer-0.7.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tracer-0.7.5-4.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0