Error Message
AssertionError: Job 1 has different completion status in test. Now Failed. Originally was Finished assert 'Failed' == 'Finished' - Failed + Finished
Stacktrace
testProjectPath = '/Users/jenkins/workspace/CCP4/series-8.0-osx/devtools/test-install/test/test101/ProjectZips/xia2xds_test_0.ccp4_project.zip'
def test_eval(testProjectPath):
# Creating the test object runs i2
i2test = TSuite(testProjectPath)
> i2test.HasItRun()
test101/RunTests/testSuite.py:72:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <testSuite.TSuite object at 0x1191e8890>
def HasItRun(self):
# This should cover basic failures in running the project.
# Both the template & re-run jobs should have run to completion, otherwise triggers an assert.
for job in self.jobinfo:
# Check job complete status, as written out by i2
assert len(job) == 3
> assert job[1] == job[2], ("Job " + job[0] +
" has different completion status in test. Now "
+ job[1] + ". Originally was " + job[2])
E AssertionError: Job 1 has different completion status in test. Now Failed. Originally was Finished
E assert 'Failed' == 'Finished'
E - Failed
E + Finished
test101/RunTests/testSuite.py:172: AssertionError