.[ "2016-12-20T22:07:36+00:00" ] "2016-12-20" ./usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 1947 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /build/yq/src/yq-2.13.0/test/test.py:55: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 encoding='UTF-8'> self.assertIn(e.code, expect_exit_codes) ResourceWarning: Enable tracemalloc to get the object allocation traceback ../build/yq/src/yq-2.13.0/yq/__init__.py:130: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmpcffuhmir' 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 /build/yq/src/yq-2.13.0/yq/__init__.py:130: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp2vcvtlmo' 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/tmpcffuhmir jq: 1 compile error .{} ...F40333 x{ "foo": { "bar": 1 } } ."bar" .F/usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 2028 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback F/usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 2031 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/fd/3' mode='r' encoding='UTF-8'> outcome.errors.clear() ResourceWarning: Enable tracemalloc to get the object allocation traceback 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 options: -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: /usr/bin/jq [options] [file...] /usr/bin/jq [options] --args [strings...] /usr/bin/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 options: -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: /usr/bin/jq [options] [file...] /usr/bin/jq [options] --args [strings...] /usr/bin/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 .{} { "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: /usr/bin/jq [options] [file...] /usr/bin/jq [options] --args [strings...] /usr/bin/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: /usr/bin/jq [options] [file...] /usr/bin/jq [options] --args [strings...] /usr/bin/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: /usr/bin/jq [options] [file...] /usr/bin/jq [options] --args [strings...] /usr/bin/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. .{} /usr/bin/jq: --indent takes a number between -1 and 7 Use /usr/bin/jq --help for help with command-line options, or see the jq manpage, or online docs at https://stedolan.github.io/jq ./usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 2112 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback . ====================================================================== FAIL: test_short_option_separation (__main__.TestYq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/yq/__init__.py", line 212, in yq import xmltodict ModuleNotFoundError: No module named 'xmltodict' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/test/test.py", line 53, in run_yq cli(args, input_format=input_format) File "/build/yq/src/yq-2.13.0/yq/__init__.py", line 132, in cli yq(**yq_args) SystemExit: yq: Error running jq: ModuleNotFoundError: No module named 'xmltodict'. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/test/test.py", line 132, in test_short_option_separation self.assertEqual(self.run_yq('{"a": 1}', ["-x", "-cC", "."]), "1\n") File "/build/yq/src/yq-2.13.0/test/test.py", line 55, in run_yq self.assertIn(e.code, expect_exit_codes) AssertionError: "yq: Error running jq: ModuleNotFoundError: No module named 'xmltodict'." not found in {0} ====================================================================== FAIL: test_xq (__main__.TestYq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/yq/__init__.py", line 244, in yq import xmltodict ModuleNotFoundError: No module named 'xmltodict' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/test/test.py", line 53, in run_yq cli(args, input_format=input_format) File "/build/yq/src/yq-2.13.0/yq/__init__.py", line 132, in cli yq(**yq_args) SystemExit: yq: Error running jq: ModuleNotFoundError: No module named 'xmltodict'. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/test/test.py", line 205, in test_xq self.assertEqual(self.run_yq("", ["."], input_format="xml"), "") File "/build/yq/src/yq-2.13.0/test/test.py", line 55, in run_yq self.assertIn(e.code, expect_exit_codes) AssertionError: "yq: Error running jq: ModuleNotFoundError: No module named 'xmltodict'." not found in {0} ====================================================================== FAIL: test_xq_dtd (__main__.TestYq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/yq/__init__.py", line 193, in yq import xmltodict ModuleNotFoundError: No module named 'xmltodict' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/test/test.py", line 53, in run_yq cli(args, input_format=input_format) File "/build/yq/src/yq-2.13.0/yq/__init__.py", line 132, in cli yq(**yq_args) SystemExit: yq: Error running jq: ModuleNotFoundError: No module named 'xmltodict'. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/yq/src/yq-2.13.0/test/test.py", line 229, in test_xq_dtd self.assertEqual(self.run_yq("", ["-x", ".a", self.fd_path(tf)], input_format="xml"), File "/build/yq/src/yq-2.13.0/test/test.py", line 55, in run_yq self.assertIn(e.code, expect_exit_codes) AssertionError: "yq: Error running jq: ModuleNotFoundError: No module named 'xmltodict'." not found in {0} ---------------------------------------------------------------------- Ran 18 tests in 13.747s FAILED (failures=3, expected failures=1) sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=5 encoding='UTF-8'> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=7 encoding='UTF-8'> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 encoding='UTF-8'> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 encoding='UTF-8'> ==> ERROR: A failure occurred in check().  Aborting...