Skip to content

Regression

integration_test.jupyter_integration_test (from nosetests)

Failing for the past 1 build (Since Failed#27 )
Took 53 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:
------------------
import os

#Variable zum Testen -> wenn Mallet unter Linux nicht installiert wurde
path_to_mallet = "/home/sina/Uni/Dariah/mallet/bin/mallet"

path_to_corpus = os.path.join(os.path.abspath('.'), 'corpus_txt')
assert os.path.exists(path_to_corpus)

#malletBinary = mal.create_mallet_binary(path_to_corpus)
malletBinary = mal.create_mallet_binary(path_to_corpus, path_to_mallet)
------------------

FileNotFoundError: [Errno 2] No such file or directory: '/home/sina/Uni/Dariah/mallet/bin/mallet'


--------------------- >> 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:
------------------
import os

#Variable zum Testen -> wenn Mallet unter Linux nicht installiert wurde
path_to_mallet = "/home/sina/Uni/Dariah/mallet/bin/mallet"

path_to_corpus = os.path.join(os.path.abspath('.'), 'corpus_txt')
assert os.path.exists(path_to_corpus)

#malletBinary = mal.create_mallet_binary(path_to_corpus)
malletBinary = mal.create_mallet_binary(path_to_corpus, path_to_mallet)
------------------

FileNotFoundError: [Errno 2] No such file or directory: '/home/sina/Uni/Dariah/mallet/bin/mallet'


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