Require error output to exist
With this commit, the error output is required to exist in order for an instance to be considered done. This is just a defensive measure to ensure that no useful information can be missed.
This commit is contained in:
parent
837422e4b0
commit
4239e36a3d
@ -136,9 +136,10 @@ def nextJob(config):
|
|||||||
for configuration in configurations:
|
for configuration in configurations:
|
||||||
filenames = outputFilenames(configuration, instance, config)
|
filenames = outputFilenames(configuration, instance, config)
|
||||||
outputFile = os.path.join(config["storage"]["local"], filenames["outputFile"])
|
outputFile = os.path.join(config["storage"]["local"], filenames["outputFile"])
|
||||||
|
errorFile = os.path.join(config["storage"]["local"], filenames["errorFile"])
|
||||||
environmentFile = os.path.join(config["storage"]["local"], filenames["environmentFile"])
|
environmentFile = os.path.join(config["storage"]["local"], filenames["environmentFile"])
|
||||||
|
|
||||||
if not os.path.exists(outputFile) or not os.path.exists(environmentFile):
|
if not os.path.exists(outputFile) or not os.path.exists(errorFile) or not os.path.exists(environmentFile):
|
||||||
return {"configuration": configuration, "instance": instance}
|
return {"configuration": configuration, "instance": instance}
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user