CI instabilities getting in the way of pipelines success rate and developer productivity
There are currently a list of problems that make our pipelines unstable, mostly during the "artifacts upload" part of a job (the very last part), roughly ordered by occurrences:
Unresolved
Resolved
- 500 error during artifact uploads gitlab-org/gitlab#36512 (closed) => Moved to %12.9
-
gitlab-org/gitlab#24286 (closed) => %12.7 => Moved to %12.8
- Alternative: gitlab-org/gitlab!20852 (merged) => %12.6 => Done
-
gitlab-org/gitlab#36516 (closed) =>
No milestone=> Moved to %12.8
-
gitlab-org/gitlab#24286 (closed) => %12.7 => Moved to %12.8
- 429 error error during artifact uploads https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8308 / gitlab-org/gitlab-runner#4796 (closed) => Fixed at haproxy level (https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8308#note_268374823) on 2020-01-08 => Done
- No space left on device gitlab-org/gitlab#8008 (closed) => %12.8 => Moved to %12.9
- Jobs are timing out
- gitlab-org/gitlab#11987 (closed) => Done
- gitlab-org/gitlab#38420 (closed) => %12.7 => Done
- Improved by gitlab-org/gitlab!20845 (merged) => Done
- Transient failure in
build-qa-imagewhile trying to log into the container registry gitlab-org/gitlab#118676 (closed) => %12.7 => Moved to %12.8
I've extracted the list from https://gitlab.com/gitlab-org/quality/team-tasks/issues/256 since this wasn't the main point of the issue.
Potential root causes and solutions
It looks like all issues are infrastructure-related, and I found some infrastructure issues that could explain these:
- 2019-11-12: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8407 => Done on 2019-12-12 9:30 UTC (gitlab-com/gl-infra/production#1477 (closed))
- 2019-11-29: gitlab-com/gl-infra/scalability#64
- 2019-12-04: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8568
- 2019-12-09: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8650
- 2019-12-09: gitlab-org/gitlab#39134 (closed) => Done on 2019-12-10 22:50 UTC: gitlab-org/gitlab#39134 (comment 258438280)
- 2020-01-08: Fixed 429 errors at haproxy level: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8308#note_268374823
Edited by Jason Yavorsky