2025-06-16 16:01:15.364345 | Job console starting 2025-06-16 16:01:15.379325 | Updating git repos 2025-06-16 16:01:15.406197 | Cloning repos into workspace 2025-06-16 16:01:15.456849 | Restoring repo states 2025-06-16 16:01:15.483671 | Merging changes 2025-06-16 16:01:15.483769 | Checking out repos 2025-06-16 16:01:15.527127 | Preparing playbooks 2025-06-16 16:01:16.119752 | Running Ansible setup 2025-06-16 16:01:20.234412 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-06-16 16:01:20.994552 | 2025-06-16 16:01:20.994683 | PLAY [Base pre] 2025-06-16 16:01:21.010081 | 2025-06-16 16:01:21.010204 | TASK [Setup log path fact] 2025-06-16 16:01:21.038635 | debian-bookworm | ok 2025-06-16 16:01:21.055972 | 2025-06-16 16:01:21.056108 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-06-16 16:01:21.094872 | debian-bookworm | ok 2025-06-16 16:01:21.112206 | 2025-06-16 16:01:21.112348 | TASK [emit-job-header : Print job information] 2025-06-16 16:01:21.162545 | # Job Information 2025-06-16 16:01:21.162967 | Ansible Version: 2.16.14 2025-06-16 16:01:21.163069 | Job: container-image-osism-ansible-push 2025-06-16 16:01:21.163158 | Pipeline: post 2025-06-16 16:01:21.163223 | Executor: 521e9411259a 2025-06-16 16:01:21.163282 | Triggered by: https://github.com/osism/container-image-osism-ansible 2025-06-16 16:01:21.163343 | Event ID: e144d5bfdc3d46c7b172a20a80e2f50a 2025-06-16 16:01:21.176585 | 2025-06-16 16:01:21.176822 | LOOP [emit-job-header : Print node information] 2025-06-16 16:01:21.309961 | debian-bookworm | ok: 2025-06-16 16:01:21.310193 | debian-bookworm | # Node Information 2025-06-16 16:01:21.310245 | debian-bookworm | Inventory Hostname: debian-bookworm 2025-06-16 16:01:21.310283 | debian-bookworm | Hostname: debian 2025-06-16 16:01:21.310317 | debian-bookworm | Username: zuul 2025-06-16 16:01:21.310349 | debian-bookworm | Distro: Debian 12.11 2025-06-16 16:01:21.310386 | debian-bookworm | Provider: regiocloud-a 2025-06-16 16:01:21.310418 | debian-bookworm | Region: 2025-06-16 16:01:21.310450 | debian-bookworm | Label: debian-bookworm 2025-06-16 16:01:21.310517 | debian-bookworm | Product Name: OpenStack Nova 2025-06-16 16:01:21.310550 | debian-bookworm | Interface IP: 2a13:1a81:8000:3124:f816:3eff:fe5e:19c2 2025-06-16 16:01:21.327303 | 2025-06-16 16:01:21.327409 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-06-16 16:01:21.807846 | debian-bookworm -> localhost | changed 2025-06-16 16:01:21.820709 | 2025-06-16 16:01:21.820922 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-06-16 16:01:22.967614 | debian-bookworm -> localhost | changed 2025-06-16 16:01:22.991898 | 2025-06-16 16:01:22.992065 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-06-16 16:01:23.274437 | debian-bookworm -> localhost | ok 2025-06-16 16:01:23.289011 | 2025-06-16 16:01:23.289223 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-06-16 16:01:23.326678 | debian-bookworm | ok 2025-06-16 16:01:23.349107 | debian-bookworm | included: /var/lib/zuul/builds/126fdcd01dfe4967b574ecdc28890e84/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-06-16 16:01:23.355851 | 2025-06-16 16:01:23.355978 | TASK [add-build-sshkey : Create Temp SSH key] 2025-06-16 16:01:25.065094 | debian-bookworm -> localhost | Generating public/private rsa key pair. 2025-06-16 16:01:25.065435 | debian-bookworm -> localhost | Your identification has been saved in /var/lib/zuul/builds/126fdcd01dfe4967b574ecdc28890e84/work/126fdcd01dfe4967b574ecdc28890e84_id_rsa 2025-06-16 16:01:25.065559 | debian-bookworm -> localhost | Your public key has been saved in /var/lib/zuul/builds/126fdcd01dfe4967b574ecdc28890e84/work/126fdcd01dfe4967b574ecdc28890e84_id_rsa.pub 2025-06-16 16:01:25.065604 | debian-bookworm -> localhost | The key fingerprint is: 2025-06-16 16:01:25.065643 | debian-bookworm -> localhost | SHA256:HKd1vtzdrHBknRH/egy0vKlg4HT+XmbHyYVyVJwkpD0 zuul-build-sshkey 2025-06-16 16:01:25.065694 | debian-bookworm -> localhost | The key's randomart image is: 2025-06-16 16:01:25.065730 | debian-bookworm -> localhost | +---[RSA 3072]----+ 2025-06-16 16:01:25.065765 | debian-bookworm -> localhost | | .o.+o| 2025-06-16 16:01:25.065800 | debian-bookworm -> localhost | | o .o+| 2025-06-16 16:01:25.065832 | debian-bookworm -> localhost | | . o..Eo..| 2025-06-16 16:01:25.065861 | debian-bookworm -> localhost | | . = o +.++| 2025-06-16 16:01:25.065889 | debian-bookworm -> localhost | | S . o O.+| 2025-06-16 16:01:25.065927 | debian-bookworm -> localhost | | o + . B.X+| 2025-06-16 16:01:25.065958 | debian-bookworm -> localhost | | . + + XoO| 2025-06-16 16:01:25.065986 | debian-bookworm -> localhost | | . o B + | 2025-06-16 16:01:25.066015 | debian-bookworm -> localhost | | .+ . | 2025-06-16 16:01:25.066044 | debian-bookworm -> localhost | +----[SHA256]-----+ 2025-06-16 16:01:25.066110 | debian-bookworm -> localhost | ok: Runtime: 0:00:01.243186 2025-06-16 16:01:25.074726 | 2025-06-16 16:01:25.074913 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-06-16 16:01:25.104922 | debian-bookworm | ok 2025-06-16 16:01:25.115342 | debian-bookworm | included: /var/lib/zuul/builds/126fdcd01dfe4967b574ecdc28890e84/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-06-16 16:01:25.124798 | 2025-06-16 16:01:25.124902 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-06-16 16:01:25.148463 | debian-bookworm | skipping: Conditional result was False 2025-06-16 16:01:25.155724 | 2025-06-16 16:01:25.155855 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-06-16 16:01:25.823019 | debian-bookworm | changed 2025-06-16 16:01:25.836704 | 2025-06-16 16:01:25.836928 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-06-16 16:01:26.120859 | debian-bookworm | ok 2025-06-16 16:01:26.129424 | 2025-06-16 16:01:26.129589 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-06-16 16:01:26.806786 | debian-bookworm | changed 2025-06-16 16:01:26.816462 | 2025-06-16 16:01:26.816610 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-06-16 16:01:27.484610 | debian-bookworm | changed 2025-06-16 16:01:27.494546 | 2025-06-16 16:01:27.494701 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-06-16 16:01:27.520585 | debian-bookworm | skipping: Conditional result was False 2025-06-16 16:01:27.534103 | 2025-06-16 16:01:27.534262 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-06-16 16:01:28.015306 | debian-bookworm -> localhost | changed 2025-06-16 16:01:28.026733 | 2025-06-16 16:01:28.026902 | TASK [add-build-sshkey : Add back temp key] 2025-06-16 16:01:28.386101 | debian-bookworm -> localhost | Identity added: /var/lib/zuul/builds/126fdcd01dfe4967b574ecdc28890e84/work/126fdcd01dfe4967b574ecdc28890e84_id_rsa (zuul-build-sshkey) 2025-06-16 16:01:28.386796 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.020270 2025-06-16 16:01:28.402285 | 2025-06-16 16:01:28.402440 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-06-16 16:01:28.814470 | debian-bookworm | ok 2025-06-16 16:01:28.822352 | 2025-06-16 16:01:28.822507 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-06-16 16:01:28.856935 | debian-bookworm | skipping: Conditional result was False 2025-06-16 16:01:28.878361 | 2025-06-16 16:01:28.878544 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-06-16 16:01:29.330044 | debian-bookworm | ok 2025-06-16 16:01:29.344871 | 2025-06-16 16:01:29.345007 | TASK [validate-host : Define zuul_info_dir fact] 2025-06-16 16:01:29.391494 | debian-bookworm | ok 2025-06-16 16:01:29.400890 | 2025-06-16 16:01:29.401033 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-06-16 16:01:29.698448 | debian-bookworm -> localhost | ok 2025-06-16 16:01:29.705308 | 2025-06-16 16:01:29.705429 | TASK [validate-host : Collect information about the host] 2025-06-16 16:01:30.835670 | debian-bookworm | ok 2025-06-16 16:01:30.854721 | 2025-06-16 16:01:30.854983 | TASK [validate-host : Sanitize hostname] 2025-06-16 16:01:30.972839 | debian-bookworm | ok 2025-06-16 16:01:31.018760 | 2025-06-16 16:01:31.018946 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-06-16 16:01:31.654113 | debian-bookworm -> localhost | changed 2025-06-16 16:01:31.665882 | 2025-06-16 16:01:31.666043 | TASK [validate-host : Collect information about zuul worker] 2025-06-16 16:01:32.082916 | debian-bookworm | ok 2025-06-16 16:01:32.093018 | 2025-06-16 16:01:32.093221 | TASK [validate-host : Write out all zuul information for each host] 2025-06-16 16:01:32.678790 | debian-bookworm -> localhost | changed 2025-06-16 16:01:32.695311 | 2025-06-16 16:01:32.695442 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-06-16 16:01:32.988252 | debian-bookworm | ok 2025-06-16 16:01:32.994626 | 2025-06-16 16:01:32.994739 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-06-16 16:01:33.964622 | debian-bookworm | changed: 2025-06-16 16:01:33.964909 | debian-bookworm | cd+++++++++ src/ 2025-06-16 16:01:33.964965 | debian-bookworm | cd+++++++++ src/github.com/ 2025-06-16 16:01:33.965005 | debian-bookworm | cd+++++++++ src/github.com/osism/ 2025-06-16 16:01:33.965041 | debian-bookworm | cd+++++++++ src/github.com/osism/container-image-osism-ansible/ 2025-06-16 16:01:33.965071 | debian-bookworm | Containerfile 2025-06-16 16:01:33.965263 | debian-bookworm | > /etc/bash.bashrc\n\n# install required packages\napt-get update\napt-get install --no-install-recommends -y \\\n build-essential \\\n curl \\\n dumb-init \\\n git \\\n gnupg \\\n gnupg-agent \\\n iputils-ping \\\n jq \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev \\\n openssh-client \\\n procps \\\n rsync \\\n sshpass\nupdate-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1\nupdate-alternatives --install /usr/bin/python python /usr/local/bin/python 1\nuv pip install --no-cache --system -r /src/requirements.txt\n\n# add user\ngroupadd -g \"$GROUP_ID\" dragon\ngroupadd -g \"$GROUP_ID_DOCKER\" docker\nuseradd -l -g dragon -G docker -u \"$USER_ID\" -m -d /ansible dragon\n\n# prepare release repository\ngit clone https://github.com/osism/release /release\n\n# prepare project repository\n\ngit clone https://github.com/osism/ansible-playbooks /playbooks\ngit clone https://github.com/osism/defaults /defaults\ngit clone https://github.com/osism/cfg-generics /generics \n\nif [ \"$VERSION\" != \"latest\" ]; then\n ( cd /release || exit; git fetch --all --force; git checkout \"osism-ansible-$VERSION\" )\n ( cd /playbooks || exit; git fetch --all --force; git checkout \"$(yq -M -r .playbooks_version \"/release/latest/base.yml\")\" )\n ( cd /defaults || exit; git fetch --all --force; git checkout \"$(yq -M -r .defaults_version \"/release/latest/base.yml\")\" )\n ( cd /generics || exit; git fetch --all --force; git checkout \"$(yq -M -r .generics_version \"/release/latest/base.yml\")\" )\nfi\n\n# add inventory files\nmkdir -p /ansible/inventory.generics /ansible/inventory\ncp /generics/inventory/* /ansible/inventory.generics\n\n# run preparations\nmkdir -p /ansible/group_vars\ncp -r /defaults/* /ansible/group_vars/\nrm -f /ansible/group_vars/LICENSE /ansible/group_vars/README.md\n\npython3 /src/render-python-requirements.py\npython3 /src/render-versions.py\npython3 /src/render-ansible-requirements.py\nROLES_FILENAME=/release/etc/roles-manager.yml REQUIREMENTS_FILENAME=/ansible/requirements-manager.yml python3 /src/render-ansible-requirements.py\npython3 /src/render-docker-images.py\n\n# install required python packages\nuv pip install --no-cache --system -r /requirements.txt\n\n# set ansible version in the motd\nansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)')\nsed -i -e \"s/ANSIBLE_VERSION/$ansible_version/\" /etc/motd\n\n# create required directories\nmkdir -p \\\n /ansible \\\n /ansible/action_plugins \\\n /ansible/cache \\\n /ansible/logs \\\n /ansible/secrets \\\n /share \\\n /archive \\\n /interface\n\n# install required ansible collections & roles\nansible-galaxy role install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/roles\nansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections\n\nln -s /usr/share/ansible/roles /ansible/galaxy\nln -s /usr/share/ansible/collections /ansible/collections\nln -s /usr/share/ansible/plugins /ansible/plugins\n\n# install mitogen ansible plugin\nmkdir -p /usr/share/mitogen\ntar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen\nrm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml}\nrm /mitogen.tar.gz\n\n# project specific instructions\n\n# apply patches\nfor role in /usr/share/ansible/roles/*; do\n if [ -e /patches/\"$(basename \"$role\")\" ]; then\n for patchfile in /patches/\"$(basename \"$role\")\"/*.patch; do\n echo \"$patchfile\";\n ( cd /usr/share/ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 --dry-run ) < \"$patchfile\" || exit 1;\n ( cd /usr/share/ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 ) < \"$patchfile\";\n done;\n fi;\ndone\n\nfor role in /ansible/roles/*; do\n if [ -e /patches/\"$(basename \"$role\")\" ]; then\n for patchfile in /patches/\"$(basename \"$role\")\"/*.patch; do\n echo \"$patchfile\";\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 --dry-run ) < \"$patchfile\" || exit 1;\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 ) < \"$patchfile\";\n done;\n fi;\ndone\n\n# prepare ansible directory\ncp -r /playbooks/playbooks/* /ansible\ncp /playbooks/library/* /ansible/library\nmkdir -p /ansible/templates\ncp /playbooks/templates/* /ansible/templates\n\n# add symlink to /etc/openstack\nln -s /opt/configuration/environments/openstack /etc/openstack\n\n# copy ara configuration\npython3 -m ara.setup.env >> /ansible/ara.env\n\n# prepare list of playbooks\npython3 /src/generate-playbook-symlinks.py\npython3 /src/render-playbooks.py\n\n# set correct permssions\nchown -R dragon: /ansible /share /archive /interface\n\n# cleanup\napt-get clean\napt-get remove -y \\\n build-essential \\\n curl \\\n git \\\n gnupg \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev\napt-get autoremove -y\n\nrm -rf \\\n /patches \\\n /root/.cache \\\n /tmp/* \\\n /usr/share/doc/* \\\n /usr/share/man/* \\\n /var/lib/apt/lists/* \\\n /var/tmp/*\n\nuv pip install --no-cache --system pyclean==3.0.0\npyclean /usr\nuv pip uninstall --system pyclean\n" did not complete successfully: exit code: 1 2025-06-16 16:04:15.723440 | debian-bookworm | ------ 2025-06-16 16:04:15.723498 | debian-bookworm | > [builder 14/14] RUN <>> RUN <>> set -e 2025-06-16 16:04:15.728867 | debian-bookworm | 35 | >>> set -x 2025-06-16 16:04:15.728881 | debian-bookworm | 36 | >>> 2025-06-16 16:04:15.728894 | debian-bookworm | 37 | >>> # show motd 2025-06-16 16:04:15.728909 | debian-bookworm | 38 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-06-16 16:04:15.728923 | debian-bookworm | 39 | >>> 2025-06-16 16:04:15.728953 | debian-bookworm | 40 | >>> # install required packages 2025-06-16 16:04:15.728968 | debian-bookworm | 41 | >>> apt-get update 2025-06-16 16:04:15.728981 | debian-bookworm | 42 | >>> apt-get install --no-install-recommends -y \ 2025-06-16 16:04:15.728995 | debian-bookworm | 43 | >>> build-essential \ 2025-06-16 16:04:15.729020 | debian-bookworm | 44 | >>> curl \ 2025-06-16 16:04:15.729040 | debian-bookworm | 45 | >>> dumb-init \ 2025-06-16 16:04:15.729054 | debian-bookworm | 46 | >>> git \ 2025-06-16 16:04:15.729067 | debian-bookworm | 47 | >>> gnupg \ 2025-06-16 16:04:15.729080 | debian-bookworm | 48 | >>> gnupg-agent \ 2025-06-16 16:04:15.729094 | debian-bookworm | 49 | >>> iputils-ping \ 2025-06-16 16:04:15.729122 | debian-bookworm | 50 | >>> jq \ 2025-06-16 16:04:15.729135 | debian-bookworm | 51 | >>> libffi-dev \ 2025-06-16 16:04:15.729149 | debian-bookworm | 52 | >>> libssh-dev \ 2025-06-16 16:04:15.729162 | debian-bookworm | 53 | >>> libssl-dev \ 2025-06-16 16:04:15.729175 | debian-bookworm | 54 | >>> libyaml-dev \ 2025-06-16 16:04:15.729203 | debian-bookworm | 55 | >>> openssh-client \ 2025-06-16 16:04:15.729216 | debian-bookworm | 56 | >>> procps \ 2025-06-16 16:04:15.729231 | debian-bookworm | 57 | >>> rsync \ 2025-06-16 16:04:15.729245 | debian-bookworm | 58 | >>> sshpass 2025-06-16 16:04:15.729258 | debian-bookworm | 59 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-06-16 16:04:15.729287 | debian-bookworm | 60 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-06-16 16:04:15.729301 | debian-bookworm | 61 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-06-16 16:04:15.729315 | debian-bookworm | 62 | >>> 2025-06-16 16:04:15.729328 | debian-bookworm | 63 | >>> # add user 2025-06-16 16:04:15.729342 | debian-bookworm | 64 | >>> groupadd -g "$GROUP_ID" dragon 2025-06-16 16:04:15.729367 | debian-bookworm | 65 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-06-16 16:04:15.729380 | debian-bookworm | 66 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-06-16 16:04:15.729394 | debian-bookworm | 67 | >>> 2025-06-16 16:04:15.729419 | debian-bookworm | 68 | >>> # prepare release repository 2025-06-16 16:04:15.729438 | debian-bookworm | 69 | >>> git clone https://github.com/osism/release /release 2025-06-16 16:04:15.729452 | debian-bookworm | 70 | >>> 2025-06-16 16:04:15.729466 | debian-bookworm | 71 | >>> # prepare project repository 2025-06-16 16:04:15.729479 | debian-bookworm | 72 | >>> 2025-06-16 16:04:15.729493 | debian-bookworm | 73 | >>> git clone https://github.com/osism/ansible-playbooks /playbooks 2025-06-16 16:04:15.729521 | debian-bookworm | 74 | >>> git clone https://github.com/osism/defaults /defaults 2025-06-16 16:04:15.729535 | debian-bookworm | 75 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-06-16 16:04:15.729549 | debian-bookworm | 76 | >>> 2025-06-16 16:04:15.729563 | debian-bookworm | 77 | >>> if [ "$VERSION" != "latest" ]; then 2025-06-16 16:04:15.729576 | debian-bookworm | 78 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-ansible-$VERSION" ) 2025-06-16 16:04:15.729606 | debian-bookworm | 79 | >>> ( cd /playbooks || exit; git fetch --all --force; git checkout "$(yq -M -r .playbooks_version "/release/latest/base.yml")" ) 2025-06-16 16:04:15.729621 | debian-bookworm | 80 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-06-16 16:04:15.729634 | debian-bookworm | 81 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-06-16 16:04:15.729648 | debian-bookworm | 82 | >>> fi 2025-06-16 16:04:15.729661 | debian-bookworm | 83 | >>> 2025-06-16 16:04:15.729690 | debian-bookworm | 84 | >>> # add inventory files 2025-06-16 16:04:15.729704 | debian-bookworm | 85 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-06-16 16:04:15.729718 | debian-bookworm | 86 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-06-16 16:04:15.729742 | debian-bookworm | 87 | >>> 2025-06-16 16:04:15.729772 | debian-bookworm | 88 | >>> # run preparations 2025-06-16 16:04:15.729786 | debian-bookworm | 89 | >>> mkdir -p /ansible/group_vars 2025-06-16 16:04:15.729842 | debian-bookworm | 90 | >>> cp -r /defaults/* /ansible/group_vars/ 2025-06-16 16:04:15.729864 | debian-bookworm | 91 | >>> rm -f /ansible/group_vars/LICENSE /ansible/group_vars/README.md 2025-06-16 16:04:15.729878 | debian-bookworm | 92 | >>> 2025-06-16 16:04:15.729892 | debian-bookworm | 93 | >>> python3 /src/render-python-requirements.py 2025-06-16 16:04:15.729905 | debian-bookworm | 94 | >>> python3 /src/render-versions.py 2025-06-16 16:04:15.729918 | debian-bookworm | 95 | >>> python3 /src/render-ansible-requirements.py 2025-06-16 16:04:15.729947 | debian-bookworm | 96 | >>> ROLES_FILENAME=/release/etc/roles-manager.yml REQUIREMENTS_FILENAME=/ansible/requirements-manager.yml python3 /src/render-ansible-requirements.py 2025-06-16 16:04:15.729962 | debian-bookworm | 97 | >>> python3 /src/render-docker-images.py 2025-06-16 16:04:15.729976 | debian-bookworm | 98 | >>> 2025-06-16 16:04:15.729989 | debian-bookworm | 99 | >>> # install required python packages 2025-06-16 16:04:15.730004 | debian-bookworm | 100 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-06-16 16:04:15.730033 | debian-bookworm | 101 | >>> 2025-06-16 16:04:15.730047 | debian-bookworm | 102 | >>> # set ansible version in the motd 2025-06-16 16:04:15.730061 | debian-bookworm | 103 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-06-16 16:04:15.730075 | debian-bookworm | 104 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-06-16 16:04:15.730089 | debian-bookworm | 105 | >>> 2025-06-16 16:04:15.730118 | debian-bookworm | 106 | >>> # create required directories 2025-06-16 16:04:15.730132 | debian-bookworm | 107 | >>> mkdir -p \ 2025-06-16 16:04:15.730146 | debian-bookworm | 108 | >>> /ansible \ 2025-06-16 16:04:15.730159 | debian-bookworm | 109 | >>> /ansible/action_plugins \ 2025-06-16 16:04:15.730173 | debian-bookworm | 110 | >>> /ansible/cache \ 2025-06-16 16:04:15.730202 | debian-bookworm | 111 | >>> /ansible/logs \ 2025-06-16 16:04:15.730216 | debian-bookworm | 112 | >>> /ansible/secrets \ 2025-06-16 16:04:15.730230 | debian-bookworm | 113 | >>> /share \ 2025-06-16 16:04:15.730243 | debian-bookworm | 114 | >>> /archive \ 2025-06-16 16:04:15.730257 | debian-bookworm | 115 | >>> /interface 2025-06-16 16:04:15.730286 | debian-bookworm | 116 | >>> 2025-06-16 16:04:15.730300 | debian-bookworm | 117 | >>> # install required ansible collections & roles 2025-06-16 16:04:15.730314 | debian-bookworm | 118 | >>> ansible-galaxy role install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/roles 2025-06-16 16:04:15.730327 | debian-bookworm | 119 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-06-16 16:04:15.730341 | debian-bookworm | 120 | >>> 2025-06-16 16:04:15.730370 | debian-bookworm | 121 | >>> ln -s /usr/share/ansible/roles /ansible/galaxy 2025-06-16 16:04:15.730385 | debian-bookworm | 122 | >>> ln -s /usr/share/ansible/collections /ansible/collections 2025-06-16 16:04:15.730398 | debian-bookworm | 123 | >>> ln -s /usr/share/ansible/plugins /ansible/plugins 2025-06-16 16:04:15.730412 | debian-bookworm | 124 | >>> 2025-06-16 16:04:15.730427 | debian-bookworm | 125 | >>> # install mitogen ansible plugin 2025-06-16 16:04:15.730456 | debian-bookworm | 126 | >>> mkdir -p /usr/share/mitogen 2025-06-16 16:04:15.730470 | debian-bookworm | 127 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-06-16 16:04:15.730484 | debian-bookworm | 128 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-06-16 16:04:15.730497 | debian-bookworm | 129 | >>> rm /mitogen.tar.gz 2025-06-16 16:04:15.730511 | debian-bookworm | 130 | >>> 2025-06-16 16:04:15.730540 | debian-bookworm | 131 | >>> # project specific instructions 2025-06-16 16:04:15.730554 | debian-bookworm | 132 | >>> 2025-06-16 16:04:15.730568 | debian-bookworm | 133 | >>> # apply patches 2025-06-16 16:04:15.730581 | debian-bookworm | 134 | >>> for role in /usr/share/ansible/roles/*; do 2025-06-16 16:04:15.730595 | debian-bookworm | 135 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-06-16 16:04:15.730624 | debian-bookworm | 136 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-06-16 16:04:15.730638 | debian-bookworm | 137 | >>> echo "$patchfile"; 2025-06-16 16:04:15.730652 | debian-bookworm | 138 | >>> ( cd /usr/share/ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-06-16 16:04:15.730666 | debian-bookworm | 139 | >>> ( cd /usr/share/ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-06-16 16:04:15.730695 | debian-bookworm | 140 | >>> done; 2025-06-16 16:04:15.730715 | debian-bookworm | 141 | >>> fi; 2025-06-16 16:04:15.730729 | debian-bookworm | 142 | >>> done 2025-06-16 16:04:15.730743 | debian-bookworm | 143 | >>> 2025-06-16 16:04:15.730757 | debian-bookworm | 144 | >>> for role in /ansible/roles/*; do 2025-06-16 16:04:15.730771 | debian-bookworm | 145 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-06-16 16:04:15.730813 | debian-bookworm | 146 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-06-16 16:04:15.730828 | debian-bookworm | 147 | >>> echo "$patchfile"; 2025-06-16 16:04:15.730842 | debian-bookworm | 148 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-06-16 16:04:15.730855 | debian-bookworm | 149 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-06-16 16:04:15.730884 | debian-bookworm | 150 | >>> done; 2025-06-16 16:04:15.730899 | debian-bookworm | 151 | >>> fi; 2025-06-16 16:04:15.730913 | debian-bookworm | 152 | >>> done 2025-06-16 16:04:15.730927 | debian-bookworm | 153 | >>> 2025-06-16 16:04:15.730941 | debian-bookworm | 154 | >>> # prepare ansible directory 2025-06-16 16:04:15.730970 | debian-bookworm | 155 | >>> cp -r /playbooks/playbooks/* /ansible 2025-06-16 16:04:15.730985 | debian-bookworm | 156 | >>> cp /playbooks/library/* /ansible/library 2025-06-16 16:04:15.730999 | debian-bookworm | 157 | >>> mkdir -p /ansible/templates 2025-06-16 16:04:15.731013 | debian-bookworm | 158 | >>> cp /playbooks/templates/* /ansible/templates 2025-06-16 16:04:15.731035 | debian-bookworm | 159 | >>> 2025-06-16 16:04:15.731056 | debian-bookworm | 160 | >>> # add symlink to /etc/openstack 2025-06-16 16:04:15.731070 | debian-bookworm | 161 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-06-16 16:04:15.731084 | debian-bookworm | 162 | >>> 2025-06-16 16:04:15.731098 | debian-bookworm | 163 | >>> # copy ara configuration 2025-06-16 16:04:15.731112 | debian-bookworm | 164 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-06-16 16:04:15.731141 | debian-bookworm | 165 | >>> 2025-06-16 16:04:15.731155 | debian-bookworm | 166 | >>> # prepare list of playbooks 2025-06-16 16:04:15.731169 | debian-bookworm | 167 | >>> python3 /src/generate-playbook-symlinks.py 2025-06-16 16:04:15.731183 | debian-bookworm | 168 | >>> python3 /src/render-playbooks.py 2025-06-16 16:04:15.731197 | debian-bookworm | 169 | >>> 2025-06-16 16:04:15.731226 | debian-bookworm | 170 | >>> # set correct permssions 2025-06-16 16:04:15.731240 | debian-bookworm | 171 | >>> chown -R dragon: /ansible /share /archive /interface 2025-06-16 16:04:15.731254 | debian-bookworm | 172 | >>> 2025-06-16 16:04:15.731268 | debian-bookworm | 173 | >>> # cleanup 2025-06-16 16:04:15.731282 | debian-bookworm | 174 | >>> apt-get clean 2025-06-16 16:04:15.731311 | debian-bookworm | 175 | >>> apt-get remove -y \ 2025-06-16 16:04:15.731326 | debian-bookworm | 176 | >>> build-essential \ 2025-06-16 16:04:15.731340 | debian-bookworm | 177 | >>> curl \ 2025-06-16 16:04:15.731354 | debian-bookworm | 178 | >>> git \ 2025-06-16 16:04:15.731368 | debian-bookworm | 179 | >>> gnupg \ 2025-06-16 16:04:15.731397 | debian-bookworm | 180 | >>> libffi-dev \ 2025-06-16 16:04:15.731411 | debian-bookworm | 181 | >>> libssh-dev \ 2025-06-16 16:04:15.731425 | debian-bookworm | 182 | >>> libssl-dev \ 2025-06-16 16:04:15.731439 | debian-bookworm | 183 | >>> libyaml-dev 2025-06-16 16:04:15.731453 | debian-bookworm | 184 | >>> apt-get autoremove -y 2025-06-16 16:04:15.731482 | debian-bookworm | 185 | >>> 2025-06-16 16:04:15.731496 | debian-bookworm | 186 | >>> rm -rf \ 2025-06-16 16:04:15.731510 | debian-bookworm | 187 | >>> /patches \ 2025-06-16 16:04:15.731524 | debian-bookworm | 188 | >>> /root/.cache \ 2025-06-16 16:04:15.731538 | debian-bookworm | 189 | >>> /tmp/* \ 2025-06-16 16:04:15.731567 | debian-bookworm | 190 | >>> /usr/share/doc/* \ 2025-06-16 16:04:15.731581 | debian-bookworm | 191 | >>> /usr/share/man/* \ 2025-06-16 16:04:15.731595 | debian-bookworm | 192 | >>> /var/lib/apt/lists/* \ 2025-06-16 16:04:15.731609 | debian-bookworm | 193 | >>> /var/tmp/* 2025-06-16 16:04:15.731623 | debian-bookworm | 194 | >>> 2025-06-16 16:04:15.731648 | debian-bookworm | 195 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-06-16 16:04:15.731662 | debian-bookworm | 196 | >>> pyclean /usr 2025-06-16 16:04:15.731694 | debian-bookworm | 197 | >>> uv pip uninstall --system pyclean 2025-06-16 16:04:15.731715 | debian-bookworm | 198 | >>> EOF 2025-06-16 16:04:15.731729 | debian-bookworm | 199 | 2025-06-16 16:04:15.731742 | debian-bookworm | -------------------- 2025-06-16 16:04:15.731875 | debian-bookworm | ERROR: failed to solve: process "/bin/bash -o pipefail -c set -e\nset -x\n\n# show motd\necho \"[ ! -z \\\"\\$TERM\\\" -a -r /etc/motd ] && cat /etc/motd\" >> /etc/bash.bashrc\n\n# install required packages\napt-get update\napt-get install --no-install-recommends -y \\\n build-essential \\\n curl \\\n dumb-init \\\n git \\\n gnupg \\\n gnupg-agent \\\n iputils-ping \\\n jq \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev \\\n openssh-client \\\n procps \\\n rsync \\\n sshpass\nupdate-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1\nupdate-alternatives --install /usr/bin/python python /usr/local/bin/python 1\nuv pip install --no-cache --system -r /src/requirements.txt\n\n# add user\ngroupadd -g \"$GROUP_ID\" dragon\ngroupadd -g \"$GROUP_ID_DOCKER\" docker\nuseradd -l -g dragon -G docker -u \"$USER_ID\" -m -d /ansible dragon\n\n# prepare release repository\ngit clone https://github.com/osism/release /release\n\n# prepare project repository\n\ngit clone https://github.com/osism/ansible-playbooks /playbooks\ngit clone https://github.com/osism/defaults /defaults\ngit clone https://github.com/osism/cfg-generics /generics \n\nif [ \"$VERSION\" != \"latest\" ]; then\n ( cd /release || exit; git fetch --all --force; git checkout \"osism-ansible-$VERSION\" )\n ( cd /playbooks || exit; git fetch --all --force; git checkout \"$(yq -M -r .playbooks_version \"/release/latest/base.yml\")\" )\n ( cd /defaults || exit; git fetch --all --force; git checkout \"$(yq -M -r .defaults_version \"/release/latest/base.yml\")\" )\n ( cd /generics || exit; git fetch --all --force; git checkout \"$(yq -M -r .generics_version \"/release/latest/base.yml\")\" )\nfi\n\n# add inventory files\nmkdir -p /ansible/inventory.generics /ansible/inventory\ncp /generics/inventory/* /ansible/inventory.generics\n\n# run preparations\nmkdir -p /ansible/group_vars\ncp -r /defaults/* /ansible/group_vars/\nrm -f /ansible/group_vars/LICENSE /ansible/group_vars/README.md\n\npython3 /src/render-python-requirements.py\npython3 /src/render-versions.py\npython3 /src/render-ansible-requirements.py\nROLES_FILENAME=/release/etc/roles-manager.yml REQUIREMENTS_FILENAME=/ansible/requirements-manager.yml python3 /src/render-ansible-requirements.py\npython3 /src/render-docker-images.py\n\n# install required python packages\nuv pip install --no-cache --system -r /requirements.txt\n\n# set ansible version in the motd\nansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)')\nsed -i -e \"s/ANSIBLE_VERSION/$ansible_version/\" /etc/motd\n\n# create required directories\nmkdir -p \\\n /ansible \\\n /ansible/action_plugins \\\n /ansible/cache \\\n /ansible/logs \\\n /ansible/secrets \\\n /share \\\n /archive \\\n /interface\n\n# install required ansible collections & roles\nansible-galaxy role install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/roles\nansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections\n\nln -s /usr/share/ansible/roles /ansible/galaxy\nln -s /usr/share/ansible/collections /ansible/collections\nln -s /usr/share/ansible/plugins /ansible/plugins\n\n# install mitogen ansible plugin\nmkdir -p /usr/share/mitogen\ntar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen\nrm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml}\nrm /mitogen.tar.gz\n\n# project specific instructions\n\n# apply patches\nfor role in /usr/share/ansible/roles/*; do\n if [ -e /patches/\"$(basename \"$role\")\" ]; then\n for patchfile in /patches/\"$(basename \"$role\")\"/*.patch; do\n echo \"$patchfile\";\n ( cd /usr/share/ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 --dry-run ) < \"$patchfile\" || exit 1;\n ( cd /usr/share/ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 ) < \"$patchfile\";\n done;\n fi;\ndone\n\nfor role in /ansible/roles/*; do\n if [ -e /patches/\"$(basename \"$role\")\" ]; then\n for patchfile in /patches/\"$(basename \"$role\")\"/*.patch; do\n echo \"$patchfile\";\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 --dry-run ) < \"$patchfile\" || exit 1;\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 ) < \"$patchfile\";\n done;\n fi;\ndone\n\n# prepare ansible directory\ncp -r /playbooks/playbooks/* /ansible\ncp /playbooks/library/* /ansible/library\nmkdir -p /ansible/templates\ncp /playbooks/templates/* /ansible/templates\n\n# add symlink to /etc/openstack\nln -s /opt/configuration/environments/openstack /etc/openstack\n\n# copy ara configuration\npython3 -m ara.setup.env >> /ansible/ara.env\n\n# prepare list of playbooks\npython3 /src/generate-playbook-symlinks.py\npython3 /src/render-playbooks.py\n\n# set correct permssions\nchown -R dragon: /ansible /share /archive /interface\n\n# cleanup\napt-get clean\napt-get remove -y \\\n build-essential \\\n curl \\\n git \\\n gnupg \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev\napt-get autoremove -y\n\nrm -rf \\\n /patches \\\n /root/.cache \\\n /tmp/* \\\n /usr/share/doc/* \\\n /usr/share/man/* \\\n /var/lib/apt/lists/* \\\n /var/tmp/*\n\nuv pip install --no-cache --system pyclean==3.0.0\npyclean /usr\nuv pip uninstall --system pyclean\n" did not complete successfully: exit code: 1 2025-06-16 16:04:16.155107 | debian-bookworm | ERROR 2025-06-16 16:04:16.155628 | debian-bookworm | { 2025-06-16 16:04:16.155743 | debian-bookworm | "delta": "0:01:49.755072", 2025-06-16 16:04:16.155818 | debian-bookworm | "end": "2025-06-16 16:04:15.742280", 2025-06-16 16:04:16.155904 | debian-bookworm | "msg": "non-zero return code", 2025-06-16 16:04:16.155965 | debian-bookworm | "rc": 1, 2025-06-16 16:04:16.156018 | debian-bookworm | "start": "2025-06-16 16:02:25.987208" 2025-06-16 16:04:16.156078 | debian-bookworm | } failure 2025-06-16 16:04:16.185591 | 2025-06-16 16:04:16.185699 | PLAY RECAP 2025-06-16 16:04:16.185755 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 1 skipped: 0 rescued: 0 ignored: 0 2025-06-16 16:04:16.185782 | 2025-06-16 16:04:16.344801 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/container-image-osism-ansible/playbooks/build.yml@main] 2025-06-16 16:04:16.345884 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-06-16 16:04:17.015043 | 2025-06-16 16:04:17.015184 | PLAY [Base post] 2025-06-16 16:04:17.027737 | 2025-06-16 16:04:17.027851 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-06-16 16:04:17.823542 | debian-bookworm | changed 2025-06-16 16:04:17.832951 | 2025-06-16 16:04:17.833076 | PLAY RECAP 2025-06-16 16:04:17.833154 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-06-16 16:04:17.833233 | 2025-06-16 16:04:17.943419 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-06-16 16:04:17.944442 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-06-16 16:04:18.664974 | 2025-06-16 16:04:18.665114 | PLAY [Base post-logs] 2025-06-16 16:04:18.674909 | 2025-06-16 16:04:18.675030 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-06-16 16:04:19.097714 | localhost | changed 2025-06-16 16:04:19.107861 | 2025-06-16 16:04:19.108039 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-06-16 16:04:19.147146 | localhost | ok 2025-06-16 16:04:19.154109 | 2025-06-16 16:04:19.154288 | TASK [Set zuul-log-path fact] 2025-06-16 16:04:19.183169 | localhost | ok 2025-06-16 16:04:19.197798 | 2025-06-16 16:04:19.197946 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-06-16 16:04:19.226005 | localhost | ok 2025-06-16 16:04:19.236212 | 2025-06-16 16:04:19.236351 | TASK [upload-logs : Create log directories] 2025-06-16 16:04:19.722382 | localhost | changed 2025-06-16 16:04:19.725178 | 2025-06-16 16:04:19.725272 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-06-16 16:04:20.187054 | localhost -> localhost | ok: Runtime: 0:00:00.006442 2025-06-16 16:04:20.194657 | 2025-06-16 16:04:20.194812 | TASK [upload-logs : Upload logs to log server] 2025-06-16 16:04:20.740945 | localhost | Output suppressed because no_log was given 2025-06-16 16:04:20.743461 | 2025-06-16 16:04:20.743584 | LOOP [upload-logs : Compress console log and json output] 2025-06-16 16:04:20.797678 | localhost | skipping: Conditional result was False 2025-06-16 16:04:20.803485 | localhost | skipping: Conditional result was False 2025-06-16 16:04:20.816242 | 2025-06-16 16:04:20.816478 | LOOP [upload-logs : Upload compressed console log and json output] 2025-06-16 16:04:20.861129 | localhost | skipping: Conditional result was False 2025-06-16 16:04:20.861806 | 2025-06-16 16:04:20.864945 | localhost | skipping: Conditional result was False 2025-06-16 16:04:20.878557 | 2025-06-16 16:04:20.878787 | LOOP [upload-logs : Upload console log and json output]