GitLab Runner cache-archiver killed
We are experiencing an issue with a self-hosted GitLab runner on a Kubernetes cluster and GitLab SaaS. We are using GitLab runner Alpine version 15.0.0. Our runner is using a GCS bucket for the cache.
For some of our jobs, we have the following issue when trying to upload cache:
/scripts-36316283-2572602046/archive_cache: line 163: 112 Killed '/usr/bin/gitlab-runner-helper' "cache-archiver" "--file" "../../../../../cache/[REDACTED]/gradle-36316283-687d205370482fe758be7771b1ebe1da70bae4ab-non_protected/cache.zip" "--timeout" "1" "--path" ".gradle/wrapper" "--path" ".gradle/caches" "--path" ".sonar/cache" "--url" "https://storage.googleapis.com/[REDACTED]/gradle-36316283-687d205370482fe758be7771b1ebe1da70bae4ab-non_protected?Expires=1654847690&GoogleAccessId=[REDACTED]&Signature=[REDACTED]"
Therefore those jobs can’t use caching at all. We are using a common CI configuration across multiple projects and some other projects don’t fail when they try to upload their cache for the same job.