Started by an SCM change 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/ddw 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 5 remote branches > /usr/bin/git show-ref --tags -d # timeout=10 Checking out Revision a26d83998d31c94371789220ee98472a5b051b9b (origin/testing) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f a26d83998d31c94371789220ee98472a5b051b9b Commit message: "release: v1.0.1" > /usr/bin/git rev-list --no-walk a26d83998d31c94371789220ee98472a5b051b9b # timeout=10 [cophi_toolbox] $ /bin/sh -xe /tmp/jenkins6230554642969722845.sh + tox GLOB sdist-make: /mnt/data/jenkins/workspace/cophi_toolbox/setup.py py34 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py34 ERROR: InterpreterNotFound: python3.4 py35 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip py35 installed: atomicwrites==1.2.0,attrs==18.1.0,cophi==1.0.1,coverage==4.5.1,lxml==4.2.4,more-itertools==4.3.0,numpy==1.15.1,pandas==0.23.4,pathlib2==2.3.2,pkg-resources==0.0.0,pluggy==0.7.1,py==1.5.4,pytest==3.7.3,pytest-cov==2.5.1,python-dateutil==2.7.3,pytz==2018.5,regex==2018.8.17,six==1.11.0 py35 runtests: PYTHONHASHSEED='1329339715' py35 runtests: commands[0] | pytest ============================= test session starts ============================== platform linux -- Python 3.5.3, pytest-3.7.3, py-1.5.4, pluggy-0.7.1 rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile: plugins: cov-2.5.1 collected 40 items tests/test_model.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== ____________________ TestTextfile.test_context_manager_txt _____________________ textfile_model_txt = tmpdir = local('/tmp/pytest-of-jenkins/pytest-1/test_context_manager_txt0') def test_context_manager_txt(textfile_model_txt, tmpdir): > with textfile_model_txt as document: E AttributeError: __exit__ tests/test_model.py:35: AttributeError ____________________ TestTextfile.test_context_manager_xml _____________________ textfile_model_xml = tmpdir = local('/tmp/pytest-of-jenkins/pytest-1/test_context_manager_xml0') def test_context_manager_xml(textfile_model_xml, tmpdir): > with textfile_model_xml as document: E AttributeError: __exit__ tests/test_model.py:44: AttributeError __________________________ TestTextfile.test_read_txt __________________________ textfile_model_txt = def test_read_txt(textfile_model_txt): > assert textfile_model_txt.read_txt() == "ABCDE" E AttributeError: 'TestTextfile' object has no attribute 'read_txt' tests/test_model.py:53: AttributeError _________________________ TestTextfile.test_parse_xml __________________________ textfile_model_xml = def test_parse_xml(textfile_model_xml): > assert isinstance(textfile_model_xml.parse_xml(), etree) E AttributeError: 'TestTextfile' object has no attribute 'parse_xml' tests/test_model.py:56: AttributeError _________________________ TestTextfile.test_stringify __________________________ textfile_model_xml = def test_stringify(textfile_model_xml): > tree = textfile_model_xml.parse_xml() E AttributeError: 'TestTextfile' object has no attribute 'parse_xml' tests/test_model.py:59: AttributeError _____________________________ TestCorpus.test_size _____________________________ corpus_model = def test_size(corpus_model): > assert corpus_model.size["documents"] == 5 E AttributeError: 'TestCorpus' object has no attribute 'size' tests/test_model.py:69: AttributeError _____________________________ TestCorpus.test_dtm ______________________________ corpus_model = def test_dtm(corpus_model): > assert list(corpus_model.columns) == "ABCDEFGHIKLMNO".split() E AttributeError: 'TestCorpus' object has no attribute 'columns' tests/test_model.py:73: AttributeError __________________________ TestCorpus.test_sorted_dtm __________________________ corpus_model = def test_sorted_dtm(corpus_model): > assert list(corpus_model.sorted_dtm.columns) == "BAECDFGHIJKLMNOP".split() E AttributeError: 'TestCorpus' object has no attribute 'sorted_dtm' tests/test_model.py:78: AttributeError __________________________ TestCorpus.test_vocabulary __________________________ corpus_model = def test_vocabulary(corpus_model): > assert corpus_model.vocabulary == "ABCDEFGHIKLMNO".split() E AttributeError: 'TestCorpus' object has no attribute 'vocabulary' tests/test_model.py:81: AttributeError ________________________ TestCorpus.test_freq_spectrum _________________________ corpus_model = def test_freq_spectrum(corpus_model): > assert corpus_model.freq_spectrum.sum() == 15 E AttributeError: 'TestCorpus' object has no attribute 'freq_spectrum' tests/test_model.py:84: AttributeError ___________________________ TestCorpus.test_get_mfw ____________________________ corpus_model = def test_get_mfw(corpus_model): > assert corpus_model.get_mfw(n=1) == ["A"] E AttributeError: 'TestCorpus' object has no attribute 'get_mfw' tests/test_model.py:87: AttributeError ____________________________ TestCorpus.test_get_hl ____________________________ corpus_model = def test_get_hl(corpus_model): > assert corpus_model.get_hl() == "BCDEFGHIKLMNO".split() E AttributeError: 'TestCorpus' object has no attribute 'get_hl' tests/test_model.py:90: AttributeError _____________________________ TestCorpus.test_drop _____________________________ corpus_model = def test_drop(corpus_model): > assert corpus_model.drop(corpus_model.dtm, ["A"]).sum().sum() == 20.0 E AttributeError: 'TestCorpus' object has no attribute 'drop' tests/test_model.py:93: AttributeError ___________________________ TestCorpus.test_zscores ____________________________ corpus_model = def test_zscores(corpus_model): > assert corpus_model.zscores.sum().sum() == -1.6653345369377348e-16 E AttributeError: 'TestCorpus' object has no attribute 'zscores' tests/test_model.py:96: AttributeError __________________________ TestCorpus.test_rel_freqs ___________________________ corpus_model = def test_rel_freqs(corpus_model): > assert corpus_model.rel_freqs.sum().sum() == 5.0 E AttributeError: 'TestCorpus' object has no attribute 'rel_freqs' tests/test_model.py:99: AttributeError ____________________________ TestCorpus.test_tfidf _____________________________ corpus_model = def test_tfidf(corpus_model): > assert corpus_model.tfidf.sum().sum() == 5.169951211177811 E AttributeError: 'TestCorpus' object has no attribute 'tfidf' tests/test_model.py:102: AttributeError __________________________ TestCorpus.test_sum_tokens __________________________ corpus_model = def test_sum_tokens(corpus_model): > assert corpus_model.sum_tokens.sum() == 25.0 E AttributeError: 'TestCorpus' object has no attribute 'sum_tokens' tests/test_model.py:105: AttributeError __________________________ TestCorpus.test_sum_types ___________________________ corpus_model = def test_sum_types(corpus_model): > assert corpus_model.sum_types.sum() == 24.0 E AttributeError: 'TestCorpus' object has no attribute 'sum_types' tests/test_model.py:108: AttributeError ___________________________ TestCorpus.test_get_ttr ____________________________ corpus_model = def test_get_ttr(corpus_model): > assert corpus_model.get_ttr().sum() == 4.8 E AttributeError: 'TestCorpus' object has no attribute 'get_ttr' tests/test_model.py:111: AttributeError _____________________________ TestCorpus.test_ttr ______________________________ corpus_model = def test_ttr(corpus_model): > assert corpus_model.ttr == 0.96 E AttributeError: 'TestCorpus' object has no attribute 'ttr' tests/test_model.py:114: AttributeError __________________________ TestCorpus.test_guiraud_r ___________________________ corpus_model = def test_guiraud_r(corpus_model): > assert corpus_model.guiraud_r == 4.8 E AttributeError: 'TestCorpus' object has no attribute 'guiraud_r' tests/test_model.py:117: AttributeError ________________________ TestCorpus.test_get_guiraud_r _________________________ corpus_model = def test_get_guiraud_r(corpus_model): > assert corpus_model.get_guiraud_r().sum() == 10.73312629199899 E AttributeError: 'TestCorpus' object has no attribute 'get_guiraud_r' tests/test_model.py:120: AttributeError ___________________________ TestCorpus.test_herdan_c ___________________________ corpus_model = def test_herdan_c(corpus_model): > assert corpus_model.herdan_c == 0.9873179343530823 E AttributeError: 'TestCorpus' object has no attribute 'herdan_c' tests/test_model.py:123: AttributeError _________________________ TestCorpus.test_get_herdan_c _________________________ corpus_model = def test_get_herdan_c(corpus_model): > assert corpus_model.get_herdan_c().sum() == 4.861353116146786 E AttributeError: 'TestCorpus' object has no attribute 'get_herdan_c' tests/test_model.py:126: AttributeError ___________________________ TestCorpus.test_dugast_k ___________________________ corpus_model = def test_dugast_k(corpus_model): > assert corpus_model.dugast_k == 2.718534096750976 E AttributeError: 'TestCorpus' object has no attribute 'dugast_k' tests/test_model.py:129: AttributeError _________________________ TestCorpus.test_get_dugast_k _________________________ corpus_model = def test_get_dugast_k(corpus_model): > assert corpus_model.get_dugast_k().sum() == 16.441043713677615 E AttributeError: 'TestCorpus' object has no attribute 'get_dugast_k' tests/test_model.py:132: AttributeError ___________________________ TestCorpus.test_maas_a2 ____________________________ corpus_model = def test_maas_a2(corpus_model): > assert corpus_model.maas_a2 == 0.003939905214404149 E AttributeError: 'TestCorpus' object has no attribute 'maas_a2' tests/test_model.py:135: AttributeError _________________________ TestCorpus.test_get_maas_a2 __________________________ corpus_model = def test_get_maas_a2(corpus_model): > assert corpus_model.get_maas_a2().sum() == 0.08614615250583076 E AttributeError: 'TestCorpus' object has no attribute 'get_maas_a2' tests/test_model.py:138: AttributeError __________________________ TestCorpus.test_tuldava_ln __________________________ corpus_model = def test_tuldava_ln(corpus_model): > assert corpus_model.tuldava_ln == -0.3101281140380007 E AttributeError: 'TestCorpus' object has no attribute 'tuldava_ln' tests/test_model.py:141: AttributeError ________________________ TestCorpus.test_get_tuldava_ln ________________________ corpus_model = def test_get_tuldava_ln(corpus_model): > assert corpus_model.get_tuldava_ln().sum() == -2.968427649858546 E AttributeError: 'TestCorpus' object has no attribute 'get_tuldava_ln' tests/test_model.py:144: AttributeError ___________________________ TestCorpus.test_brunet_w ___________________________ corpus_model = def test_brunet_w(corpus_model): > assert corpus_model.brunet_w == 259.9085568722845 E AttributeError: 'TestCorpus' object has no attribute 'brunet_w' tests/test_model.py:147: AttributeError _________________________ TestCorpus.test_get_brunet_w _________________________ corpus_model = def test_get_brunet_w(corpus_model): > assert corpus_model.get_brunet_w().sum() == 41.12829855223466 E AttributeError: 'TestCorpus' object has no attribute 'get_brunet_w' tests/test_model.py:150: AttributeError _____________________________ TestCorpus.test_cttr _____________________________ corpus_model = def test_cttr(corpus_model): > assert corpus_model.cttr == 3.394112549695428 E AttributeError: 'TestCorpus' object has no attribute 'cttr' tests/test_model.py:153: AttributeError ___________________________ TestCorpus.test_get_cttr ___________________________ corpus_model = def test_get_cttr(corpus_model): > assert corpus_model.get_cttr().sum() == 7.58946638440411 E AttributeError: 'TestCorpus' object has no attribute 'get_cttr' tests/test_model.py:156: AttributeError ___________________________ TestCorpus.test_summer_s ___________________________ corpus_model = def test_summer_s(corpus_model): > assert corpus_model.summer_s == 0.9890822769947938 E AttributeError: 'TestCorpus' object has no attribute 'summer_s' tests/test_model.py:159: AttributeError _________________________ TestCorpus.test_get_summer_s _________________________ corpus_model = def test_get_summer_s(corpus_model): > assert corpus_model.get_summer_s().sum() == 4.686372260494915 E AttributeError: 'TestCorpus' object has no attribute 'get_summer_s' tests/test_model.py:162: AttributeError ___________________________ TestCorpus.test_entropy ____________________________ corpus_model = def test_entropy(corpus_model): > assert corpus_model.entropy == 16.63780936225843 E AttributeError: 'TestCorpus' object has no attribute 'entropy' tests/test_model.py:165: AttributeError ____________________________ TestCorpus.test_yule_k ____________________________ corpus_model = def test_yule_k(corpus_model): > assert corpus_model.yule_k == -688.0 E AttributeError: 'TestCorpus' object has no attribute 'yule_k' tests/test_model.py:168: AttributeError __________________________ TestCorpus.test_simpson_d ___________________________ corpus_model = def test_simpson_d(corpus_model): > assert corpus_model.simpson_d == 0.025 E AttributeError: 'TestCorpus' object has no attribute 'simpson_d' tests/test_model.py:171: AttributeError __________________________ TestCorpus.test_herdan_vm ___________________________ corpus_model = def test_herdan_vm(corpus_model): > assert corpus_model.herdan_vm == 1.417509553171806 E AttributeError: 'TestCorpus' object has no attribute 'herdan_vm' tests/test_model.py:174: AttributeError ========================= 40 failed in 286.37 seconds ========================== ERROR: InvocationError: '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py35/bin/pytest' py36 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py36 ERROR: InterpreterNotFound: python3.6 py37 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py37 ERROR: InterpreterNotFound: python3.7 docs inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip docs installed: alabaster==0.7.11,Babel==2.6.0,certifi==2018.8.24,chardet==3.0.4,cophi==1.0.1,docutils==0.14,idna==2.7,imagesize==1.0.0,Jinja2==2.10,lxml==4.2.4,MarkupSafe==1.0,numpy==1.15.1,packaging==17.1,pandas==0.23.4,pkg-resources==0.0.0,Pygments==2.2.0,pyparsing==2.2.0,python-dateutil==2.7.3,pytz==2018.5,regex==2018.8.17,requests==2.19.1,six==1.11.0,snowballstemmer==1.2.1,Sphinx==1.7.7,sphinxcontrib-websupport==1.1.0,urllib3==1.23 docs runtests: PYTHONHASHSEED='1329339715' docs runtests: commands[0] | sphinx-build -E -b html docs dist/docs Running Sphinx v1.7.7 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 import * WARNING: autodoc: failed to import module 'cophi_toolbox.preprocessing'; the following exception was raised: No module named 'cophi_toolbox' 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.7 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 import * WARNING: autodoc: failed to import module 'cophi_toolbox.preprocessing'; the following exception was raised: No module named 'cophi_toolbox' 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 ____________________________________ SKIPPED: py34: InterpreterNotFound: python3.4 ERROR: py35: commands failed SKIPPED: py36: InterpreterNotFound: python3.6 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 ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did leafNodes run? For example, /mnt/data/jenkins/workspace/cophi_toolbox/tests.xml is 14 days old [Cobertura] Publishing Cobertura coverage report... [Cobertura] Publishing Cobertura coverage results... [Cobertura] Cobertura coverage report found. [Set GitHub commit status (universal)] ERROR on repos [GHRepository@6e753205[description=A repository containing general functions for processing and accessing text corpora,homepage=,name=cophi-toolbox,license=,fork=false,size=466,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/octet-stream], Date=[Mon, 27 Aug 2018 19:49:44 GMT], ETag=["0b3c0af4ae2c250ef07c57f2203d1843"], Last-Modified=[Thu, 23 Aug 2018 22:20:31 GMT], OkHttp-Received-Millis=[1535399384880], OkHttp-Response-Source=[CONDITIONAL_CACHE 304], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1535399384704], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[304 Not Modified], 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=[E947:1B95:B99A14:1A6D47B:5B8455D8], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4979], X-RateLimit-Reset=[1535399658], X-Runtime-rack=[0.066148], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/cophi-wue/cophi-toolbox,id=113045733]] (sha:a26d839) with context:cophi_toolbox Setting commit status on GitHub for https://github.com/cophi-wue/cophi-toolbox/commit/a26d83998d31c94371789220ee98472a5b051b9b [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 2 minutes 57 seconds Notifying upstream projects of job completion Finished: FAILURE