<86>Apr 5 09:58:41 userdel[279867]: delete user 'rooter' <86>Apr 5 09:58:41 groupadd[280039]: group added to /etc/group: name=rooter, GID=648 <86>Apr 5 09:58:41 groupadd[280039]: group added to /etc/gshadow: name=rooter <86>Apr 5 09:58:41 groupadd[280039]: new group: name=rooter, GID=648 <86>Apr 5 09:58:41 useradd[280082]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>Apr 5 09:58:41 userdel[280144]: delete user 'builder' <86>Apr 5 09:58:41 userdel[280144]: removed group 'builder' owned by 'builder' <86>Apr 5 09:58:41 userdel[280144]: removed shadow group 'builder' owned by 'builder' <86>Apr 5 09:58:41 groupadd[280177]: group added to /etc/group: name=builder, GID=649 <86>Apr 5 09:58:41 groupadd[280177]: group added to /etc/gshadow: name=builder <86>Apr 5 09:58:41 groupadd[280177]: new group: name=builder, GID=649 <86>Apr 5 09:58:41 useradd[280185]: new user: name=builder, UID=649, GID=649, home=/usr/src, shell=/bin/bash warning: Macro %python3_build not found warning: Macro %python3_install not found warning: Macro %__python3 not found warning: Macro %python3_sitelibdir not found warning: Macro %python3_sitelibdir not found <13>Apr 5 09:58:45 rpmi: libyaml2-0.2.5-alt1 sisyphus+253672.100.1.1 1592583137 installed <13>Apr 5 09:58:45 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 5 09:58:45 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 5 09:58:45 rpmi: liboniguruma5-6.9.6-alt1 sisyphus+260997.100.1.1 1604554872 installed <13>Apr 5 09:58:45 rpmi: libjq-1.6-alt2 sisyphus+251656.400.3.1 1589448951 installed <13>Apr 5 09:58:45 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 5 09:58:45 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 5 09:58:45 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 5 09:58:45 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 5 09:58:45 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 5 09:58:45 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 5 09:58:45 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 5 09:58:45 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 5 09:58:46 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 5 09:58:46 rpmi: python3-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Apr 5 09:58:47 rpmi: python3-base-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Apr 5 09:58:47 rpmi: libpython3-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Apr 5 09:58:47 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 5 09:58:47 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 5 09:58:47 rpmi: python3-module-argcomplete-1.12.1-alt1 sisyphus+261054.10.4.1 1604587306 installed <13>Apr 5 09:58:47 rpmi: python3-module-toml-0.10.2-alt2 sisyphus+268468.100.2.1 1617010078 installed <13>Apr 5 09:58:47 rpmi: python3-module-xmltodict-0.11.0-alt1.1 sisyphus+227538.1500.1.2 1555969124 installed <13>Apr 5 09:58:47 rpmi: python3-module-yaml-5.4.1-alt1 sisyphus+266616.200.3.3 1614165424 installed <13>Apr 5 09:58:47 rpmi: jq-1.6-alt2 sisyphus+251656.400.3.1 1589448951 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/yq-2.12.0-alt2.nosrc.rpm (w1.gzdio) <13>Apr 5 09:58:52 rpmi: python3-module-pkg_resources-1:54.2.0-alt1 sisyphus+268460.1100.7.1 1617105969 installed <13>Apr 5 09:58:52 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 5 09:58:52 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 5 09:58:52 rpmi: python3-dev-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Apr 5 09:58:52 rpmi: python3-module-setuptools-1:54.2.0-alt1 sisyphus+268460.1100.7.1 1617105969 installed Installing yq-2.12.0-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.30904 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf yq-2.12.0 + echo 'Source #0 (yq-2.12.0.tar):' Source #0 (yq-2.12.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/yq-2.12.0.tar + cd yq-2.12.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.96854 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd yq-2.12.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build 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 creating yq.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 writing manifest file 'yq.egg-info/SOURCES.txt' reading manifest file 'yq.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'yq.egg-info/SOURCES.txt' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.96854 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/yq-buildroot + : + /bin/rm -rf -- /usr/src/tmp/yq-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd yq-2.12.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/yq-buildroot --force running install running install_lib creating /usr/src/tmp/yq-buildroot creating /usr/src/tmp/yq-buildroot/usr creating /usr/src/tmp/yq-buildroot/usr/lib creating /usr/src/tmp/yq-buildroot/usr/lib/python3 creating /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq copying build/lib/yq/__init__.py -> /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq copying build/lib/yq/__main__.py -> /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq copying build/lib/yq/dumper.py -> /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq copying build/lib/yq/loader.py -> /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq copying build/lib/yq/parser.py -> /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq copying build/lib/yq/version.py -> /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq byte-compiling /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__main__.py to __main__.cpython-39.pyc byte-compiling /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/dumper.py to dumper.cpython-39.pyc byte-compiling /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/loader.py to loader.cpython-39.pyc byte-compiling /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/parser.py to parser.cpython-39.pyc byte-compiling /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/version.py to version.cpython-39.pyc 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 /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info running install_scripts Installing tomlq script to /usr/src/tmp/yq-buildroot/usr/bin Installing xq script to /usr/src/tmp/yq-buildroot/usr/bin Installing yq script to /usr/src/tmp/yq-buildroot/usr/bin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/yq-buildroot (auto) Verifying and fixing files in /usr/src/tmp/yq-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/yq-buildroot/ (default) Compressing files in /usr/src/tmp/yq-buildroot (auto) Adjusting library links in /usr/src/tmp/yq-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/yq-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/yq-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/yq-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/yq-buildroot using /usr/bin/python3 unlink /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.pyc unlink /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.pyc unlink /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.pyc unlink /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.pyc unlink /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.pyc compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__main__.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/dumper.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/loader.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/parser.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/version.py Bytecompiling python3 modules with optimization in /usr/src/tmp/yq-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__main__.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/dumper.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/loader.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/parser.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/version.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/yq-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__main__.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/dumper.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/loader.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/parser.py compile /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/version.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.pyc' './usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.pyc' './usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.pyc' './usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.pyc' './usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.pyc' './usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-39.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.70273 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd yq-2.12.0 + sed -i '/expect_exit_codes=.* sys.stdin.isatt/d' ./test/test.py + /usr/bin/python3 ./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) ... /usr/src/RPM/BUILD/yq-2.12.0/yq/__init__.py:127: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/src/tmp/tmpsl50hv01' 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 /usr/src/RPM/BUILD/yq-2.12.0/yq/__init__.py:127: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/src/tmp/tmpc7f3iqh4' 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: /usr/src/tmp/tmpsl50hv01 jq: 1 compile error ok test_jq16_arg_passthrough (__main__.TestYq) ... {} ok 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.6] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] 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 copies jq's input to its output unmodified (except for formatting, but note that IEEE754 is used for number representation internally, with all that that implies). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } 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 ; --rawfile a f set variable $a to a string consisting of the contents of ; --args remaining arguments are string arguments, not files; --jsonargs remaining arguments are JSON arguments, not files; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. 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.6] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] 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 copies jq's input to its output unmodified (except for formatting, but note that IEEE754 is used for number representation internally, with all that that implies). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } 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 ; --rawfile a f set variable $a to a string consisting of the contents of ; --args remaining arguments are string arguments, not files; --jsonargs remaining arguments are JSON arguments, not files; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. See the manpage for more options. {} 3 1 ok test_yq_arg_handling (__main__.TestYq) ... {} { "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.6] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] 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 copies jq's input to its output unmodified (except for formatting, but note that IEEE754 is used for number representation internally, with all that that implies). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } 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 ; --rawfile a f set variable $a to a string consisting of the contents of ; --args remaining arguments are string arguments, not files; --jsonargs remaining arguments are JSON arguments, not files; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. See the manpage for more options. jq - commandline JSON processor [version 1.6] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] 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 copies jq's input to its output unmodified (except for formatting, but note that IEEE754 is used for number representation internally, with all that that implies). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } 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 ; --rawfile a f set variable $a to a string consisting of the contents of ; --args remaining arguments are string arguments, not files; --jsonargs remaining arguments are JSON arguments, not files; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. See the manpage for more options. jq - commandline JSON processor [version 1.6] Usage: jq [options] [file...] jq [options] --args [strings...] jq [options] --jsonargs [JSON_TEXTS...] 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 copies jq's input to its output unmodified (except for formatting, but note that IEEE754 is used for number representation internally, with all that that implies). For more advanced filters see the jq(1) manpage ("man jq") and/or https://stedolan.github.io/jq Example: $ echo '{"foo": 0}' | jq . { "foo": 0 } 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 ; --rawfile a f set variable $a to a string consisting of the contents of ; --args remaining arguments are string arguments, not files; --jsonargs remaining arguments are JSON arguments, not files; -- terminates argument processing; Named arguments are also available as $ARGS.named[], while positional arguments are available as $ARGS.positional[]. 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/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 356840 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 2.425s OK (expected failures=1) sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 encoding='UTF-8'> + exit 0 Processing files: yq-2.12.0-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hThzj4 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.flGAz1 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types python3.req: /usr/src/tmp/yq-buildroot/usr/bin/tomlq: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/tomlq: line=10 IGNORE (for REQ=slight and deep=8) module=importlib.metadata /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/tomlq: line=13 IGNORE (for REQ=slight and deep=12) module=importlib_metadata /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/tomlq: line=15 IGNORE (for REQ=slight and deep=12) module=pkg_resources python3.req: /usr/src/tmp/yq-buildroot/usr/bin/xq: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/xq: line=10 IGNORE (for REQ=slight and deep=8) module=importlib.metadata /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/xq: line=13 IGNORE (for REQ=slight and deep=12) module=importlib_metadata /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/xq: line=15 IGNORE (for REQ=slight and deep=12) module=pkg_resources python3.req: /usr/src/tmp/yq-buildroot/usr/bin/yq: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/yq: line=10 IGNORE (for REQ=slight and deep=8) module=importlib.metadata /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/yq: line=13 IGNORE (for REQ=slight and deep=12) module=importlib_metadata /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/bin/yq: line=15 IGNORE (for REQ=slight and deep=12) module=pkg_resources python3.req: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=18 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=19 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=164 IGNORE (for REQ=slight and deep=24) module=xmltodict /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=168 IGNORE (for REQ=slight and deep=24) module=toml /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=181 IGNORE (for REQ=slight and deep=20) module=xmltodict /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=200 IGNORE (for REQ=slight and deep=20) module=toml /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=214 IGNORE (for REQ=slight and deep=20) module=xmltodict /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/__init__.py: line=220 IGNORE (for REQ=slight and deep=20) module=toml /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/dumper.py: line=6 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/parser.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/yq-buildroot/usr/lib/python3/site-packages/yq/parser.py: line=5 possible relative import from ., UNIMPLEMENTED Provides: python3(yq), python3(yq.__main__), python3(yq.dumper), python3(yq.loader), python3(yq.parser), python3(yq.version) Requires: jq, python3-module-xmltodict >= 0.11.0, python3-module-toml >= 0.10.0, /usr/bin/python3, /usr/lib/python3/site-packages, python3(__future__) < 0, python3(argcomplete) < 0, python3(argparse) < 0, python3(base64) < 0, python3(collections) < 0, python3(datetime) < 0, python3(hashlib) < 0, python3(json) < 0, python3(re) < 0, python3(subprocess) < 0, python3(yaml) < 0 Wrote: /usr/src/RPM/RPMS/noarch/yq-2.12.0-alt2.noarch.rpm (w2.lzdio) 5.93user 0.52system 0:08.85elapsed 72%CPU (0avgtext+0avgdata 19308maxresident)k 0inputs+0outputs (0major+199319minor)pagefaults 0swaps 12.43user 3.37system 0:24.79elapsed 63%CPU (0avgtext+0avgdata 107136maxresident)k 1152inputs+0outputs (0major+570682minor)pagefaults 0swaps --- yq-2.12.0-alt2.noarch.rpm.repo 2021-02-09 15:38:01.000000000 +0000 +++ yq-2.12.0-alt2.noarch.rpm.hasher 2021-04-05 09:59:04.097573160 +0000 @@ -4,9 +4,9 @@ /usr/lib/python3/site-packages/yq 40755 -/usr/lib/python3/site-packages/yq-2.12.0-py3.8.egg-info 40755 -/usr/lib/python3/site-packages/yq-2.12.0-py3.8.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/yq-2.12.0-py3.8.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/yq-2.12.0-py3.8.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/yq-2.12.0-py3.8.egg-info/entry_points.txt 100644 -/usr/lib/python3/site-packages/yq-2.12.0-py3.8.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/yq-2.12.0-py3.8.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info 40755 +/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info/entry_points.txt 100644 +/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/yq-2.12.0-py3.9.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/yq/__init__.py 100644 @@ -14,20 +14,20 @@ /usr/lib/python3/site-packages/yq/__pycache__ 40755 -/usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-38.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-38.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-38.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-38.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-38.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-38.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-38.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-38.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-38.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-38.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-38.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-38.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-38.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-38.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-38.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/version.cpython-38.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/version.cpython-38.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yq/__pycache__/version.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/__init__.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/__main__.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/dumper.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/loader.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/parser.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yq/__pycache__/version.cpython-39.pyc 100644 /usr/lib/python3/site-packages/yq/dumper.py 100644 @@ -49,3 +49,2 @@ Requires: python3(json) < 0 -Requires: python3(pkg_resources) < 0 Requires: python3(re) < 0