2025-09-05 00:00:13.861048 | Job console starting 2025-09-05 00:00:13.873812 | Updating git repos 2025-09-05 00:00:13.973241 | Cloning repos into workspace 2025-09-05 00:00:14.073378 | Restoring repo states 2025-09-05 00:00:14.087081 | Merging changes 2025-09-05 00:00:14.087097 | Checking out repos 2025-09-05 00:00:15.069044 | Preparing playbooks 2025-09-05 00:00:17.386083 | Running Ansible setup 2025-09-05 00:00:23.227043 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-09-05 00:00:24.970081 | 2025-09-05 00:00:24.970213 | PLAY [Base pre] 2025-09-05 00:00:24.986159 | 2025-09-05 00:00:24.986266 | TASK [Setup log path fact] 2025-09-05 00:00:25.014802 | debian-bookworm | ok 2025-09-05 00:00:25.055254 | 2025-09-05 00:00:25.055387 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-05 00:00:25.104154 | debian-bookworm | ok 2025-09-05 00:00:25.113552 | 2025-09-05 00:00:25.113643 | TASK [emit-job-header : Print job information] 2025-09-05 00:00:25.202627 | # Job Information 2025-09-05 00:00:25.202785 | Ansible Version: 2.16.14 2025-09-05 00:00:25.202818 | Job: osism-kubernetes-push 2025-09-05 00:00:25.202951 | Pipeline: periodic-midnight 2025-09-05 00:00:25.202978 | Executor: 521e9411259a 2025-09-05 00:00:25.202999 | Triggered by: https://github.com/osism/osism-kubernetes 2025-09-05 00:00:25.203033 | Event ID: 47572e563ad34abd9da56de6cc6a8167 2025-09-05 00:00:25.209068 | 2025-09-05 00:00:25.209168 | LOOP [emit-job-header : Print node information] 2025-09-05 00:00:25.410603 | debian-bookworm | ok: 2025-09-05 00:00:25.410757 | debian-bookworm | # Node Information 2025-09-05 00:00:25.410791 | debian-bookworm | Inventory Hostname: debian-bookworm 2025-09-05 00:00:25.410816 | debian-bookworm | Hostname: debian 2025-09-05 00:00:25.410855 | debian-bookworm | Username: zuul 2025-09-05 00:00:25.410877 | debian-bookworm | Distro: Debian 12.11 2025-09-05 00:00:25.410900 | debian-bookworm | Provider: regiocloud-a 2025-09-05 00:00:25.410922 | debian-bookworm | Region: 2025-09-05 00:00:25.410943 | debian-bookworm | Label: debian-bookworm 2025-09-05 00:00:25.410964 | debian-bookworm | Product Name: OpenStack Nova 2025-09-05 00:00:25.410983 | debian-bookworm | Interface IP: 2a13:1a81:8000:3124:f816:3eff:fe14:70ed 2025-09-05 00:00:25.429913 | 2025-09-05 00:00:25.430032 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-09-05 00:00:26.490874 | debian-bookworm -> localhost | changed 2025-09-05 00:00:26.497905 | 2025-09-05 00:00:26.498018 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-09-05 00:00:28.906320 | debian-bookworm -> localhost | changed 2025-09-05 00:00:28.914926 | 2025-09-05 00:00:28.915034 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-09-05 00:00:29.445753 | debian-bookworm -> localhost | ok 2025-09-05 00:00:29.450753 | 2025-09-05 00:00:29.450859 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-09-05 00:00:29.491326 | debian-bookworm | ok 2025-09-05 00:00:29.513123 | debian-bookworm | included: /var/lib/zuul/builds/7d162cc5ac964078b88f9119339daafa/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-09-05 00:00:29.530606 | 2025-09-05 00:00:29.530724 | TASK [add-build-sshkey : Create Temp SSH key] 2025-09-05 00:00:32.351713 | debian-bookworm -> localhost | Generating public/private rsa key pair. 2025-09-05 00:00:32.351875 | debian-bookworm -> localhost | Your identification has been saved in /var/lib/zuul/builds/7d162cc5ac964078b88f9119339daafa/work/7d162cc5ac964078b88f9119339daafa_id_rsa 2025-09-05 00:00:32.351913 | debian-bookworm -> localhost | Your public key has been saved in /var/lib/zuul/builds/7d162cc5ac964078b88f9119339daafa/work/7d162cc5ac964078b88f9119339daafa_id_rsa.pub 2025-09-05 00:00:32.351936 | debian-bookworm -> localhost | The key fingerprint is: 2025-09-05 00:00:32.351956 | debian-bookworm -> localhost | SHA256:cqxysobjKAM8u1Y12qIicon6HAzMKpbvbi3uIrxd8OU zuul-build-sshkey 2025-09-05 00:00:32.351974 | debian-bookworm -> localhost | The key's randomart image is: 2025-09-05 00:00:32.351998 | debian-bookworm -> localhost | +---[RSA 3072]----+ 2025-09-05 00:00:32.352027 | debian-bookworm -> localhost | | | 2025-09-05 00:00:32.352045 | debian-bookworm -> localhost | | | 2025-09-05 00:00:32.352062 | debian-bookworm -> localhost | | | 2025-09-05 00:00:32.352078 | debian-bookworm -> localhost | |o o . | 2025-09-05 00:00:32.352094 | debian-bookworm -> localhost | |oo .+ o.S | 2025-09-05 00:00:32.352115 | debian-bookworm -> localhost | |o=.+o.o+ | 2025-09-05 00:00:32.352132 | debian-bookworm -> localhost | |=+Bo=ooE | 2025-09-05 00:00:32.352148 | debian-bookworm -> localhost | |@OB+o* | 2025-09-05 00:00:32.352165 | debian-bookworm -> localhost | |@B&Xo | 2025-09-05 00:00:32.352182 | debian-bookworm -> localhost | +----[SHA256]-----+ 2025-09-05 00:00:32.352239 | debian-bookworm -> localhost | ok: Runtime: 0:00:02.052621 2025-09-05 00:00:32.367034 | 2025-09-05 00:00:32.367120 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-09-05 00:00:32.403865 | debian-bookworm | ok 2025-09-05 00:00:32.419416 | debian-bookworm | included: /var/lib/zuul/builds/7d162cc5ac964078b88f9119339daafa/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-09-05 00:00:32.448392 | 2025-09-05 00:00:32.448485 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-09-05 00:00:32.478783 | debian-bookworm | skipping: Conditional result was False 2025-09-05 00:00:32.484759 | 2025-09-05 00:00:32.484849 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-09-05 00:00:33.425498 | debian-bookworm | changed 2025-09-05 00:00:33.430945 | 2025-09-05 00:00:33.431052 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-09-05 00:00:33.711688 | debian-bookworm | ok 2025-09-05 00:00:33.721846 | 2025-09-05 00:00:33.721950 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-09-05 00:00:34.502103 | debian-bookworm | changed 2025-09-05 00:00:34.510470 | 2025-09-05 00:00:34.510573 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-09-05 00:00:35.267904 | debian-bookworm | changed 2025-09-05 00:00:35.272968 | 2025-09-05 00:00:35.273064 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-09-05 00:00:35.303743 | debian-bookworm | skipping: Conditional result was False 2025-09-05 00:00:35.308669 | 2025-09-05 00:00:35.308746 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-09-05 00:00:35.937510 | debian-bookworm -> localhost | changed 2025-09-05 00:00:35.946301 | 2025-09-05 00:00:35.946387 | TASK [add-build-sshkey : Add back temp key] 2025-09-05 00:00:36.567136 | debian-bookworm -> localhost | Identity added: /var/lib/zuul/builds/7d162cc5ac964078b88f9119339daafa/work/7d162cc5ac964078b88f9119339daafa_id_rsa (zuul-build-sshkey) 2025-09-05 00:00:36.567329 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.013894 2025-09-05 00:00:36.574513 | 2025-09-05 00:00:36.574660 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-09-05 00:00:36.942423 | debian-bookworm | ok 2025-09-05 00:00:36.946779 | 2025-09-05 00:00:36.946875 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-09-05 00:00:37.000494 | debian-bookworm | skipping: Conditional result was False 2025-09-05 00:00:37.009321 | 2025-09-05 00:00:37.009409 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-09-05 00:00:37.575659 | debian-bookworm | ok 2025-09-05 00:00:37.584274 | 2025-09-05 00:00:37.584363 | TASK [validate-host : Define zuul_info_dir fact] 2025-09-05 00:00:37.636518 | debian-bookworm | ok 2025-09-05 00:00:37.640692 | 2025-09-05 00:00:37.640768 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-09-05 00:00:37.976456 | debian-bookworm -> localhost | ok 2025-09-05 00:00:37.981896 | 2025-09-05 00:00:37.981974 | TASK [validate-host : Collect information about the host] 2025-09-05 00:00:38.995921 | debian-bookworm | ok 2025-09-05 00:00:39.010731 | 2025-09-05 00:00:39.010880 | TASK [validate-host : Sanitize hostname] 2025-09-05 00:00:39.168863 | debian-bookworm | ok 2025-09-05 00:00:39.250797 | 2025-09-05 00:00:39.253606 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-09-05 00:00:39.895336 | debian-bookworm -> localhost | changed 2025-09-05 00:00:39.899873 | 2025-09-05 00:00:39.899950 | TASK [validate-host : Collect information about zuul worker] 2025-09-05 00:00:40.279853 | debian-bookworm | ok 2025-09-05 00:00:40.284685 | 2025-09-05 00:00:40.284772 | TASK [validate-host : Write out all zuul information for each host] 2025-09-05 00:00:41.037403 | debian-bookworm -> localhost | changed 2025-09-05 00:00:41.045152 | 2025-09-05 00:00:41.045235 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-09-05 00:00:41.323488 | debian-bookworm | ok 2025-09-05 00:00:41.328180 | 2025-09-05 00:00:41.328254 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-09-05 00:00:42.834345 | debian-bookworm | changed: 2025-09-05 00:00:42.834523 | debian-bookworm | cd+++++++++ src/ 2025-09-05 00:00:42.834557 | debian-bookworm | cd+++++++++ src/github.com/ 2025-09-05 00:00:42.834580 | debian-bookworm | cd+++++++++ src/github.com/osism/ 2025-09-05 00:00:42.834601 | debian-bookworm | cd+++++++++ src/github.com/osism/osism-kubernetes/ 2025-09-05 00:00:42.834621 | debian-bookworm | Containerfile 2025-09-05 00:00:42.834769 | 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\n\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\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-kubernetes-$VERSION\" )\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/all/\n\npython3 /src/render-python-requirements.py\npython3 /src/render-versions.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/roles \\\n /ansible/action_plugins \\\n /ansible/cache \\\n /ansible/logs \\\n /ansible/secrets \\\n /interface \\\n /share\n\n# install required ansible collections & roles\nansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections\n\n# add k3s-ansible roles\ngit clone https://github.com/osism/k3s-ansible /k3s-ansible\nmv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles\nmv /k3s-ansible/roles/download /ansible/roles/k3s_download\nmv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq\nmv /k3s-ansible/roles/reset /ansible/roles/k3s_reset\nrm -rf /k3s-ansible\n\n# apply patches\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# 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# install helm\ncurl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main\" | tee /etc/apt/sources.list.d/helm-stable-debian.list\napt-get update\napt-get install --no-install-recommends -y \\\n helm\n\n# install helm plugins\nhelm plugin install https://github.com/databus23/helm-diff\n\n# install cilium cli\ncurl -L --fail --remote-name-all \"https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${ARCH}.tar.gz{,.sha256sum}\"\nsha256sum --check \"cilium-linux-${ARCH}.tar.gz.sha256sum\"\ntar xzvfC \"cilium-linux-${ARCH}.tar.gz\" /usr/local/bin\nrm cilium-linux-\"${ARCH}\".tar.gz{,.sha256sum}\n\n# install hubble cli\nHUBBLE_ARCH=amd64\ncurl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${ARCH}.tar.gz{,.sha256sum}\nsha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum\ntar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin\nrm hubble-linux-${ARCH}.tar.gz{,.sha256sum}\n\n# install flux cli\nCLEAN_FLUX_VERSION=$(echo \"$FLUX_VERSION\" | sed 's/^v//')\ncurl -o flux.tar.gz -L \"https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${CLEAN_FLUX_VERSION}_linux_amd64.tar.gz\"\ntar -xzf flux.tar.gz -C /usr/local/bin flux\nrm flux.tar.gz\n\n# install operator-sdk\nOS=$(uname | awk '{print tolower($0)}')\nOPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}\n\ncurl -LO \"${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}\"\ngpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt\"\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt.asc\"\ngpg -u \"Operator SDK (release) \" --verify checksums.txt.asc\ngrep \"operator-sdk_${OS}_${ARCH}\" checksums.txt | sha256sum -c -\nchmod +x \"operator-sdk_${OS}_${ARCH}\"\nmv \"operator-sdk_${OS}_${ARCH}\" /usr/local/bin/operator-sdk\nrm checksums.txt.asc\nrm checksums.txt\n\n# install clusterctl\ncurl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64\nchmod +x /usr/local/bin/clusterctl\n\n# install kubectl\ncurl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl\nchmod +x /usr/local/bin/kubectl\n\n# prepare .kube directory\nmkdir -p /ansible/.kube\nln -s /share/kubeconfig /ansible/.kube/config\nchown -R dragon: /ansible/.kube\n\n# prepare .cache directory\nmkdir -p /ansible/.cache\nmv /root/.cache/helm /ansible/.cache\nchown -R dragon: /ansible/.cache\n\n# prepare .local directory\nmkdir -p /ansible/.local/share\nmv /root/.local/share/helm /ansible/.local/share\nchown -R dragon: /ansible/.local\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/render-playbooks.py\n\n# set correct permssions\nchown -R dragon: /ansible /share /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\nrm -rf \\\n /root/.cache \\\n /tmp/* \\\n /usr/share/doc/* \\\n /usr/share/man/* \\\n /var/lib/apt/lists/* \\\n /var/tmp/* \\\n /patches\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: 2 2025-09-05 00:03:13.381157 | debian-bookworm | ------ 2025-09-05 00:03:13.381219 | debian-bookworm | > [builder 14/14] RUN <>> RUN <>> set -e 2025-09-05 00:03:13.384501 | debian-bookworm | 35 | >>> set -x 2025-09-05 00:03:13.384507 | debian-bookworm | 36 | >>> 2025-09-05 00:03:13.384514 | debian-bookworm | 37 | >>> HUBBLE_VERSION=v1.17.5 2025-09-05 00:03:13.384521 | debian-bookworm | 38 | >>> CAPI_VERSION=1.10.3 2025-09-05 00:03:13.384527 | debian-bookworm | 39 | >>> CILIUM_CLI_VERSION=v0.18.5 2025-09-05 00:03:13.384533 | debian-bookworm | 40 | >>> FLUX_VERSION=v2.6.3 2025-09-05 00:03:13.384540 | debian-bookworm | 41 | >>> KUBECTL_VERSION=1.33.2 2025-09-05 00:03:13.384546 | debian-bookworm | 42 | >>> OPERATOR_SDK_VERSION=v1.40.0 2025-09-05 00:03:13.384552 | debian-bookworm | 43 | >>> 2025-09-05 00:03:13.384559 | debian-bookworm | 44 | >>> # shellcheck disable=SC2046 2025-09-05 00:03:13.384566 | debian-bookworm | 45 | >>> ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) 2025-09-05 00:03:13.384572 | debian-bookworm | 46 | >>> 2025-09-05 00:03:13.384579 | debian-bookworm | 47 | >>> # show motd 2025-09-05 00:03:13.384585 | debian-bookworm | 48 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-09-05 00:03:13.384591 | debian-bookworm | 49 | >>> 2025-09-05 00:03:13.384598 | debian-bookworm | 50 | >>> # install required packages 2025-09-05 00:03:13.384605 | debian-bookworm | 51 | >>> apt-get update 2025-09-05 00:03:13.384611 | debian-bookworm | 52 | >>> apt-get install --no-install-recommends -y \ 2025-09-05 00:03:13.384617 | debian-bookworm | 53 | >>> build-essential \ 2025-09-05 00:03:13.384623 | debian-bookworm | 54 | >>> curl \ 2025-09-05 00:03:13.384630 | debian-bookworm | 55 | >>> dumb-init \ 2025-09-05 00:03:13.384636 | debian-bookworm | 56 | >>> git \ 2025-09-05 00:03:13.384642 | debian-bookworm | 57 | >>> gnupg \ 2025-09-05 00:03:13.384675 | debian-bookworm | 58 | >>> gnupg-agent \ 2025-09-05 00:03:13.384682 | debian-bookworm | 59 | >>> iputils-ping \ 2025-09-05 00:03:13.384688 | debian-bookworm | 60 | >>> jq \ 2025-09-05 00:03:13.384694 | debian-bookworm | 61 | >>> libffi-dev \ 2025-09-05 00:03:13.384700 | debian-bookworm | 62 | >>> libssh-dev \ 2025-09-05 00:03:13.384707 | debian-bookworm | 63 | >>> libssl-dev \ 2025-09-05 00:03:13.384713 | debian-bookworm | 64 | >>> libyaml-dev \ 2025-09-05 00:03:13.384719 | debian-bookworm | 65 | >>> openssh-client \ 2025-09-05 00:03:13.384725 | debian-bookworm | 66 | >>> procps \ 2025-09-05 00:03:13.384731 | debian-bookworm | 67 | >>> rsync \ 2025-09-05 00:03:13.384737 | debian-bookworm | 68 | >>> sshpass 2025-09-05 00:03:13.384744 | debian-bookworm | 69 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-09-05 00:03:13.384750 | debian-bookworm | 70 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-09-05 00:03:13.384756 | debian-bookworm | 71 | >>> 2025-09-05 00:03:13.384763 | debian-bookworm | 72 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-09-05 00:03:13.384770 | debian-bookworm | 73 | >>> 2025-09-05 00:03:13.384776 | debian-bookworm | 74 | >>> # add user 2025-09-05 00:03:13.384782 | debian-bookworm | 75 | >>> groupadd -g "$GROUP_ID" dragon 2025-09-05 00:03:13.384788 | debian-bookworm | 76 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-09-05 00:03:13.384795 | debian-bookworm | 77 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-09-05 00:03:13.384801 | debian-bookworm | 78 | >>> 2025-09-05 00:03:13.384807 | debian-bookworm | 79 | >>> # prepare release repository 2025-09-05 00:03:13.384813 | debian-bookworm | 80 | >>> git clone https://github.com/osism/release /release 2025-09-05 00:03:13.384820 | debian-bookworm | 81 | >>> 2025-09-05 00:03:13.384826 | debian-bookworm | 82 | >>> # prepare project repository 2025-09-05 00:03:13.384843 | debian-bookworm | 83 | >>> git clone https://github.com/osism/defaults /defaults 2025-09-05 00:03:13.384850 | debian-bookworm | 84 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-09-05 00:03:13.384856 | debian-bookworm | 85 | >>> 2025-09-05 00:03:13.384869 | debian-bookworm | 86 | >>> if [ "$VERSION" != "latest" ]; then 2025-09-05 00:03:13.384876 | debian-bookworm | 87 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-kubernetes-$VERSION" ) 2025-09-05 00:03:13.384883 | debian-bookworm | 88 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-09-05 00:03:13.384891 | debian-bookworm | 89 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-09-05 00:03:13.384897 | debian-bookworm | 90 | >>> fi 2025-09-05 00:03:13.384904 | debian-bookworm | 91 | >>> 2025-09-05 00:03:13.384910 | debian-bookworm | 92 | >>> # add inventory files 2025-09-05 00:03:13.384916 | debian-bookworm | 93 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-09-05 00:03:13.384922 | debian-bookworm | 94 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-09-05 00:03:13.384929 | debian-bookworm | 95 | >>> 2025-09-05 00:03:13.384935 | debian-bookworm | 96 | >>> # run preparations 2025-09-05 00:03:13.384941 | debian-bookworm | 97 | >>> mkdir -p /ansible/group_vars/all/ 2025-09-05 00:03:13.384947 | debian-bookworm | 98 | >>> 2025-09-05 00:03:13.384954 | debian-bookworm | 99 | >>> python3 /src/render-python-requirements.py 2025-09-05 00:03:13.384960 | debian-bookworm | 100 | >>> python3 /src/render-versions.py 2025-09-05 00:03:13.384966 | debian-bookworm | 101 | >>> 2025-09-05 00:03:13.384972 | debian-bookworm | 102 | >>> # install required python packages 2025-09-05 00:03:13.384979 | debian-bookworm | 103 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-09-05 00:03:13.384985 | debian-bookworm | 104 | >>> 2025-09-05 00:03:13.384991 | debian-bookworm | 105 | >>> # set ansible version in the motd 2025-09-05 00:03:13.384997 | debian-bookworm | 106 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-09-05 00:03:13.385004 | debian-bookworm | 107 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-09-05 00:03:13.385010 | debian-bookworm | 108 | >>> 2025-09-05 00:03:13.385016 | debian-bookworm | 109 | >>> # create required directories 2025-09-05 00:03:13.385022 | debian-bookworm | 110 | >>> mkdir -p \ 2025-09-05 00:03:13.385028 | debian-bookworm | 111 | >>> /ansible \ 2025-09-05 00:03:13.385035 | debian-bookworm | 112 | >>> /ansible/roles \ 2025-09-05 00:03:13.385041 | debian-bookworm | 113 | >>> /ansible/action_plugins \ 2025-09-05 00:03:13.385047 | debian-bookworm | 114 | >>> /ansible/cache \ 2025-09-05 00:03:13.385053 | debian-bookworm | 115 | >>> /ansible/logs \ 2025-09-05 00:03:13.385059 | debian-bookworm | 116 | >>> /ansible/secrets \ 2025-09-05 00:03:13.385066 | debian-bookworm | 117 | >>> /interface \ 2025-09-05 00:03:13.385072 | debian-bookworm | 118 | >>> /share 2025-09-05 00:03:13.385078 | debian-bookworm | 119 | >>> 2025-09-05 00:03:13.385084 | debian-bookworm | 120 | >>> # install required ansible collections & roles 2025-09-05 00:03:13.385091 | debian-bookworm | 121 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-09-05 00:03:13.385097 | debian-bookworm | 122 | >>> 2025-09-05 00:03:13.385103 | debian-bookworm | 123 | >>> # add k3s-ansible roles 2025-09-05 00:03:13.385109 | debian-bookworm | 124 | >>> git clone https://github.com/osism/k3s-ansible /k3s-ansible 2025-09-05 00:03:13.385116 | debian-bookworm | 125 | >>> mv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles 2025-09-05 00:03:13.385122 | debian-bookworm | 126 | >>> mv /k3s-ansible/roles/download /ansible/roles/k3s_download 2025-09-05 00:03:13.385128 | debian-bookworm | 127 | >>> mv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq 2025-09-05 00:03:13.385134 | debian-bookworm | 128 | >>> mv /k3s-ansible/roles/reset /ansible/roles/k3s_reset 2025-09-05 00:03:13.385141 | debian-bookworm | 129 | >>> rm -rf /k3s-ansible 2025-09-05 00:03:13.385147 | debian-bookworm | 130 | >>> 2025-09-05 00:03:13.385153 | debian-bookworm | 131 | >>> # apply patches 2025-09-05 00:03:13.385169 | debian-bookworm | 132 | >>> for role in /ansible/roles/*; do 2025-09-05 00:03:13.385175 | debian-bookworm | 133 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-09-05 00:03:13.385182 | debian-bookworm | 134 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-09-05 00:03:13.385188 | debian-bookworm | 135 | >>> echo "$patchfile"; 2025-09-05 00:03:13.385199 | debian-bookworm | 136 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-09-05 00:03:13.385206 | debian-bookworm | 137 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-09-05 00:03:13.385213 | debian-bookworm | 138 | >>> done; 2025-09-05 00:03:13.385219 | debian-bookworm | 139 | >>> fi; 2025-09-05 00:03:13.385225 | debian-bookworm | 140 | >>> done 2025-09-05 00:03:13.385231 | debian-bookworm | 141 | >>> 2025-09-05 00:03:13.385238 | debian-bookworm | 142 | >>> # install mitogen ansible plugin 2025-09-05 00:03:13.385244 | debian-bookworm | 143 | >>> mkdir -p /usr/share/mitogen 2025-09-05 00:03:13.385250 | debian-bookworm | 144 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-09-05 00:03:13.385257 | debian-bookworm | 145 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-09-05 00:03:13.385263 | debian-bookworm | 146 | >>> rm /mitogen.tar.gz 2025-09-05 00:03:13.385269 | debian-bookworm | 147 | >>> 2025-09-05 00:03:13.385276 | debian-bookworm | 148 | >>> # install helm 2025-09-05 00:03:13.385282 | debian-bookworm | 149 | >>> curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null 2025-09-05 00:03:13.385289 | debian-bookworm | 150 | >>> echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list 2025-09-05 00:03:13.385296 | debian-bookworm | 151 | >>> apt-get update 2025-09-05 00:03:13.385303 | debian-bookworm | 152 | >>> apt-get install --no-install-recommends -y \ 2025-09-05 00:03:13.385309 | debian-bookworm | 153 | >>> helm 2025-09-05 00:03:13.385315 | debian-bookworm | 154 | >>> 2025-09-05 00:03:13.385322 | debian-bookworm | 155 | >>> # install helm plugins 2025-09-05 00:03:13.385328 | debian-bookworm | 156 | >>> helm plugin install https://github.com/databus23/helm-diff 2025-09-05 00:03:13.385334 | debian-bookworm | 157 | >>> 2025-09-05 00:03:13.385341 | debian-bookworm | 158 | >>> # install cilium cli 2025-09-05 00:03:13.385347 | debian-bookworm | 159 | >>> curl -L --fail --remote-name-all "https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${ARCH}.tar.gz{,.sha256sum}" 2025-09-05 00:03:13.385354 | debian-bookworm | 160 | >>> sha256sum --check "cilium-linux-${ARCH}.tar.gz.sha256sum" 2025-09-05 00:03:13.385360 | debian-bookworm | 161 | >>> tar xzvfC "cilium-linux-${ARCH}.tar.gz" /usr/local/bin 2025-09-05 00:03:13.385366 | debian-bookworm | 162 | >>> rm cilium-linux-"${ARCH}".tar.gz{,.sha256sum} 2025-09-05 00:03:13.385373 | debian-bookworm | 163 | >>> 2025-09-05 00:03:13.385379 | debian-bookworm | 164 | >>> # install hubble cli 2025-09-05 00:03:13.385385 | debian-bookworm | 165 | >>> HUBBLE_ARCH=amd64 2025-09-05 00:03:13.385392 | debian-bookworm | 166 | >>> curl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-09-05 00:03:13.385399 | debian-bookworm | 167 | >>> sha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum 2025-09-05 00:03:13.385405 | debian-bookworm | 168 | >>> tar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin 2025-09-05 00:03:13.385412 | debian-bookworm | 169 | >>> rm hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-09-05 00:03:13.385418 | debian-bookworm | 170 | >>> 2025-09-05 00:03:13.385424 | debian-bookworm | 171 | >>> # install flux cli 2025-09-05 00:03:13.385431 | debian-bookworm | 172 | >>> CLEAN_FLUX_VERSION=$(echo "$FLUX_VERSION" | sed 's/^v//') 2025-09-05 00:03:13.385437 | debian-bookworm | 173 | >>> curl -o flux.tar.gz -L "https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${CLEAN_FLUX_VERSION}_linux_amd64.tar.gz" 2025-09-05 00:03:13.385444 | debian-bookworm | 174 | >>> tar -xzf flux.tar.gz -C /usr/local/bin flux 2025-09-05 00:03:13.385450 | debian-bookworm | 175 | >>> rm flux.tar.gz 2025-09-05 00:03:13.385456 | debian-bookworm | 176 | >>> 2025-09-05 00:03:13.385463 | debian-bookworm | 177 | >>> # install operator-sdk 2025-09-05 00:03:13.385469 | debian-bookworm | 178 | >>> OS=$(uname | awk '{print tolower($0)}') 2025-09-05 00:03:13.385475 | debian-bookworm | 179 | >>> OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION} 2025-09-05 00:03:13.385482 | debian-bookworm | 180 | >>> 2025-09-05 00:03:13.385488 | debian-bookworm | 181 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}" 2025-09-05 00:03:13.385494 | debian-bookworm | 182 | >>> gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E 2025-09-05 00:03:13.385500 | debian-bookworm | 183 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt" 2025-09-05 00:03:13.385511 | debian-bookworm | 184 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt.asc" 2025-09-05 00:03:13.385518 | debian-bookworm | 185 | >>> gpg -u "Operator SDK (release) " --verify checksums.txt.asc 2025-09-05 00:03:13.385524 | debian-bookworm | 186 | >>> grep "operator-sdk_${OS}_${ARCH}" checksums.txt | sha256sum -c - 2025-09-05 00:03:13.385530 | debian-bookworm | 187 | >>> chmod +x "operator-sdk_${OS}_${ARCH}" 2025-09-05 00:03:13.385536 | debian-bookworm | 188 | >>> mv "operator-sdk_${OS}_${ARCH}" /usr/local/bin/operator-sdk 2025-09-05 00:03:13.385543 | debian-bookworm | 189 | >>> rm checksums.txt.asc 2025-09-05 00:03:13.385549 | debian-bookworm | 190 | >>> rm checksums.txt 2025-09-05 00:03:13.385556 | debian-bookworm | 191 | >>> 2025-09-05 00:03:13.385562 | debian-bookworm | 192 | >>> # install clusterctl 2025-09-05 00:03:13.385568 | debian-bookworm | 193 | >>> curl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64 2025-09-05 00:03:13.385575 | debian-bookworm | 194 | >>> chmod +x /usr/local/bin/clusterctl 2025-09-05 00:03:13.385581 | debian-bookworm | 195 | >>> 2025-09-05 00:03:13.385588 | debian-bookworm | 196 | >>> # install kubectl 2025-09-05 00:03:13.385594 | debian-bookworm | 197 | >>> curl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl 2025-09-05 00:03:13.385600 | debian-bookworm | 198 | >>> chmod +x /usr/local/bin/kubectl 2025-09-05 00:03:13.385607 | debian-bookworm | 199 | >>> 2025-09-05 00:03:13.385613 | debian-bookworm | 200 | >>> # prepare .kube directory 2025-09-05 00:03:13.385620 | debian-bookworm | 201 | >>> mkdir -p /ansible/.kube 2025-09-05 00:03:13.385626 | debian-bookworm | 202 | >>> ln -s /share/kubeconfig /ansible/.kube/config 2025-09-05 00:03:13.385632 | debian-bookworm | 203 | >>> chown -R dragon: /ansible/.kube 2025-09-05 00:03:13.385639 | debian-bookworm | 204 | >>> 2025-09-05 00:03:13.385655 | debian-bookworm | 205 | >>> # prepare .cache directory 2025-09-05 00:03:13.385662 | debian-bookworm | 206 | >>> mkdir -p /ansible/.cache 2025-09-05 00:03:13.385672 | debian-bookworm | 207 | >>> mv /root/.cache/helm /ansible/.cache 2025-09-05 00:03:13.385678 | debian-bookworm | 208 | >>> chown -R dragon: /ansible/.cache 2025-09-05 00:03:13.385685 | debian-bookworm | 209 | >>> 2025-09-05 00:03:13.385691 | debian-bookworm | 210 | >>> # prepare .local directory 2025-09-05 00:03:13.385697 | debian-bookworm | 211 | >>> mkdir -p /ansible/.local/share 2025-09-05 00:03:13.385703 | debian-bookworm | 212 | >>> mv /root/.local/share/helm /ansible/.local/share 2025-09-05 00:03:13.385710 | debian-bookworm | 213 | >>> chown -R dragon: /ansible/.local 2025-09-05 00:03:13.385716 | debian-bookworm | 214 | >>> 2025-09-05 00:03:13.385722 | debian-bookworm | 215 | >>> # add symlink to /etc/openstack 2025-09-05 00:03:13.385728 | debian-bookworm | 216 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-09-05 00:03:13.385735 | debian-bookworm | 217 | >>> 2025-09-05 00:03:13.385741 | debian-bookworm | 218 | >>> # copy ara configuration 2025-09-05 00:03:13.385747 | debian-bookworm | 219 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-09-05 00:03:13.385754 | debian-bookworm | 220 | >>> 2025-09-05 00:03:13.385760 | debian-bookworm | 221 | >>> # prepare list of playbooks 2025-09-05 00:03:13.385766 | debian-bookworm | 222 | >>> python3 /src/render-playbooks.py 2025-09-05 00:03:13.385772 | debian-bookworm | 223 | >>> 2025-09-05 00:03:13.385805 | debian-bookworm | 224 | >>> # set correct permssions 2025-09-05 00:03:13.385813 | debian-bookworm | 225 | >>> chown -R dragon: /ansible /share /interface 2025-09-05 00:03:13.385819 | debian-bookworm | 226 | >>> 2025-09-05 00:03:13.385825 | debian-bookworm | 227 | >>> # cleanup 2025-09-05 00:03:13.385832 | debian-bookworm | 228 | >>> apt-get clean 2025-09-05 00:03:13.385838 | debian-bookworm | 229 | >>> apt-get remove -y \ 2025-09-05 00:03:13.385844 | debian-bookworm | 230 | >>> build-essential \ 2025-09-05 00:03:13.385851 | debian-bookworm | 231 | >>> curl \ 2025-09-05 00:03:13.385857 | debian-bookworm | 232 | >>> git \ 2025-09-05 00:03:13.385863 | debian-bookworm | 233 | >>> gnupg \ 2025-09-05 00:03:13.385869 | debian-bookworm | 234 | >>> libffi-dev \ 2025-09-05 00:03:13.385875 | debian-bookworm | 235 | >>> libssh-dev \ 2025-09-05 00:03:13.385881 | debian-bookworm | 236 | >>> libssl-dev \ 2025-09-05 00:03:13.385888 | debian-bookworm | 237 | >>> libyaml-dev 2025-09-05 00:03:13.385894 | debian-bookworm | 238 | >>> apt-get autoremove -y 2025-09-05 00:03:13.385900 | debian-bookworm | 239 | >>> rm -rf \ 2025-09-05 00:03:13.385906 | debian-bookworm | 240 | >>> /root/.cache \ 2025-09-05 00:03:13.385913 | debian-bookworm | 241 | >>> /tmp/* \ 2025-09-05 00:03:13.385919 | debian-bookworm | 242 | >>> /usr/share/doc/* \ 2025-09-05 00:03:13.385925 | debian-bookworm | 243 | >>> /usr/share/man/* \ 2025-09-05 00:03:13.385931 | debian-bookworm | 244 | >>> /var/lib/apt/lists/* \ 2025-09-05 00:03:13.385942 | debian-bookworm | 245 | >>> /var/tmp/* \ 2025-09-05 00:03:13.385949 | debian-bookworm | 246 | >>> /patches 2025-09-05 00:03:13.385955 | debian-bookworm | 247 | >>> 2025-09-05 00:03:13.385961 | debian-bookworm | 248 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-09-05 00:03:13.385967 | debian-bookworm | 249 | >>> pyclean /usr 2025-09-05 00:03:13.385974 | debian-bookworm | 250 | >>> uv pip uninstall --system pyclean 2025-09-05 00:03:13.385980 | debian-bookworm | 251 | >>> EOF 2025-09-05 00:03:13.385986 | debian-bookworm | 252 | 2025-09-05 00:03:13.385992 | debian-bookworm | -------------------- 2025-09-05 00:03:13.386023 | debian-bookworm | ERROR: failed to build: failed to solve: process "/bin/bash -o pipefail -c set -e\nset -x\n\nHUBBLE_VERSION=v1.17.5\nCAPI_VERSION=1.10.3\nCILIUM_CLI_VERSION=v0.18.5\nFLUX_VERSION=v2.6.3\nKUBECTL_VERSION=1.33.2\nOPERATOR_SDK_VERSION=v1.40.0\n\n# shellcheck disable=SC2046\nARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)\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\n\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\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-kubernetes-$VERSION\" )\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/all/\n\npython3 /src/render-python-requirements.py\npython3 /src/render-versions.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/roles \\\n /ansible/action_plugins \\\n /ansible/cache \\\n /ansible/logs \\\n /ansible/secrets \\\n /interface \\\n /share\n\n# install required ansible collections & roles\nansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections\n\n# add k3s-ansible roles\ngit clone https://github.com/osism/k3s-ansible /k3s-ansible\nmv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles\nmv /k3s-ansible/roles/download /ansible/roles/k3s_download\nmv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq\nmv /k3s-ansible/roles/reset /ansible/roles/k3s_reset\nrm -rf /k3s-ansible\n\n# apply patches\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# 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# install helm\ncurl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main\" | tee /etc/apt/sources.list.d/helm-stable-debian.list\napt-get update\napt-get install --no-install-recommends -y \\\n helm\n\n# install helm plugins\nhelm plugin install https://github.com/databus23/helm-diff\n\n# install cilium cli\ncurl -L --fail --remote-name-all \"https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${ARCH}.tar.gz{,.sha256sum}\"\nsha256sum --check \"cilium-linux-${ARCH}.tar.gz.sha256sum\"\ntar xzvfC \"cilium-linux-${ARCH}.tar.gz\" /usr/local/bin\nrm cilium-linux-\"${ARCH}\".tar.gz{,.sha256sum}\n\n# install hubble cli\nHUBBLE_ARCH=amd64\ncurl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${ARCH}.tar.gz{,.sha256sum}\nsha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum\ntar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin\nrm hubble-linux-${ARCH}.tar.gz{,.sha256sum}\n\n# install flux cli\nCLEAN_FLUX_VERSION=$(echo \"$FLUX_VERSION\" | sed 's/^v//')\ncurl -o flux.tar.gz -L \"https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${CLEAN_FLUX_VERSION}_linux_amd64.tar.gz\"\ntar -xzf flux.tar.gz -C /usr/local/bin flux\nrm flux.tar.gz\n\n# install operator-sdk\nOS=$(uname | awk '{print tolower($0)}')\nOPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}\n\ncurl -LO \"${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}\"\ngpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt\"\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt.asc\"\ngpg -u \"Operator SDK (release) \" --verify checksums.txt.asc\ngrep \"operator-sdk_${OS}_${ARCH}\" checksums.txt | sha256sum -c -\nchmod +x \"operator-sdk_${OS}_${ARCH}\"\nmv \"operator-sdk_${OS}_${ARCH}\" /usr/local/bin/operator-sdk\nrm checksums.txt.asc\nrm checksums.txt\n\n# install clusterctl\ncurl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64\nchmod +x /usr/local/bin/clusterctl\n\n# install kubectl\ncurl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl\nchmod +x /usr/local/bin/kubectl\n\n# prepare .kube directory\nmkdir -p /ansible/.kube\nln -s /share/kubeconfig /ansible/.kube/config\nchown -R dragon: /ansible/.kube\n\n# prepare .cache directory\nmkdir -p /ansible/.cache\nmv /root/.cache/helm /ansible/.cache\nchown -R dragon: /ansible/.cache\n\n# prepare .local directory\nmkdir -p /ansible/.local/share\nmv /root/.local/share/helm /ansible/.local/share\nchown -R dragon: /ansible/.local\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/render-playbooks.py\n\n# set correct permssions\nchown -R dragon: /ansible /share /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\nrm -rf \\\n /root/.cache \\\n /tmp/* \\\n /usr/share/doc/* \\\n /usr/share/man/* \\\n /var/lib/apt/lists/* \\\n /var/tmp/* \\\n /patches\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: 2 2025-09-05 00:03:13.668381 | debian-bookworm | ERROR 2025-09-05 00:03:13.668878 | debian-bookworm | { 2025-09-05 00:03:13.669379 | debian-bookworm | "delta": "0:01:38.374986", 2025-09-05 00:03:13.669480 | debian-bookworm | "end": "2025-09-05 00:03:13.392821", 2025-09-05 00:03:13.669546 | debian-bookworm | "msg": "non-zero return code", 2025-09-05 00:03:13.669605 | debian-bookworm | "rc": 1, 2025-09-05 00:03:13.669661 | debian-bookworm | "start": "2025-09-05 00:01:35.017835" 2025-09-05 00:03:13.669724 | debian-bookworm | } failure 2025-09-05 00:03:13.693024 | 2025-09-05 00:03:13.693137 | PLAY RECAP 2025-09-05 00:03:13.693197 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 1 skipped: 0 rescued: 0 ignored: 0 2025-09-05 00:03:13.693223 | 2025-09-05 00:03:13.786819 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/osism-kubernetes/zuul-playbooks/build.yml@main] 2025-09-05 00:03:13.787827 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-05 00:03:14.496793 | 2025-09-05 00:03:14.496919 | PLAY [Base post] 2025-09-05 00:03:14.509023 | 2025-09-05 00:03:14.509137 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-09-05 00:03:15.345562 | debian-bookworm | changed 2025-09-05 00:03:15.357437 | 2025-09-05 00:03:15.357556 | PLAY RECAP 2025-09-05 00:03:15.357641 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-09-05 00:03:15.357732 | 2025-09-05 00:03:15.446674 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-05 00:03:15.448852 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-09-05 00:03:16.149272 | 2025-09-05 00:03:16.149407 | PLAY [Base post-logs] 2025-09-05 00:03:16.159187 | 2025-09-05 00:03:16.159295 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-09-05 00:03:16.588997 | localhost | changed 2025-09-05 00:03:16.598282 | 2025-09-05 00:03:16.598409 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-09-05 00:03:16.624234 | localhost | ok 2025-09-05 00:03:16.627018 | 2025-09-05 00:03:16.627125 | TASK [Set zuul-log-path fact] 2025-09-05 00:03:16.641197 | localhost | ok 2025-09-05 00:03:16.648296 | 2025-09-05 00:03:16.648380 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-05 00:03:16.672164 | localhost | ok 2025-09-05 00:03:16.674883 | 2025-09-05 00:03:16.674963 | TASK [upload-logs : Create log directories] 2025-09-05 00:03:17.182812 | localhost | changed 2025-09-05 00:03:17.191580 | 2025-09-05 00:03:17.191706 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-09-05 00:03:17.745016 | localhost -> localhost | ok: Runtime: 0:00:00.007588 2025-09-05 00:03:17.749270 | 2025-09-05 00:03:17.749386 | TASK [upload-logs : Upload logs to log server] 2025-09-05 00:03:18.362053 | localhost | Output suppressed because no_log was given 2025-09-05 00:03:18.364181 | 2025-09-05 00:03:18.364292 | LOOP [upload-logs : Compress console log and json output] 2025-09-05 00:03:18.425318 | localhost | skipping: Conditional result was False 2025-09-05 00:03:18.429317 | localhost | skipping: Conditional result was False 2025-09-05 00:03:18.437540 | 2025-09-05 00:03:18.437817 | LOOP [upload-logs : Upload compressed console log and json output] 2025-09-05 00:03:18.488786 | localhost | skipping: Conditional result was False 2025-09-05 00:03:18.490884 | 2025-09-05 00:03:18.493039 | localhost | skipping: Conditional result was False 2025-09-05 00:03:18.500943 | 2025-09-05 00:03:18.501223 | LOOP [upload-logs : Upload console log and json output]