Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-brother.spec'], chrootPath='/var/lib/mock/f36-build-29420450-4016404/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-brother.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=1629849600 Wrote: /builddir/build/SRPMS/python-brother-1.0.2-1.fc36.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-brother.spec'], chrootPath='/var/lib/mock/f36-build-29420450-4016404/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-brother.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=1629849600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TU6kf4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf brother-1.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/brother-1.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd brother-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf brother.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FmiY9h + umask 022 + cd /builddir/build/BUILD + cd brother-1.0.2 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/brother copying brother/__init__.py -> build/lib/brother copying brother/const.py -> build/lib/brother running egg_info creating brother.egg-info writing brother.egg-info/PKG-INFO writing dependency_links to brother.egg-info/dependency_links.txt writing requirements to brother.egg-info/requires.txt writing top-level names to brother.egg-info/top_level.txt writing manifest file 'brother.egg-info/SOURCES.txt' reading manifest file 'brother.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'brother.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zN43MJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch ++ dirname /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch + cd brother-1.0.2 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr creating /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib creating /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages/brother copying build/lib/brother/__init__.py -> /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages/brother copying build/lib/brother/const.py -> /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages/brother byte-compiling /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages/brother/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages/brother/const.py to const.cpython-310.pyc writing byte-compilation script '/tmp/tmpziogluxd.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpziogluxd.py removing /tmp/tmpziogluxd.py running install_egg_info running egg_info writing brother.egg-info/PKG-INFO writing dependency_links to brother.egg-info/dependency_links.txt writing requirements to brother.egg-info/requires.txt writing top-level names to brother.egg-info/top_level.txt reading manifest file 'brother.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'brother.egg-info/SOURCES.txt' Copying brother.egg-info to /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages/brother-1.0.2-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j3 --strict-build-id -m -i --build-id-seed 1.0.2-1.fc36 --unique-debug-suffix -1.0.2-1.fc36.noarch --unique-debug-src-base python-brother-1.0.2-1.fc36.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/brother-1.0.2 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BFFwHI + umask 022 + cd /builddir/build/BUILD + cd brother-1.0.2 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + PATH=/builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest -v tests ============================= test session starts ============================== platform linux -- Python 3.10.0rc1, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/brother-1.0.2, configfile: setup.cfg plugins: asyncio-0.14.0, cov-2.12.1, error-for-skips-2.0.2 collecting ... collected 15 items tests/test_init.py::test_hl_l2340dw_model PASSED [ 6%] tests/test_init.py::test_dcp_l3550cdw_model PASSED [ 13%] tests/test_init.py::test_dcp_j132w_model PASSED [ 20%] tests/test_init.py::test_mfc_5490cn_model PASSED [ 26%] tests/test_init.py::test_dcp_l2540dw_model PASSED [ 33%] tests/test_init.py::test_dcp_7070dw_model PASSED [ 40%] tests/test_init.py::test_mfc_j680dw_model PASSED [ 46%] tests/test_init.py::test_dcp_9020cdw_model PASSED [ 53%] tests/test_init.py::test_hl_2270dw_model PASSED [ 60%] tests/test_init.py::test_mfc_t910dw_model PASSED [ 66%] tests/test_init.py::test_invalid_data PASSED [ 73%] tests/test_init.py::test_incomplete_data PASSED [ 80%] tests/test_init.py::test_empty_data PASSED [ 86%] tests/test_init.py::test_invalid_host PASSED [ 93%] tests/test_init.py::test_snmp_error PASSED [100%] -------- coverage: platform linux, python 3.10.0-candidate-1 --------- Name Stmts Miss Cover Missing --------------------------------------------------- brother/__init__.py 173 54 69% 144, 205-206, 225-277, 281-308, 313-318 brother/const.py 80 0 100% --------------------------------------------------- TOTAL 253 54 79% ======================== 15 passed, 8 warnings in 0.43s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-brother-1.0.2-1.fc36.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Z1zyKP + umask 022 + cd /builddir/build/BUILD + cd brother-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/share/doc/python3-brother + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/share/doc/python3-brother + cp -pr README.md /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/share/doc/python3-brother + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vI0dIW + umask 022 + cd /builddir/build/BUILD + cd brother-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/share/licenses/python3-brother + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/share/licenses/python3-brother + cp -pr LICENSE /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch/usr/share/licenses/python3-brother + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-brother = 1.0.2-1.fc36 python3-brother = 1.0.2-1.fc36 python3.10-brother = 1.0.2-1.fc36 python3.10dist(brother) = 1.0.2 python3dist(brother) = 1.0.2 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.10 python3.10dist(pysnmp) Obsoletes: python-brother < 1.0.2-1.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch Wrote: /builddir/build/RPMS/python3-brother-1.0.2-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KWTlCz + umask 022 + cd /builddir/build/BUILD + cd brother-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-brother-1.0.2-1.fc36.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0