ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
132 stars 158 forks source link

Build process currently seem broken #107

Closed chofstede closed 2 years ago

chofstede commented 2 years ago

The current git version is not successfully building the image:

awx-ee on  devel [!?] via 🐍 v3.10.2 took 1m21s ❯ tox -edocker
docker installed: ansible-builder @ git+https://github.com/ansible/ansible-builder.git@db9e74a0b66aa4b535bf6946c5288f1c2619c133,bindep==2.10.2,distro==1.7.0,packaging==21.3,Parsley==1.3,pbr==5.8.1,pyparsing==3.0.7,PyYAML==6.0,requirements-parser==0.5.0,types-setuptools==57.4.11
docker run-test-pre: PYTHONHASHSEED='1727456150'
docker run-test: commands[0] | /bin/bash -c 'podman rmi quay.io/ansible/awx-ee:latest || true'
/bin/bash: Zeile 1: podman: Kommando nicht gefunden.
docker run-test: commands[1] | ansible-builder build -v3 -c . -t quay.io/ansible/awx-ee --container-runtime=docker
Ansible Builder is building your execution environment image. Tags: quay.io/ansible/awx-ee
File ./_build/requirements.yml was placed in build context by user, leaving unmodified.
File ./_build/requirements.txt was placed in build context by user, leaving unmodified.
File ./_build/bindep.txt was placed in build context by user, leaving unmodified.
Rewriting Containerfile to capture collection requirements
Running command:
  docker build -f ./Dockerfile -t quay.io/ansible/awx-ee .
Sending build context to Docker daemon  36.48MB
Step 1/27 : ARG EE_BASE_IMAGE=quay.io/ansible/ansible-runner:stable-2.12-devel
Step 2/27 : ARG EE_BUILDER_IMAGE=quay.io/ansible/ansible-builder:latest
Step 3/27 : FROM $EE_BASE_IMAGE as galaxy
 ---> 414ead38d7a1
Step 4/27 : ARG ANSIBLE_GALAXY_CLI_COLLECTION_OPTS=
 ---> Using cache
 ---> 9e63a2dd75f0
Step 5/27 : USER root
 ---> Using cache
 ---> 8bc61d09dcbf
Step 6/27 : ADD _build /build
 ---> Using cache
 ---> 36b32de4dce8
Step 7/27 : WORKDIR /build
 ---> Using cache
 ---> a04d9baab4c7
Step 8/27 : RUN ansible-galaxy role install -r requirements.yml --roles-path /usr/share/ansible/roles
 ---> Using cache
 ---> 41c9e5d29920
Step 9/27 : RUN ansible-galaxy collection install $ANSIBLE_GALAXY_CLI_COLLECTION_OPTS -r requirements.yml --collections-path /usr/share/ansible/collections
 ---> Using cache
 ---> 174d25a96c05
Step 10/27 : FROM $EE_BUILDER_IMAGE as builder
 ---> c39b8017efc4
Step 11/27 : COPY --from=galaxy /usr/share/ansible /usr/share/ansible
 ---> Using cache
 ---> 7449744a7b76
Step 12/27 : ADD _build/requirements.txt requirements.txt
 ---> Using cache
 ---> f18edc568033
Step 13/27 : ADD _build/bindep.txt bindep.txt
 ---> Using cache
 ---> ccca8b6ec742
Step 14/27 : RUN ansible-builder introspect --sanitize --user-pip=requirements.txt --user-bindep=bindep.txt --write-bindep=/tmp/src/bindep.txt --write-pip=/tmp/src/requirements.txt
 ---> Using cache
 ---> 7f44ff462bbd
Step 15/27 : RUN assemble
 ---> Running in 425e01b57b1d
++ source /etc/os-release
+++ NAME='CentOS Linux'
+++ VERSION=8
+++ ID=centos
+++ ID_LIKE='rhel fedora'
+++ VERSION_ID=8
+++ PLATFORM_ID=platform:el8
+++ PRETTY_NAME='CentOS Linux 8'
+++ ANSI_COLOR='0;31'
+++ CPE_NAME=cpe:/o:centos:centos:8
+++ HOME_URL=https://centos.org/
+++ BUG_REPORT_URL=https://bugs.centos.org/
+++ CENTOS_MANTISBT_PROJECT=CentOS-8
+++ CENTOS_MANTISBT_PROJECT_VERSION=8
++ echo centos
+ RELEASE=centos
+ PKGMGR=
+ PKGMGR_OPTS=
+ '[' -z ']'
+ PKGMGR=/usr/bin/dnf
+ '[' -f /usr/bin/microdnf ']'
+ mkdir -p /output/bindep
+ mkdir -p /output/wheels
+ mkdir -p /tmp/src
+ cd /tmp/src
+ /usr/bin/dnf update -y
CentOS Linux 8 - AppStream                      230  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
The command '/bin/sh -c assemble' returned a non-zero code: 1

An error occured (rc=1), see output line(s) above for details.
ERROR: InvocationError for command /home/chofstede/tmp/awx-ee/.tox/docker/bin/ansible-builder build -v3 -c . -t quay.io/ansible/awx-ee --container-runtime=docker (exited with code 1)
__________________________________________________________________________________________ summary __________________________________________________________________________________________
ERROR:   docker: commands failed
chofstede commented 2 years ago

Works again. Seems the CentOS8 repository servers were temporarily down. Sorry