2025-09-10 00:00:11.762313 | Job console starting 2025-09-10 00:00:11.784421 | Updating git repos 2025-09-10 00:00:11.839551 | Cloning repos into workspace 2025-09-10 00:00:11.899776 | Restoring repo states 2025-09-10 00:00:11.915066 | Merging changes 2025-09-10 00:00:11.915080 | Checking out repos 2025-09-10 00:00:13.035598 | Preparing playbooks 2025-09-10 00:00:14.414247 | Running Ansible setup 2025-09-10 00:00:19.756736 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-09-10 00:00:20.753137 | 2025-09-10 00:00:20.753258 | PLAY [Base pre] 2025-09-10 00:00:20.779272 | 2025-09-10 00:00:20.779407 | TASK [Setup log path fact] 2025-09-10 00:00:20.810225 | debian-bookworm | ok 2025-09-10 00:00:20.823420 | 2025-09-10 00:00:20.823531 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-10 00:00:20.851310 | debian-bookworm | ok 2025-09-10 00:00:20.859716 | 2025-09-10 00:00:20.859808 | TASK [emit-job-header : Print job information] 2025-09-10 00:00:20.886375 | # Job Information 2025-09-10 00:00:20.886505 | Ansible Version: 2.16.14 2025-09-10 00:00:20.886534 | Job: osism-kubernetes-push 2025-09-10 00:00:20.886559 | Pipeline: periodic-midnight 2025-09-10 00:00:20.886578 | Executor: 521e9411259a 2025-09-10 00:00:20.886595 | Triggered by: https://github.com/osism/osism-kubernetes 2025-09-10 00:00:20.886613 | Event ID: 396b26bde08e4797b12611bdb156d5d3 2025-09-10 00:00:20.890893 | 2025-09-10 00:00:20.890974 | LOOP [emit-job-header : Print node information] 2025-09-10 00:00:20.988956 | debian-bookworm | ok: 2025-09-10 00:00:20.989130 | debian-bookworm | # Node Information 2025-09-10 00:00:20.989159 | debian-bookworm | Inventory Hostname: debian-bookworm 2025-09-10 00:00:20.989202 | debian-bookworm | Hostname: debian 2025-09-10 00:00:20.989221 | debian-bookworm | Username: zuul 2025-09-10 00:00:20.989238 | debian-bookworm | Distro: Debian 12.12 2025-09-10 00:00:20.989264 | debian-bookworm | Provider: regiocloud-a 2025-09-10 00:00:20.989286 | debian-bookworm | Region: 2025-09-10 00:00:20.989303 | debian-bookworm | Label: debian-bookworm 2025-09-10 00:00:20.989319 | debian-bookworm | Product Name: OpenStack Nova 2025-09-10 00:00:20.989335 | debian-bookworm | Interface IP: 2a13:1a81:8000:3124:f816:3eff:fe88:b5e1 2025-09-10 00:00:21.006719 | 2025-09-10 00:00:21.006820 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-09-10 00:00:22.198967 | debian-bookworm -> localhost | changed 2025-09-10 00:00:22.204620 | 2025-09-10 00:00:22.204703 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-09-10 00:00:24.522223 | debian-bookworm -> localhost | changed 2025-09-10 00:00:24.531276 | 2025-09-10 00:00:24.531362 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-09-10 00:00:25.163438 | debian-bookworm -> localhost | ok 2025-09-10 00:00:25.168430 | 2025-09-10 00:00:25.168509 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-09-10 00:00:25.205212 | debian-bookworm | ok 2025-09-10 00:00:25.225269 | debian-bookworm | included: /var/lib/zuul/builds/1b89458f7fa84808aece71817707880c/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-09-10 00:00:25.240423 | 2025-09-10 00:00:25.240516 | TASK [add-build-sshkey : Create Temp SSH key] 2025-09-10 00:00:27.050723 | debian-bookworm -> localhost | Generating public/private rsa key pair. 2025-09-10 00:00:27.050905 | debian-bookworm -> localhost | Your identification has been saved in /var/lib/zuul/builds/1b89458f7fa84808aece71817707880c/work/1b89458f7fa84808aece71817707880c_id_rsa 2025-09-10 00:00:27.050938 | debian-bookworm -> localhost | Your public key has been saved in /var/lib/zuul/builds/1b89458f7fa84808aece71817707880c/work/1b89458f7fa84808aece71817707880c_id_rsa.pub 2025-09-10 00:00:27.050960 | debian-bookworm -> localhost | The key fingerprint is: 2025-09-10 00:00:27.050979 | debian-bookworm -> localhost | SHA256:7jFKo/eZdmqpjqWEN0VQzC03+T1qTl1G00K/XlVPFOI zuul-build-sshkey 2025-09-10 00:00:27.050997 | debian-bookworm -> localhost | The key's randomart image is: 2025-09-10 00:00:27.051024 | debian-bookworm -> localhost | +---[RSA 3072]----+ 2025-09-10 00:00:27.051042 | debian-bookworm -> localhost | | .+.. . o.+=| 2025-09-10 00:00:27.051060 | debian-bookworm -> localhost | | .+ = . =o+| 2025-09-10 00:00:27.051078 | debian-bookworm -> localhost | | .o o . E o+| 2025-09-10 00:00:27.051094 | debian-bookworm -> localhost | | . . o o o| 2025-09-10 00:00:27.051110 | debian-bookworm -> localhost | | . S o + ..| 2025-09-10 00:00:27.051133 | debian-bookworm -> localhost | | . . . + . . .| 2025-09-10 00:00:27.051150 | debian-bookworm -> localhost | | . + + += . | 2025-09-10 00:00:27.051190 | debian-bookworm -> localhost | | o B.++=o | 2025-09-10 00:00:27.051210 | debian-bookworm -> localhost | | +o+=*o | 2025-09-10 00:00:27.051227 | debian-bookworm -> localhost | +----[SHA256]-----+ 2025-09-10 00:00:27.051268 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.681385 2025-09-10 00:00:27.056431 | 2025-09-10 00:00:27.056599 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-09-10 00:00:27.103102 | debian-bookworm | ok 2025-09-10 00:00:27.110651 | debian-bookworm | included: /var/lib/zuul/builds/1b89458f7fa84808aece71817707880c/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-09-10 00:00:27.145576 | 2025-09-10 00:00:27.145674 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-09-10 00:00:27.197301 | debian-bookworm | skipping: Conditional result was False 2025-09-10 00:00:27.202098 | 2025-09-10 00:00:27.202212 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-09-10 00:00:27.989816 | debian-bookworm | changed 2025-09-10 00:00:27.995266 | 2025-09-10 00:00:27.995358 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-09-10 00:00:28.255103 | debian-bookworm | ok 2025-09-10 00:00:28.260756 | 2025-09-10 00:00:28.260852 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-09-10 00:00:29.108629 | debian-bookworm | changed 2025-09-10 00:00:29.120502 | 2025-09-10 00:00:29.120633 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-09-10 00:00:29.854508 | debian-bookworm | changed 2025-09-10 00:00:29.859848 | 2025-09-10 00:00:29.859939 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-09-10 00:00:29.906511 | debian-bookworm | skipping: Conditional result was False 2025-09-10 00:00:29.912548 | 2025-09-10 00:00:29.912643 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-09-10 00:00:30.597015 | debian-bookworm -> localhost | changed 2025-09-10 00:00:30.612009 | 2025-09-10 00:00:30.612118 | TASK [add-build-sshkey : Add back temp key] 2025-09-10 00:00:31.723641 | debian-bookworm -> localhost | Identity added: /var/lib/zuul/builds/1b89458f7fa84808aece71817707880c/work/1b89458f7fa84808aece71817707880c_id_rsa (zuul-build-sshkey) 2025-09-10 00:00:31.723819 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.035814 2025-09-10 00:00:31.730213 | 2025-09-10 00:00:31.730300 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-09-10 00:00:32.419654 | debian-bookworm | ok 2025-09-10 00:00:32.423691 | 2025-09-10 00:00:32.423773 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-09-10 00:00:32.470864 | debian-bookworm | skipping: Conditional result was False 2025-09-10 00:00:32.485154 | 2025-09-10 00:00:32.485248 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-09-10 00:00:33.119936 | debian-bookworm | ok 2025-09-10 00:00:33.150519 | 2025-09-10 00:00:33.150629 | TASK [validate-host : Define zuul_info_dir fact] 2025-09-10 00:00:33.196766 | debian-bookworm | ok 2025-09-10 00:00:33.202161 | 2025-09-10 00:00:33.202252 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-09-10 00:00:33.663891 | debian-bookworm -> localhost | ok 2025-09-10 00:00:33.670114 | 2025-09-10 00:00:33.670268 | TASK [validate-host : Collect information about the host] 2025-09-10 00:00:34.735551 | debian-bookworm | ok 2025-09-10 00:00:34.757527 | 2025-09-10 00:00:34.757619 | TASK [validate-host : Sanitize hostname] 2025-09-10 00:00:34.888377 | debian-bookworm | ok 2025-09-10 00:00:34.963034 | 2025-09-10 00:00:34.963132 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-09-10 00:00:35.721118 | debian-bookworm -> localhost | changed 2025-09-10 00:00:35.725746 | 2025-09-10 00:00:35.725820 | TASK [validate-host : Collect information about zuul worker] 2025-09-10 00:00:36.216882 | debian-bookworm | ok 2025-09-10 00:00:36.220607 | 2025-09-10 00:00:36.220686 | TASK [validate-host : Write out all zuul information for each host] 2025-09-10 00:00:36.826678 | debian-bookworm -> localhost | changed 2025-09-10 00:00:36.834291 | 2025-09-10 00:00:36.834373 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-09-10 00:00:37.123990 | debian-bookworm | ok 2025-09-10 00:00:37.128748 | 2025-09-10 00:00:37.128827 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-09-10 00:00:38.653281 | debian-bookworm | changed: 2025-09-10 00:00:38.653595 | debian-bookworm | cd+++++++++ src/ 2025-09-10 00:00:38.653637 | debian-bookworm | cd+++++++++ src/github.com/ 2025-09-10 00:00:38.653662 | debian-bookworm | cd+++++++++ src/github.com/osism/ 2025-09-10 00:00:38.653685 | debian-bookworm | cd+++++++++ src/github.com/osism/osism-kubernetes/ 2025-09-10 00:00:38.653707 | debian-bookworm | Containerfile 2025-09-10 00:00:38.653861 | 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-10 00:04:07.402497 | debian-bookworm | ------ 2025-09-10 00:04:07.402601 | debian-bookworm | > [builder 14/14] RUN <>> RUN <>> set -e 2025-09-10 00:04:07.407160 | debian-bookworm | 35 | >>> set -x 2025-09-10 00:04:07.407181 | debian-bookworm | 36 | >>> 2025-09-10 00:04:07.407202 | debian-bookworm | 37 | >>> HUBBLE_VERSION=v1.17.5 2025-09-10 00:04:07.407223 | debian-bookworm | 38 | >>> CAPI_VERSION=1.10.3 2025-09-10 00:04:07.407243 | debian-bookworm | 39 | >>> CILIUM_CLI_VERSION=v0.18.5 2025-09-10 00:04:07.407264 | debian-bookworm | 40 | >>> FLUX_VERSION=v2.6.3 2025-09-10 00:04:07.407285 | debian-bookworm | 41 | >>> KUBECTL_VERSION=1.33.2 2025-09-10 00:04:07.407305 | debian-bookworm | 42 | >>> OPERATOR_SDK_VERSION=v1.40.0 2025-09-10 00:04:07.407325 | debian-bookworm | 43 | >>> 2025-09-10 00:04:07.407345 | debian-bookworm | 44 | >>> # shellcheck disable=SC2046 2025-09-10 00:04:07.407367 | debian-bookworm | 45 | >>> ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) 2025-09-10 00:04:07.407387 | debian-bookworm | 46 | >>> 2025-09-10 00:04:07.407407 | debian-bookworm | 47 | >>> # show motd 2025-09-10 00:04:07.407428 | debian-bookworm | 48 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-09-10 00:04:07.407448 | debian-bookworm | 49 | >>> 2025-09-10 00:04:07.407468 | debian-bookworm | 50 | >>> # install required packages 2025-09-10 00:04:07.407488 | debian-bookworm | 51 | >>> apt-get update 2025-09-10 00:04:07.407510 | debian-bookworm | 52 | >>> apt-get install --no-install-recommends -y \ 2025-09-10 00:04:07.407530 | debian-bookworm | 53 | >>> build-essential \ 2025-09-10 00:04:07.407552 | debian-bookworm | 54 | >>> curl \ 2025-09-10 00:04:07.407572 | debian-bookworm | 55 | >>> dumb-init \ 2025-09-10 00:04:07.407592 | debian-bookworm | 56 | >>> git \ 2025-09-10 00:04:07.407613 | debian-bookworm | 57 | >>> gnupg \ 2025-09-10 00:04:07.407633 | debian-bookworm | 58 | >>> gnupg-agent \ 2025-09-10 00:04:07.407654 | debian-bookworm | 59 | >>> iputils-ping \ 2025-09-10 00:04:07.407729 | debian-bookworm | 60 | >>> jq \ 2025-09-10 00:04:07.407752 | debian-bookworm | 61 | >>> libffi-dev \ 2025-09-10 00:04:07.407771 | debian-bookworm | 62 | >>> libssh-dev \ 2025-09-10 00:04:07.407792 | debian-bookworm | 63 | >>> libssl-dev \ 2025-09-10 00:04:07.407811 | debian-bookworm | 64 | >>> libyaml-dev \ 2025-09-10 00:04:07.407829 | debian-bookworm | 65 | >>> openssh-client \ 2025-09-10 00:04:07.407846 | debian-bookworm | 66 | >>> procps \ 2025-09-10 00:04:07.407864 | debian-bookworm | 67 | >>> rsync \ 2025-09-10 00:04:07.407882 | debian-bookworm | 68 | >>> sshpass 2025-09-10 00:04:07.407901 | debian-bookworm | 69 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-09-10 00:04:07.407919 | debian-bookworm | 70 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-09-10 00:04:07.407937 | debian-bookworm | 71 | >>> 2025-09-10 00:04:07.407956 | debian-bookworm | 72 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-09-10 00:04:07.407976 | debian-bookworm | 73 | >>> 2025-09-10 00:04:07.407994 | debian-bookworm | 74 | >>> # add user 2025-09-10 00:04:07.408011 | debian-bookworm | 75 | >>> groupadd -g "$GROUP_ID" dragon 2025-09-10 00:04:07.408030 | debian-bookworm | 76 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-09-10 00:04:07.408048 | debian-bookworm | 77 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-09-10 00:04:07.408067 | debian-bookworm | 78 | >>> 2025-09-10 00:04:07.408085 | debian-bookworm | 79 | >>> # prepare release repository 2025-09-10 00:04:07.408104 | debian-bookworm | 80 | >>> git clone https://github.com/osism/release /release 2025-09-10 00:04:07.408137 | debian-bookworm | 81 | >>> 2025-09-10 00:04:07.408156 | debian-bookworm | 82 | >>> # prepare project repository 2025-09-10 00:04:07.408174 | debian-bookworm | 83 | >>> git clone https://github.com/osism/defaults /defaults 2025-09-10 00:04:07.408192 | debian-bookworm | 84 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-09-10 00:04:07.408210 | debian-bookworm | 85 | >>> 2025-09-10 00:04:07.408229 | debian-bookworm | 86 | >>> if [ "$VERSION" != "latest" ]; then 2025-09-10 00:04:07.408248 | debian-bookworm | 87 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-kubernetes-$VERSION" ) 2025-09-10 00:04:07.408268 | debian-bookworm | 88 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-09-10 00:04:07.408286 | debian-bookworm | 89 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-09-10 00:04:07.408304 | debian-bookworm | 90 | >>> fi 2025-09-10 00:04:07.408321 | debian-bookworm | 91 | >>> 2025-09-10 00:04:07.408338 | debian-bookworm | 92 | >>> # add inventory files 2025-09-10 00:04:07.408355 | debian-bookworm | 93 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-09-10 00:04:07.408372 | debian-bookworm | 94 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-09-10 00:04:07.408389 | debian-bookworm | 95 | >>> 2025-09-10 00:04:07.408406 | debian-bookworm | 96 | >>> # run preparations 2025-09-10 00:04:07.408424 | debian-bookworm | 97 | >>> mkdir -p /ansible/group_vars/all/ 2025-09-10 00:04:07.408441 | debian-bookworm | 98 | >>> 2025-09-10 00:04:07.408458 | debian-bookworm | 99 | >>> python3 /src/render-python-requirements.py 2025-09-10 00:04:07.408475 | debian-bookworm | 100 | >>> python3 /src/render-versions.py 2025-09-10 00:04:07.408492 | debian-bookworm | 101 | >>> 2025-09-10 00:04:07.408510 | debian-bookworm | 102 | >>> # install required python packages 2025-09-10 00:04:07.408533 | debian-bookworm | 103 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-09-10 00:04:07.408552 | debian-bookworm | 104 | >>> 2025-09-10 00:04:07.408569 | debian-bookworm | 105 | >>> # set ansible version in the motd 2025-09-10 00:04:07.408586 | debian-bookworm | 106 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-09-10 00:04:07.408604 | debian-bookworm | 107 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-09-10 00:04:07.408622 | debian-bookworm | 108 | >>> 2025-09-10 00:04:07.408639 | debian-bookworm | 109 | >>> # create required directories 2025-09-10 00:04:07.408656 | debian-bookworm | 110 | >>> mkdir -p \ 2025-09-10 00:04:07.408687 | debian-bookworm | 111 | >>> /ansible \ 2025-09-10 00:04:07.408705 | debian-bookworm | 112 | >>> /ansible/roles \ 2025-09-10 00:04:07.408722 | debian-bookworm | 113 | >>> /ansible/action_plugins \ 2025-09-10 00:04:07.408739 | debian-bookworm | 114 | >>> /ansible/cache \ 2025-09-10 00:04:07.408756 | debian-bookworm | 115 | >>> /ansible/logs \ 2025-09-10 00:04:07.408773 | debian-bookworm | 116 | >>> /ansible/secrets \ 2025-09-10 00:04:07.408790 | debian-bookworm | 117 | >>> /interface \ 2025-09-10 00:04:07.408807 | debian-bookworm | 118 | >>> /share 2025-09-10 00:04:07.408824 | debian-bookworm | 119 | >>> 2025-09-10 00:04:07.408841 | debian-bookworm | 120 | >>> # install required ansible collections & roles 2025-09-10 00:04:07.408858 | debian-bookworm | 121 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-09-10 00:04:07.408876 | debian-bookworm | 122 | >>> 2025-09-10 00:04:07.408892 | debian-bookworm | 123 | >>> # add k3s-ansible roles 2025-09-10 00:04:07.408910 | debian-bookworm | 124 | >>> git clone https://github.com/osism/k3s-ansible /k3s-ansible 2025-09-10 00:04:07.408927 | debian-bookworm | 125 | >>> mv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles 2025-09-10 00:04:07.408944 | debian-bookworm | 126 | >>> mv /k3s-ansible/roles/download /ansible/roles/k3s_download 2025-09-10 00:04:07.408961 | debian-bookworm | 127 | >>> mv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq 2025-09-10 00:04:07.408978 | debian-bookworm | 128 | >>> mv /k3s-ansible/roles/reset /ansible/roles/k3s_reset 2025-09-10 00:04:07.408996 | debian-bookworm | 129 | >>> rm -rf /k3s-ansible 2025-09-10 00:04:07.409013 | debian-bookworm | 130 | >>> 2025-09-10 00:04:07.409030 | debian-bookworm | 131 | >>> # apply patches 2025-09-10 00:04:07.409047 | debian-bookworm | 132 | >>> for role in /ansible/roles/*; do 2025-09-10 00:04:07.409064 | debian-bookworm | 133 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-09-10 00:04:07.409081 | debian-bookworm | 134 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-09-10 00:04:07.409104 | debian-bookworm | 135 | >>> echo "$patchfile"; 2025-09-10 00:04:07.409122 | debian-bookworm | 136 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-09-10 00:04:07.409140 | debian-bookworm | 137 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-09-10 00:04:07.409158 | debian-bookworm | 138 | >>> done; 2025-09-10 00:04:07.409175 | debian-bookworm | 139 | >>> fi; 2025-09-10 00:04:07.409192 | debian-bookworm | 140 | >>> done 2025-09-10 00:04:07.409210 | debian-bookworm | 141 | >>> 2025-09-10 00:04:07.409238 | debian-bookworm | 142 | >>> # install mitogen ansible plugin 2025-09-10 00:04:07.409256 | debian-bookworm | 143 | >>> mkdir -p /usr/share/mitogen 2025-09-10 00:04:07.409275 | debian-bookworm | 144 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-09-10 00:04:07.409294 | debian-bookworm | 145 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-09-10 00:04:07.409313 | debian-bookworm | 146 | >>> rm /mitogen.tar.gz 2025-09-10 00:04:07.409331 | debian-bookworm | 147 | >>> 2025-09-10 00:04:07.409349 | debian-bookworm | 148 | >>> # install helm 2025-09-10 00:04:07.409368 | debian-bookworm | 149 | >>> curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null 2025-09-10 00:04:07.409387 | 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-10 00:04:07.409406 | debian-bookworm | 151 | >>> apt-get update 2025-09-10 00:04:07.409425 | debian-bookworm | 152 | >>> apt-get install --no-install-recommends -y \ 2025-09-10 00:04:07.409444 | debian-bookworm | 153 | >>> helm 2025-09-10 00:04:07.409462 | debian-bookworm | 154 | >>> 2025-09-10 00:04:07.409480 | debian-bookworm | 155 | >>> # install helm plugins 2025-09-10 00:04:07.409499 | debian-bookworm | 156 | >>> helm plugin install https://github.com/databus23/helm-diff 2025-09-10 00:04:07.409517 | debian-bookworm | 157 | >>> 2025-09-10 00:04:07.409536 | debian-bookworm | 158 | >>> # install cilium cli 2025-09-10 00:04:07.409555 | 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-10 00:04:07.409574 | debian-bookworm | 160 | >>> sha256sum --check "cilium-linux-${ARCH}.tar.gz.sha256sum" 2025-09-10 00:04:07.409592 | debian-bookworm | 161 | >>> tar xzvfC "cilium-linux-${ARCH}.tar.gz" /usr/local/bin 2025-09-10 00:04:07.409611 | debian-bookworm | 162 | >>> rm cilium-linux-"${ARCH}".tar.gz{,.sha256sum} 2025-09-10 00:04:07.409700 | debian-bookworm | 163 | >>> 2025-09-10 00:04:07.409721 | debian-bookworm | 164 | >>> # install hubble cli 2025-09-10 00:04:07.409742 | debian-bookworm | 165 | >>> HUBBLE_ARCH=amd64 2025-09-10 00:04:07.409761 | 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-10 00:04:07.409781 | debian-bookworm | 167 | >>> sha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum 2025-09-10 00:04:07.409799 | debian-bookworm | 168 | >>> tar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin 2025-09-10 00:04:07.409819 | debian-bookworm | 169 | >>> rm hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-09-10 00:04:07.409837 | debian-bookworm | 170 | >>> 2025-09-10 00:04:07.409856 | debian-bookworm | 171 | >>> # install flux cli 2025-09-10 00:04:07.409874 | debian-bookworm | 172 | >>> CLEAN_FLUX_VERSION=$(echo "$FLUX_VERSION" | sed 's/^v//') 2025-09-10 00:04:07.409893 | 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-10 00:04:07.409912 | debian-bookworm | 174 | >>> tar -xzf flux.tar.gz -C /usr/local/bin flux 2025-09-10 00:04:07.409931 | debian-bookworm | 175 | >>> rm flux.tar.gz 2025-09-10 00:04:07.409949 | debian-bookworm | 176 | >>> 2025-09-10 00:04:07.409968 | debian-bookworm | 177 | >>> # install operator-sdk 2025-09-10 00:04:07.409986 | debian-bookworm | 178 | >>> OS=$(uname | awk '{print tolower($0)}') 2025-09-10 00:04:07.410005 | debian-bookworm | 179 | >>> OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION} 2025-09-10 00:04:07.410024 | debian-bookworm | 180 | >>> 2025-09-10 00:04:07.410042 | debian-bookworm | 181 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}" 2025-09-10 00:04:07.410061 | debian-bookworm | 182 | >>> gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E 2025-09-10 00:04:07.410086 | debian-bookworm | 183 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt" 2025-09-10 00:04:07.410106 | debian-bookworm | 184 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt.asc" 2025-09-10 00:04:07.410125 | debian-bookworm | 185 | >>> gpg -u "Operator SDK (release) " --verify checksums.txt.asc 2025-09-10 00:04:07.410143 | debian-bookworm | 186 | >>> grep "operator-sdk_${OS}_${ARCH}" checksums.txt | sha256sum -c - 2025-09-10 00:04:07.410162 | debian-bookworm | 187 | >>> chmod +x "operator-sdk_${OS}_${ARCH}" 2025-09-10 00:04:07.410181 | debian-bookworm | 188 | >>> mv "operator-sdk_${OS}_${ARCH}" /usr/local/bin/operator-sdk 2025-09-10 00:04:07.410386 | debian-bookworm | 189 | >>> rm checksums.txt.asc 2025-09-10 00:04:07.410412 | debian-bookworm | 190 | >>> rm checksums.txt 2025-09-10 00:04:07.410444 | debian-bookworm | 191 | >>> 2025-09-10 00:04:07.410464 | debian-bookworm | 192 | >>> # install clusterctl 2025-09-10 00:04:07.410483 | 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-10 00:04:07.410502 | debian-bookworm | 194 | >>> chmod +x /usr/local/bin/clusterctl 2025-09-10 00:04:07.410520 | debian-bookworm | 195 | >>> 2025-09-10 00:04:07.410538 | debian-bookworm | 196 | >>> # install kubectl 2025-09-10 00:04:07.410557 | debian-bookworm | 197 | >>> curl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl 2025-09-10 00:04:07.410575 | debian-bookworm | 198 | >>> chmod +x /usr/local/bin/kubectl 2025-09-10 00:04:07.410594 | debian-bookworm | 199 | >>> 2025-09-10 00:04:07.410623 | debian-bookworm | 200 | >>> # prepare .kube directory 2025-09-10 00:04:07.410642 | debian-bookworm | 201 | >>> mkdir -p /ansible/.kube 2025-09-10 00:04:07.410660 | debian-bookworm | 202 | >>> ln -s /share/kubeconfig /ansible/.kube/config 2025-09-10 00:04:07.410726 | debian-bookworm | 203 | >>> chown -R dragon: /ansible/.kube 2025-09-10 00:04:07.410745 | debian-bookworm | 204 | >>> 2025-09-10 00:04:07.410764 | debian-bookworm | 205 | >>> # prepare .cache directory 2025-09-10 00:04:07.410805 | debian-bookworm | 206 | >>> mkdir -p /ansible/.cache 2025-09-10 00:04:07.410824 | debian-bookworm | 207 | >>> mv /root/.cache/helm /ansible/.cache 2025-09-10 00:04:07.410843 | debian-bookworm | 208 | >>> chown -R dragon: /ansible/.cache 2025-09-10 00:04:07.410883 | debian-bookworm | 209 | >>> 2025-09-10 00:04:07.410902 | debian-bookworm | 210 | >>> # prepare .local directory 2025-09-10 00:04:07.410921 | debian-bookworm | 211 | >>> mkdir -p /ansible/.local/share 2025-09-10 00:04:07.410960 | debian-bookworm | 212 | >>> mv /root/.local/share/helm /ansible/.local/share 2025-09-10 00:04:07.410979 | debian-bookworm | 213 | >>> chown -R dragon: /ansible/.local 2025-09-10 00:04:07.410997 | debian-bookworm | 214 | >>> 2025-09-10 00:04:07.411015 | debian-bookworm | 215 | >>> # add symlink to /etc/openstack 2025-09-10 00:04:07.411057 | debian-bookworm | 216 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-09-10 00:04:07.411076 | debian-bookworm | 217 | >>> 2025-09-10 00:04:07.411095 | debian-bookworm | 218 | >>> # copy ara configuration 2025-09-10 00:04:07.411136 | debian-bookworm | 219 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-09-10 00:04:07.411155 | debian-bookworm | 220 | >>> 2025-09-10 00:04:07.411174 | debian-bookworm | 221 | >>> # prepare list of playbooks 2025-09-10 00:04:07.411214 | debian-bookworm | 222 | >>> python3 /src/render-playbooks.py 2025-09-10 00:04:07.411233 | debian-bookworm | 223 | >>> 2025-09-10 00:04:07.411259 | debian-bookworm | 224 | >>> # set correct permssions 2025-09-10 00:04:07.411300 | debian-bookworm | 225 | >>> chown -R dragon: /ansible /share /interface 2025-09-10 00:04:07.411319 | debian-bookworm | 226 | >>> 2025-09-10 00:04:07.411338 | debian-bookworm | 227 | >>> # cleanup 2025-09-10 00:04:07.411378 | debian-bookworm | 228 | >>> apt-get clean 2025-09-10 00:04:07.411397 | debian-bookworm | 229 | >>> apt-get remove -y \ 2025-09-10 00:04:07.411415 | debian-bookworm | 230 | >>> build-essential \ 2025-09-10 00:04:07.411453 | debian-bookworm | 231 | >>> curl \ 2025-09-10 00:04:07.411473 | debian-bookworm | 232 | >>> git \ 2025-09-10 00:04:07.411491 | debian-bookworm | 233 | >>> gnupg \ 2025-09-10 00:04:07.411509 | debian-bookworm | 234 | >>> libffi-dev \ 2025-09-10 00:04:07.411549 | debian-bookworm | 235 | >>> libssh-dev \ 2025-09-10 00:04:07.411568 | debian-bookworm | 236 | >>> libssl-dev \ 2025-09-10 00:04:07.411587 | debian-bookworm | 237 | >>> libyaml-dev 2025-09-10 00:04:07.411627 | debian-bookworm | 238 | >>> apt-get autoremove -y 2025-09-10 00:04:07.411646 | debian-bookworm | 239 | >>> rm -rf \ 2025-09-10 00:04:07.411729 | debian-bookworm | 240 | >>> /root/.cache \ 2025-09-10 00:04:07.411753 | debian-bookworm | 241 | >>> /tmp/* \ 2025-09-10 00:04:07.411772 | debian-bookworm | 242 | >>> /usr/share/doc/* \ 2025-09-10 00:04:07.411823 | debian-bookworm | 243 | >>> /usr/share/man/* \ 2025-09-10 00:04:07.411842 | debian-bookworm | 244 | >>> /var/lib/apt/lists/* \ 2025-09-10 00:04:07.411860 | debian-bookworm | 245 | >>> /var/tmp/* \ 2025-09-10 00:04:07.411895 | debian-bookworm | 246 | >>> /patches 2025-09-10 00:04:07.411912 | debian-bookworm | 247 | >>> 2025-09-10 00:04:07.411928 | debian-bookworm | 248 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-09-10 00:04:07.411944 | debian-bookworm | 249 | >>> pyclean /usr 2025-09-10 00:04:07.411980 | debian-bookworm | 250 | >>> uv pip uninstall --system pyclean 2025-09-10 00:04:07.411997 | debian-bookworm | 251 | >>> EOF 2025-09-10 00:04:07.412013 | debian-bookworm | 252 | 2025-09-10 00:04:07.412027 | debian-bookworm | -------------------- 2025-09-10 00:04:07.412116 | 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-10 00:04:07.503747 | debian-bookworm | ERROR 2025-09-10 00:04:07.504274 | debian-bookworm | { 2025-09-10 00:04:07.504389 | debian-bookworm | "delta": "0:02:34.522472", 2025-09-10 00:04:07.504459 | debian-bookworm | "end": "2025-09-10 00:04:07.420409", 2025-09-10 00:04:07.504519 | debian-bookworm | "msg": "non-zero return code", 2025-09-10 00:04:07.504574 | debian-bookworm | "rc": 1, 2025-09-10 00:04:07.504627 | debian-bookworm | "start": "2025-09-10 00:01:32.897937" 2025-09-10 00:04:07.504687 | debian-bookworm | } failure 2025-09-10 00:04:07.530952 | 2025-09-10 00:04:07.531149 | PLAY RECAP 2025-09-10 00:04:07.531437 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 1 skipped: 0 rescued: 0 ignored: 0 2025-09-10 00:04:07.531496 | 2025-09-10 00:04:07.666487 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/osism-kubernetes/zuul-playbooks/build.yml@main] 2025-09-10 00:04:07.670008 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-10 00:04:08.393897 | 2025-09-10 00:04:08.394054 | PLAY [Base post] 2025-09-10 00:04:08.407903 | 2025-09-10 00:04:08.408030 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-09-10 00:04:09.225066 | debian-bookworm | changed 2025-09-10 00:04:09.234354 | 2025-09-10 00:04:09.234478 | PLAY RECAP 2025-09-10 00:04:09.234563 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-09-10 00:04:09.234644 | 2025-09-10 00:04:09.347605 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-10 00:04:09.350167 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-09-10 00:04:10.128139 | 2025-09-10 00:04:10.128347 | PLAY [Base post-logs] 2025-09-10 00:04:10.139552 | 2025-09-10 00:04:10.139694 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-09-10 00:04:10.612125 | localhost | changed 2025-09-10 00:04:10.622444 | 2025-09-10 00:04:10.622603 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-09-10 00:04:10.657992 | localhost | ok 2025-09-10 00:04:10.661282 | 2025-09-10 00:04:10.661387 | TASK [Set zuul-log-path fact] 2025-09-10 00:04:10.675881 | localhost | ok 2025-09-10 00:04:10.689119 | 2025-09-10 00:04:10.689389 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-10 00:04:10.727105 | localhost | ok 2025-09-10 00:04:10.730968 | 2025-09-10 00:04:10.731094 | TASK [upload-logs : Create log directories] 2025-09-10 00:04:11.254492 | localhost | changed 2025-09-10 00:04:11.257473 | 2025-09-10 00:04:11.257589 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-09-10 00:04:11.760926 | localhost -> localhost | ok: Runtime: 0:00:00.007182 2025-09-10 00:04:11.769814 | 2025-09-10 00:04:11.769989 | TASK [upload-logs : Upload logs to log server] 2025-09-10 00:04:12.314213 | localhost | Output suppressed because no_log was given 2025-09-10 00:04:12.316526 | 2025-09-10 00:04:12.316653 | LOOP [upload-logs : Compress console log and json output] 2025-09-10 00:04:12.376223 | localhost | skipping: Conditional result was False 2025-09-10 00:04:12.381726 | localhost | skipping: Conditional result was False 2025-09-10 00:04:12.388420 | 2025-09-10 00:04:12.388615 | LOOP [upload-logs : Upload compressed console log and json output] 2025-09-10 00:04:12.439655 | localhost | skipping: Conditional result was False 2025-09-10 00:04:12.440293 | 2025-09-10 00:04:12.444174 | localhost | skipping: Conditional result was False 2025-09-10 00:04:12.451597 | 2025-09-10 00:04:12.451819 | LOOP [upload-logs : Upload console log and json output]