Started by GitHub push by severinsimmler Building remotely on Rechenknecht in workspace /mnt/data/jenkins/workspace/TopicsExplorer > /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/DARIAH-DE/TopicsExplorer # timeout=10 Fetching upstream changes from git://github.com/DARIAH-DE/TopicsExplorer > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials > /usr/bin/git fetch --tags --progress git://github.com/DARIAH-DE/TopicsExplorer +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/clean-ipynb Seen branch in repository origin/electron Seen branch in repository origin/electron-webengine Seen branch in repository origin/gh-pages Seen branch in repository origin/master Seen branch in repository origin/only_TM_functions Seen branch in repository origin/pyinstaller Seen branch in repository origin/testing Seen branch in repository origin/testing-pages Seen branch in repository origin/v2.0 Seen 10 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision bb950e7067dc14253880fa4a6da7746c3dee7343 (origin/testing) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f bb950e7067dc14253880fa4a6da7746c3dee7343 Commit message: "fix: path to schema if frozen" > /usr/bin/git rev-list --no-walk f2467f340fae1554bb79ed7a945c5a3e3ac0f762 # timeout=10 [TopicsExplorer] $ /bin/sh -xe /tmp/shiningpanda7100797131798956731.sh + pip install -U pipenv Requirement already up-to-date: pipenv in /mnt/data/jenkins/shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages (2018.11.14) Requirement already satisfied, skipping upgrade: certifi in /mnt/data/jenkins/shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages (from pipenv) (2018.8.24) Requirement already satisfied, skipping upgrade: virtualenv-clone>=0.2.5 in /mnt/data/jenkins/shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages (from pipenv) (0.3.0) Requirement already satisfied, skipping upgrade: pip>=9.0.1 in /mnt/data/jenkins/shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages (from pipenv) (18.1) Requirement already satisfied, skipping upgrade: virtualenv in /mnt/data/jenkins/shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages (from pipenv) (16.0.0) Requirement already satisfied, skipping upgrade: setuptools>=36.2.1 in /mnt/data/jenkins/shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages (from pipenv) (40.4.3) + pipenv install --dev Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning. Pipfile.lock (e96504) out of date, updating to (a79791)… Locking [dev-packages] dependencies… ⠋ Locking... ⠙ Locking... ⠹ Locking... ⠸ Locking... ⠼ Locking... ⠴ Locking... ⠦ Locking... ⠧ Locking... ⠇ Locking... ⠏ Locking... ⠋ Locking... ⠙ Locking... ⠹ Locking... ⠸ Locking... ⠼ Locking... ⠴ Locking... ⠦ Locking... ⠧ Locking... ⠇ Locking... ⠏ Locking... ⠋ Locking... ✔ Success! Locking [packages] dependencies… ⠋ Locking... ⠙ Locking... ⠹ Locking... ⠸ Locking... ⠼ Locking... ⠴ Locking... ⠦ Locking... ⠧ Locking... ⠇ Locking... ⠏ Locking... ⠋ Locking... ⠙ Locking... ⠹ Locking... ⠸ Locking... ⠼ Locking... ⠴ Locking... ⠦ Locking... ⠧ Locking... ⠇ Locking... ⠏ Locking... ⠋ Locking... ⠙ Locking... ⠹ Locking... ⠸ Locking... ⠼ Locking... ⠴ Locking... ⠦ Locking... ⠧ Locking... ⠇ Locking... ⠏ Locking... ⠋ Locking... ⠙ Locking... ⠹ Locking... ⠸ Locking... ⠼ Locking... ⠴ Locking... ⠦ Locking... ⠧ Locking... ⠇ Locking... ⠏ Locking... ⠋ Locking... ⠙ Locking... ⠹ Locking... ⠸ Locking... ⠼ Locking... ⠴ Locking... ⠦ Locking... ⠧ Locking... ✔ Success! Updated Pipfile.lock (e96504)! Installing dependencies from Pipfile.lock (e96504)… + pipenv run pytest --junit-xml tests.xml --cov=application --cov-report=xml --cov-report=html Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning. ============================= test session starts ============================== platform linux -- Python 3.5.3, pytest-4.0.1, py-1.7.0, pluggy-0.8.0 rootdir: /mnt/data/jenkins/workspace/TopicsExplorer, inifile: plugins: flask-0.14.0, cov-2.6.0 collected 0 items / 1 errors ==================================== ERRORS ==================================== _____________________ ERROR collecting tests/test_utils.py _____________________ ../../shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages/_pytest/python.py:450: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) ../../shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages/py/_path/local.py:668: in pyimport __import__(modname) <frozen importlib._bootstrap>:969: in _find_and_load ??? <frozen importlib._bootstrap>:958: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:664: in _load_unlocked ??? <frozen importlib._bootstrap>:634: in _load_backward_compatible ??? ../../shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:295: in load_module six.exec_(co, mod.__dict__) tests/test_utils.py:11: in <module> from application import utils application/__init__.py:1: in <module> from application import views application/views.py:12: in <module> from application import database application/database.py:6: in <module> from application import utils E File "/mnt/data/jenkins/workspace/TopicsExplorer/application/utils.py", line 63 E with app.open_resource(str(Path(root, "schema.sql")) as schemafile: E ^ E SyntaxError: invalid syntax --- generated xml file: /mnt/data/jenkins/workspace/TopicsExplorer/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: 1 errors during collection !!!!!!!!!!!!!!!!!!!! =========================== 1 error in 0.57 seconds ============================ Coverage.py warning: Could not parse Python file /mnt/data/jenkins/workspace/TopicsExplorer/application/utils.py Coverage.py warning: Could not parse Python file /mnt/data/jenkins/workspace/TopicsExplorer/application/utils.py Build step 'Virtualenv Builder' marked build as 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@596478d8[description=Explore your own text collection with a topic model – without prior knowledge.,homepage=https://dariah-de.github.io/TopicsExplorer,name=TopicsExplorer,fork=false,size=40342,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, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type], 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=[Sun, 25 Nov 2018 13:35:56 GMT], ETag=[W/"ebe1209712b1c95692de32092414b166"], Last-Modified=[Wed, 17 Oct 2018 14:31:21 GMT], OkHttp-Received-Millis=[1543152956134], OkHttp-Response-Source=[CONDITIONAL_CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1543152955977], 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=[DE9E:061E:1960BC5:352FBFE:5BFAA53B], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4950], X-RateLimit-Reset=[1543153362], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/DARIAH-DE/TopicsExplorer,id=119561258]] (sha:bb950e7) with context:TopicsExplorer Setting commit status on GitHub for https://github.com/DARIAH-DE/TopicsExplorer/commit/bb950e7067dc14253880fa4a6da7746c3dee7343 [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 [ci-game] evaluating rule: Build result [ci-game] evaluating rule: Increased number of passed tests [ci-game] evaluating rule: Decreased number of passed tests [ci-game] evaluating rule: Increased number of failed tests [ci-game] evaluating rule: Decreased number of failed tests [ci-game] evaluating rule: Increased number of skipped tests [ci-game] evaluating rule: Decreased number of skipped tests [ci-game] evaluating rule: Open HIGH priority tasks [ci-game] evaluating rule: Open NORMAL priority tasks [ci-game] evaluating rule: Open LOW priority tasks [ci-game] evaluating rule: Changed number of compiler warnings Finished: FAILURE