2025-04-09 10:09:26.738979 | Job console starting... 2025-04-09 10:09:26.752134 | Updating repositories 2025-04-09 10:09:26.779287 | Preparing job workspace 2025-04-09 10:09:27.608885 | Running Ansible setup... 2025-04-09 10:09:32.645064 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-04-09 10:09:33.355420 | 2025-04-09 10:09:33.355566 | PLAY [Base pre] 2025-04-09 10:09:33.386021 | 2025-04-09 10:09:33.386151 | TASK [Setup log path fact] 2025-04-09 10:09:33.407812 | ubuntu-noble | ok 2025-04-09 10:09:33.426514 | 2025-04-09 10:09:33.426643 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-09 10:09:33.477732 | ubuntu-noble | ok 2025-04-09 10:09:33.495194 | 2025-04-09 10:09:33.495310 | TASK [emit-job-header : Print job information] 2025-04-09 10:09:33.546687 | # Job Information 2025-04-09 10:09:33.546851 | Ansible Version: 2.15.3 2025-04-09 10:09:33.546886 | Job: cfg-generics-container-image-osism-ansible-push 2025-04-09 10:09:33.546916 | Pipeline: post 2025-04-09 10:09:33.546936 | Executor: 7d211f194f6a 2025-04-09 10:09:33.546956 | Triggered by: https://github.com/osism/cfg-generics/commit/6bf503bc4765309ad0e118e19b38380319ae09ff 2025-04-09 10:09:33.546975 | Event ID: b4c01620-152a-11f0-8475-758eb13d78bc 2025-04-09 10:09:33.553501 | 2025-04-09 10:09:33.553609 | LOOP [emit-job-header : Print node information] 2025-04-09 10:09:33.704801 | ubuntu-noble | ok: 2025-04-09 10:09:33.705068 | ubuntu-noble | # Node Information 2025-04-09 10:09:33.705123 | ubuntu-noble | Inventory Hostname: ubuntu-noble 2025-04-09 10:09:33.705164 | ubuntu-noble | Hostname: ubuntu 2025-04-09 10:09:33.705199 | ubuntu-noble | Username: zuul 2025-04-09 10:09:33.705232 | ubuntu-noble | Distro: Ubuntu 24.04 2025-04-09 10:09:33.705271 | ubuntu-noble | Provider: regiocloud-a 2025-04-09 10:09:33.705304 | ubuntu-noble | Label: ubuntu-noble 2025-04-09 10:09:33.705337 | ubuntu-noble | Product Name: OpenStack Nova 2025-04-09 10:09:33.705370 | ubuntu-noble | Interface IP: 81.163.192.136 2025-04-09 10:09:33.733456 | 2025-04-09 10:09:33.733588 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-04-09 10:09:34.208157 | ubuntu-noble -> localhost | changed 2025-04-09 10:09:34.217076 | 2025-04-09 10:09:34.217201 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-04-09 10:09:35.236543 | ubuntu-noble -> localhost | changed 2025-04-09 10:09:35.260551 | 2025-04-09 10:09:35.260727 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-04-09 10:09:35.530188 | ubuntu-noble -> localhost | ok 2025-04-09 10:09:35.538782 | 2025-04-09 10:09:35.538906 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-04-09 10:09:35.583382 | ubuntu-noble | ok 2025-04-09 10:09:35.609748 | ubuntu-noble | included: /var/lib/zuul/builds/bfa28f99258e4e18ba4b175689ff307e/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-04-09 10:09:35.617702 | 2025-04-09 10:09:35.617806 | TASK [add-build-sshkey : Create Temp SSH key] 2025-04-09 10:09:36.479169 | ubuntu-noble -> localhost | Generating public/private rsa key pair. 2025-04-09 10:09:36.479440 | ubuntu-noble -> localhost | Your identification has been saved in /var/lib/zuul/builds/bfa28f99258e4e18ba4b175689ff307e/work/bfa28f99258e4e18ba4b175689ff307e_id_rsa 2025-04-09 10:09:36.479478 | ubuntu-noble -> localhost | Your public key has been saved in /var/lib/zuul/builds/bfa28f99258e4e18ba4b175689ff307e/work/bfa28f99258e4e18ba4b175689ff307e_id_rsa.pub 2025-04-09 10:09:36.479504 | ubuntu-noble -> localhost | The key fingerprint is: 2025-04-09 10:09:36.479528 | ubuntu-noble -> localhost | SHA256:1csW2lMYBkntilO2HGgARXZsHadjVtim5kp4f5jp4wY zuul-build-sshkey 2025-04-09 10:09:36.479549 | ubuntu-noble -> localhost | The key's randomart image is: 2025-04-09 10:09:36.479569 | ubuntu-noble -> localhost | +---[RSA 3072]----+ 2025-04-09 10:09:36.479590 | ubuntu-noble -> localhost | | .++..o+B= | 2025-04-09 10:09:36.479611 | ubuntu-noble -> localhost | | ...o +*+o | 2025-04-09 10:09:36.479643 | ubuntu-noble -> localhost | | o .*++ . | 2025-04-09 10:09:36.479681 | ubuntu-noble -> localhost | | o+*=.+ | 2025-04-09 10:09:36.479701 | ubuntu-noble -> localhost | | oSB.+* | 2025-04-09 10:09:36.479721 | ubuntu-noble -> localhost | | . E =. . | 2025-04-09 10:09:36.479749 | ubuntu-noble -> localhost | | o = + | 2025-04-09 10:09:36.479769 | ubuntu-noble -> localhost | | . B . | 2025-04-09 10:09:36.479788 | ubuntu-noble -> localhost | | +oo | 2025-04-09 10:09:36.479808 | ubuntu-noble -> localhost | +----[SHA256]-----+ 2025-04-09 10:09:36.479863 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.358376 2025-04-09 10:09:36.489789 | 2025-04-09 10:09:36.489908 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-04-09 10:09:36.522297 | ubuntu-noble | ok 2025-04-09 10:09:36.533963 | ubuntu-noble | included: /var/lib/zuul/builds/bfa28f99258e4e18ba4b175689ff307e/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-04-09 10:09:36.543829 | 2025-04-09 10:09:36.543928 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-04-09 10:09:36.569386 | ubuntu-noble | skipping: Conditional result was False 2025-04-09 10:09:36.577095 | 2025-04-09 10:09:36.577198 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-04-09 10:09:37.303025 | ubuntu-noble | changed 2025-04-09 10:09:37.313484 | 2025-04-09 10:09:37.313602 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-04-09 10:09:37.626110 | ubuntu-noble | ok 2025-04-09 10:09:37.634834 | 2025-04-09 10:09:37.634951 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-04-09 10:09:38.388134 | ubuntu-noble | changed 2025-04-09 10:09:38.397586 | 2025-04-09 10:09:38.397758 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-04-09 10:09:39.173122 | ubuntu-noble | changed 2025-04-09 10:09:39.180334 | 2025-04-09 10:09:39.180466 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-04-09 10:09:39.205347 | ubuntu-noble | skipping: Conditional result was False 2025-04-09 10:09:39.214968 | 2025-04-09 10:09:39.215078 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-04-09 10:09:39.637617 | ubuntu-noble -> localhost | changed 2025-04-09 10:09:39.668977 | 2025-04-09 10:09:39.669213 | TASK [add-build-sshkey : Add back temp key] 2025-04-09 10:09:40.034979 | ubuntu-noble -> localhost | Identity added: /var/lib/zuul/builds/bfa28f99258e4e18ba4b175689ff307e/work/bfa28f99258e4e18ba4b175689ff307e_id_rsa (zuul-build-sshkey) 2025-04-09 10:09:40.035274 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.010188 2025-04-09 10:09:40.044216 | 2025-04-09 10:09:40.044328 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-04-09 10:09:40.527394 | ubuntu-noble | ok 2025-04-09 10:09:40.540203 | 2025-04-09 10:09:40.540329 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-04-09 10:09:40.567067 | ubuntu-noble | skipping: Conditional result was False 2025-04-09 10:09:40.591043 | 2025-04-09 10:09:40.591202 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-04-09 10:09:41.063514 | ubuntu-noble | ok 2025-04-09 10:09:41.111808 | 2025-04-09 10:09:41.111935 | TASK [validate-host : Define zuul_info_dir fact] 2025-04-09 10:09:41.166177 | ubuntu-noble | ok 2025-04-09 10:09:41.174060 | 2025-04-09 10:09:41.174192 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-04-09 10:09:41.517970 | ubuntu-noble -> localhost | ok 2025-04-09 10:09:41.533994 | 2025-04-09 10:09:41.534160 | TASK [validate-host : Collect information about the host] 2025-04-09 10:09:42.885379 | ubuntu-noble | ok 2025-04-09 10:09:42.899970 | 2025-04-09 10:09:42.900098 | TASK [validate-host : Sanitize hostname] 2025-04-09 10:09:42.984227 | ubuntu-noble | ok 2025-04-09 10:09:42.993890 | 2025-04-09 10:09:42.994045 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-04-09 10:09:43.666592 | ubuntu-noble -> localhost | changed 2025-04-09 10:09:43.674907 | 2025-04-09 10:09:43.675033 | TASK [validate-host : Collect information about zuul worker] 2025-04-09 10:09:44.251475 | ubuntu-noble | ok 2025-04-09 10:09:44.265270 | 2025-04-09 10:09:44.265520 | TASK [validate-host : Write out all zuul information for each host] 2025-04-09 10:09:44.908020 | ubuntu-noble -> localhost | changed 2025-04-09 10:09:44.930174 | 2025-04-09 10:09:44.930309 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-04-09 10:09:45.267886 | ubuntu-noble | ok 2025-04-09 10:09:45.275173 | 2025-04-09 10:09:45.275286 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-04-09 10:09:46.074837 | ubuntu-noble | changed: 2025-04-09 10:09:46.075044 | ubuntu-noble | cd+++++++++ src/ 2025-04-09 10:09:46.075081 | ubuntu-noble | cd+++++++++ src/github.com/ 2025-04-09 10:09:46.075107 | ubuntu-noble | cd+++++++++ src/github.com/osism/ 2025-04-09 10:09:46.075129 | ubuntu-noble | cd+++++++++ src/github.com/osism/cfg-generics/ 2025-04-09 10:09:46.075149 | ubuntu-noble | > /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-04-09 10:13:05.378518 | ubuntu-noble | ------ 2025-04-09 10:13:05.381184 | ubuntu-noble | > [builder 14/14] RUN <>> RUN <>> set -e 2025-04-09 10:13:05.383590 | ubuntu-noble | 34 | >>> set -x 2025-04-09 10:13:05.383598 | ubuntu-noble | 35 | >>> 2025-04-09 10:13:05.383608 | ubuntu-noble | 36 | >>> # show motd 2025-04-09 10:13:05.383618 | ubuntu-noble | 37 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-04-09 10:13:05.383627 | ubuntu-noble | 38 | >>> 2025-04-09 10:13:05.383636 | ubuntu-noble | 39 | >>> # install required packages 2025-04-09 10:13:05.383645 | ubuntu-noble | 40 | >>> apt-get update 2025-04-09 10:13:05.383669 | ubuntu-noble | 41 | >>> apt-get install --no-install-recommends -y \ 2025-04-09 10:13:05.383678 | ubuntu-noble | 42 | >>> build-essential \ 2025-04-09 10:13:05.383686 | ubuntu-noble | 43 | >>> curl \ 2025-04-09 10:13:05.383694 | ubuntu-noble | 44 | >>> dumb-init \ 2025-04-09 10:13:05.383702 | ubuntu-noble | 45 | >>> git \ 2025-04-09 10:13:05.383710 | ubuntu-noble | 46 | >>> gnupg \ 2025-04-09 10:13:05.383718 | ubuntu-noble | 47 | >>> gnupg-agent \ 2025-04-09 10:13:05.383726 | ubuntu-noble | 48 | >>> iputils-ping \ 2025-04-09 10:13:05.383735 | ubuntu-noble | 49 | >>> jq \ 2025-04-09 10:13:05.383743 | ubuntu-noble | 50 | >>> libffi-dev \ 2025-04-09 10:13:05.383751 | ubuntu-noble | 51 | >>> libssh-dev \ 2025-04-09 10:13:05.383759 | ubuntu-noble | 52 | >>> libssl-dev \ 2025-04-09 10:13:05.383767 | ubuntu-noble | 53 | >>> libyaml-dev \ 2025-04-09 10:13:05.383775 | ubuntu-noble | 54 | >>> openssh-client \ 2025-04-09 10:13:05.383783 | ubuntu-noble | 55 | >>> procps \ 2025-04-09 10:13:05.383791 | ubuntu-noble | 56 | >>> rsync \ 2025-04-09 10:13:05.383799 | ubuntu-noble | 57 | >>> sshpass 2025-04-09 10:13:05.383807 | ubuntu-noble | 58 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-04-09 10:13:05.383815 | ubuntu-noble | 59 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-04-09 10:13:05.383823 | ubuntu-noble | 60 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-04-09 10:13:05.383832 | ubuntu-noble | 61 | >>> 2025-04-09 10:13:05.383840 | ubuntu-noble | 62 | >>> # add user 2025-04-09 10:13:05.383857 | ubuntu-noble | 63 | >>> groupadd -g "$GROUP_ID" dragon 2025-04-09 10:13:05.383865 | ubuntu-noble | 64 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-04-09 10:13:05.383873 | ubuntu-noble | 65 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-04-09 10:13:05.383881 | ubuntu-noble | 66 | >>> 2025-04-09 10:13:05.383890 | ubuntu-noble | 67 | >>> # prepare release repository 2025-04-09 10:13:05.383898 | ubuntu-noble | 68 | >>> git clone https://github.com/osism/release /release 2025-04-09 10:13:05.383906 | ubuntu-noble | 69 | >>> 2025-04-09 10:13:05.383914 | ubuntu-noble | 70 | >>> # prepare project repository 2025-04-09 10:13:05.383922 | ubuntu-noble | 71 | >>> 2025-04-09 10:13:05.383931 | ubuntu-noble | 72 | >>> git clone https://github.com/osism/ansible-playbooks /playbooks 2025-04-09 10:13:05.383939 | ubuntu-noble | 73 | >>> git clone https://github.com/osism/defaults /defaults 2025-04-09 10:13:05.383949 | ubuntu-noble | 74 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-04-09 10:13:05.383957 | ubuntu-noble | 75 | >>> 2025-04-09 10:13:05.383965 | ubuntu-noble | 76 | >>> if [ "$VERSION" != "latest" ]; then 2025-04-09 10:13:05.383974 | ubuntu-noble | 77 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-ansible-$VERSION" ) 2025-04-09 10:13:05.383982 | ubuntu-noble | 78 | >>> ( cd /playbooks || exit; git fetch --all --force; git checkout "$(yq -M -r .playbooks_version "/release/latest/base.yml")" ) 2025-04-09 10:13:05.383992 | ubuntu-noble | 79 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-04-09 10:13:05.384000 | ubuntu-noble | 80 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-04-09 10:13:05.384009 | ubuntu-noble | 81 | >>> fi 2025-04-09 10:13:05.384017 | ubuntu-noble | 82 | >>> 2025-04-09 10:13:05.384025 | ubuntu-noble | 83 | >>> # add inventory files 2025-04-09 10:13:05.384033 | ubuntu-noble | 84 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-04-09 10:13:05.384042 | ubuntu-noble | 85 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-04-09 10:13:05.384050 | ubuntu-noble | 86 | >>> 2025-04-09 10:13:05.384058 | ubuntu-noble | 87 | >>> # run preparations 2025-04-09 10:13:05.384069 | ubuntu-noble | 88 | >>> mkdir -p /ansible/group_vars 2025-04-09 10:13:05.384077 | ubuntu-noble | 89 | >>> cp -r /defaults/* /ansible/group_vars/ 2025-04-09 10:13:05.384085 | ubuntu-noble | 90 | >>> rm -f /ansible/group_vars/LICENSE /ansible/group_vars/README.md 2025-04-09 10:13:05.384093 | ubuntu-noble | 91 | >>> 2025-04-09 10:13:05.384101 | ubuntu-noble | 92 | >>> python3 /src/render-python-requirements.py 2025-04-09 10:13:05.384110 | ubuntu-noble | 93 | >>> python3 /src/render-versions.py 2025-04-09 10:13:05.384118 | ubuntu-noble | 94 | >>> python3 /src/render-ansible-requirements.py 2025-04-09 10:13:05.384127 | ubuntu-noble | 95 | >>> ROLES_FILENAME=/release/etc/roles-manager.yml REQUIREMENTS_FILENAME=/ansible/requirements-manager.yml python3 /src/render-ansible-requirements.py 2025-04-09 10:13:05.384142 | ubuntu-noble | 96 | >>> python3 /src/render-docker-images.py 2025-04-09 10:13:05.384150 | ubuntu-noble | 97 | >>> 2025-04-09 10:13:05.384158 | ubuntu-noble | 98 | >>> # install required python packages 2025-04-09 10:13:05.384166 | ubuntu-noble | 99 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-04-09 10:13:05.384174 | ubuntu-noble | 100 | >>> 2025-04-09 10:13:05.384182 | ubuntu-noble | 101 | >>> # set ansible version in the motd 2025-04-09 10:13:05.384190 | ubuntu-noble | 102 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-04-09 10:13:05.384198 | ubuntu-noble | 103 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-04-09 10:13:05.384206 | ubuntu-noble | 104 | >>> 2025-04-09 10:13:05.384214 | ubuntu-noble | 105 | >>> # create required directories 2025-04-09 10:13:05.384222 | ubuntu-noble | 106 | >>> mkdir -p \ 2025-04-09 10:13:05.384231 | ubuntu-noble | 107 | >>> /ansible \ 2025-04-09 10:13:05.384239 | ubuntu-noble | 108 | >>> /ansible/action_plugins \ 2025-04-09 10:13:05.384247 | ubuntu-noble | 109 | >>> /ansible/cache \ 2025-04-09 10:13:05.384255 | ubuntu-noble | 110 | >>> /ansible/logs \ 2025-04-09 10:13:05.384263 | ubuntu-noble | 111 | >>> /ansible/secrets \ 2025-04-09 10:13:05.384271 | ubuntu-noble | 112 | >>> /share \ 2025-04-09 10:13:05.384279 | ubuntu-noble | 113 | >>> /archive \ 2025-04-09 10:13:05.384287 | ubuntu-noble | 114 | >>> /interface 2025-04-09 10:13:05.384295 | ubuntu-noble | 115 | >>> 2025-04-09 10:13:05.384303 | ubuntu-noble | 116 | >>> # install required ansible collections & roles 2025-04-09 10:13:05.384312 | ubuntu-noble | 117 | >>> ansible-galaxy role install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/roles 2025-04-09 10:13:05.384320 | ubuntu-noble | 118 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-04-09 10:13:05.384328 | ubuntu-noble | 119 | >>> 2025-04-09 10:13:05.384336 | ubuntu-noble | 120 | >>> ln -s /usr/share/ansible/roles /ansible/galaxy 2025-04-09 10:13:05.384344 | ubuntu-noble | 121 | >>> ln -s /usr/share/ansible/collections /ansible/collections 2025-04-09 10:13:05.384352 | ubuntu-noble | 122 | >>> ln -s /usr/share/ansible/plugins /ansible/plugins 2025-04-09 10:13:05.384363 | ubuntu-noble | 123 | >>> 2025-04-09 10:13:05.384383 | ubuntu-noble | 124 | >>> # install mitogen ansible plugin 2025-04-09 10:13:05.384392 | ubuntu-noble | 125 | >>> mkdir -p /usr/share/mitogen 2025-04-09 10:13:05.384400 | ubuntu-noble | 126 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-04-09 10:13:05.384408 | ubuntu-noble | 127 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-04-09 10:13:05.384416 | ubuntu-noble | 128 | >>> rm /mitogen.tar.gz 2025-04-09 10:13:05.384451 | ubuntu-noble | 129 | >>> 2025-04-09 10:13:05.384465 | ubuntu-noble | 130 | >>> # project specific instructions 2025-04-09 10:13:05.384485 | ubuntu-noble | 131 | >>> 2025-04-09 10:13:05.384493 | ubuntu-noble | 132 | >>> # apply patches 2025-04-09 10:13:05.384501 | ubuntu-noble | 133 | >>> for role in /usr/share/ansible/roles/*; do 2025-04-09 10:13:05.384512 | ubuntu-noble | 134 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-04-09 10:13:05.384520 | ubuntu-noble | 135 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-04-09 10:13:05.384528 | ubuntu-noble | 136 | >>> echo "$patchfile"; 2025-04-09 10:13:05.384537 | ubuntu-noble | 137 | >>> ( cd /usr/share/ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-04-09 10:13:05.384545 | ubuntu-noble | 138 | >>> ( cd /usr/share/ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-04-09 10:13:05.384553 | ubuntu-noble | 139 | >>> done; 2025-04-09 10:13:05.384562 | ubuntu-noble | 140 | >>> fi; 2025-04-09 10:13:05.384570 | ubuntu-noble | 141 | >>> done 2025-04-09 10:13:05.384578 | ubuntu-noble | 142 | >>> 2025-04-09 10:13:05.384586 | ubuntu-noble | 143 | >>> for role in /ansible/roles/*; do 2025-04-09 10:13:05.384594 | ubuntu-noble | 144 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-04-09 10:13:05.384602 | ubuntu-noble | 145 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-04-09 10:13:05.384610 | ubuntu-noble | 146 | >>> echo "$patchfile"; 2025-04-09 10:13:05.384618 | ubuntu-noble | 147 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-04-09 10:13:05.384626 | ubuntu-noble | 148 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-04-09 10:13:05.384646 | ubuntu-noble | 149 | >>> done; 2025-04-09 10:13:05.384654 | ubuntu-noble | 150 | >>> fi; 2025-04-09 10:13:05.384662 | ubuntu-noble | 151 | >>> done 2025-04-09 10:13:05.384670 | ubuntu-noble | 152 | >>> 2025-04-09 10:13:05.384678 | ubuntu-noble | 153 | >>> # prepare ansible directory 2025-04-09 10:13:05.384686 | ubuntu-noble | 154 | >>> cp -r /playbooks/playbooks/* /ansible 2025-04-09 10:13:05.384695 | ubuntu-noble | 155 | >>> cp /playbooks/library/* /ansible/library 2025-04-09 10:13:05.384703 | ubuntu-noble | 156 | >>> mkdir -p /ansible/templates 2025-04-09 10:13:05.384710 | ubuntu-noble | 157 | >>> cp /playbooks/templates/* /ansible/templates 2025-04-09 10:13:05.384718 | ubuntu-noble | 158 | >>> 2025-04-09 10:13:05.384726 | ubuntu-noble | 159 | >>> # add symlink to /etc/openstack 2025-04-09 10:13:05.384734 | ubuntu-noble | 160 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-04-09 10:13:05.384742 | ubuntu-noble | 161 | >>> 2025-04-09 10:13:05.384750 | ubuntu-noble | 162 | >>> # copy ara configuration 2025-04-09 10:13:05.384758 | ubuntu-noble | 163 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-04-09 10:13:05.384766 | ubuntu-noble | 164 | >>> 2025-04-09 10:13:05.384777 | ubuntu-noble | 165 | >>> # prepare list of playbooks 2025-04-09 10:13:05.384785 | ubuntu-noble | 166 | >>> python3 /src/generate-playbook-symlinks.py 2025-04-09 10:13:05.384793 | ubuntu-noble | 167 | >>> python3 /src/render-playbooks.py 2025-04-09 10:13:05.384801 | ubuntu-noble | 168 | >>> 2025-04-09 10:13:05.384809 | ubuntu-noble | 169 | >>> # set correct permssions 2025-04-09 10:13:05.384817 | ubuntu-noble | 170 | >>> chown -R dragon: /ansible /share /archive /interface 2025-04-09 10:13:05.384825 | ubuntu-noble | 171 | >>> 2025-04-09 10:13:05.384833 | ubuntu-noble | 172 | >>> # cleanup 2025-04-09 10:13:05.384841 | ubuntu-noble | 173 | >>> apt-get clean 2025-04-09 10:13:05.384849 | ubuntu-noble | 174 | >>> apt-get remove -y \ 2025-04-09 10:13:05.384857 | ubuntu-noble | 175 | >>> build-essential \ 2025-04-09 10:13:05.384865 | ubuntu-noble | 176 | >>> curl \ 2025-04-09 10:13:05.384873 | ubuntu-noble | 177 | >>> git \ 2025-04-09 10:13:05.384881 | ubuntu-noble | 178 | >>> gnupg \ 2025-04-09 10:13:05.384889 | ubuntu-noble | 179 | >>> libffi-dev \ 2025-04-09 10:13:05.384897 | ubuntu-noble | 180 | >>> libssh-dev \ 2025-04-09 10:13:05.384905 | ubuntu-noble | 181 | >>> libssl-dev \ 2025-04-09 10:13:05.384913 | ubuntu-noble | 182 | >>> libyaml-dev 2025-04-09 10:13:05.384921 | ubuntu-noble | 183 | >>> apt-get autoremove -y 2025-04-09 10:13:05.384929 | ubuntu-noble | 184 | >>> 2025-04-09 10:13:05.384938 | ubuntu-noble | 185 | >>> rm -rf \ 2025-04-09 10:13:05.384946 | ubuntu-noble | 186 | >>> /patches \ 2025-04-09 10:13:05.384954 | ubuntu-noble | 187 | >>> /root/.cache \ 2025-04-09 10:13:05.384962 | ubuntu-noble | 188 | >>> /tmp/* \ 2025-04-09 10:13:05.384970 | ubuntu-noble | 189 | >>> /usr/share/doc/* \ 2025-04-09 10:13:05.384978 | ubuntu-noble | 190 | >>> /usr/share/man/* \ 2025-04-09 10:13:05.384986 | ubuntu-noble | 191 | >>> /var/lib/apt/lists/* \ 2025-04-09 10:13:05.384994 | ubuntu-noble | 192 | >>> /var/tmp/* 2025-04-09 10:13:05.385003 | ubuntu-noble | 193 | >>> 2025-04-09 10:13:05.385011 | ubuntu-noble | 194 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-04-09 10:13:05.385019 | ubuntu-noble | 195 | >>> pyclean /usr 2025-04-09 10:13:05.385027 | ubuntu-noble | 196 | >>> uv pip uninstall --system pyclean 2025-04-09 10:13:05.385035 | ubuntu-noble | 197 | >>> EOF 2025-04-09 10:13:05.385043 | ubuntu-noble | 198 | 2025-04-09 10:13:05.385051 | ubuntu-noble | -------------------- 2025-04-09 10:13:05.385086 | ubuntu-noble | 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-04-09 10:13:05.853768 | ubuntu-noble | ERROR 2025-04-09 10:13:05.853917 | ubuntu-noble | { 2025-04-09 10:13:05.853951 | ubuntu-noble | "delta": "0:02:14.158759", 2025-04-09 10:13:05.853976 | ubuntu-noble | "end": "2025-04-09 10:13:05.391416", 2025-04-09 10:13:05.853998 | ubuntu-noble | "msg": "non-zero return code", 2025-04-09 10:13:05.854017 | ubuntu-noble | "rc": 1, 2025-04-09 10:13:05.854037 | ubuntu-noble | "start": "2025-04-09 10:10:51.232657" 2025-04-09 10:13:05.854060 | ubuntu-noble | } failure 2025-04-09 10:13:05.866940 | 2025-04-09 10:13:05.867076 | PLAY RECAP 2025-04-09 10:13:05.867127 | ubuntu-noble | ok: 1 changed: 1 unreachable: 0 failed: 1 skipped: 0 rescued: 0 ignored: 0 2025-04-09 10:13:05.867154 | 2025-04-09 10:13:05.954235 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/container-image-osism-ansible/playbooks/build.yml@main] 2025-04-09 10:13:05.957528 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-09 10:13:06.609560 | 2025-04-09 10:13:06.609698 | PLAY [Base post] 2025-04-09 10:13:06.633611 | 2025-04-09 10:13:06.633713 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-04-09 10:13:07.427164 | ubuntu-noble | changed 2025-04-09 10:13:07.461181 | 2025-04-09 10:13:07.461286 | PLAY RECAP 2025-04-09 10:13:07.461352 | ubuntu-noble | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-04-09 10:13:07.461421 | 2025-04-09 10:13:07.545940 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-09 10:13:07.554274 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-04-09 10:13:08.266964 | 2025-04-09 10:13:08.267117 | PLAY [Base post-logs] 2025-04-09 10:13:08.283280 | 2025-04-09 10:13:08.283407 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-04-09 10:13:08.733690 | localhost | changed 2025-04-09 10:13:08.739618 | 2025-04-09 10:13:08.739777 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-04-09 10:13:08.770309 | localhost | ok 2025-04-09 10:13:08.779139 | 2025-04-09 10:13:08.779269 | TASK [Set zuul-log-path fact] 2025-04-09 10:13:08.798979 | localhost | ok 2025-04-09 10:13:08.810968 | 2025-04-09 10:13:08.811073 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-09 10:13:08.841105 | localhost | ok 2025-04-09 10:13:08.850978 | 2025-04-09 10:13:08.851108 | TASK [upload-logs : Create log directories] 2025-04-09 10:13:09.380725 | localhost | changed 2025-04-09 10:13:09.385410 | 2025-04-09 10:13:09.385519 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-04-09 10:13:09.858326 | localhost -> localhost | ok: Runtime: 0:00:00.005598 2025-04-09 10:13:09.868522 | 2025-04-09 10:13:09.868767 | TASK [upload-logs : Upload logs to log server] 2025-04-09 10:13:10.411977 | localhost | Output suppressed because no_log was given 2025-04-09 10:13:10.417515 | 2025-04-09 10:13:10.417671 | LOOP [upload-logs : Compress console log and json output] 2025-04-09 10:13:10.485707 | localhost | skipping: Conditional result was False 2025-04-09 10:13:10.502017 | localhost | skipping: Conditional result was False 2025-04-09 10:13:10.516605 | 2025-04-09 10:13:10.516781 | LOOP [upload-logs : Upload compressed console log and json output] 2025-04-09 10:13:10.573511 | localhost | skipping: Conditional result was False 2025-04-09 10:13:10.574003 | 2025-04-09 10:13:10.585872 | localhost | skipping: Conditional result was False 2025-04-09 10:13:10.603436 | 2025-04-09 10:13:10.603655 | LOOP [upload-logs : Upload console log and json output]