No such issue when using release_4.4
Steps to reproduce:
git clone -b 23.8.1 https://github.com/ansible/awx.git git-awx && cd git-awx
git switch -c release_4.5
export RECEPTOR_IMAGE=quay.io/ansible/receptor:latest
make docker-compose-build
Results:
DOCKER_BUILDKIT=1 docker build \
-f Dockerfile.dev \
-t ghcr.io/ansible/awx_devel:release_4.5 \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--cache-from=ghcr.io/ansible/awx_devel:release_4.5 .
[+] Building 2307.2s (10/50) docker:default
=> [internal] load build definition from Dockerfile.dev 0.0s
=> => transferring dockerfile: 7.81kB 0.0s
=> [internal] load metadata for quay.io/centos/centos:stream9 1.0s
=> [internal] load metadata for quay.io/ansible/receptor:latest 1.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 56B 0.0s
=> importing cache manifest from ghcr.io/ansible/awx_devel:release_4.5 2.4s
=> => inferred cache manifest type: application/vnd.docker.distribution.manifest.v2+json 0.0s
=> [builder 1/10] FROM quay.io/centos/centos:stream9@sha256:6ed5436b479391e9db75350cae0a976374f32f6c631a78487d955800a658a3a8 0.0s
=> FROM quay.io/ansible/receptor:latest@sha256:3fdc6eda5c29326bb6e6ea492b6673e5ab3bc77ec957df5455af5deb0e123fea 4.4s
=> => resolve quay.io/ansible/receptor:latest@sha256:3fdc6eda5c29326bb6e6ea492b6673e5ab3bc77ec957df5455af5deb0e123fea 0.1s
=> => sha256:3fdc6eda5c29326bb6e6ea492b6673e5ab3bc77ec957df5455af5deb0e123fea 2.36kB / 2.36kB 0.0s
=> => sha256:ed936cd71b8af66dff1f7bc42e72c4dc157466cdb9558484d76946f1846528f6 4.08kB / 4.08kB 0.0s
=> => sha256:00ea6f3bbeac20e6b76c59b319a2d1d45f733bf409c60c5cc41914b36491f8b8 1.43kB / 1.43kB 0.0s
=> => sha256:fb1043c273cf51b284b0b8c901eb138ea3d8afa6b36a894a0338bacd38a5d0d2 57.74MB / 57.74MB 0.8s
=> => sha256:367a3c5070f8cbbba0c12f093aa3ec44b553e8daaa7d3735636eec88d07d2c60 9.13kB / 9.13kB 0.9s
=> => extracting sha256:fb1043c273cf51b284b0b8c901eb138ea3d8afa6b36a894a0338bacd38a5d0d2 2.2s
=> => sha256:0df62ad4993fbd53b0b3ef96a9b5ffed18dfb974db1ebd805b5ae8b0001b7664 3.85kB / 3.85kB 1.1s
=> => sha256:a2c5098517830d3d0a890c12eae4a58d3150209342e5b68cb6436a263004bdec 227B / 227B 1.3s
=> => sha256:a2540348ad56b461eaefdcf0a7f92a934c60cecabdc7e22a600d26f12e0625d2 7.92MB / 7.92MB 1.6s
=> => sha256:4d9b5a1383486538a8b6a5e9efabb1304e67f48586f67d646c6c27639131b7e8 25.05MB / 25.05MB 2.2s
=> => extracting sha256:367a3c5070f8cbbba0c12f093aa3ec44b553e8daaa7d3735636eec88d07d2c60 0.0s
=> => extracting sha256:0df62ad4993fbd53b0b3ef96a9b5ffed18dfb974db1ebd805b5ae8b0001b7664 0.0s
=> => extracting sha256:a2c5098517830d3d0a890c12eae4a58d3150209342e5b68cb6436a263004bdec 0.0s
=> => extracting sha256:a2540348ad56b461eaefdcf0a7f92a934c60cecabdc7e22a600d26f12e0625d2 0.5s
=> => extracting sha256:4d9b5a1383486538a8b6a5e9efabb1304e67f48586f67d646c6c27639131b7e8 0.4s
=> [internal] load build context 0.1s
=> => transferring context: 49.48kB 0.0s
=> https://copr.fedorainfracloud.org/coprs/ansible/Rsyslog/repo/epel-9/ansible-Rsyslog-epel-9.repo 0.7s
=> CACHED CANCELED [builder 2/10] RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial 2303.7s
=> => pulling sha256:5dbb8c3f50b91d6c50f0a08bc2366a5e2a679c7f804522ad3e53593a55ca8700 2303.7s
=> => pulling sha256:dffc42798b0ce63110da9f6285880c66bcaeeb22be839499151c64f1f41e1b01 206.2s
ERROR: failed to solve: Canceled: context canceled
make: *** [Makefile:583: docker-compose-build] Error 1
This infinite loop was stopped with Ctrl^C.