Revert "update_engine: trigger a crash on unrecoverable condition" This reverts commit 1329fd880962c9441d4ca462e8cda3fbc29049c9. Reason for revert: https://crbug.com/962730#c18 Original change's description: > update_engine: trigger a crash on unrecoverable condition > > CURLM_INTERNAL_ERROR and CURLM_OUT_OF_MEMORY are two libcurl error codes > that caller (update_engine) has no way to recover on its own. Reference: https://curl.haxx.se/libcurl/c/libcurl-errors.html > > Since those error conditions aren't recoverable and might be responsible > for the failures to update observed in crbug.com/927039, we exit and let the > system respawn update_engine to start from a fresh state and recover. > > BUG=chromium:962730,chromium:927039 > TEST=unittest > > Change-Id: I55946e58e518da5bc5cb0c23690430c6298b8582 > Reviewed-on: https://chromium-review.googlesource.com/1616425 > Commit-Ready: ChromeOS CL Exonerator Bot <[email protected]> > Tested-by: Xiaochu Liu <[email protected]> > Legacy-Commit-Queue: Commit Bot <[email protected]> > Reviewed-by: Amin Hassani <[email protected]> [email protected],[email protected],[email protected],[email protected],[email protected] # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:962730, chromium:927039 Change-Id: I3d10173cdacfcd1edf22b4515dce6091e9d3b258 Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/1737130 Reviewed-by: Xiaochu Liu <[email protected]> Reviewed-by: Amin Hassani <[email protected]> Tested-by: Xiaochu Liu <[email protected]> Commit-Queue: Xiaochu Liu <[email protected]>