Azure / aztk

AZTK powered by Azure Batch: On-demand, Dockerized, Spark Jobs on Azure
MIT License
150 stars 66 forks source link

Misleading CLI exit codes #604

Open jaley opened 6 years ago

jaley commented 6 years ago

We've had some automated jobs silently failing due to exit code 0 being returned in these two error conditions:

Would it be possible to make sure any failed CLI command returns a non-zero exit status in error conditions such as these?

timotheeguerin commented 6 years ago

Yeah it seems like when there is an error we just log it but end successfully. We should update that.

jafreck commented 6 years ago

My guess is there are more cases where this happens than noted above. We should try to get full coverage here or this will keep coming back.

ukadiri commented 5 years ago

We are facing similar issues even with 0.10.2 is there any workaround for these issues?