Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-rpmautospec.spec'], chrootPath='/var/lib/mock/f34-build-27838577-3728263/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=201600uid=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-rpmautospec.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 setting SOURCE_DATE_EPOCH=1623801600 Wrote: /builddir/build/SRPMS/python-rpmautospec-0.2.3-1.fc34.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-rpmautospec.spec'], chrootPath='/var/lib/mock/f34-build-27838577-3728263/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=201600uid=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-rpmautospec.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 setting SOURCE_DATE_EPOCH=1623801600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PAaSgM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmautospec-0.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpmautospec-0.2.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmautospec-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /koji/d requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.So8Ct9 + umask 022 + cd /builddir/build/BUILD + cd rpmautospec-0.2.3 + 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=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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/rpmautospec copying rpmautospec/__init__.py -> build/lib/rpmautospec copying rpmautospec/misc.py -> build/lib/rpmautospec copying rpmautospec/pkg_history.py -> build/lib/rpmautospec copying rpmautospec/cli.py -> build/lib/rpmautospec running egg_info writing rpmautospec.egg-info/PKG-INFO writing dependency_links to rpmautospec.egg-info/dependency_links.txt writing entry points to rpmautospec.egg-info/entry_points.txt writing requirements to rpmautospec.egg-info/requires.txt writing top-level names to rpmautospec.egg-info/top_level.txt reading manifest file 'rpmautospec.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'rpmautospec' warning: no files found matching '*.conf' under directory 'koji_plugins' warning: manifest_maker: MANIFEST.in, line 10: unknown action 'recursive-excludes' writing manifest file 'rpmautospec.egg-info/SOURCES.txt' creating build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/__init__.py -> build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/changelog.py -> build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/process_distgit.py -> build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/release.py -> build/lib/rpmautospec/subcommands + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WR5veR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch ++ dirname /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch + cd rpmautospec-0.2.3 + 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=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-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-rpmautospec-0.2.3-1.fc34.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr creating /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib creating /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec creating /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/process_distgit.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/changelog.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/release.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/__init__.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/__init__.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/misc.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/pkg_history.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/cli.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands/process_distgit.py to process_distgit.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands/changelog.py to changelog.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands/release.py to release.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/subcommands/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/misc.py to misc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/pkg_history.py to pkg_history.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec/cli.py to cli.cpython-39.pyc writing byte-compilation script '/tmp/tmpv4w0dth2.py' /usr/bin/python3 /tmp/tmpv4w0dth2.py removing /tmp/tmpv4w0dth2.py running install_egg_info running egg_info writing rpmautospec.egg-info/PKG-INFO writing dependency_links to rpmautospec.egg-info/dependency_links.txt writing entry points to rpmautospec.egg-info/entry_points.txt writing requirements to rpmautospec.egg-info/requires.txt writing top-level names to rpmautospec.egg-info/top_level.txt reading manifest file 'rpmautospec.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'rpmautospec' warning: no files found matching '*.conf' under directory 'koji_plugins' warning: manifest_maker: MANIFEST.in, line 10: unknown action 'recursive-excludes' writing manifest file 'rpmautospec.egg-info/SOURCES.txt' Copying rpmautospec.egg-info to /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/python3.9/site-packages/rpmautospec-0.2.3-py3.9.egg-info running install_scripts Installing rpmautospec script to /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/koji-builder-plugins/ + install -m 0644 koji_plugins/rpmautospec_builder.py /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/koji-builder-plugins/ + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=39 + '[' 39 -ge 39 ']' + py39_byte_compile /usr/bin/python3 /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/koji-builder-plugins/ + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/koji-builder-plugins/ + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch -p / /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/koji-builder-plugins/ Listing '/builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/koji-builder-plugins/'... Compiling '/builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/koji-builder-plugins/rpmautospec_builder.py'... + mkdir -p /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/rpm/macros.d + install -m 644 rpm/macros.d/macros.rpmautospec /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/lib/rpm/macros.d/ + /usr/lib/rpm/find-debuginfo.sh -j3 --strict-build-id -m -i --build-id-seed 0.2.3-1.fc34 --unique-debug-suffix -0.2.3-1.fc34.noarch --unique-debug-src-base python-rpmautospec-0.2.3-1.fc34.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpmautospec-0.2.3 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/python-rpmautospec-0.2.3-1.fc34.noarch/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.3SilJf + umask 022 + cd /builddir/build/BUILD + cd rpmautospec-0.2.3 + /usr/bin/python3 -m pytest ============================= test session starts ============================== platform linux -- Python 3.9.5, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/rpmautospec-0.2.3, configfile: setup.cfg plugins: cov-2.11.1 collected 123 items tests/koji_plugins/test_rpmautospec_builder.py ... [ 2%] tests/rpmautospec/test_cli.py . [ 3%] tests/rpmautospec/test_misc.py ....... [ 8%] tests/rpmautospec/test_pkg_history.py .............. [ 20%] tests/rpmautospec/subcommands/test_process_distgit.py .................. [ 34%] ........................................................................ [ 93%] ...... [ 98%] tests/rpmautospec/subcommands/test_release.py .. [100%] =============================== warnings summary =============================== ../../../../usr/lib/python3.9/site-packages/koji/__init__.py:31 /usr/lib/python3.9/site-packages/koji/__init__.py:31: 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 ----------- coverage: platform linux, python 3.9.5-final-0 ----------- Name Stmts Miss Cover ---------------------------------------------------------------- koji_plugins/__init__.py 0 0 100% koji_plugins/rpmautospec_builder.py 11 0 100% rpmautospec/__init__.py 3 0 100% rpmautospec/cli.py 42 16 62% rpmautospec/misc.py 37 0 100% rpmautospec/pkg_history.py 291 48 84% rpmautospec/subcommands/__init__.py 0 0 100% rpmautospec/subcommands/changelog.py 30 16 47% rpmautospec/subcommands/process_distgit.py 55 7 87% rpmautospec/subcommands/release.py 22 1 95% ---------------------------------------------------------------- TOTAL 491 88 82% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml ======================= 123 passed, 1 warning in 51.00s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-rpmautospec-0.2.3-1.fc34.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nFLcsv + umask 022 + cd /builddir/build/BUILD + cd rpmautospec-0.2.3 + DOCDIR=/builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/share/doc/python3-rpmautospec + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/share/doc/python3-rpmautospec + cp -pr README.rst /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/share/doc/python3-rpmautospec + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.C0cJd0 + umask 022 + cd /builddir/build/BUILD + cd rpmautospec-0.2.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/share/licenses/python3-rpmautospec + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/share/licenses/python3-rpmautospec + cp -pr LICENSE /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch/usr/share/licenses/python3-rpmautospec + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-rpmautospec = 0.2.3-1.fc34 python3-rpmautospec = 0.2.3-1.fc34 python3.9-rpmautospec = 0.2.3-1.fc34 python3.9dist(rpmautospec) = 0.2.3 python3dist(rpmautospec) = 0.2.3 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.9 python3.9dist(pygit2) >= 1.2.1 python3.9dist(setuptools) Obsoletes: python-rpmautospec < 0.2.3-1.fc34 Processing files: rpmautospec-0.2.3-1.fc34.noarch Provides: rpmautospec = 0.2.3-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: koji-builder-plugin-rpmautospec-0.2.3-1.fc34.noarch Provides: koji-builder-plugin-rpmautospec = 0.2.3-1.fc34 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 Processing files: rpmautospec-rpm-macros-0.2.3-1.fc34.noarch Provides: rpmautospec-rpm-macros = 0.2.3-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch Wrote: /builddir/build/RPMS/rpmautospec-0.2.3-1.fc34.noarch.rpm Wrote: /builddir/build/RPMS/koji-builder-plugin-rpmautospec-0.2.3-1.fc34.noarch.rpm Wrote: /builddir/build/RPMS/rpmautospec-rpm-macros-0.2.3-1.fc34.noarch.rpm Wrote: /builddir/build/RPMS/python3-rpmautospec-0.2.3-1.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jW0xB3 + umask 022 + cd /builddir/build/BUILD + cd rpmautospec-0.2.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-rpmautospec-0.2.3-1.fc34.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0