Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 661158 Details for
Bug 743340
dev-python/isort-4.3.21_p2-r1 fails tests
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), 42.93 KB, created by
Agostino Sarubbo
on 2020-09-18 13:40:26 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-09-18 13:40:26 UTC
Size:
42.93 KB
patch
obsolete
> * Package: dev-python/isort-4.3.21_p2-r1 > * Repository: gentoo > * Maintainer: python@gentoo.org williamh@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_pypy3 python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/d16284856c5443c13748c84c969f9d0e9afd79d8 (Fri Sep 18 11:39:54 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.7 (python 3.8.5-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.2.5 >KiB Mem: 64359960 total, 25752056 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Fri, 18 Sep 2020 11:39:54 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r3::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc2::gentoo >dev-util/cmake: 3.18.2::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.2::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32-r1::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-jobs: 1 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* MIT" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="pypy3 python3_6 python3_7 python3_8" USERLAND="GNU" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking isort-4.3.21_p2.tar.gz to /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work >>>> Source unpacked in /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work >>>> Preparing source in /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2 ... > * Applying isort-4.3.21_p1-tests.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2 ... > * pypy3: running distutils-r1_run_phase distutils-r1_python_compile >pypy3 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/__main__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/__init__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/settings.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/hooks.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/natural.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/pylama_isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/utils.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/pie_slice.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/finders.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >copying isort/main.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-pypy3/lib/isort >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 16 >running build >running build_py >creating /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/__main__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/__init__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/settings.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/hooks.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/natural.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/pylama_isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/utils.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/pie_slice.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/finders.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >copying isort/main.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_6/lib/isort >warning: build_py: byte-compiling is disabled, skipping. > > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/__main__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/__init__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/settings.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/hooks.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/natural.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/pylama_isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/utils.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/pie_slice.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/finders.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >copying isort/main.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_7/lib/isort >warning: build_py: byte-compiling is disabled, skipping. > > * python3_8: running distutils-r1_run_phase distutils-r1_python_compile >python3.8 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/__main__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/__init__.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/settings.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/hooks.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/natural.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/pylama_isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/utils.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/pie_slice.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/isort.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/finders.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >copying isort/main.py -> /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2-python3_8/lib/isort >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/isort-4.3.21_p2-r1 > * pypy3: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux -- Python 3.6.9[pypy-7.3.1-final], pytest-6.0.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/pypy3 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2 >collecting ... collected 156 items > >test_isort.py::test_happy_path PASSED [ 0%] >test_isort.py::test_code_intermixed PASSED [ 1%] >test_isort.py::test_correct_space_between_imports PASSED [ 1%] >test_isort.py::test_sort_on_number PASSED [ 2%] >test_isort.py::test_line_length PASSED [ 3%] >test_isort.py::test_output_modes PASSED [ 3%] >test_isort.py::test_qa_comment_case PASSED [ 4%] >test_isort.py::test_length_sort PASSED [ 5%] >test_isort.py::test_length_sort_section PASSED [ 5%] >test_isort.py::test_convert_hanging PASSED [ 6%] >test_isort.py::test_custom_indent PASSED [ 7%] >test_isort.py::test_use_parentheses PASSED [ 7%] >test_isort.py::test_skip PASSED [ 8%] >test_isort.py::test_skip_with_file_name PASSED [ 8%] >test_isort.py::test_skip_within_file PASSED [ 9%] >test_isort.py::test_force_to_top PASSED [ 10%] >test_isort.py::test_add_imports PASSED [ 10%] >test_isort.py::test_remove_imports PASSED [ 11%] >test_isort.py::test_explicitly_local_import PASSED [ 12%] >test_isort.py::test_quotes_in_file PASSED [ 12%] >test_isort.py::test_check_newline_in_imports PASSED [ 13%] >test_isort.py::test_forced_separate PASSED [ 14%] >test_isort.py::test_default_section PASSED [ 14%] >test_isort.py::test_first_party_overrides_standard_section PASSED [ 15%] >test_isort.py::test_thirdy_party_overrides_standard_section PASSED [ 16%] >test_isort.py::test_known_pattern_path_expansion PASSED [ 16%] >test_isort.py::test_force_single_line_imports PASSED [ 17%] >test_isort.py::test_force_single_line_long_imports PASSED [ 17%] >test_isort.py::test_titled_imports PASSED [ 18%] >test_isort.py::test_balanced_wrapping PASSED [ 19%] >test_isort.py::test_relative_import_with_space PASSED [ 19%] >test_isort.py::test_multiline_import PASSED [ 20%] >test_isort.py::test_single_multiline PASSED [ 21%] >test_isort.py::test_atomic_mode PASSED [ 21%] >test_isort.py::test_order_by_type PASSED [ 22%] >test_isort.py::test_custom_lines_after_import_section PASSED [ 23%] >test_isort.py::test_smart_lines_after_import_section PASSED [ 23%] >test_isort.py::test_settings_combine_instead_of_overwrite PASSED [ 24%] >test_isort.py::test_combined_from_and_as_imports PASSED [ 25%] >test_isort.py::test_as_imports_with_line_length PASSED [ 25%] >test_isort.py::test_keep_comments PASSED [ 26%] >test_isort.py::test_multiline_split_on_dot PASSED [ 26%] >test_isort.py::test_import_star PASSED [ 27%] >test_isort.py::test_include_trailing_comma PASSED [ 28%] >test_isort.py::test_similar_to_std_library PASSED [ 28%] >test_isort.py::test_correctly_placed_imports PASSED [ 29%] >test_isort.py::test_auto_detection PASSED [ 30%] >test_isort.py::test_same_line_statements PASSED [ 30%] >test_isort.py::test_long_line_comments PASSED [ 31%] >test_isort.py::test_tab_character_in_import PASSED [ 32%] >test_isort.py::test_split_position PASSED [ 32%] >test_isort.py::test_place_comments PASSED [ 33%] >test_isort.py::test_placement_control PASSED [ 33%] >test_isort.py::test_custom_sections PASSED [ 34%] >test_isort.py::test_glob_known SKIPPED [ 35%] >test_isort.py::test_sticky_comments PASSED [ 35%] >test_isort.py::test_zipimport PASSED [ 36%] >test_isort.py::test_from_ending PASSED [ 37%] >test_isort.py::test_from_first PASSED [ 37%] >test_isort.py::test_top_comments PASSED [ 38%] >test_isort.py::test_consistency PASSED [ 39%] >test_isort.py::test_force_grid_wrap PASSED [ 39%] >test_isort.py::test_force_grid_wrap_long PASSED [ 40%] >test_isort.py::test_uses_jinja_variables PASSED [ 41%] >test_isort.py::test_fcntl PASSED [ 41%] >test_isort.py::test_import_split_is_word_boundary_aware PASSED [ 42%] >test_isort.py::test_other_file_encodings PASSED [ 42%] >test_isort.py::test_comment_at_top_of_file PASSED [ 43%] >test_isort.py::test_alphabetic_sorting PASSED [ 44%] >test_isort.py::test_alphabetic_sorting_multi_line PASSED [ 44%] >test_isort.py::test_comments_not_duplicated PASSED [ 45%] >test_isort.py::test_top_of_line_comments PASSED [ 46%] >test_isort.py::test_basic_comment PASSED [ 46%] >test_isort.py::test_shouldnt_add_lines PASSED [ 47%] >test_isort.py::test_sections_parsed_correct PASSED [ 48%] >test_isort.py::test_pyproject_conf_file PASSED [ 48%] >test_isort.py::test_alphabetic_sorting_no_newlines PASSED [ 49%] >test_isort.py::test_sort_within_section PASSED [ 50%] >test_isort.py::test_sorting_with_two_top_comments PASSED [ 50%] >test_isort.py::test_lines_between_sections PASSED [ 51%] >test_isort.py::test_forced_sepatate_globs PASSED [ 51%] >test_isort.py::test_no_additional_lines_issue_358 PASSED [ 52%] >test_isort.py::test_import_by_paren_issue_375 PASSED [ 53%] >test_isort.py::test_import_by_paren_issue_460 PASSED [ 53%] >test_isort.py::test_function_with_docstring PASSED [ 54%] >test_isort.py::test_plone_style PASSED [ 55%] >test_isort.py::test_third_party_case_sensitive PASSED [ 55%] >test_isort.py::test_exists_case_sensitive_file PASSED [ 56%] >test_isort.py::test_exists_case_sensitive_directory PASSED [ 57%] >test_isort.py::test_sys_path_mutation PASSED [ 57%] >test_isort.py::test_long_single_line PASSED [ 58%] >test_isort.py::test_import_inside_class_issue_432 PASSED [ 58%] >test_isort.py::test_wildcard_import_without_space_issue_496 PASSED [ 59%] >test_isort.py::test_import_line_mangles_issues_491 PASSED [ 60%] >test_isort.py::test_import_line_mangles_issues_505 PASSED [ 60%] >test_isort.py::test_import_line_mangles_issues_439 PASSED [ 61%] >test_isort.py::test_alias_using_paren_issue_466 PASSED [ 62%] >test_isort.py::test_long_alias_using_paren_issue_957 PASSED [ 62%] >test_isort.py::test_strict_whitespace_by_default PASSED [ 63%] >test_isort.py::test_strict_whitespace_no_closing_newline_issue_676 PASSED [ 64%] >test_isort.py::test_ignore_whitespace PASSED [ 64%] >test_isort.py::test_import_wraps_with_comment_issue_471 PASSED [ 65%] >test_isort.py::test_import_case_produces_inconsistent_results_issue_472 PASSED [ 66%] >test_isort.py::test_inconsistent_behavior_in_python_2_and_3_issue_479 PASSED [ 66%] >test_isort.py::test_sort_within_section_comments_issue_436 PASSED [ 67%] >test_isort.py::test_sort_within_sections_with_force_to_top_issue_473 PASSED [ 67%] >test_isort.py::test_correct_number_of_new_lines_with_comment_issue_435 PASSED [ 68%] >test_isort.py::test_future_below_encoding_issue_545 PASSED [ 69%] >test_isort.py::test_no_extra_lines_issue_557 PASSED [ 69%] >test_isort.py::test_long_import_wrap_support_with_mode_2 PASSED [ 70%] >test_isort.py::test_pylint_comments_incorrectly_wrapped_issue_571 PASSED [ 71%] >test_isort.py::test_ensure_async_methods_work_issue_537 PASSED [ 71%] >test_isort.py::test_ensure_as_imports_sort_correctly_within_from_imports_issue_590 PASSED [ 72%] >test_isort.py::test_ensure_line_endings_are_preserved_issue_493 PASSED [ 73%] >test_isort.py::test_not_splitted_sections PASSED [ 73%] >test_isort.py::test_no_lines_before_empty_section PASSED [ 74%] >test_isort.py::test_no_inline_sort PASSED [ 75%] >test_isort.py::test_relative_import_of_a_module PASSED [ 75%] >test_isort.py::test_escaped_parens_sort PASSED [ 76%] >test_isort.py::test_is_python_file_ioerror PASSED [ 76%] >test_isort.py::test_is_python_file_shebang PASSED [ 77%] >test_isort.py::test_is_python_file_editor_backup PASSED [ 78%] >test_isort.py::test_is_python_typing_stub PASSED [ 78%] >test_isort.py::test_to_ensure_imports_are_brought_to_top_issue_651 PASSED [ 79%] >test_isort.py::test_to_ensure_importing_from_imports_module_works_issue_662 PASSED [ 80%] >test_isort.py::test_to_ensure_no_unexpected_changes_issue_666 PASSED [ 80%] >test_isort.py::test_to_ensure_tabs_dont_become_space_issue_665 PASSED [ 81%] >test_isort.py::test_new_lines_are_preserved PASSED [ 82%] >test_isort.py::test_requirements_finder SKIPPED [ 82%] >test_isort.py::test_forced_separate_is_deterministic_issue_774 PASSED [ 83%] >test_isort.py::test_pipfile_finder SKIPPED [ 83%] >test_isort.py::test_monkey_patched_urllib PASSED [ 84%] >test_isort.py::test_path_finder PASSED [ 85%] >test_isort.py::test_argument_parsing PASSED [ 85%] >test_isort.py::test_command_line[False] PASSED [ 86%] >test_isort.py::test_command_line[True] PASSED [ 87%] >test_isort.py::test_quiet[False] PASSED [ 87%] >test_isort.py::test_quiet[True] PASSED [ 88%] >test_isort.py::test_safety_excludes[False] PASSED [ 89%] >test_isort.py::test_safety_excludes[True] PASSED [ 89%] >test_isort.py::test_skip_glob[skip_glob_assert0] PASSED [ 90%] >test_isort.py::test_skip_glob[skip_glob_assert1] PASSED [ 91%] >test_isort.py::test_skip_glob[skip_glob_assert2] PASSED [ 91%] >test_isort.py::test_comments_not_removed_issue_576 PASSED [ 92%] >test_isort.py::test_reverse_relative_imports_issue_417 PASSED [ 92%] >test_isort.py::test_inconsistent_relative_imports_issue_577 PASSED [ 93%] >test_isort.py::test_unwrap_issue_762 PASSED [ 94%] >test_isort.py::test_ensure_support_for_non_typed_but_cased_alphabetic_sort_issue_890 PASSED [ 94%] >test_isort.py::test_to_ensure_empty_line_not_added_to_file_start_issue_889 PASSED [ 95%] >test_isort.py::test_to_ensure_correctly_handling_of_whitespace_only_issue_811 PASSED [ 96%] >test_isort.py::test_settings_path_skip_issue_909 FAILED [ 96%] >test_isort.py::test_skip_paths_issue_938 FAILED [ 97%] >test_isort.py::test_standard_library_deprecates_user_issue_778 PASSED [ 98%] >test_isort.py::test_failing_file_check_916 PASSED [ 98%] >test_isort.py::test_import_heading_issue_905 PASSED [ 99%] >test_isort.py::test_pyi_formatting_issue_942 PASSED [100%] > >=================================== FAILURES =================================== >______________________ test_settings_path_skip_issue_909 _______________________ > >tmpdir = local('/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/temp/pytest-of-portage/pytest-0/test_settings_path_skip_issue_0') > > def test_settings_path_skip_issue_909(tmpdir): > base_dir = tmpdir.mkdir('project') > config_dir = base_dir.mkdir('conf') > config_dir.join('.isort.cfg').write('[isort]\n' > 'skip =\n' > ' file_to_be_skipped.py\n' > 'skip_glob =\n' > ' *glob_skip*\n') > > base_dir.join('file_glob_skip.py').write('import os\n' > '\n' > 'print("Hello World")\n' > '\n' > 'import sys\n') > base_dir.join('file_to_be_skipped.py').write('import os\n' > '\n' > 'print("Hello World")' > '\n' > 'import sys\n') > > test_run_directory = os.getcwd() > os.chdir(str(base_dir)) > with pytest.raises(Exception): # without the settings path provided: the command should not skip & identify errors > check_output(['isort', '--check-only']) >> results = check_output(['isort', '--check-only', '--settings-path=conf/.isort.cfg']) > >/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2/test_isort.py:2943: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.6/lib-python/3/subprocess.py:356: in check_output > **kwargs).stdout >/usr/lib/pypy3.6/lib-python/3/subprocess.py:423: in run > with Popen(*popenargs, **kwargs) as process: >/usr/lib/pypy3.6/lib-python/3/subprocess.py:744: in __init__ > restore_signals, start_new_session) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <subprocess.Popen object at 0x000055d13e125f30> >args = ['isort', '--check-only', '--settings-path=conf/.isort.cfg'] >executable = b'isort', preexec_fn = None, close_fds = True, pass_fds = () >cwd = None, env = None, startupinfo = None, creationflags = 0, shell = False >p2cread = -1, p2cwrite = -1, c2pread = 11, c2pwrite = 12, errread = -1 >errwrite = -1, restore_signals = True, start_new_session = False > > def _execute_child(self, args, executable, preexec_fn, close_fds, > pass_fds, cwd, env, > startupinfo, creationflags, shell, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite, > restore_signals, start_new_session): > """Execute program (POSIX version)""" > > if isinstance(args, (str, bytes)): > args = [args] > else: > args = list(args) > > if shell: > args = ["/bin/sh", "-c"] + args > if executable: > args[0] = executable > > if executable is None: > executable = args[0] > orig_executable = executable > > # For transferring possible exec failure from child to parent. > # Data format: "exception name:hex errno:description" > # Pickle is not used; it is complex and involves memory allocation. > errpipe_read, errpipe_write = os.pipe() > # errpipe_write must not be in the standard io 0, 1, or 2 fd range. > low_fds_to_close = [] > while errpipe_write < 3: > low_fds_to_close.append(errpipe_write) > errpipe_write = os.dup(errpipe_write) > for low_fd in low_fds_to_close: > os.close(low_fd) > try: > try: > # We must avoid complex work that could involve > # malloc or free in the child process to avoid > # potential deadlocks, thus we do all this here. > # and pass it to fork_exec() > > if env is not None: > env_list = [] > for k, v in env.items(): > k = os.fsencode(k) > if b'=' in k: > raise ValueError("illegal environment variable name") > env_list.append(k + b'=' + os.fsencode(v)) > else: > env_list = None # Use execv instead of execve. > executable = os.fsencode(executable) > if os.path.dirname(executable): > executable_list = (executable,) > else: > # This matches the behavior of os._execvpe(). > executable_list = tuple( > os.path.join(os.fsencode(dir), executable) > for dir in os.get_exec_path(env)) > fds_to_keep = set(pass_fds) > fds_to_keep.add(errpipe_write) > self.pid = _posixsubprocess.fork_exec( > args, executable_list, > close_fds, tuple(sorted(map(int, fds_to_keep))), > cwd, env_list, > p2cread, p2cwrite, c2pread, c2pwrite, > errread, errwrite, > errpipe_read, errpipe_write, > restore_signals, start_new_session, preexec_fn) > self._child_created = True > finally: > # be sure the FD is closed no matter what > os.close(errpipe_write) > > # self._devnull is not always defined. > devnull_fd = getattr(self, '_devnull', None) > if p2cread != -1 and p2cwrite != -1 and p2cread != devnull_fd: > os.close(p2cread) > if c2pwrite != -1 and c2pread != -1 and c2pwrite != devnull_fd: > os.close(c2pwrite) > if errwrite != -1 and errread != -1 and errwrite != devnull_fd: > os.close(errwrite) > if devnull_fd is not None: > os.close(devnull_fd) > # Prevent a double close of these fds from __init__ on error. > self._closed_child_pipe_fds = True > > # Wait for exec to fail or succeed; possibly raising an > # exception (limited in size) > errpipe_data = bytearray() > while True: > part = os.read(errpipe_read, 50000) > errpipe_data += part > if not part or len(errpipe_data) > 50000: > break > finally: > # be sure the FD is closed no matter what > os.close(errpipe_read) > > if errpipe_data: > try: > pid, sts = os.waitpid(self.pid, 0) > if pid == self.pid: > self._handle_exitstatus(sts) > else: > self.returncode = sys.maxsize > except ChildProcessError: > pass > > try: > exception_name, hex_errno, err_msg = ( > errpipe_data.split(b':', 2)) > # The encoding here should match the encoding > # written in by the subprocess implementations > # like _posixsubprocess > err_msg = err_msg.decode() > except ValueError: > exception_name = b'SubprocessError' > hex_errno = b'0' > err_msg = 'Bad exception data from child: {!r}'.format( > bytes(errpipe_data)) > child_exception_type = getattr( > builtins, exception_name.decode('ascii'), > SubprocessError) > if issubclass(child_exception_type, OSError) and hex_errno: > errno_num = int(hex_errno, 16) > child_exec_never_called = (err_msg == "noexec") > if child_exec_never_called: > err_msg = "" > # The error must be from chdir(cwd). > err_filename = cwd > else: > err_filename = orig_executable > if errno_num != 0: > err_msg = os.strerror(errno_num) > if errno_num == errno.ENOENT: > err_msg += ': ' + repr(err_filename) >> raise child_exception_type(errno_num, err_msg, err_filename) >E FileNotFoundError: [Errno 2] No such file or directory: 'isort': 'isort' > >/usr/lib/pypy3.6/lib-python/3/subprocess.py:1392: FileNotFoundError >__________________________ test_skip_paths_issue_938 ___________________________ > >tmpdir = local('/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/temp/pytest-of-portage/pytest-0/test_skip_paths_issue_9380') > > def test_skip_paths_issue_938(tmpdir): > base_dir = tmpdir.mkdir('project') > config_dir = base_dir.mkdir('conf') > config_dir.join('.isort.cfg').write('[isort]\n' > 'line_length = 88\n' > 'multi_line_output = 4\n' > 'lines_after_imports = 2\n' > 'skip_glob =\n' > ' migrations/**.py\n') > base_dir.join('dont_skip.py').write('import os\n' > '\n' > 'print("Hello World")' > '\n' > 'import sys\n') > > migrations_dir = base_dir.mkdir('migrations') > migrations_dir.join('file_glob_skip.py').write('import os\n' > '\n' > 'print("Hello World")\n' > '\n' > 'import sys\n') > > test_run_directory = os.getcwd() > os.chdir(str(base_dir)) >> results = check_output(['isort', 'dont_skip.py', 'migrations/file_glob_skip.py']) > >/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2/test_isort.py:2973: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/pypy3.6/lib-python/3/subprocess.py:356: in check_output > **kwargs).stdout >/usr/lib/pypy3.6/lib-python/3/subprocess.py:423: in run > with Popen(*popenargs, **kwargs) as process: >/usr/lib/pypy3.6/lib-python/3/subprocess.py:744: in __init__ > restore_signals, start_new_session) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <subprocess.Popen object at 0x000055d13ef598d8> >args = ['isort', 'dont_skip.py', 'migrations/file_glob_skip.py'] >executable = b'isort', preexec_fn = None, close_fds = True, pass_fds = () >cwd = None, env = None, startupinfo = None, creationflags = 0, shell = False >p2cread = -1, p2cwrite = -1, c2pread = 11, c2pwrite = 12, errread = -1 >errwrite = -1, restore_signals = True, start_new_session = False > > def _execute_child(self, args, executable, preexec_fn, close_fds, > pass_fds, cwd, env, > startupinfo, creationflags, shell, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite, > restore_signals, start_new_session): > """Execute program (POSIX version)""" > > if isinstance(args, (str, bytes)): > args = [args] > else: > args = list(args) > > if shell: > args = ["/bin/sh", "-c"] + args > if executable: > args[0] = executable > > if executable is None: > executable = args[0] > orig_executable = executable > > # For transferring possible exec failure from child to parent. > # Data format: "exception name:hex errno:description" > # Pickle is not used; it is complex and involves memory allocation. > errpipe_read, errpipe_write = os.pipe() > # errpipe_write must not be in the standard io 0, 1, or 2 fd range. > low_fds_to_close = [] > while errpipe_write < 3: > low_fds_to_close.append(errpipe_write) > errpipe_write = os.dup(errpipe_write) > for low_fd in low_fds_to_close: > os.close(low_fd) > try: > try: > # We must avoid complex work that could involve > # malloc or free in the child process to avoid > # potential deadlocks, thus we do all this here. > # and pass it to fork_exec() > > if env is not None: > env_list = [] > for k, v in env.items(): > k = os.fsencode(k) > if b'=' in k: > raise ValueError("illegal environment variable name") > env_list.append(k + b'=' + os.fsencode(v)) > else: > env_list = None # Use execv instead of execve. > executable = os.fsencode(executable) > if os.path.dirname(executable): > executable_list = (executable,) > else: > # This matches the behavior of os._execvpe(). > executable_list = tuple( > os.path.join(os.fsencode(dir), executable) > for dir in os.get_exec_path(env)) > fds_to_keep = set(pass_fds) > fds_to_keep.add(errpipe_write) > self.pid = _posixsubprocess.fork_exec( > args, executable_list, > close_fds, tuple(sorted(map(int, fds_to_keep))), > cwd, env_list, > p2cread, p2cwrite, c2pread, c2pwrite, > errread, errwrite, > errpipe_read, errpipe_write, > restore_signals, start_new_session, preexec_fn) > self._child_created = True > finally: > # be sure the FD is closed no matter what > os.close(errpipe_write) > > # self._devnull is not always defined. > devnull_fd = getattr(self, '_devnull', None) > if p2cread != -1 and p2cwrite != -1 and p2cread != devnull_fd: > os.close(p2cread) > if c2pwrite != -1 and c2pread != -1 and c2pwrite != devnull_fd: > os.close(c2pwrite) > if errwrite != -1 and errread != -1 and errwrite != devnull_fd: > os.close(errwrite) > if devnull_fd is not None: > os.close(devnull_fd) > # Prevent a double close of these fds from __init__ on error. > self._closed_child_pipe_fds = True > > # Wait for exec to fail or succeed; possibly raising an > # exception (limited in size) > errpipe_data = bytearray() > while True: > part = os.read(errpipe_read, 50000) > errpipe_data += part > if not part or len(errpipe_data) > 50000: > break > finally: > # be sure the FD is closed no matter what > os.close(errpipe_read) > > if errpipe_data: > try: > pid, sts = os.waitpid(self.pid, 0) > if pid == self.pid: > self._handle_exitstatus(sts) > else: > self.returncode = sys.maxsize > except ChildProcessError: > pass > > try: > exception_name, hex_errno, err_msg = ( > errpipe_data.split(b':', 2)) > # The encoding here should match the encoding > # written in by the subprocess implementations > # like _posixsubprocess > err_msg = err_msg.decode() > except ValueError: > exception_name = b'SubprocessError' > hex_errno = b'0' > err_msg = 'Bad exception data from child: {!r}'.format( > bytes(errpipe_data)) > child_exception_type = getattr( > builtins, exception_name.decode('ascii'), > SubprocessError) > if issubclass(child_exception_type, OSError) and hex_errno: > errno_num = int(hex_errno, 16) > child_exec_never_called = (err_msg == "noexec") > if child_exec_never_called: > err_msg = "" > # The error must be from chdir(cwd). > err_filename = cwd > else: > err_filename = orig_executable > if errno_num != 0: > err_msg = os.strerror(errno_num) > if errno_num == errno.ENOENT: > err_msg += ': ' + repr(err_filename) >> raise child_exception_type(errno_num, err_msg, err_filename) >E FileNotFoundError: [Errno 2] No such file or directory: 'isort': 'isort' > >/usr/lib/pypy3.6/lib-python/3/subprocess.py:1392: FileNotFoundError >=========================== short test summary info ============================ >FAILED test_isort.py::test_settings_path_skip_issue_909 - FileNotFoundError: ... >FAILED test_isort.py::test_skip_paths_issue_938 - FileNotFoundError: [Errno 2... >=================== 2 failed, 151 passed, 3 skipped in 2.94s =================== > * ERROR: dev-python/isort-4.3.21_p2-r1::gentoo failed (test phase): > * Tests fail with pypy3 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 3058: Called distutils-r1_src_test > * environment, line 1328: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 493: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2667: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2111: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2109: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 901: Called distutils-r1_run_phase 'python_test' > * environment, line 1265: Called python_test > * environment, line 3018: Called die > * The specific snippet of code: > * pytest -vv || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/isort-4.3.21_p2-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/isort-4.3.21_p2-r1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/isort-4.3.21_p2-r1:20200918-121844.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-2' > * S: '/var/tmp/portage/dev-python/isort-4.3.21_p2-r1/work/isort-4.3.21-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 743340
: 661158