2025-05-16 19:49:12.919084 | Job console starting 2025-05-16 19:49:12.932956 | Updating git repos 2025-05-16 19:49:12.993080 | Cloning repos into workspace 2025-05-16 19:49:13.046234 | Restoring repo states 2025-05-16 19:49:13.103362 | Merging changes 2025-05-16 19:49:13.103401 | Checking out repos 2025-05-16 19:49:13.225094 | Preparing playbooks 2025-05-16 19:49:13.937224 | Running Ansible setup 2025-05-16 19:49:18.209001 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-05-16 19:49:18.974009 | 2025-05-16 19:49:18.974211 | PLAY [Base pre] 2025-05-16 19:49:18.991386 | 2025-05-16 19:49:18.991549 | TASK [Setup log path fact] 2025-05-16 19:49:19.022390 | debian-bookworm | ok 2025-05-16 19:49:19.037893 | 2025-05-16 19:49:19.038044 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-05-16 19:49:19.081911 | debian-bookworm | ok 2025-05-16 19:49:19.093425 | 2025-05-16 19:49:19.093555 | TASK [emit-job-header : Print job information] 2025-05-16 19:49:19.149712 | # Job Information 2025-05-16 19:49:19.150127 | Ansible Version: 2.16.14 2025-05-16 19:49:19.150391 | Job: ansible-collection-services-container-image-osism-ansible-push 2025-05-16 19:49:19.150455 | Pipeline: post 2025-05-16 19:49:19.150498 | Executor: 521e9411259a 2025-05-16 19:49:19.150535 | Triggered by: https://github.com/osism/ansible-collection-services/commit/0c3a8daa8ba2866b2a6efa5c2b676bcba1fd08df 2025-05-16 19:49:19.150576 | Event ID: d312f0ee-328e-11f0-8c80-1ffe24e21a27 2025-05-16 19:49:19.158074 | 2025-05-16 19:49:19.158219 | LOOP [emit-job-header : Print node information] 2025-05-16 19:49:19.279026 | debian-bookworm | ok: 2025-05-16 19:49:19.279245 | debian-bookworm | # Node Information 2025-05-16 19:49:19.279280 | debian-bookworm | Inventory Hostname: debian-bookworm 2025-05-16 19:49:19.279339 | debian-bookworm | Hostname: debian 2025-05-16 19:49:19.279364 | debian-bookworm | Username: zuul 2025-05-16 19:49:19.279386 | debian-bookworm | Distro: Debian 12.10 2025-05-16 19:49:19.279411 | debian-bookworm | Provider: regiocloud-a 2025-05-16 19:49:19.279433 | debian-bookworm | Region: 2025-05-16 19:49:19.279454 | debian-bookworm | Label: debian-bookworm 2025-05-16 19:49:19.279474 | debian-bookworm | Product Name: OpenStack Nova 2025-05-16 19:49:19.279494 | debian-bookworm | Interface IP: 2a13:1a81:8000:3124:f816:3eff:fe13:1d53 2025-05-16 19:49:19.307537 | 2025-05-16 19:49:19.307753 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-05-16 19:49:19.812830 | debian-bookworm -> localhost | changed 2025-05-16 19:49:19.828038 | 2025-05-16 19:49:19.828245 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-05-16 19:49:20.963042 | debian-bookworm -> localhost | changed 2025-05-16 19:49:20.983063 | 2025-05-16 19:49:20.983209 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-05-16 19:49:21.324447 | debian-bookworm -> localhost | ok 2025-05-16 19:49:21.337405 | 2025-05-16 19:49:21.337596 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-05-16 19:49:21.374036 | debian-bookworm | ok 2025-05-16 19:49:21.396739 | debian-bookworm | included: /var/lib/zuul/builds/81d8a0cbd15549119c97ef922b4099e3/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-05-16 19:49:21.403114 | 2025-05-16 19:49:21.403226 | TASK [add-build-sshkey : Create Temp SSH key] 2025-05-16 19:49:22.320014 | debian-bookworm -> localhost | Generating public/private rsa key pair. 2025-05-16 19:49:22.320283 | debian-bookworm -> localhost | Your identification has been saved in /var/lib/zuul/builds/81d8a0cbd15549119c97ef922b4099e3/work/81d8a0cbd15549119c97ef922b4099e3_id_rsa 2025-05-16 19:49:22.320364 | debian-bookworm -> localhost | Your public key has been saved in /var/lib/zuul/builds/81d8a0cbd15549119c97ef922b4099e3/work/81d8a0cbd15549119c97ef922b4099e3_id_rsa.pub 2025-05-16 19:49:22.320392 | debian-bookworm -> localhost | The key fingerprint is: 2025-05-16 19:49:22.320418 | debian-bookworm -> localhost | SHA256:TvGNrqhF0pD33//TQIVSAIzvjo7MHmaFxxWaN8mNu+A zuul-build-sshkey 2025-05-16 19:49:22.320455 | debian-bookworm -> localhost | The key's randomart image is: 2025-05-16 19:49:22.320477 | debian-bookworm -> localhost | +---[RSA 3072]----+ 2025-05-16 19:49:22.320499 | debian-bookworm -> localhost | | oo..o.. | 2025-05-16 19:49:22.320520 | debian-bookworm -> localhost | | . .+.=. . .| 2025-05-16 19:49:22.320541 | debian-bookworm -> localhost | | o . +.B .. . | 2025-05-16 19:49:22.320560 | debian-bookworm -> localhost | | + + =.= . | 2025-05-16 19:49:22.320579 | debian-bookworm -> localhost | | . + S.+ .. | 2025-05-16 19:49:22.320606 | debian-bookworm -> localhost | | o * +.o . | 2025-05-16 19:49:22.320627 | debian-bookworm -> localhost | | = Eo+ . ..| 2025-05-16 19:49:22.320647 | debian-bookworm -> localhost | | * +... . ..| 2025-05-16 19:49:22.320669 | debian-bookworm -> localhost | | .o*.o ..o| 2025-05-16 19:49:22.320689 | debian-bookworm -> localhost | +----[SHA256]-----+ 2025-05-16 19:49:22.320750 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.389075 2025-05-16 19:49:22.327879 | 2025-05-16 19:49:22.327992 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-05-16 19:49:22.360350 | debian-bookworm | ok 2025-05-16 19:49:22.371999 | debian-bookworm | included: /var/lib/zuul/builds/81d8a0cbd15549119c97ef922b4099e3/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-05-16 19:49:22.381690 | 2025-05-16 19:49:22.381794 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-05-16 19:49:22.406180 | debian-bookworm | skipping: Conditional result was False 2025-05-16 19:49:22.412840 | 2025-05-16 19:49:22.412953 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-05-16 19:49:23.071624 | debian-bookworm | changed 2025-05-16 19:49:23.081208 | 2025-05-16 19:49:23.081383 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-05-16 19:49:23.363278 | debian-bookworm | ok 2025-05-16 19:49:23.372315 | 2025-05-16 19:49:23.372470 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-05-16 19:49:24.054788 | debian-bookworm | changed 2025-05-16 19:49:24.067768 | 2025-05-16 19:49:24.067938 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-05-16 19:49:24.733750 | debian-bookworm | changed 2025-05-16 19:49:24.741852 | 2025-05-16 19:49:24.741988 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-05-16 19:49:24.767662 | debian-bookworm | skipping: Conditional result was False 2025-05-16 19:49:24.781212 | 2025-05-16 19:49:24.781422 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-05-16 19:49:25.287379 | debian-bookworm -> localhost | changed 2025-05-16 19:49:25.309071 | 2025-05-16 19:49:25.309241 | TASK [add-build-sshkey : Add back temp key] 2025-05-16 19:49:25.679866 | debian-bookworm -> localhost | Identity added: /var/lib/zuul/builds/81d8a0cbd15549119c97ef922b4099e3/work/81d8a0cbd15549119c97ef922b4099e3_id_rsa (zuul-build-sshkey) 2025-05-16 19:49:25.680730 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.019309 2025-05-16 19:49:25.697810 | 2025-05-16 19:49:25.698015 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-05-16 19:49:26.125157 | debian-bookworm | ok 2025-05-16 19:49:26.133972 | 2025-05-16 19:49:26.134127 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-05-16 19:49:26.169785 | debian-bookworm | skipping: Conditional result was False 2025-05-16 19:49:26.191905 | 2025-05-16 19:49:26.192080 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-05-16 19:49:26.635220 | debian-bookworm | ok 2025-05-16 19:49:26.650712 | 2025-05-16 19:49:26.650884 | TASK [validate-host : Define zuul_info_dir fact] 2025-05-16 19:49:26.696273 | debian-bookworm | ok 2025-05-16 19:49:26.704391 | 2025-05-16 19:49:26.704535 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-05-16 19:49:27.015119 | debian-bookworm -> localhost | ok 2025-05-16 19:49:27.033446 | 2025-05-16 19:49:27.033693 | TASK [validate-host : Collect information about the host] 2025-05-16 19:49:28.148330 | debian-bookworm | ok 2025-05-16 19:49:28.158729 | 2025-05-16 19:49:28.158878 | TASK [validate-host : Sanitize hostname] 2025-05-16 19:49:28.287862 | debian-bookworm | ok 2025-05-16 19:49:28.349687 | 2025-05-16 19:49:28.349888 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-05-16 19:49:28.958089 | debian-bookworm -> localhost | changed 2025-05-16 19:49:28.969487 | 2025-05-16 19:49:28.969660 | TASK [validate-host : Collect information about zuul worker] 2025-05-16 19:49:29.408169 | debian-bookworm | ok 2025-05-16 19:49:29.416559 | 2025-05-16 19:49:29.416728 | TASK [validate-host : Write out all zuul information for each host] 2025-05-16 19:49:30.004070 | debian-bookworm -> localhost | changed 2025-05-16 19:49:30.014978 | 2025-05-16 19:49:30.015120 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-05-16 19:49:30.288664 | debian-bookworm | ok 2025-05-16 19:49:30.302751 | 2025-05-16 19:49:30.302937 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-05-16 19:49:31.426178 | debian-bookworm | changed: 2025-05-16 19:49:31.426593 | debian-bookworm | cd+++++++++ src/ 2025-05-16 19:49:31.426631 | debian-bookworm | cd+++++++++ src/github.com/ 2025-05-16 19:49:31.426655 | debian-bookworm | cd+++++++++ src/github.com/osism/ 2025-05-16 19:49:31.426677 | debian-bookworm | cd+++++++++ src/github.com/osism/ansible-collection-services/ 2025-05-16 19:49:31.426698 | 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: 250 2025-05-16 19:51:44.800001 | debian-bookworm | ------ 2025-05-16 19:51:44.800070 | debian-bookworm | > [builder 14/14] RUN <>> RUN <>> set -e 2025-05-16 19:51:44.802944 | debian-bookworm | 35 | >>> set -x 2025-05-16 19:51:44.802988 | debian-bookworm | 36 | >>> 2025-05-16 19:51:44.803038 | debian-bookworm | 37 | >>> # show motd 2025-05-16 19:51:44.803061 | debian-bookworm | 38 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-05-16 19:51:44.803083 | debian-bookworm | 39 | >>> 2025-05-16 19:51:44.803130 | debian-bookworm | 40 | >>> # install required packages 2025-05-16 19:51:44.803154 | debian-bookworm | 41 | >>> apt-get update 2025-05-16 19:51:44.803176 | debian-bookworm | 42 | >>> apt-get install --no-install-recommends -y \ 2025-05-16 19:51:44.803221 | debian-bookworm | 43 | >>> build-essential \ 2025-05-16 19:51:44.803243 | debian-bookworm | 44 | >>> curl \ 2025-05-16 19:51:44.803263 | debian-bookworm | 45 | >>> dumb-init \ 2025-05-16 19:51:44.803308 | debian-bookworm | 46 | >>> git \ 2025-05-16 19:51:44.803330 | debian-bookworm | 47 | >>> gnupg \ 2025-05-16 19:51:44.803351 | debian-bookworm | 48 | >>> gnupg-agent \ 2025-05-16 19:51:44.803396 | debian-bookworm | 49 | >>> iputils-ping \ 2025-05-16 19:51:44.803417 | debian-bookworm | 50 | >>> jq \ 2025-05-16 19:51:44.803438 | debian-bookworm | 51 | >>> libffi-dev \ 2025-05-16 19:51:44.803482 | debian-bookworm | 52 | >>> libssh-dev \ 2025-05-16 19:51:44.803503 | debian-bookworm | 53 | >>> libssl-dev \ 2025-05-16 19:51:44.803525 | debian-bookworm | 54 | >>> libyaml-dev \ 2025-05-16 19:51:44.803570 | debian-bookworm | 55 | >>> openssh-client \ 2025-05-16 19:51:44.803592 | debian-bookworm | 56 | >>> procps \ 2025-05-16 19:51:44.803612 | debian-bookworm | 57 | >>> rsync \ 2025-05-16 19:51:44.803657 | debian-bookworm | 58 | >>> sshpass 2025-05-16 19:51:44.803678 | debian-bookworm | 59 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-05-16 19:51:44.803700 | debian-bookworm | 60 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-05-16 19:51:44.803745 | debian-bookworm | 61 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-05-16 19:51:44.803767 | debian-bookworm | 62 | >>> 2025-05-16 19:51:44.803788 | debian-bookworm | 63 | >>> # add user 2025-05-16 19:51:44.803833 | debian-bookworm | 64 | >>> groupadd -g "$GROUP_ID" dragon 2025-05-16 19:51:44.803854 | debian-bookworm | 65 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-05-16 19:51:44.803875 | debian-bookworm | 66 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-05-16 19:51:44.803921 | debian-bookworm | 67 | >>> 2025-05-16 19:51:44.803943 | debian-bookworm | 68 | >>> # prepare release repository 2025-05-16 19:51:44.804032 | debian-bookworm | 69 | >>> git clone https://github.com/osism/release /release 2025-05-16 19:51:44.804067 | debian-bookworm | 70 | >>> 2025-05-16 19:51:44.804089 | debian-bookworm | 71 | >>> # prepare project repository 2025-05-16 19:51:44.804110 | debian-bookworm | 72 | >>> 2025-05-16 19:51:44.804156 | debian-bookworm | 73 | >>> git clone https://github.com/osism/ansible-playbooks /playbooks 2025-05-16 19:51:44.804179 | debian-bookworm | 74 | >>> git clone https://github.com/osism/defaults /defaults 2025-05-16 19:51:44.804201 | debian-bookworm | 75 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-05-16 19:51:44.804247 | debian-bookworm | 76 | >>> 2025-05-16 19:51:44.804270 | debian-bookworm | 77 | >>> if [ "$VERSION" != "latest" ]; then 2025-05-16 19:51:44.804291 | debian-bookworm | 78 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-ansible-$VERSION" ) 2025-05-16 19:51:44.804340 | debian-bookworm | 79 | >>> ( cd /playbooks || exit; git fetch --all --force; git checkout "$(yq -M -r .playbooks_version "/release/latest/base.yml")" ) 2025-05-16 19:51:44.804363 | debian-bookworm | 80 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-05-16 19:51:44.804419 | debian-bookworm | 81 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-05-16 19:51:44.804462 | debian-bookworm | 82 | >>> fi 2025-05-16 19:51:44.804489 | debian-bookworm | 83 | >>> 2025-05-16 19:51:44.804535 | debian-bookworm | 84 | >>> # add inventory files 2025-05-16 19:51:44.804573 | debian-bookworm | 85 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-05-16 19:51:44.804592 | debian-bookworm | 86 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-05-16 19:51:44.804611 | debian-bookworm | 87 | >>> 2025-05-16 19:51:44.804642 | debian-bookworm | 88 | >>> # run preparations 2025-05-16 19:51:44.804669 | debian-bookworm | 89 | >>> mkdir -p /ansible/group_vars 2025-05-16 19:51:44.804688 | debian-bookworm | 90 | >>> cp -r /defaults/* /ansible/group_vars/ 2025-05-16 19:51:44.804706 | debian-bookworm | 91 | >>> rm -f /ansible/group_vars/LICENSE /ansible/group_vars/README.md 2025-05-16 19:51:44.804738 | debian-bookworm | 92 | >>> 2025-05-16 19:51:44.804765 | debian-bookworm | 93 | >>> python3 /src/render-python-requirements.py 2025-05-16 19:51:44.804784 | debian-bookworm | 94 | >>> python3 /src/render-versions.py 2025-05-16 19:51:44.804803 | debian-bookworm | 95 | >>> python3 /src/render-ansible-requirements.py 2025-05-16 19:51:44.804834 | debian-bookworm | 96 | >>> ROLES_FILENAME=/release/etc/roles-manager.yml REQUIREMENTS_FILENAME=/ansible/requirements-manager.yml python3 /src/render-ansible-requirements.py 2025-05-16 19:51:44.804863 | debian-bookworm | 97 | >>> python3 /src/render-docker-images.py 2025-05-16 19:51:44.804890 | debian-bookworm | 98 | >>> 2025-05-16 19:51:44.804933 | debian-bookworm | 99 | >>> # install required python packages 2025-05-16 19:51:44.804987 | debian-bookworm | 100 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-05-16 19:51:44.805015 | debian-bookworm | 101 | >>> 2025-05-16 19:51:44.805072 | debian-bookworm | 102 | >>> # set ansible version in the motd 2025-05-16 19:51:44.805102 | debian-bookworm | 103 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-05-16 19:51:44.805135 | debian-bookworm | 104 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-05-16 19:51:44.805162 | debian-bookworm | 105 | >>> 2025-05-16 19:51:44.805181 | debian-bookworm | 106 | >>> # create required directories 2025-05-16 19:51:44.805200 | debian-bookworm | 107 | >>> mkdir -p \ 2025-05-16 19:51:44.805233 | debian-bookworm | 108 | >>> /ansible \ 2025-05-16 19:51:44.805262 | debian-bookworm | 109 | >>> /ansible/action_plugins \ 2025-05-16 19:51:44.805283 | debian-bookworm | 110 | >>> /ansible/cache \ 2025-05-16 19:51:44.805301 | debian-bookworm | 111 | >>> /ansible/logs \ 2025-05-16 19:51:44.805335 | debian-bookworm | 112 | >>> /ansible/secrets \ 2025-05-16 19:51:44.805364 | debian-bookworm | 113 | >>> /share \ 2025-05-16 19:51:44.805383 | debian-bookworm | 114 | >>> /archive \ 2025-05-16 19:51:44.805402 | debian-bookworm | 115 | >>> /interface 2025-05-16 19:51:44.805435 | debian-bookworm | 116 | >>> 2025-05-16 19:51:44.805464 | debian-bookworm | 117 | >>> # install required ansible collections & roles 2025-05-16 19:51:44.805483 | debian-bookworm | 118 | >>> ansible-galaxy role install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/roles 2025-05-16 19:51:44.805502 | debian-bookworm | 119 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-05-16 19:51:44.805536 | debian-bookworm | 120 | >>> 2025-05-16 19:51:44.805662 | debian-bookworm | 121 | >>> ln -s /usr/share/ansible/roles /ansible/galaxy 2025-05-16 19:51:44.805689 | debian-bookworm | 122 | >>> ln -s /usr/share/ansible/collections /ansible/collections 2025-05-16 19:51:44.805721 | debian-bookworm | 123 | >>> ln -s /usr/share/ansible/plugins /ansible/plugins 2025-05-16 19:51:44.805749 | debian-bookworm | 124 | >>> 2025-05-16 19:51:44.805769 | debian-bookworm | 125 | >>> # install mitogen ansible plugin 2025-05-16 19:51:44.805787 | debian-bookworm | 126 | >>> mkdir -p /usr/share/mitogen 2025-05-16 19:51:44.805820 | debian-bookworm | 127 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-05-16 19:51:44.805849 | debian-bookworm | 128 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-05-16 19:51:44.805868 | debian-bookworm | 129 | >>> rm /mitogen.tar.gz 2025-05-16 19:51:44.805887 | debian-bookworm | 130 | >>> 2025-05-16 19:51:44.805919 | debian-bookworm | 131 | >>> # project specific instructions 2025-05-16 19:51:44.805947 | debian-bookworm | 132 | >>> 2025-05-16 19:51:44.805983 | debian-bookworm | 133 | >>> # apply patches 2025-05-16 19:51:44.806037 | debian-bookworm | 134 | >>> for role in /usr/share/ansible/roles/*; do 2025-05-16 19:51:44.806057 | debian-bookworm | 135 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-05-16 19:51:44.806075 | debian-bookworm | 136 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-05-16 19:51:44.806106 | debian-bookworm | 137 | >>> echo "$patchfile"; 2025-05-16 19:51:44.806133 | debian-bookworm | 138 | >>> ( cd /usr/share/ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-05-16 19:51:44.806152 | debian-bookworm | 139 | >>> ( cd /usr/share/ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-05-16 19:51:44.806170 | debian-bookworm | 140 | >>> done; 2025-05-16 19:51:44.806201 | debian-bookworm | 141 | >>> fi; 2025-05-16 19:51:44.806228 | debian-bookworm | 142 | >>> done 2025-05-16 19:51:44.806247 | debian-bookworm | 143 | >>> 2025-05-16 19:51:44.806266 | debian-bookworm | 144 | >>> for role in /ansible/roles/*; do 2025-05-16 19:51:44.806297 | debian-bookworm | 145 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-05-16 19:51:44.806324 | debian-bookworm | 146 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-05-16 19:51:44.806343 | debian-bookworm | 147 | >>> echo "$patchfile"; 2025-05-16 19:51:44.806362 | debian-bookworm | 148 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-05-16 19:51:44.806393 | debian-bookworm | 149 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-05-16 19:51:44.806420 | debian-bookworm | 150 | >>> done; 2025-05-16 19:51:44.806439 | debian-bookworm | 151 | >>> fi; 2025-05-16 19:51:44.806458 | debian-bookworm | 152 | >>> done 2025-05-16 19:51:44.806489 | debian-bookworm | 153 | >>> 2025-05-16 19:51:44.806516 | debian-bookworm | 154 | >>> # prepare ansible directory 2025-05-16 19:51:44.806535 | debian-bookworm | 155 | >>> cp -r /playbooks/playbooks/* /ansible 2025-05-16 19:51:44.806554 | debian-bookworm | 156 | >>> cp /playbooks/library/* /ansible/library 2025-05-16 19:51:44.806585 | debian-bookworm | 157 | >>> mkdir -p /ansible/templates 2025-05-16 19:51:44.806612 | debian-bookworm | 158 | >>> cp /playbooks/templates/* /ansible/templates 2025-05-16 19:51:44.806631 | debian-bookworm | 159 | >>> 2025-05-16 19:51:44.806650 | debian-bookworm | 160 | >>> # add symlink to /etc/openstack 2025-05-16 19:51:44.806682 | debian-bookworm | 161 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-05-16 19:51:44.806709 | debian-bookworm | 162 | >>> 2025-05-16 19:51:44.806728 | debian-bookworm | 163 | >>> # copy ara configuration 2025-05-16 19:51:44.806747 | debian-bookworm | 164 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-05-16 19:51:44.806778 | debian-bookworm | 165 | >>> 2025-05-16 19:51:44.806807 | debian-bookworm | 166 | >>> # prepare list of playbooks 2025-05-16 19:51:44.806827 | debian-bookworm | 167 | >>> python3 /src/generate-playbook-symlinks.py 2025-05-16 19:51:44.806845 | debian-bookworm | 168 | >>> python3 /src/render-playbooks.py 2025-05-16 19:51:44.806877 | debian-bookworm | 169 | >>> 2025-05-16 19:51:44.806905 | debian-bookworm | 170 | >>> # set correct permssions 2025-05-16 19:51:44.806925 | debian-bookworm | 171 | >>> chown -R dragon: /ansible /share /archive /interface 2025-05-16 19:51:44.806944 | debian-bookworm | 172 | >>> 2025-05-16 19:51:44.807018 | debian-bookworm | 173 | >>> # cleanup 2025-05-16 19:51:44.807048 | debian-bookworm | 174 | >>> apt-get clean 2025-05-16 19:51:44.807068 | debian-bookworm | 175 | >>> apt-get remove -y \ 2025-05-16 19:51:44.807087 | debian-bookworm | 176 | >>> build-essential \ 2025-05-16 19:51:44.807120 | debian-bookworm | 177 | >>> curl \ 2025-05-16 19:51:44.807150 | debian-bookworm | 178 | >>> git \ 2025-05-16 19:51:44.807169 | debian-bookworm | 179 | >>> gnupg \ 2025-05-16 19:51:44.807188 | debian-bookworm | 180 | >>> libffi-dev \ 2025-05-16 19:51:44.807219 | debian-bookworm | 181 | >>> libssh-dev \ 2025-05-16 19:51:44.807246 | debian-bookworm | 182 | >>> libssl-dev \ 2025-05-16 19:51:44.807264 | debian-bookworm | 183 | >>> libyaml-dev 2025-05-16 19:51:44.807282 | debian-bookworm | 184 | >>> apt-get autoremove -y 2025-05-16 19:51:44.807312 | debian-bookworm | 185 | >>> 2025-05-16 19:51:44.807339 | debian-bookworm | 186 | >>> rm -rf \ 2025-05-16 19:51:44.807357 | debian-bookworm | 187 | >>> /patches \ 2025-05-16 19:51:44.807375 | debian-bookworm | 188 | >>> /root/.cache \ 2025-05-16 19:51:44.807405 | debian-bookworm | 189 | >>> /tmp/* \ 2025-05-16 19:51:44.807431 | debian-bookworm | 190 | >>> /usr/share/doc/* \ 2025-05-16 19:51:44.807450 | debian-bookworm | 191 | >>> /usr/share/man/* \ 2025-05-16 19:51:44.807468 | debian-bookworm | 192 | >>> /var/lib/apt/lists/* \ 2025-05-16 19:51:44.807496 | debian-bookworm | 193 | >>> /var/tmp/* 2025-05-16 19:51:44.807523 | debian-bookworm | 194 | >>> 2025-05-16 19:51:44.807549 | debian-bookworm | 195 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-05-16 19:51:44.807567 | debian-bookworm | 196 | >>> pyclean /usr 2025-05-16 19:51:44.807597 | debian-bookworm | 197 | >>> uv pip uninstall --system pyclean 2025-05-16 19:51:44.807624 | debian-bookworm | 198 | >>> EOF 2025-05-16 19:51:44.807643 | debian-bookworm | 199 | 2025-05-16 19:51:44.807659 | debian-bookworm | -------------------- 2025-05-16 19:51:44.807835 | 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: 250 2025-05-16 19:51:44.891891 | debian-bookworm | ERROR 2025-05-16 19:51:44.892319 | debian-bookworm | { 2025-05-16 19:51:44.892434 | debian-bookworm | "delta": "0:01:24.045461", 2025-05-16 19:51:44.892494 | debian-bookworm | "end": "2025-05-16 19:51:44.815340", 2025-05-16 19:51:44.892543 | debian-bookworm | "msg": "non-zero return code", 2025-05-16 19:51:44.892587 | debian-bookworm | "rc": 1, 2025-05-16 19:51:44.892631 | debian-bookworm | "start": "2025-05-16 19:50:20.769879" 2025-05-16 19:51:44.892682 | debian-bookworm | } failure 2025-05-16 19:51:44.926009 | 2025-05-16 19:51:44.926223 | PLAY RECAP 2025-05-16 19:51:44.926356 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 1 skipped: 0 rescued: 0 ignored: 0 2025-05-16 19:51:44.926449 | 2025-05-16 19:51:45.080186 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/container-image-osism-ansible/playbooks/build.yml@main] 2025-05-16 19:51:45.082698 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-05-16 19:51:45.892979 | 2025-05-16 19:51:45.893161 | PLAY [Base post] 2025-05-16 19:51:45.907666 | 2025-05-16 19:51:45.907818 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-05-16 19:51:46.711408 | debian-bookworm | changed 2025-05-16 19:51:46.725565 | 2025-05-16 19:51:46.725720 | PLAY RECAP 2025-05-16 19:51:46.725824 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-05-16 19:51:46.725910 | 2025-05-16 19:51:46.869386 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-05-16 19:51:46.872071 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-05-16 19:51:47.705232 | 2025-05-16 19:51:47.705480 | PLAY [Base post-logs] 2025-05-16 19:51:47.717762 | 2025-05-16 19:51:47.717948 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-05-16 19:51:48.234921 | localhost | changed 2025-05-16 19:51:48.251044 | 2025-05-16 19:51:48.251269 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-05-16 19:51:48.289159 | localhost | ok 2025-05-16 19:51:48.294139 | 2025-05-16 19:51:48.294285 | TASK [Set zuul-log-path fact] 2025-05-16 19:51:48.313978 | localhost | ok 2025-05-16 19:51:48.328350 | 2025-05-16 19:51:48.328566 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-05-16 19:51:48.356049 | localhost | ok 2025-05-16 19:51:48.360668 | 2025-05-16 19:51:48.360809 | TASK [upload-logs : Create log directories] 2025-05-16 19:51:48.894386 | localhost | changed 2025-05-16 19:51:48.898550 | 2025-05-16 19:51:48.898698 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-05-16 19:51:49.454061 | localhost -> localhost | ok: Runtime: 0:00:00.005634 2025-05-16 19:51:49.464978 | 2025-05-16 19:51:49.465220 | TASK [upload-logs : Upload logs to log server] 2025-05-16 19:51:50.036510 | localhost | Output suppressed because no_log was given 2025-05-16 19:51:50.041208 | 2025-05-16 19:51:50.041431 | LOOP [upload-logs : Compress console log and json output] 2025-05-16 19:51:50.103459 | localhost | skipping: Conditional result was False 2025-05-16 19:51:50.108414 | localhost | skipping: Conditional result was False 2025-05-16 19:51:50.125863 | 2025-05-16 19:51:50.126151 | LOOP [upload-logs : Upload compressed console log and json output] 2025-05-16 19:51:50.179710 | localhost | skipping: Conditional result was False 2025-05-16 19:51:50.180432 | 2025-05-16 19:51:50.183472 | localhost | skipping: Conditional result was False 2025-05-16 19:51:50.191297 | 2025-05-16 19:51:50.191665 | LOOP [upload-logs : Upload console log and json output]