Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-augeas.spec'], chrootPath='/var/lib/mock/inferit-9_1-bootstrap-build-1963-1482/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl0en93f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl0en93f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9c8d300fccbb4b49a5a9fcc2d95f47e6', '-D', '/var/lib/mock/inferit-9_1-bootstrap-build-1963-1482/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl0en93f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-augeas.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1678838400 Wrote: /builddir/build/SRPMS/python-augeas-0.5.0-25.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-augeas.spec'], chrootPath='/var/lib/mock/inferit-9_1-bootstrap-build-1963-1482/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl0en93f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl0en93f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '24f9dbfa709f4db39747118b5996b6f9', '-D', '/var/lib/mock/inferit-9_1-bootstrap-build-1963-1482/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fl0en93f:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-augeas.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1678838400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NbJSRj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-augeas-0.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-augeas-0.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-augeas-0.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-test-fix-discovery-of-location.patch):' Patch #1 (0001-test-fix-discovery-of-location.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/test_augeas.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GksmTH + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + 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 -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 -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 copying augeas.py -> build/lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JGuvyS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch ++ dirname /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch + cd python-augeas-0.5.0 + 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 -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/lib creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/lib/python3.9/site-packages copying build/lib/augeas.py -> /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/lib/python3.9/site-packages byte-compiling /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/lib/python3.9/site-packages/augeas.py to augeas.cpython-39.pyc writing byte-compilation script '/tmp/tmplivwpikf.py' /usr/bin/python3 /tmp/tmplivwpikf.py removing /tmp/tmplivwpikf.py running install_egg_info Writing /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/lib/python3.9/site-packages/python_augeas-0.5.0-py3.9.egg-info + rm -rfv /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 0.5.0-25.el9 --unique-debug-suffix -0.5.0-25.el9.noarch --unique-debug-src-base python-augeas-0.5.0-25.el9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/python-augeas-0.5.0 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-augeas-0.5.0-25.el9.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.mmnZ8d + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + pytest-3 ============================= test session starts ============================== platform linux -- Python 3.9.14, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/python-augeas-0.5.0 collected 14 items test/test_augeas.py .............. [100%] =============================== warnings summary =============================== test/test_augeas.py::TestAugeas::test01Get /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:39: DeprecationWarning: Please use assertTrue instead. self.failUnless(a.get("/wrong/path") == None) test/test_augeas.py::TestAugeas::test02Match /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:46: DeprecationWarning: Please use assertTrue instead. self.failUnless(matches) test/test_augeas.py::TestAugeas::test02Match test/test_augeas.py::TestAugeas::test02Match test/test_augeas.py::TestAugeas::test02Match test/test_augeas.py::TestAugeas::test02Match test/test_augeas.py::TestAugeas::test02Match test/test_augeas.py::TestAugeas::test02Match test/test_augeas.py::TestAugeas::test02Match test/test_augeas.py::TestAugeas::test02Match /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:49: DeprecationWarning: Please use assertTrue instead. self.failUnless(a.get(attr) != None) test/test_augeas.py: 16556 warnings /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:60: DeprecationWarning: Please use assertTrue instead. self.failUnless(p != None and attr != None) test/test_augeas.py::TestAugeas::test05Defvar /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:84: DeprecationWarning: Please use assertTrue instead. self.failUnless(matches) test/test_augeas.py::TestAugeas::test05Defvar test/test_augeas.py::TestAugeas::test05Defvar test/test_augeas.py::TestAugeas::test05Defvar test/test_augeas.py::TestAugeas::test05Defvar test/test_augeas.py::TestAugeas::test05Defvar test/test_augeas.py::TestAugeas::test05Defvar test/test_augeas.py::TestAugeas::test05Defvar test/test_augeas.py::TestAugeas::test05Defvar /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:87: DeprecationWarning: Please use assertTrue instead. self.failUnless(a.get(attr) != None) test/test_augeas.py::TestAugeas::test07Setm /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:102: DeprecationWarning: Please use assertTrue instead. self.failUnless(matches) test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:124: DeprecationWarning: Please use assertEqual instead. self.assertEquals(os.path.basename(r[0]), d["f"]) test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:125: DeprecationWarning: Please use assertEqual instead. self.assertEquals(r[1], d["ls"]) test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:126: DeprecationWarning: Please use assertEqual instead. self.assertEquals(r[2], d["le"]) test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:127: DeprecationWarning: Please use assertEqual instead. self.assertEquals(r[3], d["vs"]) test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:128: DeprecationWarning: Please use assertEqual instead. self.assertEquals(r[4], d["ve"]) test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:129: DeprecationWarning: Please use assertEqual instead. self.assertEquals(r[5], d["ss"]) test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span test/test_augeas.py::TestAugeas::test08Span /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:130: DeprecationWarning: Please use assertEqual instead. self.assertEquals(r[6], d["se"]) test/test_augeas.py::TestAugeas::test13AddTransform /builddir/build/BUILD/python-augeas-0.5.0/test/test_augeas.py:211: DeprecationWarning: name is now deprecated in this function r = a.add_transform("Foo", "/tmp/bar", "Faz", "/tmp/baz") -- Docs: https://docs.pytest.org/en/stable/warnings.html ===================== 14 passed, 16612 warnings in 19.21s ====================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-augeas-0.5.0-25.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9U6uKG + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/share/doc/python3-augeas + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/share/doc/python3-augeas + cp -pr AUTHORS /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/share/doc/python3-augeas + cp -pr README.txt /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/share/doc/python3-augeas + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vs4kHB + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/share/licenses/python3-augeas + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/share/licenses/python3-augeas + cp -pr COPYING /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch/usr/share/licenses/python3-augeas + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-augeas = 0.5.0-25.el9 python3-augeas = 0.5.0-25.el9 python3.9-augeas = 0.5.0-25.el9 python3.9dist(python-augeas) = 0.5 python3dist(python-augeas) = 0.5 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 Obsoletes: python-augeas < 0.5.0-25.el9 python39-augeas < 0.5.0-25.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.noarch Wrote: /builddir/build/RPMS/python3-augeas-0.5.0-25.el9.noarch.rpm Child return code was: 0