334 |
|
|
335 |
|
# Data alignment |
336 |
|
jobStatus = str(job.runningJob['statusScheduler']) |
337 |
< |
if rForJ.getAttribute('status') not in ['Created', 'Submitting'] and \ |
337 |
> |
if rForJ.getAttribute('status') not in ['Created', 'Submitting', 'Unknown'] and \ |
338 |
|
job.runningJob['statusScheduler'] != 'Cleared': |
339 |
|
job.runningJob['statusScheduler'] = str( rForJ.getAttribute('status') ) |
340 |
|
jobStatus = str(job.runningJob['statusScheduler']) |
349 |
|
job.runningJob['wrapperReturnCode'] = str( rForJ.getAttribute('job_exit') ) |
350 |
|
job_exit_code = str(job.runningJob['wrapperReturnCode']) |
351 |
|
|
352 |
< |
if str( rForJ.getAttribute('resubmit') ).isdigit(): |
353 |
< |
job['submissionNumber'] = int(rForJ.getAttribute('resubmit')) |
352 |
> |
#if str( rForJ.getAttribute('resubmit') ).isdigit(): |
353 |
> |
# job['submissionNumber'] = int(rForJ.getAttribute('resubmit')) |
354 |
> |
# job.runningJob['submission'] = int(rForJ.getAttribute('resubmit')) |
355 |
> |
|
356 |
|
# TODO cleared='0' field, how should it be handled/mapped in BL? #Fabio |
357 |
|
|
358 |
|
common.bossSession.updateDB( task ) |