Started by an SCM change
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 a26d83998d31c94371789220ee98472a5b051b9b # timeout=10
[cophi_toolbox] $ /bin/sh -xe /tmp/jenkins2566079713853434779.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='329135126'
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 0x7feb96dfe9e8>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-6/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 0x7feb96d73978>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-6/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 0x7feb96dd7320>
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 0x7feb96d7c668>
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 0x7feb96e13c50>
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 0x7feb96dde208>
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 0x7feb96dd79e8>
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 0x7feb96d7d0f0>
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 0x7feb96da3400>
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 0x7feb96d73438>
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 0x7feb96d7c908>
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 0x7feb96e13f60>
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 0x7feb96ddeb00>
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 0x7feb96de48d0>
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 0x7feb96dd77b8>
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 0x7feb96d92278>
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 0x7feb96d96b38>
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 0x7feb96d7da20>
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 0x7feb96d977b8>
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 0x7feb96dd4128>
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 0x7feb96da38d0>
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 0x7feb96d73518>
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 0x7feb96d7c828>
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 0x7feb96e13cf8>
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 0x7feb96de4828>
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 0x7feb96dd7cc0>
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 0x7feb96d822b0>
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 0x7feb96d922e8>
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 0x7feb96d96b70>
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 0x7feb96dde7f0>
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 0x7feb96d7dd30>
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 0x7feb96da3f60>
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 0x7feb96d88470>
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 0x7feb96d736d8>
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 0x7feb96d82240>
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 0x7feb96dfea20>
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 0x7feb96dd49b0>
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 0x7feb96de4a90>
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 0x7feb96d92400>
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 0x7feb96dd77f0>
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.37 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='329135126'
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 0x7f02b133a550>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-7/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 0x7f02b10bf908>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-7/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 0x7f02b10b97b8>
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 0x7f02b10ae0b8>
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 0x7f02b10bf6d8>
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 0x7f02b10d0978>
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 0x7f02b109c390>
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 0x7f02b10a3320>
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 0x7f02b133a9b0>
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 0x7f02b10b9a20>
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 0x7f02b10bfb00>
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 0x7f02b10ab240>
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 0x7f02b10d0240>
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 0x7f02b100c550>
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 0x7f02b109c2b0>
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 0x7f02b133a5c0>
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 0x7f02b10412e8>
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 0x7f02b10a3198>
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 0x7f02b10aee10>
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 0x7f02b10b98d0>
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 0x7f02b10bf6a0>
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 0x7f02b100e2e8>
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 0x7f02b10d0860>
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 0x7f02b100c358>
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 0x7f02b109cf60>
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 0x7f02b103b9e8>
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 0x7f02b10ab3c8>
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 0x7f02b10411d0>
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 0x7f02b1037278>
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 0x7f02b10bf080>
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 0x7f02b133ae48>
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 0x7f02b10a36a0>
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 0x7f02b10aec18>
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 0x7f02b131fba8>
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 0x7f02b10b9898>
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 0x7f02b109cb38>
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 0x7f02b100e128>
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 0x7f02b1038f60>
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 0x7f02b1035278>
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 0x7f02b10ab518>
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.39 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='329135126'
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 0x7f0f61eff208>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-8/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 0x7f0f61e677f0>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-8/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 0x7f0f61ed21d0>
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 0x7f0f61effd30>
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 0x7f0f61ece2e8>
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 0x7f0f61edf390>
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 0x7f0f61eff710>
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 0x7f0f61e670f0>
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 0x7f0f61ece6a0>
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 0x7f0f61e7f400>
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 0x7f0f61e9b278>
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 0x7f0f61e9e0f0>
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 0x7f0f61ea2048>
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 0x7f0f61ed26d8>
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 0x7f0f61e67b70>
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 0x7f0f61e82320>
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 0x7f0f61effcf8>
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 0x7f0f61ece128>
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 0x7f0f61e7fc88>
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 0x7f0f61e8b0f0>
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 0x7f0f61e865f8>
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 0x7f0f61e9ef60>
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 0x7f0f61e9b668>
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 0x7f0f61ed2898>
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 0x7f0f61e679b0>
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 0x7f0f62168358>
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 0x7f0f61eced68>
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 0x7f0f61e8a1d0>
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 0x7f0f61effda0>
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 0x7f0f61e8bef0>
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 0x7f0f61e86c50>
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 0x7f0f627bfdd8>
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 0x7f0f61e9e780>
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 0x7f0f61ee4080>
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 0x7f0f62168a20>
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 0x7f0f61ef3668>
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 0x7f0f61ed2668>
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 0x7f0f61e94470>
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 0x7f0f61e67a58>
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 0x7f0f61ea2ef0>
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.71 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='329135126'
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@5d7a745d[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=[Tue, 28 Aug 2018 00:01:46 GMT], ETag=["0b3c0af4ae2c250ef07c57f2203d1843"], Last-Modified=[Thu, 23 Aug 2018 22:20:31 GMT], OkHttp-Received-Millis=[1535414506992], OkHttp-Response-Source=[CONDITIONAL_CACHE 304], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1535414506842], 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=[BED2:1B95:C97D17:1CAFD2B:5B8490EA], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[5000], X-RateLimit-Reset=[1535418106], X-Runtime-rack=[0.046787], 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