Recently , deployments are failing more often with the following error code
Error: gcloud app command with exit code : 141
We are using the latest gcloud sdk version 118.0.0
so what is the the reason behind this exit code , that can help us debug the issue.
here is part of the logs:
[INFO] Sending build context to Docker daemon 504.6 MB
[INFO] Sending build context to Docker daemon 504.6 MB
[INFO]
[INFO] Step 1 : FROM gcr.io/google_appengine/java-compat
[INFO] ---> 5a1ecc79e1fe
[INFO] Step 2 : ADD . /app
[INFO] ---> cdb9a2f427f1
[INFO] Removing intermediate container 0fe5c334db26
[INFO] Step 3 : ENV JAVA_OPTS -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:logs.gc -XX:+UseG1GC
[INFO] ---> Running in a961dc8efcec
[INFO] ---> 6f71a05711b3
[INFO] Removing intermediate container a961dc8efcec
[INFO] Successfully built 6f71a05711b3
[INFO] PUSH
[INFO] The push refers to a repository [us.gcr.io/tradeos-test2/appengine/default.zvi-temp] (len: 1)
[INFO] 6f71a05711b3: Preparing
[INFO] 6f71a05711b3: Pushing
[INFO] 6f71a05711b3: Pushed
[INFO] cdb9a2f427f1: Preparing
[INFO] cdb9a2f427f1: Pushing
[INFO] cdb9a2f427f1: Pushed
[INFO] 8c9cd1a925f0: Image already exists
[INFO] 83de39d03320: Image already exists
[INFO] f0634fadf593: Image already exists
[INFO] f48b0e36878b: Image already exists
[INFO] 42296492885e: Image already exists
[INFO] bbff6ee36cef: Image already exists
[INFO] 7b02832112d4: Image already exists
[INFO] 639370db9cc4: Image already exists
[INFO] 5d735d16c1df: Image already exists
[INFO] b21b3e3bc691: Image already exists
[INFO] latest: digest: sha256:667fba20aecd96583d004f6c693285877eb93307f1e9ef2185bf4e71c5300853 size: 37335
[INFO] DONE
[INFO] --------------------------------------------------------------------------------
[INFO]
[INFO] File upload done.
[INFO]
[INFO] Updating service [default]...
[ERROR] Error: gcloud app command with exit code : 141
Thanks