Mock Version: 2.12 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/epel-8-x86_64-1635451013.336536/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5afjhtej:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5afjhtej:/etc/resolv.conf', '--bind=/dev/btrfs-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', '1696e5a0512c4459af46f84ee7d4580c', '-D', '/var/lib/mock/epel-8-x86_64-1635451013.336536/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5afjhtej:/etc/resolv.conf', '--bind=/dev/btrfs-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 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: /usr/bin/python3.9: No such file or directory sh: /usr/bin/python3.9: No such file or directory sh: /usr/bin/python3.9: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-yq-2.12.2-1.el8.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/epel-8-x86_64-1635451013.336536/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5afjhtej:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5afjhtej:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'e97394916b984d5c83ac6091bf68eded', '-D', '/var/lib/mock/epel-8-x86_64-1635451013.336536/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5afjhtej:/etc/resolv.conf', '--bind=/dev/btrfs-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 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zs1mdw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yq-2.12.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/yq-2.12.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yq-2.12.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DZfrPt + umask 022 + cd /builddir/build/BUILD + cd yq-2.12.2 + 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/bin/python3.9 setup.py build '--executable=/usr/bin/python3.9 -s' running build running build_py creating build creating build/lib creating build/lib/yq copying yq/version.py -> build/lib/yq copying yq/parser.py -> build/lib/yq copying yq/loader.py -> build/lib/yq copying yq/dumper.py -> build/lib/yq copying yq/__main__.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.5kzQ1u + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64 + cd yq-2.12.2 + 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/bin/python3.9 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq copying build/lib/yq/__init__.py -> /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq copying build/lib/yq/__main__.py -> /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq copying build/lib/yq/dumper.py -> /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq copying build/lib/yq/loader.py -> /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq copying build/lib/yq/parser.py -> /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq copying build/lib/yq/version.py -> /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq byte-compiling /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq/__main__.py to __main__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq/dumper.py to dumper.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq/loader.py to loader.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq/parser.py to parser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq/version.py to version.cpython-39.pyc writing byte-compilation script '/tmp/tmpa4gpzzbd.py' /usr/bin/python3.9 /tmp/tmpa4gpzzbd.py removing /tmp/tmpa4gpzzbd.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.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages/yq-2.12.2-py3.9.egg-info running install_scripts Installing tomlq script to /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/bin Installing xq script to /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/bin Installing yq script to /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.12.2-1.el8 --unique-debug-suffix -2.12.2-1.el8.x86_64 --unique-debug-src-base python-yq-2.12.2-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/yq-2.12.2 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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.9 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kU0hwu + umask 022 + cd /builddir/build/BUILD + cd yq-2.12.2 + export LANG=en_US.UTF-8 + LANG=en_US.UTF-8 + PYTHONPATH=/builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/lib/python3.9/site-packages + python3.9 test/test.py -v test_abbrev_opt_collisions (__main__.TestYq) ... ok test_datetimes (__main__.TestYq) ... [ "2016-12-20T22:07:36+00:00" ] "2016-12-20" ok test_explicit_doc_markers (__main__.TestYq) ... ok test_in_place (__main__.TestYq) ... /builddir/build/BUILD/yq-2.12.2/yq/__init__.py:131: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp5of_vyly' mode='w' encoding='UTF-8'> yq(input_streams=[input_stream], output_stream=DeferredOutputStream(input_stream.name), **yq_args) ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/yq-2.12.2/yq/__init__.py:131: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp47cf49ts' mode='w' encoding='UTF-8'> yq(input_streams=[input_stream], output_stream=DeferredOutputStream(input_stream.name), **yq_args) ResourceWarning: Enable tracemalloc to get the object allocation traceback jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at , line 1: /tmp/tmp5of_vyly jq: 1 compile error ok test_jq16_arg_passthrough (__main__.TestYq) ... skipped 'Test options introduced in jq 1.6' test_multidocs (__main__.TestYq) ... ok test_roundtrip_yaml (__main__.TestYq) ... ok test_short_option_separation (__main__.TestYq) ... { "a": 1 } {"a":1} ok test_times (__main__.TestYq) Timestamps are parsed as sexagesimals in YAML 1.1 but not 1.2. No PyYAML support for YAML 1.2 yet. See issue 10 ... 40333 expected failure test_tomlq (__main__.TestYq) ... { "foo": { "bar": 1 } } ok test_unrecognized_tags (__main__.TestYq) ... "bar" ok test_xq (__main__.TestYq) ... { "foo": null } ok test_xq_dtd (__main__.TestYq) ... ok test_yq (__main__.TestYq) ... usage: yq [options] [input file...] [jq_filter] [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 --yaml-roundtrip, --yml-roundtrip, -Y Transcode jq JSON output back into YAML and emit it. Preserve YAML tags and styles by representing them as extra items in their enclosing mappings and sequences while in JSON. This option is incompatible with jq filters that do not expect these extra items. --width WIDTH, -w WIDTH When using --yaml-output, specify string wrap width --indentless-lists, --indentless When using --yaml-output, indent block style lists (sequences) with 0 spaces instead of 2 --in-place, -i Edit files in place (no backup - use caution) --version show program's version number and exit 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. usage: yq [options] [input file...] [jq_filter] [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 --yaml-roundtrip, --yml-roundtrip, -Y Transcode jq JSON output back into YAML and emit it. Preserve YAML tags and styles by representing them as extra items in their enclosing mappings and sequences while in JSON. This option is incompatible with jq filters that do not expect these extra items. --width WIDTH, -w WIDTH When using --yaml-output, specify string wrap width --indentless-lists, --indentless When using --yaml-output, indent block style lists (sequences) with 0 spaces instead of 2 --in-place, -i Edit files in place (no backup - use caution) --version show program's version number and exit 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 ok test_yq_arg_handling (__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. {} { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } {} { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } { "yaml_struct": [ { "key_1": "$.*?/|\\^(){}+@[]&_-", "key_2": [ "$.*?/|\\^(){}+@[]&_-", "{ }", "value23" ], "key_3": "value31", "key_4": [ "value41", "value42" ], "key_5": "value51" }, { "key_1_": "value12", "_key_2": [ "value24", "value25" ], "_key__3": "$.*?/|\\^(){}+@[]&_-" } ] } 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. ok test_yq_arg_passthrough (__main__.TestYq) ... {} jq: --indent takes a number between -1 and 7 Use jq --help for help with command-line options, or see the jq manpage, or online docs at https://stedolan.github.io/jq ok test_yq_err (__main__.TestYq) ... /usr/lib64/python3.9/subprocess.py:1052: ResourceWarning: subprocess 270 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback ok ---------------------------------------------------------------------- Ran 17 tests in 0.451s OK (skipped=1, expected failures=1) sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 encoding='UTF-8'> + exit 0 Processing files: python39-yq-2.12.2-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VMV1Gw + umask 022 + cd /builddir/build/BUILD + cd yq-2.12.2 + DOCDIR=/builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/share/doc/python39-yq + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/share/doc/python39-yq + cp -pr README.rst /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/share/doc/python39-yq + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Ohth4w + umask 022 + cd /builddir/build/BUILD + cd yq-2.12.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/share/licenses/python39-yq + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/share/licenses/python39-yq + cp -pr LICENSE /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64/usr/share/licenses/python39-yq + exit 0 error: Couldn't exec /usr/lib/rpm/pythondistdeps.py: No such file or directory error: Couldn't exec /usr/lib/rpm/pythondistdeps.py: No such file or directory Provides: python39-yq = 2.12.2-1.el8 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.9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64 Wrote: /builddir/build/RPMS/python39-yq-2.12.2-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JyDjDt + umask 022 + cd /builddir/build/BUILD + cd yq-2.12.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-yq-2.12.2-1.el8.x86_64 + exit 0 Child return code was: 0