Started by GitHub push by severinsimmler
Building remotely on build3 (digibib) 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 800d375416ca63c22aaeeea1e050f88061d8f370 # timeout=10
[cophi_toolbox] $ /bin/sh -xe /tmp/jenkins2995501078100093518.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,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='3454370794'
py35 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.5.6, 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 = <test_model.TestTextfile object at 0x7f3aff853668>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-3/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 = <test_model.TestTextfile object at 0x7f3aff7db908>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-3/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 = <test_model.TestTextfile object at 0x7f3aff8372b0>
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 = <test_model.TestTextfile object at 0x7f3aff7d3668>
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 = <test_model.TestTextfile object at 0x7f3aff86bc18>
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 = <test_model.TestCorpus object at 0x7f3aff8343c8>
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 = <test_model.TestCorpus object at 0x7f3aff837978>
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 = <test_model.TestCorpus object at 0x7f3aff7d5128>
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 = <test_model.TestCorpus object at 0x7f3aff7e3080>
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 = <test_model.TestCorpus object at 0x7f3aff7dbcc0>
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 = <test_model.TestCorpus object at 0x7f3aff7d39b0>
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 = <test_model.TestCorpus object at 0x7f3aff86b978>
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 = <test_model.TestCorpus object at 0x7f3aff834978>
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 = <test_model.TestCorpus object at 0x7f3aff832438>
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 = <test_model.TestCorpus object at 0x7f3aff8374e0>
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 = <test_model.TestCorpus object at 0x7f3aff7d94e0>
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 = <test_model.TestCorpus object at 0x7f3aff7d60b8>
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 = <test_model.TestCorpus object at 0x7f3aff7d54e0>
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 = <test_model.TestCorpus object at 0x7f3aff7f6240>
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 = <test_model.TestCorpus object at 0x7f3aff8293c8>
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 = <test_model.TestCorpus object at 0x7f3aff7e37f0>
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 = <test_model.TestCorpus object at 0x7f3aff7db1d0>
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 = <test_model.TestCorpus object at 0x7f3aff86be10>
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 = <test_model.TestCorpus object at 0x7f3aff832b70>
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 = <test_model.TestCorpus object at 0x7f3aff837e10>
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 = <test_model.TestCorpus object at 0x7f3aff839668>
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 = <test_model.TestCorpus object at 0x7f3aff7d3cc0>
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 = <test_model.TestCorpus object at 0x7f3aff7d9a90>
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 = <test_model.TestCorpus object at 0x7f3aff834ef0>
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 = <test_model.TestCorpus object at 0x7f3aff7d67b8>
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 = <test_model.TestCorpus object at 0x7f3aff7d5b38>
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 = <test_model.TestCorpus object at 0x7f3aff7e3048>
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 = <test_model.TestCorpus object at 0x7f3aff7e56a0>
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 = <test_model.TestCorpus object at 0x7f3aff7db2e8>
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 = <test_model.TestCorpus object at 0x7f3aff7d3d68>
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 = <test_model.TestCorpus object at 0x7f3aff7d91d0>
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 = <test_model.TestCorpus object at 0x7f3aff839f28>
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 = <test_model.TestCorpus object at 0x7f3aff853d68>
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 = <test_model.TestCorpus object at 0x7f3aff829a90>
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 = <test_model.TestCorpus object at 0x7f3aff837898>
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 2.82 seconds ===========================
ERROR: InvocationError: '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py35/bin/pytest'
py36 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip
py36 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,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
py36 runtests: PYTHONHASHSEED='3454370794'
py36 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.6.6, 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 = <test_model.TestTextfile object at 0x7fe3a57173c8>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-4/test_context_manager_txt0')
def test_context_manager_txt(textfile_model_txt, tmpdir):
> with textfile_model_txt as document:
E AttributeError: __enter__
tests/test_model.py:35: AttributeError
____________________ TestTextfile.test_context_manager_xml _____________________
textfile_model_xml = <test_model.TestTextfile object at 0x7fe3a5702898>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-4/test_context_manager_xml0')
def test_context_manager_xml(textfile_model_xml, tmpdir):
> with textfile_model_xml as document:
E AttributeError: __enter__
tests/test_model.py:44: AttributeError
__________________________ TestTextfile.test_read_txt __________________________
textfile_model_txt = <test_model.TestTextfile object at 0x7fe3a56fd2e8>
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 = <test_model.TestTextfile object at 0x7fe3a57179b0>
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 = <test_model.TestTextfile object at 0x7fe3a599ba58>
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 = <test_model.TestCorpus object at 0x7fe3a56f20f0>
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 = <test_model.TestCorpus object at 0x7fe3a56db320>
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 = <test_model.TestCorpus object at 0x7fe3a56e6208>
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 = <test_model.TestCorpus object at 0x7fe3a56e1160>
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 = <test_model.TestCorpus object at 0x7fe3a56942b0>
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 = <test_model.TestCorpus object at 0x7fe3a5717a90>
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 = <test_model.TestCorpus object at 0x7fe3a56fdf28>
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 = <test_model.TestCorpus object at 0x7fe3a5702c18>
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 = <test_model.TestCorpus object at 0x7fe3a56b4128>
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 = <test_model.TestCorpus object at 0x7fe3a56e0208>
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 = <test_model.TestCorpus object at 0x7fe3a597fe80>
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 = <test_model.TestCorpus object at 0x7fe3a56b22b0>
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 = <test_model.TestCorpus object at 0x7fe3a56e60f0>
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 = <test_model.TestCorpus object at 0x7fe3a56e1f28>
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 = <test_model.TestCorpus object at 0x7fe3a5694ef0>
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 = <test_model.TestCorpus object at 0x7fe3a56ce550>
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 = <test_model.TestCorpus object at 0x7fe3a56db198>
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 = <test_model.TestCorpus object at 0x7fe3a56fd198>
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 = <test_model.TestCorpus object at 0x7fe3a5717c88>
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 = <test_model.TestCorpus object at 0x7fe3a56b4160>
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 = <test_model.TestCorpus object at 0x7fe3a56e0ac8>
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 = <test_model.TestCorpus object at 0x7fe3a56b1588>
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 = <test_model.TestCorpus object at 0x7fe3a5702ef0>
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 = <test_model.TestCorpus object at 0x7fe3a5964f98>
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 = <test_model.TestCorpus object at 0x7fe3a56f2b00>
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 = <test_model.TestCorpus object at 0x7fe3a597f1d0>
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 = <test_model.TestCorpus object at 0x7fe3a56b2c18>
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 = <test_model.TestCorpus object at 0x7fe3a56e15f8>
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 = <test_model.TestCorpus object at 0x7fe3a598d470>
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 = <test_model.TestCorpus object at 0x7fe3a56e6710>
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 = <test_model.TestCorpus object at 0x7fe3a56cea58>
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 = <test_model.TestCorpus object at 0x7fe3a56dbac8>
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 = <test_model.TestCorpus object at 0x7fe3a56b45c0>
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 = <test_model.TestCorpus object at 0x7fe3a5717400>
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 = <test_model.TestCorpus object at 0x7fe3a56e0be0>
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 1.43 seconds ===========================
ERROR: InvocationError: '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py36/bin/pytest'
py37 inst-nodeps: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip
py37 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,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
py37 runtests: PYTHONHASHSEED='3454370794'
py37 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.7.0, 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 = <test_model.TestTextfile object at 0x7fdcb58dd978>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-5/test_context_manager_txt0')
def test_context_manager_txt(textfile_model_txt, tmpdir):
> with textfile_model_txt as document:
E AttributeError: __enter__
tests/test_model.py:35: AttributeError
____________________ TestTextfile.test_context_manager_xml _____________________
textfile_model_xml = <test_model.TestTextfile object at 0x7fdcb5843c88>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-5/test_context_manager_xml0')
def test_context_manager_xml(textfile_model_xml, tmpdir):
> with textfile_model_xml as document:
E AttributeError: __enter__
tests/test_model.py:44: AttributeError
__________________________ TestTextfile.test_read_txt __________________________
textfile_model_txt = <test_model.TestTextfile object at 0x7fdcb58bc048>
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 = <test_model.TestTextfile object at 0x7fdcb58ddcf8>
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 = <test_model.TestTextfile object at 0x7fdcb58a8278>
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 = <test_model.TestCorpus object at 0x7fdcb586c358>
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 = <test_model.TestCorpus object at 0x7fdcb58d0470>
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 = <test_model.TestCorpus object at 0x7fdcb5843cf8>
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 = <test_model.TestCorpus object at 0x7fdcb58a8240>
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 = <test_model.TestCorpus object at 0x7fdcb585b4e0>
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 = <test_model.TestCorpus object at 0x7fdcb589e128>
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 = <test_model.TestCorpus object at 0x7fdcb58bcb70>
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 = <test_model.TestCorpus object at 0x7fdcb58780b8>
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 = <test_model.TestCorpus object at 0x7fdcb5857358>
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 = <test_model.TestCorpus object at 0x7fdcb5843d68>
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 = <test_model.TestCorpus object at 0x7fdcb5b42cc0>
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 = <test_model.TestCorpus object at 0x7fdcb586cd30>
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 = <test_model.TestCorpus object at 0x7fdcb58a84a8>
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 = <test_model.TestCorpus object at 0x7fdcb585b780>
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 = <test_model.TestCorpus object at 0x7fdcb5862518>
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 = <test_model.TestCorpus object at 0x7fdcb585f1d0>
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 = <test_model.TestCorpus object at 0x7fdcb589e588>
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 = <test_model.TestCorpus object at 0x7fdcb58bcfd0>
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 = <test_model.TestCorpus object at 0x7fdcb5878c88>
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 = <test_model.TestCorpus object at 0x7fdcb5857f98>
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 = <test_model.TestCorpus object at 0x7fdcb5843ba8>
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 = <test_model.TestCorpus object at 0x7fdcb58607b8>
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 = <test_model.TestCorpus object at 0x7fdcb58b1860>
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 = <test_model.TestCorpus object at 0x7fdcb586cd68>
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 = <test_model.TestCorpus object at 0x7fdcb58a8ac8>
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 = <test_model.TestCorpus object at 0x7fdcb585f908>
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 = <test_model.TestCorpus object at 0x7fdcb585b588>
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 = <test_model.TestCorpus object at 0x7fdcb58c28d0>
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 = <test_model.TestCorpus object at 0x7fdcb5862d68>
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 = <test_model.TestCorpus object at 0x7fdcb58d03c8>
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 = <test_model.TestCorpus object at 0x7fdcb58bccf8>
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 = <test_model.TestCorpus object at 0x7fdcb587d1d0>
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 = <test_model.TestCorpus object at 0x7fdcb58dd860>
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 = <test_model.TestCorpus object at 0x7fdcb589e0f0>
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 = <test_model.TestCorpus object at 0x7fdcb5878dd8>
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 0.35 seconds ===========================
ERROR: InvocationError: '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py37/bin/pytest'
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,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='3454370794'
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
ERROR: py36: commands failed
ERROR: py37: commands failed
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: No test report files were found. Configuration error?
[Cobertura] Publishing Cobertura coverage report...
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@1e30028c[description=A repository containing general functions for processing and accessing text corpora,homepage=<null>,name=cophi-toolbox,license=<null>,fork=false,size=466,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/octet-stream], Date=[Mon, 27 Aug 2018 18:04:50 GMT], ETag=["0b3c0af4ae2c250ef07c57f2203d1843"], Last-Modified=[Thu, 23 Aug 2018 22:20:31 GMT], OkHttp-Received-Millis=[1535393090649], OkHttp-Response-Source=[CONDITIONAL_CACHE 304], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1535393090495], 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=[B689:1B96:EB9A87:1ECDFED:5B843D42], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4998], X-RateLimit-Reset=[1535396054], X-Runtime-rack=[0.050173], 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 0 seconds
Notifying upstream projects of job completion
Finished: FAILURE