Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-196779-60841/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.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 Wrote: /builddir/build/SRPMS/python-jsonpatch-1.32-1.an8.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-jsonpatch.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-196779-60841/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jvv2xM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-json-patch-1.32 + /usr/bin/gzip -dc /builddir/build/SOURCES/jsonpatch-1.32.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-json-patch-1.32 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6UMSzP + umask 022 + cd /builddir/build/BUILD + cd python-json-patch-1.32 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' warning: pypandoc module not found, could not convert Markdown to RST running build running build_py creating build creating build/lib copying jsonpatch.py -> build/lib running build_scripts creating build/scripts-3.6 copying and adjusting bin/jsondiff -> build/scripts-3.6 copying and adjusting bin/jsonpatch -> build/scripts-3.6 changing mode of build/scripts-3.6/jsondiff from 644 to 755 changing mode of build/scripts-3.6/jsonpatch from 644 to 755 + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ndZ7fA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64 + cd python-json-patch-1.32 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64 warning: pypandoc module not found, could not convert Markdown to RST running install running install_lib creating /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr creating /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/lib/python3.6/site-packages copying build/lib/jsonpatch.py -> /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/lib/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/lib/python3.6/site-packages/jsonpatch.py to jsonpatch.cpython-36.pyc writing byte-compilation script '/tmp/tmp3l2y1w1k.py' /usr/libexec/platform-python /tmp/tmp3l2y1w1k.py removing /tmp/tmp3l2y1w1k.py running install_egg_info running egg_info creating jsonpatch.egg-info writing jsonpatch.egg-info/PKG-INFO writing dependency_links to jsonpatch.egg-info/dependency_links.txt writing requirements to jsonpatch.egg-info/requires.txt writing top-level names to jsonpatch.egg-info/top_level.txt writing manifest file 'jsonpatch.egg-info/SOURCES.txt' reading manifest file 'jsonpatch.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'jsonpatch.egg-info/SOURCES.txt' Copying jsonpatch.egg-info to /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/lib/python3.6/site-packages/jsonpatch-1.32-py3.6.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin copying build/scripts-3.6/jsondiff -> /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin copying build/scripts-3.6/jsonpatch -> /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin/jsondiff to 755 changing mode of /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin/jsonpatch to 755 + rm /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin/jsondiff + mv /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin/jsonpatch /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin/jsonpatch-3.6 + ln -s ./jsonpatch-3.6 /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin/jsonpatch-3 + ln -s ./jsonpatch-3.6 /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/bin/jsonpatch + /usr/lib/rpm/find-debuginfo.sh -j64 --strict-build-id -m -i --build-id-seed 1.32-1.an8 --unique-debug-suffix -1.32-1.an8.x86_64 --unique-debug-src-base python-jsonpatch-1.32-1.an8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/python-json-patch-1.32 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jsonpatch-1.32-1.an8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Re8Na3 + umask 022 + cd /builddir/build/BUILD + cd python-json-patch-1.32 + /usr/libexec/platform-python tests.py ....................E............................................................................................. ====================================================================== ERROR: test_path_with_null_value (__main__.ApplyPatchTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests.py", line 238, in test_path_with_null_value obj, '[{"op": "add", "path": null, "value": "bar"}]') File "/usr/lib64/python3.6/unittest/case.py", line 750, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib64/python3.6/unittest/case.py", line 195, in handle callable_obj(*args, **kwargs) File "/builddir/build/BUILD/python-json-patch-1.32/jsonpatch.py", line 148, in apply_patch patch = JsonPatch.from_string(patch, pointer_cls=pointer_cls) File "/builddir/build/BUILD/python-json-patch-1.32/jsonpatch.py", line 604, in from_string return cls(patch, pointer_cls=pointer_cls) File "/builddir/build/BUILD/python-json-patch-1.32/jsonpatch.py", line 561, in __init__ self._get_operation(op) File "/builddir/build/BUILD/python-json-patch-1.32/jsonpatch.py", line 686, in _get_operation return cls(operation, pointer_cls=self.pointer_cls) File "/builddir/build/BUILD/python-json-patch-1.32/jsonpatch.py", line 193, in __init__ self.pointer = self.pointer_cls(self.location) File "/usr/lib/python3.6/site-packages/jsonpointer.py", line 141, in __init__ parts = pointer.split('/') AttributeError: 'NoneType' object has no attribute 'split' ---------------------------------------------------------------------- Ran 114 tests in 0.017s FAILED (errors=1) error: Bad exit status from /var/tmp/rpm-tmp.Re8Na3 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Re8Na3 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.spec