Mobile CI can fail due to corrupt Docker cache (maybe)
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
Updating the docker images in #27222 the mobile CI fails with
```console
ERROR: /github/home/.cache/bazel/_bazel_root/4fefd9a7510a7344d47b58c4ccb5a56e/external/com_github_cncf_udpa/xds/type/v3/BUILD:5:18: Compiling external/com_github_cncf_udpa/xds/type/v3/typed_struct.pb.validate.cc failed: (Exit 34): INVALID_ARGUMENT: Unable to start docker container 'docker://envoyproxy/envoy-build-ubuntu@sha256:20034a0e6afa28e33125760b2dbb069ba9bf0ba717727fbb2d200a4b633297fe' on worker 'i-0f6996e69a9b5fa06 (/10.1.104.45:8081)'. Maybe the requested image is not available on the worker or the local docker installation is corrupt. If the same worker fails so repeatedly, try re-creating or disabling the worker. See the documentation for more information. Error message from Docker:
'docker run sha256:fa05b691e26dcc1ef3f2d37d2fef9c2fefd819be25af78e48b2e1d26df512ac0' (from URL 'docker://envoyproxy/envoy-build-ubuntu@sha256:20034a0e6afa28e33125760b2dbb069ba9bf0ba717727fbb2d200a4b633297fe') failed with docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: error while setting unit properties: dbus: connection closed by user: unknown.
```
https://github.com/envoyproxy/envoy/actions/runs/4914107975/jobs/8775036700#step:6:36
The image was recently added but confirming locally the sha/update is correct etc
```console
$ docker build imagetools inspect envoyproxy/envoy-build-ubuntu:818d28832abf2a7c0cb2bff00435be231729a0bf
$ docker pull envoyproxy/envoy-build-ubuntu@sha256:20034a0e6afa28e33125760b2dbb069ba9bf0ba717727fbb2d200a4b633297fe
```
Contributor guide
Assessment
This issue has not been assessed yet.