Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Batch - unknown exit code

Hi,all: 

I submitted a batch task, and it will automatically fail when it is running. Check the events above and it will prompt an unknown error. I would like to ask, what is the reason for this?

details:

Job state is set from RUNNING to FAILED for job projects/647012610224/locations/us-central1/jobs/ifr-etl-218235706939801633. Job failed due to task failures. For example, task with index 0 failed, failed task event description is Task state is updated from RUNNING to FAILED on zones/us-central1-a/instances/952685742931573065 with error Batch no longer receives VM updates. with unknown exit code

 

Solved Solved
1 6 1,210
1 ACCEPTED SOLUTION

Hi @JonYu,

Hope the original issue did not block you.

We improved the troubleshooting for the Batch related exit codes in https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes, including VM preemption. Hope next time it would help you triage.

Thanks!

View solution in original post