Skip to content
Failed

Console Output

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/master
Seen branch in repository origin/oop
Seen branch in repository origin/testing
Seen 3 remote branches
 > /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision c33879ec25037aa995a106b5fafd3bc6263fc878 (origin/oop)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f c33879ec25037aa995a106b5fafd3bc6263fc878
Commit message: "chore: update notebook"
 > /usr/bin/git rev-list --no-walk bdef3596cabfe9947c467cadd1f82905eabaf747 # 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"
Updating pyenv...
$ bash -c "cd \$HOME/.pyenv && git checkout master && git pull"
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Updated pyenv.
Installing 3.4.1...
$ bash -c "env PYENV_ROOT\=\$HOME/.pyenv PYENV_VERSION\=3.4.1 \$HOME/.pyenv/bin/pyenv install 3.4.1"
Downloading Python-3.4.1.tar.xz...
-> https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tar.xz
Installing Python-3.4.1...
patching file ./Lib/ssl.py
patching file ./Modules/_ssl.c
Hunk #1 succeeded at 2014 (offset -2 lines).
Hunk #2 succeeded at 4066 (offset -7 lines).
Installed Python-3.4.1 to /mnt/data/jenkins/.pyenv/versions/3.4.1

Installed 3.4.1.
$ 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"
Installing tox...
$ bash -c "env PYENV_ROOT\=\$HOME/.pyenv PYENV_VERSION\=3.4.1 \$HOME/.pyenv/bin/pyenv exec pip install tox"
Downloading/unpacking tox
Downloading/unpacking pluggy>=0.3.0,<1 (from tox)
  Downloading pluggy-0.7.1-py2.py3-none-any.whl
Downloading/unpacking py>=1.4.17,<2 (from tox)
Downloading/unpacking six>=1.0.0,<2 (from tox)
  Downloading six-1.11.0-py2.py3-none-any.whl
Downloading/unpacking virtualenv>=1.11.2 (from tox)
Downloading/unpacking setuptools>=30.0.0 (from tox)
Installing collected packages: tox, pluggy, py, six, virtualenv, setuptools
  Found existing installation: setuptools 2.1
    Uninstalling setuptools:
      Successfully uninstalled setuptools
Successfully installed tox pluggy py six virtualenv setuptools
Cleaning up...
Installed tox.
$ 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/jenkins4708767180289897599.sh
+ tox
GLOB sdist-make: /mnt/data/jenkins/workspace/cophi_toolbox/setup.py
py34 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py34
py34 installdeps: pytest, pytest-cov
py34 inst: /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='2829281336'
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 / 6 errors

==================================== ERRORS ====================================
________________ ERROR collecting src/cophi_toolbox/__init__.py ________________
src/cophi_toolbox/__init__.py:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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 <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
E       filepath: Union[str, pathlib.Path]
E               ^
E   SyntaxError: invalid syntax
_____________ ERROR collecting src/cophi_toolbox/preprocessing.py ______________
.tox/py34/lib/python3.4/site-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
src/cophi_toolbox/__init__.py:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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: 6 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 6 error in 0.78 seconds ============================
ERROR: InvocationError for command '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py34/bin/pytest' (exited with code 2)
py35 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py35
py35 installdeps: pytest, pytest-cov
py35 inst: /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='2829281336'
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 / 6 errors

==================================== ERRORS ====================================
________________ ERROR collecting src/cophi_toolbox/__init__.py ________________
src/cophi_toolbox/__init__.py:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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 <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
E       filepath: Union[str, pathlib.Path]
E               ^
E   SyntaxError: invalid syntax
_____________ ERROR collecting src/cophi_toolbox/preprocessing.py ______________
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
src/cophi_toolbox/__init__.py:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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:8: in <module>
    from .api import *
src/cophi_toolbox/api.py:8: in <module>
    from . import model
E     File "/mnt/data/jenkins/workspace/cophi_toolbox/src/cophi_toolbox/model.py", line 27
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: 6 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 6 error in 0.48 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 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs
docs installdeps: -r/mnt/data/jenkins/workspace/cophi_toolbox/docs/requirements.txt
docs inst: /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='2829281336'
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 8, in <module>
    from .api import *
  File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/api.py", line 8, in <module>
    from . import model
  File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/model.py", line 27
    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 8, in <module>
    from .api import *
  File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/api.py", line 8, in <module>
    from . import model
  File "/mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs/lib/python3.4/site-packages/cophi_toolbox/model.py", line 27
    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@5f0b7aed[description=A repository containing general functions for processing and accessing text corpora,homepage=<null>,name=cophi-toolbox,license=<null>,fork=false,size=178,milestones={},language=Python,commits={},source=<null>,parent=<null>,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=[Fri, 10 Aug 2018 19:07:28 GMT], ETag=[W/"e10e9eeeed5a499b376c07a141d998fb"], Last-Modified=[Tue, 19 Jun 2018 14:12:56 GMT], OkHttp-Received-Millis=[1533928048384], OkHttp-Response-Source=[CONDITIONAL_CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1533928048214], 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=[A018:0C77:EFEE0C:216319B:5B6DE26F], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4999], X-RateLimit-Reset=[1533931648], X-Runtime-rack=[0.060157], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/cophi-wue/cophi-toolbox,id=113045733]] (sha:c33879e) with context:cophi_toolbox
Setting commit status on GitHub for https://github.com/cophi-wue/cophi-toolbox/commit/c33879ec25037aa995a106b5fafd3bc6263fc878
[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