Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-yq.spec'], chrootPath='/var/lib/mock/1007798-epel-7-x86_64-1566235771.034229/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvy5pp0m:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvy5pp0m:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fd649e25e50a4034bee68153f13966dc', '-D', '/var/lib/mock/1007798-epel-7-x86_64-1566235771.034229/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvy5pp0m:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-yq.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-yq-2.7.2-10.el7.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-yq.spec'], chrootPath='/var/lib/mock/1007798-epel-7-x86_64-1566235771.034229/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvy5pp0m:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvy5pp0m:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ed31aad66c894f47b643f44c97f703dd', '-D', '/var/lib/mock/1007798-epel-7-x86_64-1566235771.034229/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvy5pp0m:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-yq.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jvXZVj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yq-2.7.2 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/yq-2.7.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd yq-2.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tBExdY + umask 022 + cd /builddir/build/BUILD + cd yq-2.7.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py creating build creating build/lib creating build/lib/yq copying yq/version.py -> build/lib/yq copying yq/__init__.py -> build/lib/yq running egg_info writing yq.egg-info/PKG-INFO writing dependency_links to yq.egg-info/dependency_links.txt writing entry points to yq.egg-info/entry_points.txt writing requirements to yq.egg-info/requires.txt writing top-level names to yq.egg-info/top_level.txt reading manifest file 'yq.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'yq.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zbxCCH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64 + cd yq-2.7.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages/yq copying build/lib/yq/__init__.py -> /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages/yq copying build/lib/yq/version.py -> /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages/yq byte-compiling /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages/yq/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages/yq/version.py to version.cpython-36.pyc writing byte-compilation script '/tmp/tmpl8yy6rrl.py' /usr/bin/python3.6 /tmp/tmpl8yy6rrl.py removing /tmp/tmpl8yy6rrl.py running install_egg_info running egg_info writing yq.egg-info/PKG-INFO writing dependency_links to yq.egg-info/dependency_links.txt writing entry points to yq.egg-info/entry_points.txt writing requirements to yq.egg-info/requires.txt writing top-level names to yq.egg-info/top_level.txt reading manifest file 'yq.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'yq.egg-info/SOURCES.txt' Copying yq.egg-info to /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages/yq-2.7.2-py3.6.egg-info running install_scripts Installing xq script to /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/bin Installing yq script to /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/bin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/yq-2.7.2 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.b8ikMs + umask 022 + cd /builddir/build/BUILD + cd yq-2.7.2 + export LANG=en_US.UTF-8 + LANG=en_US.UTF-8 + PYTHONPATH=/builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/lib/python3.6/site-packages + python3 test/test.py -v BUILDSTDERR: test_abbrev_opt_collisions (__main__.TestYq) ... ok test_datetimes (__main__.TestYq) ... [ "2016-12-20T22:07:36" ] "2016-12-20" BUILDSTDERR: ok BUILDSTDERR: test_jq16_arg_passthrough (__main__.TestYq) ... skipped 'Test options introduced in jq 1.6' BUILDSTDERR: test_multidocs (__main__.TestYq) ... ok test_times (__main__.TestYq) ... 40333 BUILDSTDERR: expected failure test_tq (__main__.TestYq) ... {} BUILDSTDERR: ok test_unrecognized_tags (__main__.TestYq) ... "bar" BUILDSTDERR: ok test_xq (__main__.TestYq) ... { "foo": null } BUILDSTDERR: ok BUILDSTDERR: test_xq_dtd (__main__.TestYq) ... ok test_yq (__main__.TestYq) ... jq - commandline JSON processor [version 1.5] Usage: jq [options] [file...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which is the identity filter, copying jq's input to its output unmodified (except for formatting). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Some of the options include: -c compact instead of pretty-printed output; -n use `null` as the single input value; -e set the exit status code based on the output; -s read (slurp) all inputs into an array; apply filter to it; -r output raw strings, not JSON texts; -R read raw strings, not JSON texts; -C colorize JSON; -M monochrome (don't colorize JSON); -S sort keys of objects on output; --tab use tabs for indentation; --arg a v set variable $a to value ; --argjson a v set variable $a to JSON value ; --slurpfile a f set variable $a to an array of JSON texts read from ; See the manpage for more options. jq - commandline JSON processor [version 1.5] Usage: jq [options] [file...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which is the identity filter, copying jq's input to its output unmodified (except for formatting). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Some of the options include: -c compact instead of pretty-printed output; -n use `null` as the single input value; -e set the exit status code based on the output; -s read (slurp) all inputs into an array; apply filter to it; -r output raw strings, not JSON texts; -R read raw strings, not JSON texts; -C colorize JSON; -M monochrome (don't colorize JSON); -S sort keys of objects on output; --tab use tabs for indentation; --arg a v set variable $a to value ; --argjson a v set variable $a to JSON value ; --slurpfile a f set variable $a to an array of JSON texts read from ; See the manpage for more options. jq - commandline JSON processor [version 1.5] Usage: jq [options] [file...] jq is a tool for processing JSON inputs, applying the given filter to its JSON text inputs and producing the filter's results as JSON on standard output. The simplest filter is ., which is the identity filter, copying jq's input to its output unmodified (except for formatting). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Some of the options include: -c compact instead of pretty-printed output; -n use `null` as the single input value; -e set the exit status code based on the output; -s read (slurp) all inputs into an array; apply filter to it; -r output raw strings, not JSON texts; -R read raw strings, not JSON texts; -C colorize JSON; -M monochrome (don't colorize JSON); -S sort keys of objects on output; --tab use tabs for indentation; --arg a v set variable $a to value ; --argjson a v set variable $a to JSON value ; --slurpfile a f set variable $a to an array of JSON texts read from ; See the manpage for more options. {} 3 1 BUILDSTDERR: ok test_yq_arg_passthrough (__main__.TestYq) ... {} BUILDSTDERR: jq: --indent takes a number between -1 and 7 BUILDSTDERR: Use jq --help for help with command-line options, BUILDSTDERR: or see the jq manpage, or online docs at https://stedolan.github.io/jq BUILDSTDERR: /usr/lib64/python3.6/subprocess.py:786: ResourceWarning: subprocess 126 is still running BUILDSTDERR: ResourceWarning, source=self) BUILDSTDERR: ok BUILDSTDERR: test_yq_err (__main__.TestYq) ... /usr/lib64/python3.6/subprocess.py:786: ResourceWarning: subprocess 129 is still running BUILDSTDERR: ResourceWarning, source=self) BUILDSTDERR: ok BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 12 tests in 0.312s BUILDSTDERR: OK (skipped=1, expected failures=1) usage: yq [options] [YAML file...] jq_filter [files [files ...]] yq: Command-line YAML processor - jq wrapper for YAML documents yq transcodes YAML documents to JSON and passes them to jq. See https://github.com/kislyuk/yq for more information. positional arguments: jq_filter files optional arguments: -h, --help show this help message and exit --yaml-output, --yml-output, -y Transcode jq JSON output back into YAML and emit it --width WIDTH, -w WIDTH When using --yaml-output, specify string wrap width --version show program's version number and exit usage: yq [options] [YAML file...] jq_filter [files [files ...]] yq: Command-line YAML processor - jq wrapper for YAML documents yq transcodes YAML documents to JSON and passes them to jq. See https://github.com/kislyuk/yq for more information. positional arguments: jq_filter files optional arguments: -h, --help show this help message and exit --yaml-output, --yml-output, -y Transcode jq JSON output back into YAML and emit it --width WIDTH, -w WIDTH When using --yaml-output, specify string wrap width --version show program's version number and exit usage: yq [options] [YAML file...] jq_filter [files [files ...]] yq: Command-line YAML processor - jq wrapper for YAML documents yq transcodes YAML documents to JSON and passes them to jq. See https://github.com/kislyuk/yq for more information. positional arguments: jq_filter files optional arguments: -h, --help show this help message and exit --yaml-output, --yml-output, -y Transcode jq JSON output back into YAML and emit it --width WIDTH, -w WIDTH When using --yaml-output, specify string wrap width --version show program's version number and exit BUILDSTDERR: sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 encoding='UTF-8'> + exit 0 Processing files: python3-yq-2.7.2-10.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.X496Hf + umask 022 + cd /builddir/build/BUILD + cd yq-2.7.2 + DOCDIR=/builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/share/doc/python3-yq-2.7.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/share/doc/python3-yq-2.7.2 + cp -pr README.rst /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/share/doc/python3-yq-2.7.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1X9LF2 + umask 022 + cd /builddir/build/BUILD + cd yq-2.7.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/share/licenses/python3-yq-2.7.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/share/licenses/python3-yq-2.7.2 + cp -pr LICENSE /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64/usr/share/licenses/python3-yq-2.7.2 + exit 0 Provides: python3-yq = 2.7.2-10.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3.6 python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64 Wrote: /builddir/build/RPMS/python3-yq-2.7.2-10.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JUQFUF + umask 022 + cd /builddir/build/BUILD + cd yq-2.7.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-yq-2.7.2-10.el7.x86_64 + exit 0 Child return code was: 0