Skip to content

Regression

integration_test.jupyter_integration_test (from nosetests)

Failing for the past 1 build (Since Failed#39 )
Took 30 sec.

Error Message

Command '['jupyter-nbconvert', '--execute', '--log-level=ERROR', '--ExecutePreprocessor.iopub_timeout=30', '--ExecutePreprocessor.timeout=None', '/mnt/data/jenkins/workspace/DARIAH-Topics/IntegrationTest_v01.ipynb']' returned non-zero exit status 1
-------------------- >> begin captured logging << --------------------
root: ERROR: An error occurred while executing the following cell:
------------------
segmented_topics = evaluation.topic_segmenter(model, type2id, 60)
segmented_topics[0][:5]
------------------

IndexError: index 10 is out of bounds for axis 0 with size 10


--------------------- >> end captured logging << ---------------------

Stacktrace

  File "/usr/lib/python3.5/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.5/unittest/case.py", line 601, in run
    testMethod()
  File "/mnt/data/jenkins/shiningpanda/jobs/62c67c92/virtualenvs/d41d8cd9/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/mnt/data/jenkins/workspace/DARIAH-Topics/test/integration_test.py", line 20, in jupyter_integration_test
    stderr=STDOUT, universal_newlines=True)
  File "/usr/lib/python3.5/subprocess.py", line 316, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 398, in run
    output=stdout, stderr=stderr)
Command '['jupyter-nbconvert', '--execute', '--log-level=ERROR', '--ExecutePreprocessor.iopub_timeout=30', '--ExecutePreprocessor.timeout=None', '/mnt/data/jenkins/workspace/DARIAH-Topics/IntegrationTest_v01.ipynb']' returned non-zero exit status 1
-------------------- >> begin captured logging << --------------------
root: ERROR: An error occurred while executing the following cell:
------------------
segmented_topics = evaluation.topic_segmenter(model, type2id, 60)
segmented_topics[0][:5]
------------------

IndexError: index 10 is out of bounds for axis 0 with size 10


--------------------- >> end captured logging << ---------------------