Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jmespath.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/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/python-jmespath.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/python-jmespath-0.9.4-11.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/python-jmespath.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/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/python-jmespath.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.NjAMnL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jmespath-0.9.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/jmespath-0.9.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jmespath-0.9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (nonose.patch): + echo 'Patch #0 (nonose.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/test_compliance.py + rm -rf jmespath.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F4vrs0 + umask 022 + cd /builddir/build/BUILD + cd jmespath-0.9.4 + 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' running build running build_py creating build creating build/lib creating build/lib/jmespath copying jmespath/__init__.py -> build/lib/jmespath copying jmespath/ast.py -> build/lib/jmespath copying jmespath/compat.py -> build/lib/jmespath copying jmespath/exceptions.py -> build/lib/jmespath copying jmespath/functions.py -> build/lib/jmespath copying jmespath/lexer.py -> build/lib/jmespath copying jmespath/parser.py -> build/lib/jmespath copying jmespath/visitor.py -> build/lib/jmespath running build_scripts creating build/scripts-3.9 copying and adjusting bin/jp.py -> build/scripts-3.9 changing mode of build/scripts-3.9/jp.py from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KcF1xj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64 + cd jmespath-0.9.4 + 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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/__init__.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/ast.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/compat.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/exceptions.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/functions.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/lexer.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/parser.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath copying build/lib/jmespath/visitor.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/ast.py to ast.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/compat.py to compat.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/exceptions.py to exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/functions.py to functions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/lexer.py to lexer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/parser.py to parser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath/visitor.py to visitor.cpython-39.pyc /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="? writing byte-compilation script '/tmp/tmprjhneuzn.py' /usr/bin/python3 /tmp/tmprjhneuzn.py /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="? removing /tmp/tmprjhneuzn.py running install_egg_info running egg_info creating jmespath.egg-info writing jmespath.egg-info/PKG-INFO writing dependency_links to jmespath.egg-info/dependency_links.txt writing top-level names to jmespath.egg-info/top_level.txt writing manifest file 'jmespath.egg-info/SOURCES.txt' reading manifest file 'jmespath.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'jmespath.egg-info/SOURCES.txt' Copying jmespath.egg-info to /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages/jmespath-0.9.4-py3.9.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/bin copying build/scripts-3.9/jp.py -> /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/bin/jp.py to 755 + rm -rfv /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.9.4-11.el9 --unique-debug-suffix -0.9.4-11.el9.x86_64 --unique-debug-src-base python-jmespath-0.9.4-11.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/jmespath-0.9.4 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-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9 using python3.9 /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib/python3.9/site-packages/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="? + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MT910c + umask 022 + cd /builddir/build/BUILD + cd jmespath-0.9.4 + 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 ' + PATH=/builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.9.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/jmespath-0.9.4 collected 42 items tests/test_compliance.py x [ 2%] tests/test_parser.py ......................................... [100%] =============================== warnings summary =============================== jmespath/visitor.py:32 jmespath/visitor.py:32 /builddir/build/BUILD/jmespath-0.9.4/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? if x is 0 or x is 1: jmespath/visitor.py:34 jmespath/visitor.py:34 /builddir/build/BUILD/jmespath-0.9.4/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? elif y is 0 or y is 1: jmespath/visitor.py:260 /builddir/build/BUILD/jmespath-0.9.4/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="? if original_result is 0: tests/test_compliance.py:19 tests/test_compliance.py:19: PytestCollectionWarning: yield tests were removed in pytest 4.0 - test_compliance will be ignored def test_compliance(): tests/test_parser.py::TestErrorMessages::test_bad_unicode_string /builddir/build/BUILD/jmespath-0.9.4/tests/test_parser.py:170: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(exceptions.LexerError, error_message): tests/test_parser.py::TestParserCaching::test_compile_lots_of_expressions tests/test_parser.py::TestParserCaching::test_compile_lots_of_expressions /builddir/build/BUILD/jmespath-0.9.4/jmespath/parser.py:492: DeprecationWarning: Sampling from a set deprecated since Python 3.9 and will be removed in a subsequent version. for key in random.sample(self._CACHE.keys(), int(self._MAX_SIZE / 2)): -- Docs: https://docs.pytest.org/en/stable/warnings.html ================== 41 passed, 1 xfailed, 9 warnings in 0.17s =================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-jmespath-0.9.4-11.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vGdtdJ + umask 022 + cd /builddir/build/BUILD + cd jmespath-0.9.4 + DOCDIR=/builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/share/doc/python3-jmespath + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/share/doc/python3-jmespath + cp -pr README.rst /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/share/doc/python3-jmespath + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NG1aRj + umask 022 + cd /builddir/build/BUILD + cd jmespath-0.9.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/share/licenses/python3-jmespath + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/share/licenses/python3-jmespath + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64/usr/share/licenses/python3-jmespath + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-jmespath = 0.9.4-11.el9 python3-jmespath = 0.9.4-11.el9 python3.9-jmespath = 0.9.4-11.el9 python3.9dist(jmespath) = 0.9.4 python3dist(jmespath) = 0.9.4 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-jmespath < 0.9.4-11.el9 python2-jmespath < 0.9.4-2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64 Wrote: /builddir/build/RPMS/python3-jmespath-0.9.4-11.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qdJjSw + umask 022 + cd /builddir/build/BUILD + cd jmespath-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-jmespath-0.9.4-11.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0