Started by GitHub push by severinsimmler Building remotely on Rechenknecht in workspace /mnt/data/jenkins/workspace/cophi_toolbox > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url git://github.com/cophi-wue/cophi-toolbox # timeout=10 Fetching upstream changes from git://github.com/cophi-wue/cophi-toolbox > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials > /usr/bin/git fetch --tags --progress git://github.com/cophi-wue/cophi-toolbox +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/gh-pages Seen branch in repository origin/master Seen branch in repository origin/oop Seen branch in repository origin/testing Seen 4 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision 9d4ea5f826d96f986de7adc8ba4ff058c966303e (origin/oop) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 9d4ea5f826d96f986de7adc8ba4ff058c966303e Commit message: "feat: syntax highlighting" > /usr/bin/git rev-list --no-walk 5bc4883b789a8079b7a62dc0dea151f7f12cb77d # timeout=10 $ bash -c "[ -d \$HOME/.pyenv ]" $ bash -c "cd /mnt/data/jenkins/workspace/cophi_toolbox && env PYENV_ROOT\=\$HOME/.pyenv PYENV_VERSION\=3.4.1 \$HOME/.pyenv/bin/pyenv local 2>/dev/null || true" $ bash -c "mkdir \$HOME/.pyenv.lock" $ bash -c "env PYENV_ROOT\=\$HOME/.pyenv PYENV_VERSION\=3.4.1 \$HOME/.pyenv/bin/pyenv versions --bare" $ bash -c "env PYENV_ROOT\=\$HOME/.pyenv PYENV_VERSION\=3.4.1 \$HOME/.pyenv/bin/pyenv rehash" $ bash -c "env PYENV_ROOT\=\$HOME/.pyenv PYENV_VERSION\=3.4.1 \$HOME/.pyenv/bin/pyenv exec pip list" $ bash -c "env PYENV_ROOT\=\$HOME/.pyenv PYENV_VERSION\=3.4.1 \$HOME/.pyenv/bin/pyenv rehash" $ bash -c "rm -rf \$HOME/.pyenv.lock" [cophi_toolbox] $ /bin/sh -xe /tmp/jenkins7616117409292315931.sh + tox GLOB sdist-make: /mnt/data/jenkins/workspace/cophi_toolbox/setup.py py34 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi_toolbox-0.1.1.dev0.zip py34 installed: atomicwrites==1.1.5,attrs==18.1.0,cophi-toolbox==0.1.1.dev0,coverage==4.5.1,lxml==4.2.4,more-itertools==4.3.0,numpy==1.15.0,pandas==0.22.0,pathlib2==2.3.2,pluggy==0.7.1,py==1.5.4,pytest==3.7.1,pytest-cov==2.5.1,python-dateutil==2.7.3,pytz==2018.5,regex==2018.7.11,scandir==1.9.0,six==1.11.0 py34 runtests: PYTHONHASHSEED='4196050992' py34 runtests: commands[0] | pytest ============================= test session starts ============================== platform linux -- Python 3.4.1, pytest-3.7.1, py-1.5.4, pluggy-0.7.1 rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile: setup.cfg plugins: cov-2.5.1 collected 40 items / 5 errors ==================================== ERRORS ==================================== ________________ ERROR collecting src/cophi_toolbox/__init__.py ________________ src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax __________________ ERROR collecting src/cophi_toolbox/api.py ___________________ src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax _______________ ERROR collecting src/cophi_toolbox/complexity.py _______________ .tox/py34/lib/python3.4/site-packages/py/_path/local.py:668: in pyimport __import__(modname) src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax _________________ ERROR collecting src/cophi_toolbox/model.py __________________ .tox/py34/lib/python3.4/site-packages/py/_path/local.py:668: in pyimport __import__(modname) src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax _________________ ERROR collecting src/cophi_toolbox/utils.py __________________ .tox/py34/lib/python3.4/site-packages/py/_path/local.py:668: in pyimport __import__(modname) src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax --- generated xml file: /mnt/data/jenkins/workspace/cophi_toolbox/tests.xml ---- ----------- coverage: platform linux, python 3.4.1-final-0 ----------- Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 5 error in 0.45 seconds ============================ ERROR: InvocationError for command '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py34/bin/pytest' (exited with code 2) py35 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi_toolbox-0.1.1.dev0.zip py35 installed: atomicwrites==1.1.5,attrs==18.1.0,cophi-toolbox==0.1.1.dev0,coverage==4.5.1,lxml==4.2.4,more-itertools==4.3.0,numpy==1.15.0,pandas==0.23.4,pathlib2==2.3.2,pluggy==0.7.1,py==1.5.4,pytest==3.7.1,pytest-cov==2.5.1,python-dateutil==2.7.3,pytz==2018.5,regex==2018.7.11,six==1.11.0 py35 runtests: PYTHONHASHSEED='4196050992' py35 runtests: commands[0] | pytest ============================= test session starts ============================== platform linux -- Python 3.5.3, pytest-3.7.1, py-1.5.4, pluggy-0.7.1 rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile: setup.cfg plugins: cov-2.5.1 collected 40 items / 5 errors ==================================== ERRORS ==================================== ________________ ERROR collecting src/cophi_toolbox/__init__.py ________________ src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax __________________ ERROR collecting src/cophi_toolbox/api.py ___________________ src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax _______________ ERROR collecting src/cophi_toolbox/complexity.py _______________ .tox/py35/lib/python3.5/site-packages/py/_path/local.py:668: in pyimport __import__(modname) src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax _________________ ERROR collecting src/cophi_toolbox/model.py __________________ .tox/py35/lib/python3.5/site-packages/py/_path/local.py:668: in pyimport __import__(modname) src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax _________________ ERROR collecting src/cophi_toolbox/utils.py __________________ .tox/py35/lib/python3.5/site-packages/py/_path/local.py:668: in pyimport __import__(modname) src/cophi_toolbox/__init__.py:46: in from .api import * src/cophi_toolbox/api.py:8: in from . import model E File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 29 E filepath: Union[str, pathlib.Path] E ^ E SyntaxError: invalid syntax --- generated xml file: /mnt/data/jenkins/workspace/cophi_toolbox/tests.xml ---- ----------- coverage: platform linux, python 3.5.3-final-0 ----------- Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 5 error in 0.41 seconds ============================ ERROR: InvocationError for command '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py35/bin/pytest' (exited with code 2) py36 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py36 ERROR: Error creating virtualenv. Note that some special characters (e.g. ':' and unicode symbols) in paths are not supported by virtualenv. Error details: InvocationError('Failed to get version_info for python3.6: b"pyenv: python3.6: command not found\\n\\nThe `python3.6\' command exists in these Python versions:\\n 3.6.5\\n 3.6.6\\n\\n"', None) py37 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py37 SKIPPED: InterpreterNotFound: python3.7 docs inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi_toolbox-0.1.1.dev0.zip docs installed: alabaster==0.7.11,Babel==2.6.0,certifi==2018.4.16,chardet==3.0.4,cophi-toolbox==0.1.1.dev0,docutils==0.14,idna==2.7,imagesize==1.0.0,Jinja2==2.10,lxml==4.2.4,MarkupSafe==1.0,numpy==1.15.0,packaging==17.1,pandas==0.22.0,Pygments==2.2.0,pyparsing==2.2.0,python-dateutil==2.7.3,pytz==2018.5,regex==2018.7.11,requests==2.19.1,six==1.11.0,snowballstemmer==1.2.1,Sphinx==1.7.6,sphinxcontrib-websupport==1.1.0,typing==3.6.4,urllib3==1.23 docs runtests: PYTHONHASHSEED='4196050992' docs runtests: commands[0] | sphinx-build -E -b html docs dist/docs Running Sphinx v1.7.6 loading intersphinx inventory from https://docs.python.org/objects.inv... intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv building [mo]: targets for 0 po files that are out of date building [html]: targets for 3 source files that are out of date updating environment: 3 added, 0 changed, 0 removed reading sources... [ 33%] index reading sources... [ 66%] reference/cophi_toolbox reading sources... [100%] reference/index /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi_toolbox.rst:3: WARNING: Unknown directive type "testsetup". .. testsetup:: from cophi_toolbox import * WARNING: autodoc: failed to import module 'cophi_toolbox.preprocessing'; the following exception was raised: Traceback (most recent call last): File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/sphinx/ext/autodoc/importer.py", line 152, in import_module __import__(modname) File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/__init__.py", line 46, in from .api import * File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/api.py", line 8, in from . import model File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/model.py", line 29 filepath: Union[str, pathlib.Path] ^ SyntaxError: invalid syntax looking for now-outdated files... none found pickling environment... done checking consistency... /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi_toolbox.rst: WARNING: document isn't included in any toctree /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/index.rst: WARNING: document isn't included in any toctree done preparing documents... done writing output... [ 33%] index writing output... [ 66%] reference/cophi_toolbox writing output... [100%] reference/index generating indices... genindex writing additional pages... search copying static files... WARNING: html_static_path entry '/mnt/data/jenkins/workspace/cophi_toolbox/docs/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 5 warnings. The HTML pages are in dist/docs. docs runtests: commands[1] | sphinx-build -b linkcheck docs dist/docs Running Sphinx v1.7.6 loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [linkcheck]: targets for 3 source files that are out of date updating environment: 0 added, 1 changed, 0 removed reading sources... [100%] reference/cophi_toolbox /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi_toolbox.rst:3: WARNING: Unknown directive type "testsetup". .. testsetup:: from cophi_toolbox import * WARNING: autodoc: failed to import module 'cophi_toolbox.preprocessing'; the following exception was raised: Traceback (most recent call last): File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/sphinx/ext/autodoc/importer.py", line 152, in import_module __import__(modname) File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/__init__.py", line 46, in from .api import * File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/api.py", line 8, in from . import model File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/model.py", line 29 filepath: Union[str, pathlib.Path] ^ SyntaxError: invalid syntax looking for now-outdated files... none found pickling environment... done checking consistency... /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi_toolbox.rst: WARNING: document isn't included in any toctree /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/index.rst: WARNING: document isn't included in any toctree done preparing documents... done writing output... [ 33%] index writing output... [ 66%] reference/cophi_toolbox writing output... [100%] reference/index build succeeded, 4 warnings. Look for any errors in the above output or in dist/docs/output.txt ___________________________________ summary ____________________________________ ERROR: py34: commands failed ERROR: py35: commands failed ERROR: py36: Error creating virtualenv. Note that some special characters (e.g. ':' and unicode symbols) in paths are not supported by virtualenv. Error details: InvocationError('Failed to get version_info for python3.6: b"pyenv: python3.6: command not found\\n\\nThe `python3.6\' command exists in these Python versions:\\n 3.6.5\\n 3.6.6\\n\\n"', None) SKIPPED: py37: InterpreterNotFound: python3.7 docs: commands succeeded Build step 'Execute shell' marked build as failure [TASKS] Skipping publisher since build result is FAILURE Recording test results [Cobertura] Publishing Cobertura coverage report... [Cobertura] Publishing Cobertura coverage results... [Cobertura] Cobertura coverage report found. [Set GitHub commit status (universal)] ERROR on repos [GHRepository@60efd4b6[description=A repository containing general functions for processing and accessing text corpora,homepage=,name=cophi-toolbox,license=,fork=false,size=230,milestones={},language=Python,commits={},source=,parent=,responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/json; charset=utf-8], Date=[Mon, 13 Aug 2018 15:03:23 GMT], ETag=[W/"a8a0806a2c6dedb5cabc466266172a91"], Last-Modified=[Tue, 19 Jun 2018 14:12:56 GMT], OkHttp-Received-Millis=[1534172603533], OkHttp-Response-Source=[CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1534172603225], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[200 OK], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[925F:73A2:406C6F:82FEE7:5B719DBB], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4999], X-RateLimit-Reset=[1534176203], X-Runtime-rack=[0.068988], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/cophi-wue/cophi-toolbox,id=113045733]] (sha:9d4ea5f) with context:cophi_toolbox Setting commit status on GitHub for https://github.com/cophi-wue/cophi-toolbox/commit/9d4ea5f826d96f986de7adc8ba4ff058c966303e [BFA] Scanning build for known causes... [BFA] No failure causes found [BFA] Done. 0s Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Notifying upstream projects of job completion Finished: FAILURE