Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 671170 Details for
Bug 754201
dev-python/black-20.8_beta1: fails test
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 18.54 KB, created by
Thomas Deutschmann (RETIRED)
on 2020-11-12 21:50:29 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Thomas Deutschmann (RETIRED)
Created:
2020-11-12 21:50:29 UTC
Size:
18.54 KB
patch
obsolete
> * Package: dev-python/black-20.8_beta1 > * Repository: gentoo > * Maintainer: chutzpah@gentoo.org > * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU x86 > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking black-20.8b1.tar.gz to /var/tmp/portage/dev-python/black-20.8_beta1/work >>>> Source unpacked in /var/tmp/portage/dev-python/black-20.8_beta1/work >>>> Preparing source in /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1 ... > * Applying black-20.8_beta1-setuptools_scm.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1 ... > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 5 >running build >running build_py >copying src/_black_version.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib >creating /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blackd >copying src/blackd/__init__.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blackd >creating /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black >copying src/black/__main__.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black >copying src/black/__init__.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black >creating /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3 >copying src/blib2to3/pygram.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3 >copying src/blib2to3/__init__.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3 >copying src/blib2to3/pytree.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3 >creating /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/driver.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/grammar.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/tokenize.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/token.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/parse.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/pgen.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/literals.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/conv.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >copying src/blib2to3/pgen2/__init__.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3/pgen2 >package init file 'src/black_primer/__init__.py' not found (or not a regular file) >creating /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black_primer >copying src/black_primer/lib.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black_primer >copying src/black_primer/cli.py -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black_primer >copying src/black/py.typed -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black >copying src/blib2to3/PatternGrammar.txt -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3 >copying src/blib2to3/Grammar.txt -> /var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/blib2to3 >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/black-20.8_beta1 > * python3_7: running distutils-r1_run_phase python_test >test_blackd_diff (tests.test_black.BlackDTestCase) ... /usr/lib/python3.7/site-packages/aiohttp/web_urldispatcher.py:152: DeprecationWarning: Bare functions are deprecated, use async ones > "use async ones", DeprecationWarning) >ok >test_blackd_invalid_line_length (tests.test_black.BlackDTestCase) ... ok >test_blackd_invalid_python_variant (tests.test_black.BlackDTestCase) ... ok >test_blackd_line_length (tests.test_black.BlackDTestCase) ... ok >test_blackd_pyi (tests.test_black.BlackDTestCase) ... ok >test_blackd_python_variant (tests.test_black.BlackDTestCase) ... ok >test_blackd_request_needs_formatting (tests.test_black.BlackDTestCase) ... ok >test_blackd_request_no_change (tests.test_black.BlackDTestCase) ... ok >test_blackd_request_syntax_error (tests.test_black.BlackDTestCase) ... ok >test_blackd_response_black_version_header (tests.test_black.BlackDTestCase) ... ok >test_blackd_supported_version (tests.test_black.BlackDTestCase) ... ok >test_blackd_unsupported_version (tests.test_black.BlackDTestCase) ... ok >test_assertFormatEqual (tests.test_black.BlackTestCase) ... ok >test_assert_equivalent_different_asts (tests.test_black.BlackTestCase) ... ok >test_async_as_identifier (tests.test_black.BlackTestCase) ... ok >test_beginning_backslash (tests.test_black.BlackTestCase) ... ok >test_black (tests.test_black.BlackTestCase) ... ok >test_blackd_main (tests.test_black.BlackTestCase) ... ok >test_bracket_match (tests.test_black.BlackTestCase) ... ok >test_broken_symlink (tests.test_black.BlackTestCase) ... ok >test_cache_broken_file (tests.test_black.BlackTestCase) ... ok >test_cache_multiple_files (tests.test_black.BlackTestCase) ... ok >test_cache_single_file_already_cached (tests.test_black.BlackTestCase) ... ok >test_cantfit (tests.test_black.BlackTestCase) ... ok >test_check_diff_use_together (tests.test_black.BlackTestCase) ... ok >test_collections (tests.test_black.BlackTestCase) ... ok >test_comment_after_escaped_newline (tests.test_black.BlackTestCase) ... ok >test_comments (tests.test_black.BlackTestCase) ... ok >test_comments2 (tests.test_black.BlackTestCase) ... ok >test_comments3 (tests.test_black.BlackTestCase) ... ok >test_comments4 (tests.test_black.BlackTestCase) ... ok >test_comments5 (tests.test_black.BlackTestCase) ... ok >test_comments6 (tests.test_black.BlackTestCase) ... ok >test_comments7 (tests.test_black.BlackTestCase) ... ok >test_composition (tests.test_black.BlackTestCase) ... ok >test_composition_no_trailing_comma (tests.test_black.BlackTestCase) ... ok >test_conv (tests.test_black.BlackTestCase) ... ok >test_debug_visitor (tests.test_black.BlackTestCase) ... ok >test_detect_pos_only_arguments (tests.test_black.BlackTestCase) ... ok >test_docstring (tests.test_black.BlackTestCase) ... ok >test_driver (tests.test_black.BlackTestCase) ... ok >test_empty (tests.test_black.BlackTestCase) ... ok >test_empty_exclude (tests.test_black.BlackTestCase) ... ok >test_empty_ff (tests.test_black.BlackTestCase) ... ok >test_empty_include (tests.test_black.BlackTestCase) ... ok >test_empty_lines (tests.test_black.BlackTestCase) ... ok >test_endmarker (tests.test_black.BlackTestCase) ... ok >test_exclude_for_issue_1572 (tests.test_black.BlackTestCase) ... ok >test_expression (tests.test_black.BlackTestCase) ... ok >test_expression_diff (tests.test_black.BlackTestCase) ... ok >test_expression_diff_with_color (tests.test_black.BlackTestCase) ... ok >test_expression_ff (tests.test_black.BlackTestCase) ... ok >test_failed_formatting_does_not_get_cached (tests.test_black.BlackTestCase) ... ok >test_filter_cached (tests.test_black.BlackTestCase) ... ok >test_find_project_root (tests.test_black.BlackTestCase) ... ok >test_fmtonoff (tests.test_black.BlackTestCase) ... ok >test_fmtonoff2 (tests.test_black.BlackTestCase) ... ok >test_fmtonoff3 (tests.test_black.BlackTestCase) ... ok >test_fmtonoff4 (tests.test_black.BlackTestCase) ... ok >test_format_file_contents (tests.test_black.BlackTestCase) ... ok >test_fstring (tests.test_black.BlackTestCase) ... ok >test_function (tests.test_black.BlackTestCase) ... ok >test_function2 (tests.test_black.BlackTestCase) ... ok >test_function_trailing_comma (tests.test_black.BlackTestCase) ... ok >test_get_features_used (tests.test_black.BlackTestCase) ... ok >test_get_future_imports (tests.test_black.BlackTestCase) ... ok >test_gitignore_exclude (tests.test_black.BlackTestCase) ... ok >test_grammar (tests.test_black.BlackTestCase) ... ok >test_import_spacing (tests.test_black.BlackTestCase) ... ok >test_include_exclude (tests.test_black.BlackTestCase) ... ok >test_invalid_config_return_code (tests.test_black.BlackTestCase) ... ok >test_invalid_include_exclude (tests.test_black.BlackTestCase) ... ok >test_lib2to3_parse (tests.test_black.BlackTestCase) ... ok >test_literals (tests.test_black.BlackTestCase) ... ok >test_long_strings (tests.test_black.BlackTestCase) >Tests for splitting long strings. ... ok >test_long_strings__edge_case (tests.test_black.BlackTestCase) >Edge-case tests for splitting long strings. ... ok >test_long_strings__regression (tests.test_black.BlackTestCase) >Regression tests for splitting long strings. ... ok >test_long_strings_flag_disabled (tests.test_black.BlackTestCase) >Tests for turning off the string processing logic. ... ok >test_multi_file_force_py36 (tests.test_black.BlackTestCase) ... ok >test_multi_file_force_pyi (tests.test_black.BlackTestCase) ... ok >test_new_line_between_class_and_code (tests.test_black.BlackTestCase) ... ok >test_no_cache_when_stdin (tests.test_black.BlackTestCase) ... ok >test_no_cache_when_writeback_diff (tests.test_black.BlackTestCase) ... ok >test_no_files (tests.test_black.BlackTestCase) ... ok >test_numeric_literals (tests.test_black.BlackTestCase) ... ok >test_numeric_literals_ignoring_underscores (tests.test_black.BlackTestCase) ... ok >test_numeric_literals_py2 (tests.test_black.BlackTestCase) ... ok >test_parse (tests.test_black.BlackTestCase) ... ok >test_parse_pyproject_toml (tests.test_black.BlackTestCase) ... ok >test_pep_570 (tests.test_black.BlackTestCase) ... ok >test_pep_572 (tests.test_black.BlackTestCase) ... ok >test_pep_572_version_detection (tests.test_black.BlackTestCase) ... ok >test_percent_precedence (tests.test_black.BlackTestCase) ... ok >test_pgen (tests.test_black.BlackTestCase) ... ok >test_pipe_force_py36 (tests.test_black.BlackTestCase) ... ok >test_pipe_force_pyi (tests.test_black.BlackTestCase) ... ok >test_piping (tests.test_black.BlackTestCase) ... ok >test_piping_diff (tests.test_black.BlackTestCase) ... ok >test_piping_diff_with_color (tests.test_black.BlackTestCase) ... ok >test_preserves_line_endings (tests.test_black.BlackTestCase) ... ok >test_preserves_line_endings_via_stdin (tests.test_black.BlackTestCase) ... ok >test_pygram (tests.test_black.BlackTestCase) ... ok >test_python2 (tests.test_black.BlackTestCase) ... ok >test_python2_print_function (tests.test_black.BlackTestCase) ... ok >test_python2_unicode_literals (tests.test_black.BlackTestCase) ... ok >test_python37 (tests.test_black.BlackTestCase) ... ok >test_python38 (tests.test_black.BlackTestCase) ... ok >test_pytree (tests.test_black.BlackTestCase) ... ok >test_read_cache_line_lengths (tests.test_black.BlackTestCase) ... ok >test_read_cache_no_cachefile (tests.test_black.BlackTestCase) ... ok >test_read_pyproject_toml (tests.test_black.BlackTestCase) ... ok >test_remove_empty_parentheses_after_class (tests.test_black.BlackTestCase) ... ok >test_remove_parens (tests.test_black.BlackTestCase) ... ok >test_report_normal (tests.test_black.BlackTestCase) ... ok >test_report_quiet (tests.test_black.BlackTestCase) ... ok >test_report_verbose (tests.test_black.BlackTestCase) ... ok >test_root_logger_not_used_directly (tests.test_black.BlackTestCase) ... ok >test_self (tests.test_black.BlackTestCase) ... ok >test_setup (tests.test_black.BlackTestCase) ... ok >test_shhh_click (tests.test_black.BlackTestCase) ... ok >test_single_file_force_py36 (tests.test_black.BlackTestCase) ... ok >test_single_file_force_pyi (tests.test_black.BlackTestCase) ... ok >test_slices (tests.test_black.BlackTestCase) ... ok >test_string_prefixes (tests.test_black.BlackTestCase) ... ok >test_string_quotes (tests.test_black.BlackTestCase) ... ok >test_stub (tests.test_black.BlackTestCase) ... ok >test_symlink_out_of_root_directory (tests.test_black.BlackTestCase) ... ok >test_tab_comment_indentation (tests.test_black.BlackTestCase) ... ok >test_token (tests.test_black.BlackTestCase) ... ok >test_tokenize (tests.test_black.BlackTestCase) ... ok >test_trailing_comma_optional_parens_stability1 (tests.test_black.BlackTestCase) ... expected failure >test_trailing_comma_optional_parens_stability2 (tests.test_black.BlackTestCase) ... expected failure >test_trailing_comma_optional_parens_stability3 (tests.test_black.BlackTestCase) ... expected failure >test_tricky_unicode_symbols (tests.test_black.BlackTestCase) ... ok >test_tuple_assign (tests.test_black.BlackTestCase) ... ok >test_works_in_mono_process_only_environment (tests.test_black.BlackTestCase) ... ok >test_write_cache_creates_directory_if_needed (tests.test_black.BlackTestCase) ... ok >test_write_cache_read_cache (tests.test_black.BlackTestCase) ... ok >test_write_cache_write_fail (tests.test_black.BlackTestCase) ... ok >test_async_main (tests.test_primer.PrimerCLITests) ... FAIL >test_handle_debug (tests.test_primer.PrimerCLITests) ... ok >test_help_output (tests.test_primer.PrimerCLITests) ... ok >test_async_main (tests.test_primer.PrimerCLITests) ... FAIL >test_handle_debug (tests.test_primer.PrimerCLITests) ... ok >test_help_output (tests.test_primer.PrimerCLITests) ... ok >test_analyze_results (tests.test_primer.PrimerLibTests) ... ok >test_black_run (tests.test_primer.PrimerLibTests) >Pretend to run Black to ensure we cater for all scenarios ... ok >test_gen_check_output (tests.test_primer.PrimerLibTests) ... ERROR >test_git_checkout_or_rebase (tests.test_primer.PrimerLibTests) ... ok >test_process_queue (tests.test_primer.PrimerLibTests) ... ok > >====================================================================== >ERROR: test_gen_check_output (tests.test_primer.PrimerLibTests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python3.7/contextlib.py", line 74, in inner > return func(*args, **kwds) > File "/var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1/tests/test_primer.py", line 144, in test_gen_check_output > lib._gen_check_output([lib.BLACK_BINARY, "--help"]) > File "/usr/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete > return future.result() > File "/var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1-python3_7/lib/black_primer/lib.py", line 52, in _gen_check_output > cwd=cwd, > File "/usr/lib/python3.7/asyncio/subprocess.py", line 217, in create_subprocess_exec > stderr=stderr, **kwds) > File "/usr/lib/python3.7/asyncio/base_events.py", line 1544, in subprocess_exec > bufsize, **kwargs) > File "/usr/lib/python3.7/asyncio/unix_events.py", line 190, in _make_subprocess_transport > **kwargs) > File "/usr/lib/python3.7/asyncio/base_subprocess.py", line 37, in __init__ > stderr=stderr, bufsize=bufsize, **kwargs) > File "/usr/lib/python3.7/asyncio/unix_events.py", line 775, in _start > universal_newlines=False, bufsize=bufsize, **kwargs) > File "/usr/lib/python3.7/subprocess.py", line 800, in __init__ > restore_signals, start_new_session) > File "/usr/lib/python3.7/subprocess.py", line 1551, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) >FileNotFoundError: [Errno 2] No such file or directory: 'black': 'black' > >====================================================================== >FAIL: test_async_main (tests.test_primer.PrimerCLITests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python3.7/contextlib.py", line 74, in inner > return func(*args, **kwds) > File "/var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1/tests/test_primer.py", line 204, in test_async_main > self.assertEqual(0, return_val) >AssertionError: 0 != -1 > >====================================================================== >FAIL: test_async_main (tests.test_primer.PrimerCLITests) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python3.7/contextlib.py", line 74, in inner > return func(*args, **kwds) > File "/var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1/tests/test_primer.py", line 204, in test_async_main > self.assertEqual(0, return_val) >AssertionError: 0 != -1 > >---------------------------------------------------------------------- >Ran 150 tests in 32.324s > >FAILED (failures=2, errors=1, expected failures=3) >/usr/lib/python3.7/asyncio/base_events.py:626: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> > * ERROR: dev-python/black-20.8_beta1::gentoo failed (test phase): > * Tests fail with python3.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 3018: Called distutils-r1_src_test > * environment, line 1277: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 478: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2615: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2059: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2057: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 850: Called distutils-r1_run_phase 'python_test' > * environment, line 1214: Called python_test > * environment, line 2978: Called die > * The specific snippet of code: > * "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/black-20.8_beta1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/black-20.8_beta1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:black-20.8_beta1:20201112-214610.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/black-20.8_beta1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/black-20.8_beta1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1' > * S: '/var/tmp/portage/dev-python/black-20.8_beta1/work/black-20.8b1'
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 754201
: 671170