Console Output

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/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/v2.0
Seen 8 remote branches
 > /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision 3aed2b4bf4f9eddd6e19211e76b2f8ce1bb67935 (origin/v2.0)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 3aed2b4bf4f9eddd6e19211e76b2f8ce1bb67935
Commit message: "fix: stringify paths"
 > /usr/bin/git rev-list --no-walk 21c84b6dc9919d200b3d2b3b2d7966fba9131f00 # timeout=10
[TopicsExplorer] $ /bin/sh -xe /tmp/shiningpanda3784398713163352261.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: 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: 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: setuptools>=36.2.1 in /mnt/data/jenkins/shiningpanda/jobs/995658aa/virtualenvs/d41d8cd9/lib/python3.5/site-packages (from pipenv) (40.4.3)
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)
+ 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.
Installing dependencies from Pipfile.lock (722df1)…
+ 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.0, 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 14 items

tests/test_utils.py ...........F..                                       [100%]

=================================== FAILURES ===================================
__________________________ test_get_topic_descriptors __________________________

    def test_get_topic_descriptors():
        topics = [["very", "nice", "great", "success"]]
>       descriptors = list(utils.get_topic_descriptors(topics))
E       AttributeError: module 'application.utils' has no attribute 'get_topic_descriptors'

tests/test_utils.py:88: AttributeError
--- 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

===================== 1 failed, 13 passed in 0.43 seconds ======================
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@513470f2[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=39848,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=[Mon, 19 Nov 2018 22:04:00 GMT], ETag=[W/"81627fe0a75c3795f93d02c57426e7d2"], Last-Modified=[Wed, 17 Oct 2018 14:31:21 GMT], OkHttp-Received-Millis=[1542665040927], OkHttp-Response-Source=[CONDITIONAL_CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1542665040630], 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=[EC39:44F0:16A959:2FB72E:5BF33350], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4997], X-RateLimit-Reset=[1542668502], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/DARIAH-DE/TopicsExplorer,id=119561258]] (sha:3aed2b4) with context:TopicsExplorer
Setting commit status on GitHub for https://github.com/DARIAH-DE/TopicsExplorer/commit/3aed2b4bf4f9eddd6e19211e76b2f8ce1bb67935
[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