Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 608620 Details for
Bug 707394
app-misc/yq-2.9.2-r1 fails tests: FAIL: test_datetimes (_main_.TestYq)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:yq-2.9.2-r1:20200130-183448.log
app-misc:yq-2.9.2-r1:20200130-183448.log (text/plain), 15.98 KB, created by
Toralf Förster
on 2020-01-30 19:03:02 UTC
(
hide
)
Description:
app-misc:yq-2.9.2-r1:20200130-183448.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-01-30 19:03:02 UTC
Size:
15.98 KB
patch
obsolete
> * Package: app-misc/yq-2.9.2-r1 > * Repository: gentoo > * Maintainer: zmedico@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking yq-2.9.2.tar.gz to /var/tmp/portage/app-misc/yq-2.9.2-r1/work >>>> Source unpacked in /var/tmp/portage/app-misc/yq-2.9.2-r1/work >>>> Preparing source in /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2 ... > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile > * DISTUTILS_USE_SETUPTOOLS value is probably incorrect > * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) > * expected: DISTUTILS_USE_SETUPTOOLS=rdepend >python2.7 setup.py build >running build >running build_py >creating /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python2_7/lib/yq >copying yq/version.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python2_7/lib/yq >copying yq/parser.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python2_7/lib/yq >copying yq/loader.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python2_7/lib/yq >copying yq/dumper.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python2_7/lib/yq >copying yq/compat.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python2_7/lib/yq >copying yq/__init__.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python2_7/lib/yq >running egg_info >writing requirements to yq.egg-info/requires.txt >writing yq.egg-info/PKG-INFO >writing top-level names to yq.egg-info/top_level.txt >writing dependency_links to yq.egg-info/dependency_links.txt >writing entry points to yq.egg-info/entry_points.txt >reading manifest file 'yq.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'yq.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build -j 1 >running build >running build_py >creating /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python3_6/lib/yq >copying yq/version.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python3_6/lib/yq >copying yq/parser.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python3_6/lib/yq >copying yq/loader.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python3_6/lib/yq >copying yq/dumper.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python3_6/lib/yq >copying yq/compat.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python3_6/lib/yq >copying yq/__init__.py -> /var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2-python3_6/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 >Error in setuptools_hg: 'in <string>' requires string as left operand, not bytes >reading manifest file 'yq.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'yq.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: app-misc/yq-2.9.2-r1 > * python2_7: running distutils-r1_run_phase python_test >test_abbrev_opt_collisions (__main__.TestYq) ... skipped u"argparse option abbreviation interferes with opt passthrough, can't be disabled until Python 3.5" >test_datetimes (__main__.TestYq) ... [ > "2016-12-20T22:07:36+00:00" >] >FAIL >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) ... 40333 >expected failure >test_tq (__main__.TestYq) ... {} >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) ... jq - commandline JSON processor [version 1.6] > >Usage: jq [options] <jq filter> [file...] > jq [options] --args <jq filter> [strings...] > jq [options] --jsonargs <jq filter> [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 <v>; > --argjson a v set variable $a to JSON value <v>; > --slurpfile a f set variable $a to an array of JSON texts read from <f>; > --rawfile a f set variable $a to a string consisting of the contents of <f>; > --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] <jq filter> [file...] > jq [options] --args <jq filter> [strings...] > jq [options] --jsonargs <jq filter> [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 <v>; > --argjson a v set variable $a to JSON value <v>; > --slurpfile a f set variable $a to an array of JSON texts read from <f>; > --rawfile a f set variable $a to a string consisting of the contents of <f>; > --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] <jq filter> [file...] > jq [options] --args <jq filter> [strings...] > jq [options] --jsonargs <jq filter> [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 <v>; > --argjson a v set variable $a to JSON value <v>; > --slurpfile a f set variable $a to an array of JSON texts read from <f>; > --rawfile a f set variable $a to a string consisting of the contents of <f>; > --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_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) ... ok > >====================================================================== >FAIL: test_datetimes (__main__.TestYq) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test/test.py", line 119, in test_datetimes > self.assertEqual(self.run_yq("- 2016-12-20T22:07:36Z\n", ["-y", "."]), "- '2016-12-20T22:07:36'\n") >AssertionError: u"- '2016-12-20T22:07:36+00:00'\n" != u"- '2016-12-20T22:07:36'\n" >- - '2016-12-20T22:07:36+00:00' >? ------ >+ - '2016-12-20T22:07:36' > > >---------------------------------------------------------------------- >Ran 14 tests in 2.942s > >FAILED (failures=1, skipped=1, expected failures=1) >usage: yq [options] <jq filter> [YAML file...] > [--indentless-lists] [--version] > 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 > --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 > --version show program's version number and exit > >usage: yq [options] <jq filter> [YAML file...] > [--indentless-lists] [--version] > 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 > --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 > --version show program's version number and exit > >usage: yq [options] <jq filter> [YAML file...] > [--indentless-lists] [--version] > 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 > --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 > --version show program's version number and exit > > * ERROR: app-misc/yq-2.9.2-r1::gentoo failed (test phase): > * tests failed under python2.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2892: Called distutils-r1_src_test > * environment, line 1047: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 442: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2432: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1817: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1815: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 694: Called distutils-r1_run_phase 'python_test' > * environment, line 978: Called python_test > * environment, line 2794: Called die > * The specific snippet of code: > * "${EPYTHON}" test/test.py || die "tests failed under ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=app-misc/yq-2.9.2-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/yq-2.9.2-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:yq-2.9.2-r1:20200130-183448.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/yq-2.9.2-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/yq-2.9.2-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2' > * S: '/var/tmp/portage/app-misc/yq-2.9.2-r1/work/yq-2.9.2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 707394
:
608618
| 608620 |
608622
|
608624
|
608626
|
608628