Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 648880 Details for
Bug 732192
dev-python/doit-py 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), 21.30 KB, created by
Agostino Sarubbo
on 2020-07-11 13:43:14 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-07-11 13:43:14 UTC
Size:
21.30 KB
patch
obsolete
> * Package: dev-python/doit-py-0.5.0 > * Repository: gentoo > * Maintainer: azamat.hackimov@gmail.com proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 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/gentoo/commit/99596149e4d2382e870a71c49c39f8e115c126f3 >@@@@@ END @@@@@ > >>>> Unpacking source... >>>> Unpacking doit-py-0.5.0.tar.gz to /var/tmp/portage/dev-python/doit-py-0.5.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/doit-py-0.5.0/work >>>> Preparing source in /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.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/doit-py-0.5.0/work/doit-py-0.5.0-python3_7/lib/doitpy >copying doitpy/pyflakes.py -> /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0-python3_7/lib/doitpy >copying doitpy/package.py -> /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0-python3_7/lib/doitpy >copying doitpy/docs.py -> /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0-python3_7/lib/doitpy >copying doitpy/coverage.py -> /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0-python3_7/lib/doitpy >copying doitpy/__init__.py -> /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0-python3_7/lib/doitpy >warning: build_py: byte-compiling is disabled, skipping. > > * Using python3.8 in global scope > * python3_8: running distutils-r1_run_phase python_compile_all >>>> Source compiled. >>>> Test phase: dev-python/doit-py-0.5.0 > * python3_7: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux -- Python 3.7.8, pytest-5.4.3, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3.7 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0 >collecting ... collected 25 items > >tests/test_coverage.py::TestPythonPackage::test_init_tests_in_package PASSED [ 4%] >tests/test_coverage.py::TestPythonPackage::test_init_test_path PASSED [ 8%] >tests/test_coverage.py::TestPythonPackage::test_all_modules PASSED [ 12%] >tests/test_coverage.py::TestCoverage::test_init_pkg_instance PASSED [ 16%] >tests/test_coverage.py::TestCoverage::test_cover_all PASSED [ 20%] >tests/test_coverage.py::TestCoverage::test_all_module PASSED [ 24%] >tests/test_coverage.py::TestCoverage::test_cover_all_parallel PASSED [ 28%] >tests/test_coverage.py::TestCoverage::test_cover_all_multiprocessing PASSED [ 32%] >tests/test_coverage.py::TestCoverage::test_cover_src PASSED [ 36%] >tests/test_coverage.py::TestCoverage::test_cover_module PASSED [ 40%] >tests/test_docs.py::TestSpell::test_check_ok FAILED [ 44%] >tests/test_docs.py::TestSpell::test_check_fail FAILED [ 48%] >tests/test_docs.py::TestSpell::test_spell_task PASSED [ 52%] >tests/test_docs.py::TestSphinx::test_sphinx PASSED [ 56%] >tests/test_docs.py::TestPythonHosted::test_upload PASSED [ 60%] >tests/test_package.py::TestPackage::test_revision_git PASSED [ 64%] >tests/test_package.py::TestPackage::test_manifest_git PASSED [ 68%] >tests/test_package.py::TestPackage::test_manifest_with_revision PASSED [ 72%] >tests/test_package.py::TestPackage::test_sdist PASSED [ 76%] >tests/test_package.py::TestPackage::test_sdist_upload PASSED [ 80%] >tests/test_pyflakes.py::TestCheckPath::test_success PASSED [ 84%] >tests/test_pyflakes.py::TestCheckPath::test_failure PASSED [ 88%] >tests/test_pyflakes.py::TestPyflakes::test_init PASSED [ 92%] >tests/test_pyflakes.py::TestPyflakes::test_call PASSED [ 96%] >tests/test_pyflakes.py::TestPyflakes::test_tasks PASSED [100%] > >=================================== FAILURES =================================== >___________________________ TestSpell.test_check_ok ____________________________ > >self = <test_docs.TestSpell object at 0x7f52354c7e90> > > def test_check_ok(self): >> assert docs.check_no_output(str(SAMPLE_PATH / 'flake_fail.py'), > str(SAMPLE_PATH / 'dict.txt')) > >tests/test_docs.py:11: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../doit-py-0.5.0-python3_7/lib/doitpy/docs.py:31: in check_no_output > universal_newlines=True) >/usr/lib/python3.7/subprocess.py:411: in check_output > **kwargs).stdout >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input = None, capture_output = False, timeout = None, check = True >popenargs = ('hunspell -l -d en_US -p /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/dict.txt /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/flake_fail.py',) >kwargs = {'shell': True, 'stdout': -1, 'universal_newlines': True} >process = <subprocess.Popen object at 0x7f52354c7e50>, stdout = '' >stderr = None, retcode = 1 > > def run(*popenargs, > input=None, capture_output=False, timeout=None, check=False, **kwargs): > """Run command with arguments and return a CompletedProcess instance. > > The returned instance will have attributes args, returncode, stdout and > stderr. By default, stdout and stderr are not captured, and those attributes > will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them. > > If check is True and the exit code was non-zero, it raises a > CalledProcessError. The CalledProcessError object will have the return code > in the returncode attribute, and output & stderr attributes if those streams > were captured. > > If timeout is given, and the process takes too long, a TimeoutExpired > exception will be raised. > > There is an optional argument "input", allowing you to > pass bytes or a string to the subprocess's stdin. If you use this argument > you may not also use the Popen constructor's "stdin" argument, as > it will be used internally. > > By default, all communication is in bytes, and therefore any "input" should > be bytes, and the stdout and stderr will be bytes. If in text mode, any > "input" should be a string, and stdout and stderr will be strings decoded > according to locale encoding, or by "encoding" if set. Text mode is > triggered by setting any of text, encoding, errors or universal_newlines. > > The other arguments are the same as for the Popen constructor. > """ > if input is not None: > if kwargs.get('stdin') is not None: > raise ValueError('stdin and input arguments may not both be used.') > kwargs['stdin'] = PIPE > > if capture_output: > if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: > raise ValueError('stdout and stderr arguments may not be used ' > 'with capture_output.') > kwargs['stdout'] = PIPE > kwargs['stderr'] = PIPE > > with Popen(*popenargs, **kwargs) as process: > try: > stdout, stderr = process.communicate(input, timeout=timeout) > except TimeoutExpired as exc: > process.kill() > if _mswindows: > # Windows accumulates the output in a single blocking > # read() call run on child threads, with the timeout > # being done in a join() on those threads. communicate() > # _after_ kill() is required to collect that and add it > # to the exception. > exc.stdout, exc.stderr = process.communicate() > else: > # POSIX _communicate already populated the output so > # far into the TimeoutExpired exception. > process.wait() > raise > except: # Including KeyboardInterrupt, communicate handled that. > process.kill() > # We don't call process.wait() as .__exit__ does that for us. > raise > retcode = process.poll() > if check and retcode: > raise CalledProcessError(retcode, process.args, >> output=stdout, stderr=stderr) >E subprocess.CalledProcessError: Command 'hunspell -l -d en_US -p /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/dict.txt /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/flake_fail.py' returned non-zero exit status 1. > >/usr/lib/python3.7/subprocess.py:512: CalledProcessError >----------------------------- Captured stderr call ----------------------------- >Can't open affix or dictionary files for dictionary named "en_US". >__________________________ TestSpell.test_check_fail ___________________________ > >self = <test_docs.TestSpell object at 0x7f52351c3150> > > def test_check_fail(self): >> assert not docs.check_no_output(str(SAMPLE_PATH / 'flake_ok.py'), > str(SAMPLE_PATH / 'dict.txt')) > >tests/test_docs.py:15: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../doit-py-0.5.0-python3_7/lib/doitpy/docs.py:31: in check_no_output > universal_newlines=True) >/usr/lib/python3.7/subprocess.py:411: in check_output > **kwargs).stdout >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input = None, capture_output = False, timeout = None, check = True >popenargs = ('hunspell -l -d en_US -p /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/dict.txt /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/flake_ok.py',) >kwargs = {'shell': True, 'stdout': -1, 'universal_newlines': True} >process = <subprocess.Popen object at 0x7f52351c3510>, stdout = '' >stderr = None, retcode = 1 > > def run(*popenargs, > input=None, capture_output=False, timeout=None, check=False, **kwargs): > """Run command with arguments and return a CompletedProcess instance. > > The returned instance will have attributes args, returncode, stdout and > stderr. By default, stdout and stderr are not captured, and those attributes > will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them. > > If check is True and the exit code was non-zero, it raises a > CalledProcessError. The CalledProcessError object will have the return code > in the returncode attribute, and output & stderr attributes if those streams > were captured. > > If timeout is given, and the process takes too long, a TimeoutExpired > exception will be raised. > > There is an optional argument "input", allowing you to > pass bytes or a string to the subprocess's stdin. If you use this argument > you may not also use the Popen constructor's "stdin" argument, as > it will be used internally. > > By default, all communication is in bytes, and therefore any "input" should > be bytes, and the stdout and stderr will be bytes. If in text mode, any > "input" should be a string, and stdout and stderr will be strings decoded > according to locale encoding, or by "encoding" if set. Text mode is > triggered by setting any of text, encoding, errors or universal_newlines. > > The other arguments are the same as for the Popen constructor. > """ > if input is not None: > if kwargs.get('stdin') is not None: > raise ValueError('stdin and input arguments may not both be used.') > kwargs['stdin'] = PIPE > > if capture_output: > if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: > raise ValueError('stdout and stderr arguments may not be used ' > 'with capture_output.') > kwargs['stdout'] = PIPE > kwargs['stderr'] = PIPE > > with Popen(*popenargs, **kwargs) as process: > try: > stdout, stderr = process.communicate(input, timeout=timeout) > except TimeoutExpired as exc: > process.kill() > if _mswindows: > # Windows accumulates the output in a single blocking > # read() call run on child threads, with the timeout > # being done in a join() on those threads. communicate() > # _after_ kill() is required to collect that and add it > # to the exception. > exc.stdout, exc.stderr = process.communicate() > else: > # POSIX _communicate already populated the output so > # far into the TimeoutExpired exception. > process.wait() > raise > except: # Including KeyboardInterrupt, communicate handled that. > process.kill() > # We don't call process.wait() as .__exit__ does that for us. > raise > retcode = process.poll() > if check and retcode: > raise CalledProcessError(retcode, process.args, >> output=stdout, stderr=stderr) >E subprocess.CalledProcessError: Command 'hunspell -l -d en_US -p /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/dict.txt /var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0/tests/sample/flake_ok.py' returned non-zero exit status 1. > >/usr/lib/python3.7/subprocess.py:512: CalledProcessError >----------------------------- Captured stderr call ----------------------------- >Can't open affix or dictionary files for dictionary named "en_US". >=========================== short test summary info ============================ >FAILED tests/test_docs.py::TestSpell::test_check_ok - subprocess.CalledProces... >FAILED tests/test_docs.py::TestSpell::test_check_fail - subprocess.CalledProc... >========================= 2 failed, 23 passed in 0.25s ========================= > * ERROR: dev-python/doit-py-0.5.0::gentoo failed (test phase): > * Tests fail with python3.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2999: Called distutils-r1_src_test > * environment, line 1276: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 472: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2596: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2058: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2056: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 864: Called distutils-r1_run_phase 'python_test' > * environment, line 1213: Called python_test > * environment, line 2941: 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/doit-py-0.5.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/doit-py-0.5.0::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/doit-py-0.5.0:20200711-112349.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/doit-py-0.5.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/doit-py-0.5.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0' > * S: '/var/tmp/portage/dev-python/doit-py-0.5.0/work/doit-py-0.5.0' > > > >emerge --info: >Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1018-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1018-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 >KiB Mem: 64359960 total, 57531436 free >KiB Swap: 0 total, 0 free >sh bash 5.0_p17 >ld GNU ld (Gentoo 2.34 p4) 2.34.0 >app-shells/bash: 5.0_p17::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo >dev-util/cmake: 3.17.3::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r1::gentoo >sys-devel/gcc: 10.1.0-r2::gentoo >sys-devel/gcc-config: 2.3.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) >sys-libs/glibc: 2.31-r5::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 24 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="*" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >DISTDIR="/usr/portage/distfiles" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="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" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >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 fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" >Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >
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 732192
: 648880