Skip to content
Snippets Groups Projects
Commit 1bdd2f4b authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #3877: Minor fix to let vdsmaker bail out early, if none of the makevds...

Task #3877: Minor fix to let vdsmaker bail out early, if none of the makevds processes succeeded. Avoids incomprehensible error message from combinevds.
parent 0afaf452
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,9 @@ class vdsmaker(BaseRecipe, RemoteCommandRecipeMixIn): ...@@ -107,6 +107,9 @@ class vdsmaker(BaseRecipe, RemoteCommandRecipeMixIn):
vds for vds, job in zip(vdsnames, jobs) vds for vds, job in zip(vdsnames, jobs)
if job.results['returncode'] == 0 if job.results['returncode'] == 0
] ]
if not vdsnames:
self.logger.error("All makevds processes failed. Bailing out!")
return 1
# ********************************************************************* # *********************************************************************
# 3. Combine VDS files to produce GDS # 3. Combine VDS files to produce GDS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment