The error is in cron/Dockerfile
The step is RUN apt-get update && apt-get install -y --no-install-recommends cron && \ rm -r /var/lib/apt/lists/*
The url connection timeout.
Below is the full log:
Checking minimum requirements...
Creating volumes for persistent storage...
Created sentry-data.
Created sentry-postgres.
Created sentry-redis.
Created sentry-zookeeper.
Created sentry-kafka.
Created sentry-clickhouse.
Created sentry-symbolicator.
sentry/sentry.conf.py already exists, skipped creation.
sentry/config.yml already exists, skipped creation.
sentry/requirements.txt already exists, skipped creation.
symbolicator/config.yml already exists, skipped creation.
relay/config.yml already exists, skipped creation.
Fetching and updating Docker images...
Some service image(s) must be built from source by running:
docker-compose build web subscription-consumer-events post-process-forwarder symbolicator-cleanup sentry-cleanup ingest-consumer cron subscription-consumer-transactions snuba-cleanup worker
20.12.1: Pulling from getsentry/sentry
Digest: sha256:a61fcc629ef6ee364d21e6cb3569543247fdded31cc6e44a98c4b84de646d767
Status: Image is up to date for getsentry/sentry:20.12.1
docker.io/getsentry/sentry:20.12.1
Building and tagging Docker images...
Building web
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Successfully tagged sentry-onpremise-local:latest
smtp uses an image, skipping
memcached uses an image, skipping
redis uses an image, skipping
postgres uses an image, skipping
zookeeper uses an image, skipping
kafka uses an image, skipping
clickhouse uses an image, skipping
geoipupdate uses an image, skipping
snuba-api uses an image, skipping
snuba-consumer uses an image, skipping
snuba-outcomes-consumer uses an image, skipping
snuba-sessions-consumer uses an image, skipping
snuba-transactions-consumer uses an image, skipping
snuba-replacer uses an image, skipping
snuba-subscription-consumer-events uses an image, skipping
snuba-subscription-consumer-transactions uses an image, skipping
symbolicator uses an image, skipping
relay uses an image, skipping
nginx uses an image, skipping
Building snuba-cleanup ...
Building symbolicator-cleanup ...
Building web ...
Building cron ...
Building worker ...
Building ingest-consumer ...
Building post-process-forwarder ...
Building subscription-consumer-events ...
Building subscription-consumer-transactions ...
Building sentry-cleanup ...
Building subscription-consumer-events
Building post-process-forwarder
Building ingest-consumer
Building snuba-cleanup
Building cron
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Successfully tagged sentry-onpremise-local:latest
Building ingest-consumer ... done
Building worker
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : FROM ${BASE_IMAGE}
---> 140929786ffa
Step 3/6 : RUN echo ${BASE_IMAGE}
---> Using cache
---> 4efeed0b3a3c
Step 4/6 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Successfully tagged sentry-onpremise-local:latest
Building post-process-forwarder ... done
Building subscription-consumer-transactions
---> Running in 702d07ddc96e
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Successfully tagged sentry-onpremise-local:latest
Building sentry-cleanup
Building subscription-consumer-events ... done
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Successfully tagged sentry-onpremise-local:latest
Building cron ... done
Building web
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Successfully tagged sentry-onpremise-local:latest
Building worker ... done
Building symbolicator-cleanup
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : FROM ${BASE_IMAGE}
Successfully tagged sentry-onpremise-local:latest
Building subscription-consumer-transactions ... done
---> 54bc70d9c82f
Step 3/6 : RUN echo ${BASE_IMAGE}
---> Using cache
---> e972329e7239
Step 4/6 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Running in 6871f0076177
Step 1/5 : ARG SENTRY_IMAGE
Step 2/5 : ARG SENTRY_PYTHON2
Step 3/5 : FROM ${SENTRY_IMAGE}${SENTRY_PYTHON2:+-py2}
---> fd01bb63570a
Step 4/5 : COPY . /usr/src/sentry
---> Using cache
---> 5479bc8e5fc1
Step 5/5 : RUN if [ -s /usr/src/sentry/requirements.txt ]; then pip install -r /usr/src/sentry/requirements.txt; fi
---> Using cache
---> 54bc70d9c82f
Successfully built 54bc70d9c82f
Successfully tagged sentry-onpremise-local:latest
Building web ... done
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : FROM ${BASE_IMAGE}
---> 0e9e67a40b39
Step 3/6 : RUN echo ${BASE_IMAGE}
---> Using cache
---> 4aef5955186b
Step 4/6 : RUN apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*
---> Running in 4a7210e8eec0
Err:1 http://deb.debian.org/debian buster InRelease
Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Unable to connect to deb.debian.org:http:
Err:2 http://deb.debian.org/debian buster-updates InRelease
Unable to connect to deb.debian.org:http:
Err:1 http://deb.debian.org/debian buster InRelease
Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Unable to connect to deb.debian.org:http:
Err:2 http://deb.debian.org/debian buster-updates InRelease
Unable to connect to deb.debian.org:http:
Err:3 http://security.debian.org/debian-security buster/updates InRelease
Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Could not connect to security.debian.org:80 (151.101.0.204), connection timed out Could not connect to security.debian.org:80 (151.101.128.204), connection timed out Could not connect to security.debian.org:80 (151.101.192.204), connection timed out Could not connect to security.debian.org:80 (151.101.64.204), connection timed out
Reading package lists...
e[91mW: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Unable to connect to deb.debian.org:http:
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Could not connect to security.debian.org:80 (151.101.0.204), connection timed out Could not connect to security.debian.org:80 (151.101.128.204), connection timed out Could not connect to security.debian.org:80 (151.101.192.204), connection timed out Could not connect to security.debian.org:80 (151.101.64.204), connection timed out
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Unable to connect to deb.debian.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
e[0mReading package lists...
Building dependency tree...
Reading state information...
e[91mE: Unable to locate package cron
e[0mErr:3 http://security.debian.org/debian-security buster/updates InRelease
Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Could not connect to security.debian.org:80 (151.101.128.204), connection timed out Could not connect to security.debian.org:80 (151.101.192.204), connection timed out Could not connect to security.debian.org:80 (151.101.64.204), connection timed out Could not connect to security.debian.org:80 (151.101.0.204), connection timed out
Reading package lists...
e[91mW: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Unable to connect to deb.debian.org:http:
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Could not connect to debian.map.fastlydns.net:80 (151.101.110.132), connection timed out Could not connect to security.debian.org:80 (151.101.128.204), connection timed out Could not connect to security.debian.org:80 (151.101.192.204), connection timed out Could not connect to security.debian.org:80 (151.101.64.204), connection timed out Could not connect to security.debian.org:80 (151.101.0.204), connection timed out
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease Unable to connect to deb.debian.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
e[0mReading package lists...
Building dependency tree...
Reading state information...
e[91mE: Unable to locate package cron
e[0mRemoving intermediate container 702d07ddc96e
Removing intermediate container 6871f0076177
Aborting.
An error occurred, caught SIGINT on line 1
Cleaning up...