/ansible/packaging" did not complete successfully: exit code: 1
Hi,
So I was monitoring PIBaker with docker desktop when the following error occurred:
ERROR: failed to solve: process "/bin/sh -c apk --update add --virtual build-dependencies gcc musl-dev libffi-dev openssl-dev python-dev && set -x && apk update && apk upgrade && apk add --no-cache ca-certificates && update-ca-certificates && apk add --no-cache ${BUILD_PACKAGES} && pip install --upgrade pip --trusted-host pypi.python.org && pip install python-keyczar docker-py boto3 botocore --trusted-host pypi.python.org && apk del build-dependencies && rm -rf /var/cache/apk/* && mkdir -p /etc/ansible/ /ansible && echo "[local]" >> /etc/ansible/hosts && echo "localhost" >> /etc/ansible/hosts && curl -fsSL -k https://releases.ansible.com/ansible/ansible-${ANSIBLE_VERSION}.tar.gz -o ansible.tar.gz && tar -xzf ansible.tar.gz -C /ansible --strip-components 1 && rm -fr ansible.tar.gz /ansible/docs /ansible/examples /ansible/packaging" did not complete successfully: exit code: 1
It's still running in the terminal, but docker no longer sees it as running. also, docker provides more output in their error section:
RUN apk --update add --virtual build-dependencies
27
gcc \
28
musl-dev \
29
libffi-dev \
30
openssl-dev \
31
python-dev && \
32
set -x && \
33
apk update && apk upgrade && \
34
apk add --no-cache ca-certificates && \
35
update-ca-certificates && \
36
apk add --no-cache ${BUILD_PACKAGES} && \
37
pip install --upgrade pip --trusted-host pypi.python.org && \
38
pip install python-keyczar docker-py boto3 botocore --trusted-host pypi.python.org && \
39
apk del build-dependencies && \
40
rm -rf /var/cache/apk/* && \
41
mkdir -p /etc/ansible/ /ansible && \
42
echo "[local]" >> /etc/ansible/hosts && \
43
echo "localhost" >> /etc/ansible/hosts && \
44
curl -fsSL -k https://releases.ansible.com/ansible/ansible-${ANSIBLE_VERSION}.tar.gz -o ansible.tar.gz && \
45
tar -xzf ansible.tar.gz -C /ansible --strip-components 1 && \
46
rm -fr ansible.tar.gz /ansible/docs /ansible/examples /ansible/packaging
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz (1/32) Upgrading musl (1.1.18-r3 -> 1.1.18-r4) (2/32) Installing binutils-libs (2.30-r2) (3/32) Installing binutils (2.30-r2) (4/32) Installing gmp (6.1.2-r1) (5/32) Installing isl (0.18-r0) (6/32) Installing libgomp (6.4.0-r5) (7/32) Installing libatomic (6.4.0-r5) (8/32) Installing pkgconf (1.3.10-r0) (9/32) Installing libgcc (6.4.0-r5) (10/32) Installing mpfr3 (3.1.5-r1) (11/32) Installing mpc1 (1.0.3-r1) (12/32) Installing libstdc++ (6.4.0-r5) (13/32) Installing gcc (6.4.0-r5) (14/32) Installing musl-dev (1.1.18-r4) (15/32) Installing libffi (3.2.1-r4) (16/32) Installing libffi-dev (3.2.1-r4) (17/32) Installing zlib-dev (1.2.11-r1) (18/32) Installing libcrypto1.0 (1.0.2t-r0) (19/32) Installing libssl1.0 (1.0.2t-r0) (20/32) Installing openssl-dev (1.0.2t-r0) (21/32) Installing libbz2 (1.0.6-r7) (22/32) Installing expat (2.2.8-r0) (23/32) Installing gdbm (1.13-r1) (24/32) Installing ncurses-terminfo-base (6.0_p20171125-r1) (25/32) Installing ncurses-terminfo (6.0_p20171125-r1) (26/32) Installing ncurses-libs (6.0_p20171125-r1) (27/32) Installing readline (7.0.003-r0) (28/32) Installing sqlite-libs (3.25.3-r2) (29/32) Installing python2 (2.7.15-r3) (30/32) Installing python2-dev (2.7.15-r3) (31/32) Installing build-dependencies (0) (32/32) Upgrading musl-utils (1.1.18-r3 -> 1.1.18-r4) Executing busybox-1.27.2-r11.trigger OK: 175 MiB in 43 packages
- apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz v3.7.3-184-gffd32bfd09 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main] v3.7.3-194-gcddd1b2302 [http://dl-cdn.alpinelinux.org/alpine/v3.7/community] OK: 9053 distinct packages available
- apk upgrade OK: 175 MiB in 43 packages
- apk add --no-cache ca-certificates fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz (1/1) Installing ca-certificates (20190108-r0) Executing busybox-1.27.2-r11.trigger Executing ca-certificates-20190108-r0.trigger OK: 176 MiB in 44 packages
- update-ca-certificates WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
- apk add --no-cache bash curl tar nano openssh-client sshpass git python py-boto py-dateutil py-httplib2 py-jinja2 py-paramiko py-pip py-setuptools py-yaml ca-certificates fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz (1/46) Installing bash (4.4.19-r1) Executing bash-4.4.19-r1.post-install (2/46) Installing libssh2 (1.9.0-r1) (3/46) Installing libcurl (7.61.1-r3) (4/46) Installing curl (7.61.1-r3) (5/46) Installing pcre2 (10.30-r0) (6/46) Installing git (2.15.4-r0) (7/46) Installing libmagic (5.32-r2) (8/46) Installing nano (2.9.1-r0) ERROR: libmagic-5.32-r2: temporary error (try again later) (9/46) Installing openssh-keygen (7.5_p1-r10) (10/46) Installing openssh-client (7.5_p1-r10) (11/46) Installing py-boto (2.47.0-r0) (12/46) Installing py-six (1.11.0-r0) (13/46) Installing py2-six (1.11.0-r0) (14/46) Installing py-dateutil (2.6.1-r0) (15/46) Installing py2-dateutil (2.6.1-r0) (16/46) Installing py-httplib2 (0.10.3-r0) (17/46) Installing py2-httplib2 (0.10.3-r0) (18/46) Installing py-jinja2 (2.9.6-r0) (19/46) Installing py2-markupsafe (1.0-r0) (20/46) Installing py2-jinja2 (2.9.6-r0) (21/46) Installing py-asn1 (0.4.2-r0) (22/46) Installing py2-asn1 (0.4.2-r0) (23/46) Installing py-cffi (1.10.0-r0) (24/46) Installing py2-cparser (2.18-r0) (25/46) Installing py2-cffi (1.10.0-r0) (26/46) Installing py-idna (2.6-r0) (27/46) Installing py2-idna (2.6-r0) (28/46) Installing py-asn1crypto (0.23.0-r0) (29/46) Installing py2-asn1crypto (0.23.0-r0) (30/46) Installing py-cryptography (2.1.4-r0) (31/46) Installing py2-ipaddress (1.0.18-r1) (32/46) Installing py-enum34 (1.1.6-r2) (33/46) Installing py2-cryptography (2.1.4-r0) (34/46) Installing py-bcrypt (3.1.4-r0) (35/46) Installing py2-bcrypt (3.1.4-r0) (36/46) Installing py-pynacl (1.2.0-r0) (37/46) Installing py2-pynacl (1.2.0-r0) (38/46) Installing py-paramiko (2.4.2-r0) (39/46) Installing py2-paramiko (2.4.2-r0) (40/46) Installing py-setuptools (33.1.1-r1) (41/46) Installing py2-pip (9.0.1-r1) (42/46) Installing py-yaml (3.12-r1) (43/46) Installing yaml (0.1.7-r0) (44/46) Installing py2-yaml (3.12-r1) (45/46) Installing sshpass (1.06-r0) (46/46) Installing tar (1.32-r0) Executing busybox-1.27.2-r11.trigger 1 error; 231 MiB in 89 packages
I downloaded PIBaker this evening