Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-augeas.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1628553600 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 --target aarch64 --nodeps /builddir/build/SPECS/python-augeas.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7FYIBv + 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 . Patch #1 (0001-test-fix-discovery-of-location.patch): + echo '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.dE1JAB + 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 -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 copying augeas.py -> build/lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tSn6eB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64 + 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 -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-augeas-0.5.0-25.el9.aarch64 running install running install_lib creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr/lib/python3.9/site-packages copying build/lib/augeas.py -> /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr/lib/python3.9/site-packages byte-compiling /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr/lib/python3.9/site-packages/augeas.py to augeas.cpython-39.pyc writing byte-compilation script '/tmp/tmptw0_s24l.py' /usr/bin/python3 /tmp/tmptw0_s24l.py removing /tmp/tmptw0_s24l.py running install_egg_info Writing /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/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.aarch64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.5.0-25.el9 --unique-debug-suffix -0.5.0-25.el9.aarch64 --unique-debug-src-base python-augeas-0.5.0-25.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -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.aarch64/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.PhVxmR + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + pytest-3 ============================= test session starts ============================== platform linux -- Python 3.9.9, 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 12.51s ====================== + 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.zWMKyP + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/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.aarch64/usr/share/doc/python3-augeas + cp -pr AUTHORS /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr/share/doc/python3-augeas + cp -pr README.txt /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/usr/share/doc/python3-augeas + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.q0WGX1 + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/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.aarch64/usr/share/licenses/python3-augeas + cp -pr COPYING /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64/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.aarch64 Wrote: /builddir/build/RPMS/python3-augeas-0.5.0-25.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RNsGHU + umask 022 + cd /builddir/build/BUILD + cd python-augeas-0.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-augeas-0.5.0-25.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0