HomeSoftware Heritage

ci(test): Fix 'pool is closed' errors (#826)

Description

ci(test): Fix 'pool is closed' errors (#826)

Fixes #823. In install.sh we build a local sentry image that is used by many services from using the build context under the ./sentry directory. To avoid building this image multiple times, we also give it a specific name which is referred from multiple services. The issue is, we also run docker-compose build --parallel which creates a race condition when building this image as docker-compose doesn't check whether the image is already there or not. This is the root cause of all these random failures: an unsurprising race condition.

Details

Provenance
Burak Yigit Kaya <byk@sentry.io>Authored on Jan 19 2021, 9:43 PM
GitHub <noreply@github.com>Committed on Jan 19 2021, 9:43 PM
olasdPushed on Sep 2 2021, 4:39 PM
Parents
R206:65fdb3bd3d36: Remove injection vector (#822)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed R206:640e7fe290a1: ci(test): Fix 'pool is closed' errors (#826) (authored by Burak Yigit Kaya <byk@sentry.io>).Jan 19 2021, 9:43 PM