Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 690126 Details for
Bug 774966
dev-python/pytest-pylint-0.17.0 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), 40.02 KB, created by
Agostino Sarubbo
on 2021-03-09 07:44:50 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2021-03-09 07:44:50 UTC
Size:
40.02 KB
patch
obsolete
> * Package: dev-python/pytest-pylint-0.17.0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * Upstream: https://github.com/carsongee/pytest-pylint/issues > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux 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/3ddc60f3cd63ebb66b4e7d5403bc453885c5edd8 (Mon Mar 8 20:50:54 UTC 2021) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.17 (python 3.9.2-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r8, 5.4.0-1029-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.32 >KiB Mem: 64359964 total, 29263708 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Mon, 08 Mar 2021 20:50:53 +0000 >sh bash 5.1_p4 >ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 >app-shells/bash: 5.1_p4::gentoo >dev-lang/perl: 5.32.1::gentoo >dev-lang/python: 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo >dev-util/cmake: 3.19.6::gentoo >dev-util/pkgconfig: 0.29.2::gentoo >sys-apps/baselayout: 2.7-r1::gentoo >sys-apps/openrc: 0.42.1-r1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.3-r1::gentoo >sys-devel/binutils: 2.35.2::gentoo >sys-devel/gcc: 10.2.0-r5::gentoo >sys-devel/gcc-config: 2.4::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32-r8::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 24 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* MIT" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -pipe -march=x86-64 -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" >CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/dev-python/pytest-pylint-0.17.0/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >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=x86-64 -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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=x86-64 -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j16" >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="python3_7 python3_8" USERLAND="GNU" >Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > > > >emerge history: >2021-03-08T22:20:15 >>> dev-python/toml-0.10.2 >2021-03-08T22:20:16 >>> dev-python/iniconfig-1.1.1 >2021-03-08T22:20:16 >>> dev-python/more-itertools-8.7.0 >2021-03-08T22:20:17 >>> dev-python/py-1.10.0 >2021-03-08T22:20:18 >>> dev-python/pyparsing-2.4.7-r1 >2021-03-08T22:20:18 >>> dev-python/six-1.15.0-r1 >2021-03-08T22:20:20 >>> dev-python/namespace-zope-1-r1 >2021-03-08T22:20:19 >>> dev-python/typing-extensions-3.7.4.3 >2021-03-08T22:20:20 >>> dev-python/isort-5.7.0 >2021-03-08T22:20:21 >>> dev-python/pyflakes-2.2.0 >2021-03-08T22:20:22 >>> dev-python/pycodestyle-2.6.0 >2021-03-08T22:20:23 >>> dev-python/lazy-object-proxy-1.5.0 >2021-03-08T22:20:23 >>> dev-python/wrapt-1.12.1 >2021-03-08T22:20:24 >>> dev-python/typed-ast-1.4.2 >2021-03-08T22:20:39 >>> dev-python/zipp-3.4.1 >2021-03-08T22:20:49 >>> dev-python/packaging-20.9 >2021-03-08T22:20:51 >>> dev-python/zope-interface-5.2.0 >2021-03-08T22:21:03 >>> dev-python/astroid-2.5.1 >2021-03-08T22:21:10 >>> dev-python/importlib_metadata-3.7.2 >2021-03-08T22:21:14 >>> dev-python/attrs-20.3.0 >2021-03-08T22:21:19 >>> dev-python/pluggy-0.13.1-r1 >2021-03-08T22:21:20 >>> dev-python/flake8-3.8.4 >2021-03-08T22:21:25 >>> dev-python/pytest-6.2.2 >2021-03-08T22:21:27 >>> dev-python/mccabe-0.6.1-r2 >2021-03-08T22:21:33 >>> dev-python/pylint-2.7.2 > > > >>>> Unpacking source... >>>> Unpacking pytest-pylint-0.17.0.tar.gz to /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0 ... > * 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/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint >copying pytest_pylint/util.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint >copying pytest_pylint/pylint_util.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint >copying pytest_pylint/__init__.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint >copying pytest_pylint/plugin.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead > % (opt, underscore_opt)) >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/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_8/lib/pytest_pylint >copying pytest_pylint/util.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_8/lib/pytest_pylint >copying pytest_pylint/pylint_util.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_8/lib/pytest_pylint >copying pytest_pylint/__init__.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_8/lib/pytest_pylint >copying pytest_pylint/plugin.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_8/lib/pytest_pylint >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead > warnings.warn( >/usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead > warnings.warn( >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/pytest-pylint-0.17.0 > * python3_7: running distutils-r1_run_phase python_test >python3.7 setup.py install --root=/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test --install-lib=lib --install-scripts=scripts >running install >running build >running build_py >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead > % (opt, underscore_opt)) >/usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead > % (opt, underscore_opt)) >warning: build_py: byte-compiling is disabled, skipping. > >running install_lib >creating /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test >creating /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test/lib >creating /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test/lib/pytest_pylint >copying /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint/util.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test/lib/pytest_pylint >copying /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint/pylint_util.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test/lib/pytest_pylint >copying /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint/__init__.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test/lib/pytest_pylint >copying /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/lib/pytest_pylint/plugin.py -> /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test/lib/pytest_pylint >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >creating pytest_pylint.egg-info >writing pytest_pylint.egg-info/PKG-INFO >writing dependency_links to pytest_pylint.egg-info/dependency_links.txt >writing entry points to pytest_pylint.egg-info/entry_points.txt >writing requirements to pytest_pylint.egg-info/requires.txt >writing top-level names to pytest_pylint.egg-info/top_level.txt >writing manifest file 'pytest_pylint.egg-info/SOURCES.txt' >reading manifest file 'pytest_pylint.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching 'pytest_pylint' >writing manifest file 'pytest_pylint.egg-info/SOURCES.txt' >Copying pytest_pylint.egg-info to /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0-python3_7/test/lib/pytest_pylint-0.17.0-py3.7.egg-info >running install_scripts >============================= test session starts ============================== >platform linux -- Python 3.7.10, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.7 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0, configfile: tox.ini >plugins: pylint-0.17.0 >collecting ... collected 24 items > >pytest_pylint/tests/test_pytest_pylint.py::test_basic PASSED [ 4%] >pytest_pylint/tests/test_pytest_pylint.py::test_nodeid PASSED [ 8%] >pytest_pylint/tests/test_pytest_pylint.py::test_subdirectories PASSED [ 12%] >pytest_pylint/tests/test_pytest_pylint.py::test_disable PASSED [ 16%] >pytest_pylint/tests/test_pytest_pylint.py::test_error_control PASSED [ 20%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_file FAILED [ 25%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_file_toml PASSED [ 29%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_file_beside_ini PASSED [ 33%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[ini] FAILED [ 37%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[toml] FAILED [ 41%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[simple_toml] FAILED [ 45%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_msg_template[ini] FAILED [ 50%] >pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_msg_template[toml] FAILED [ 54%] >pytest_pylint/tests/test_pytest_pylint.py::test_multiple_jobs PASSED [ 58%] >pytest_pylint/tests/test_pytest_pylint.py::test_no_multiple_jobs PASSED [ 62%] >pytest_pylint/tests/test_pytest_pylint.py::test_skip_checked_files PASSED [ 66%] >pytest_pylint/tests/test_pytest_pylint.py::test_output_file PASSED [ 70%] >pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore[ignore] PASSED [ 75%] >pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore[ignore-patterns] PASSED [ 79%] >pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[ignore] FAILED [ 83%] >pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[ignore-patterns] FAILED [ 87%] >pytest_pylint/tests/test_util.py::test_get_rel_path PASSED [ 91%] >pytest_pylint/tests/test_util.py::test_should_include_path PASSED [ 95%] >pytest_pylint/tests/test_util.py::test_pylint_ignore_patterns PASSED [100%] > >=================================== FAILURES =================================== >______________________________ test_pylintrc_file ______________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_file0')> > > def test_pylintrc_file(testdir): > """Verify that a specified pylint rc file will work.""" > rcfile = testdir.makefile( > 'rc', > """ > [FORMAT] > > max-line-length=3 >> """ > ) > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:71: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_file0/test_pylintrc_file') >suffix = 'rc' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'rc' > >/usr/lib/python3.7/pathlib.py:860: ValueError >__________________________ test_pylintrc_ignore[ini] ___________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_ignore0')> >rcformat = 'ini' > > @pytest.mark.parametrize("rcformat", ("ini", "toml", "simple_toml")) > def test_pylintrc_ignore(testdir, rcformat): > """Verify that a pylintrc file with ignores will work.""" > if rcformat == "toml": > rcfile = testdir.makefile( > 'toml', > """ > [tool.pylint.master] > ignore = ["test_pylintrc_ignore.py", "foo.py"] > """ > ) > elif rcformat == "simple_toml": > rcfile = testdir.makefile( > 'toml', > """ > [tool.pylint.MASTER] > ignore = "test_pylintrc_ignore.py,foo.py" > """ > ) > else: > rcfile = testdir.makefile( > 'rc', > """ > [MASTER] > > ignore = test_pylintrc_ignore.py >> """ > ) > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:171: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_ignore0/test_pylintrc_ignore') >suffix = 'rc' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'rc' > >/usr/lib/python3.7/pathlib.py:860: ValueError >__________________________ test_pylintrc_ignore[toml] __________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_ignore1')> >rcformat = 'toml' > > @pytest.mark.parametrize("rcformat", ("ini", "toml", "simple_toml")) > def test_pylintrc_ignore(testdir, rcformat): > """Verify that a pylintrc file with ignores will work.""" > if rcformat == "toml": > rcfile = testdir.makefile( > 'toml', > """ > [tool.pylint.master] > ignore = ["test_pylintrc_ignore.py", "foo.py"] >> """ > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:154: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_ignore1/test_pylintrc_ignore') >suffix = 'toml' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'toml' > >/usr/lib/python3.7/pathlib.py:860: ValueError >______________________ test_pylintrc_ignore[simple_toml] _______________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_ignore2')> >rcformat = 'simple_toml' > > @pytest.mark.parametrize("rcformat", ("ini", "toml", "simple_toml")) > def test_pylintrc_ignore(testdir, rcformat): > """Verify that a pylintrc file with ignores will work.""" > if rcformat == "toml": > rcfile = testdir.makefile( > 'toml', > """ > [tool.pylint.master] > ignore = ["test_pylintrc_ignore.py", "foo.py"] > """ > ) > elif rcformat == "simple_toml": > rcfile = testdir.makefile( > 'toml', > """ > [tool.pylint.MASTER] > ignore = "test_pylintrc_ignore.py,foo.py" >> """ > ) > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:162: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_ignore2/test_pylintrc_ignore') >suffix = 'toml' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'toml' > >/usr/lib/python3.7/pathlib.py:860: ValueError >_______________________ test_pylintrc_msg_template[ini] ________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_msg_template0')> >rcformat = 'ini' > > @pytest.mark.parametrize("rcformat", ("ini", "toml")) > def test_pylintrc_msg_template(testdir, rcformat): > """Verify that msg-template from pylintrc file is handled.""" > if rcformat == "toml": > rcfile = testdir.makefile( > 'toml', > """ > [tool.pylint.REPORTS] > msg-template = "start {msg_id} end" > """ > ) > else: > rcfile = testdir.makefile( > 'rc', > """ > [REPORTS] > > msg-template=start {msg_id} end >> """ > ) > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:198: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_msg_template0/test_pylintrc_msg_template') >suffix = 'rc' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'rc' > >/usr/lib/python3.7/pathlib.py:860: ValueError >_______________________ test_pylintrc_msg_template[toml] _______________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_msg_template1')> >rcformat = 'toml' > > @pytest.mark.parametrize("rcformat", ("ini", "toml")) > def test_pylintrc_msg_template(testdir, rcformat): > """Verify that msg-template from pylintrc file is handled.""" > if rcformat == "toml": > rcfile = testdir.makefile( > 'toml', > """ > [tool.pylint.REPORTS] > msg-template = "start {msg_id} end" >> """ > ) > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:189: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_pylintrc_msg_template1/test_pylintrc_msg_template') >suffix = 'toml' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'toml' > >/usr/lib/python3.7/pathlib.py:860: ValueError >_______________________ test_cmd_line_ignore_pri[ignore] _______________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_cmd_line_ignore_pri0')> >arg_opt_name = 'ignore', arg_opt_value = 'test_cmd_line_ignore_pri_arg.py' > > @pytest.mark.parametrize('arg_opt_name, arg_opt_value', [ > ('ignore', 'test_cmd_line_ignore_pri_arg.py'), > ('ignore-patterns', '.*arg.py$'), > ], ids=['ignore', 'ignore-patterns']) > def test_cmd_line_ignore_pri(testdir, arg_opt_name, arg_opt_value): > """ > Verify that command line ignores and patterns take priority over > rcfile ignores. > """ > file_ignore = 'test_cmd_line_ignore_pri_file.py' > cmd_arg_ignore = 'test_cmd_line_ignore_pri_arg.py' > cmd_line_ignore = arg_opt_value > > rcfile = testdir.makefile( > 'rc', > """ > [MASTER] > > {0} = {1},foo >> """.format(arg_opt_name, file_ignore) > ) > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:317: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_cmd_line_ignore_pri0/test_cmd_line_ignore_pri') >suffix = 'rc' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'rc' > >/usr/lib/python3.7/pathlib.py:860: ValueError >__________________ test_cmd_line_ignore_pri[ignore-patterns] ___________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_cmd_line_ignore_pri1')> >arg_opt_name = 'ignore-patterns', arg_opt_value = '.*arg.py$' > > @pytest.mark.parametrize('arg_opt_name, arg_opt_value', [ > ('ignore', 'test_cmd_line_ignore_pri_arg.py'), > ('ignore-patterns', '.*arg.py$'), > ], ids=['ignore', 'ignore-patterns']) > def test_cmd_line_ignore_pri(testdir, arg_opt_name, arg_opt_value): > """ > Verify that command line ignores and patterns take priority over > rcfile ignores. > """ > file_ignore = 'test_cmd_line_ignore_pri_file.py' > cmd_arg_ignore = 'test_cmd_line_ignore_pri_arg.py' > cmd_line_ignore = arg_opt_value > > rcfile = testdir.makefile( > 'rc', > """ > [MASTER] > > {0} = {1},foo >> """.format(arg_opt_name, file_ignore) > ) > >/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0/pytest_pylint/tests/test_pytest_pylint.py:317: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.7/site-packages/_pytest/pytester.py:1547: in makefile > return py.path.local(str(self._pytester.makefile(ext, *args, **kwargs))) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:788: in makefile > return self._makefile(ext, args, kwargs) >/usr/lib/python3.7/site-packages/_pytest/pytester.py:756: in _makefile > p = self.path.joinpath(basename).with_suffix(ext) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = PosixPath('/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/pytest-of-portage/pytest-0/test_cmd_line_ignore_pri1/test_cmd_line_ignore_pri') >suffix = 'rc' > > def with_suffix(self, suffix): > """Return a new path with the file suffix changed. If the path > has no suffix, add given suffix. If the given suffix is an empty > string, remove the suffix from the path. > """ > f = self._flavour > if f.sep in suffix or f.altsep and f.altsep in suffix: > raise ValueError("Invalid suffix %r" % (suffix,)) > if suffix and not suffix.startswith('.') or suffix == '.': >> raise ValueError("Invalid suffix %r" % (suffix)) >E ValueError: Invalid suffix 'rc' > >/usr/lib/python3.7/pathlib.py:860: ValueError >=========================== short test summary info ============================ >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_file - ValueE... >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[ini] >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[toml] >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[simple_toml] >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_msg_template[ini] >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_msg_template[toml] >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[ignore] >FAILED pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[ignore-patterns] >========================= 8 failed, 16 passed in 2.40s ========================= > * ERROR: dev-python/pytest-pylint-0.17.0::gentoo failed (test phase): > * Tests fail with python3.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 3076: Called distutils-r1_src_test > * environment, line 1249: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 473: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2676: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2108: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2106: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 812: Called distutils-r1_run_phase 'python_test' > * environment, line 1186: Called python_test > * environment, line 3036: 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/pytest-pylint-0.17.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pytest-pylint-0.17.0::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/pytest-pylint-0.17.0:20210308-212149.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-pylint-0.17.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0' > * S: '/var/tmp/portage/dev-python/pytest-pylint-0.17.0/work/pytest-pylint-0.17.0' >
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 774966
: 690126