2025-09-11 00:00:13.122899 | Job console starting 2025-09-11 00:00:13.129729 | Updating git repos 2025-09-11 00:00:13.156038 | Cloning repos into workspace 2025-09-11 00:00:13.298131 | Restoring repo states 2025-09-11 00:00:13.308309 | Merging changes 2025-09-11 00:00:13.308325 | Checking out repos 2025-09-11 00:00:14.465188 | Preparing playbooks 2025-09-11 00:00:16.255696 | Running Ansible setup 2025-09-11 00:00:23.531691 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-09-11 00:00:24.836606 | 2025-09-11 00:00:24.836715 | PLAY [Base pre] 2025-09-11 00:00:24.860258 | 2025-09-11 00:00:24.860360 | TASK [Setup log path fact] 2025-09-11 00:00:24.886738 | debian-bookworm | ok 2025-09-11 00:00:24.912515 | 2025-09-11 00:00:24.912635 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-11 00:00:24.960641 | debian-bookworm | ok 2025-09-11 00:00:24.974070 | 2025-09-11 00:00:24.974163 | TASK [emit-job-header : Print job information] 2025-09-11 00:00:25.069115 | # Job Information 2025-09-11 00:00:25.069247 | Ansible Version: 2.16.14 2025-09-11 00:00:25.069276 | Job: osism-kubernetes-push 2025-09-11 00:00:25.069303 | Pipeline: periodic-midnight 2025-09-11 00:00:25.069322 | Executor: 521e9411259a 2025-09-11 00:00:25.069339 | Triggered by: https://github.com/osism/osism-kubernetes 2025-09-11 00:00:25.069357 | Event ID: b2c432c5833542bf9dca0112699e3dbe 2025-09-11 00:00:25.073268 | 2025-09-11 00:00:25.073342 | LOOP [emit-job-header : Print node information] 2025-09-11 00:00:25.377871 | debian-bookworm | ok: 2025-09-11 00:00:25.378005 | debian-bookworm | # Node Information 2025-09-11 00:00:25.378032 | debian-bookworm | Inventory Hostname: debian-bookworm 2025-09-11 00:00:25.378053 | debian-bookworm | Hostname: debian 2025-09-11 00:00:25.378071 | debian-bookworm | Username: zuul 2025-09-11 00:00:25.378088 | debian-bookworm | Distro: Debian 12.12 2025-09-11 00:00:25.378109 | debian-bookworm | Provider: regiocloud-a 2025-09-11 00:00:25.378126 | debian-bookworm | Region: 2025-09-11 00:00:25.378144 | debian-bookworm | Label: debian-bookworm 2025-09-11 00:00:25.378161 | debian-bookworm | Product Name: OpenStack Nova 2025-09-11 00:00:25.378177 | debian-bookworm | Interface IP: 2a13:1a81:8000:3124:f816:3eff:fe08:eee4 2025-09-11 00:00:25.389152 | 2025-09-11 00:00:25.389248 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-09-11 00:00:26.432983 | debian-bookworm -> localhost | changed 2025-09-11 00:00:26.438555 | 2025-09-11 00:00:26.438637 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-09-11 00:00:28.560311 | debian-bookworm -> localhost | changed 2025-09-11 00:00:28.571135 | 2025-09-11 00:00:28.571226 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-09-11 00:00:29.096457 | debian-bookworm -> localhost | ok 2025-09-11 00:00:29.101505 | 2025-09-11 00:00:29.101595 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-09-11 00:00:29.179165 | debian-bookworm | ok 2025-09-11 00:00:29.247444 | debian-bookworm | included: /var/lib/zuul/builds/a010726b6ca3408f9a310a3451b3d7bd/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-09-11 00:00:29.258529 | 2025-09-11 00:00:29.258620 | TASK [add-build-sshkey : Create Temp SSH key] 2025-09-11 00:00:31.293545 | debian-bookworm -> localhost | Generating public/private rsa key pair. 2025-09-11 00:00:31.293704 | debian-bookworm -> localhost | Your identification has been saved in /var/lib/zuul/builds/a010726b6ca3408f9a310a3451b3d7bd/work/a010726b6ca3408f9a310a3451b3d7bd_id_rsa 2025-09-11 00:00:31.293735 | debian-bookworm -> localhost | Your public key has been saved in /var/lib/zuul/builds/a010726b6ca3408f9a310a3451b3d7bd/work/a010726b6ca3408f9a310a3451b3d7bd_id_rsa.pub 2025-09-11 00:00:31.293757 | debian-bookworm -> localhost | The key fingerprint is: 2025-09-11 00:00:31.293776 | debian-bookworm -> localhost | SHA256:hyrwNK8yfpOPX1fL8RCpxq1fFTFfuLW531rG9gLHfGc zuul-build-sshkey 2025-09-11 00:00:31.293794 | debian-bookworm -> localhost | The key's randomart image is: 2025-09-11 00:00:31.293819 | debian-bookworm -> localhost | +---[RSA 3072]----+ 2025-09-11 00:00:31.293837 | debian-bookworm -> localhost | | +.| 2025-09-11 00:00:31.293855 | debian-bookworm -> localhost | | .. *| 2025-09-11 00:00:31.293871 | debian-bookworm -> localhost | | o ++| 2025-09-11 00:00:31.293887 | debian-bookworm -> localhost | | o o ..o.| 2025-09-11 00:00:31.293903 | debian-bookworm -> localhost | | . o S = =o o| 2025-09-11 00:00:31.293923 | debian-bookworm -> localhost | | + o . o +.=++E| 2025-09-11 00:00:31.293940 | debian-bookworm -> localhost | | o.o . o ooooO| 2025-09-11 00:00:31.293956 | debian-bookworm -> localhost | | o ++ . . . ..++| 2025-09-11 00:00:31.293973 | debian-bookworm -> localhost | | ..+o+o . .o.| 2025-09-11 00:00:31.293989 | debian-bookworm -> localhost | +----[SHA256]-----+ 2025-09-11 00:00:31.294029 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.925814 2025-09-11 00:00:31.299312 | 2025-09-11 00:00:31.299413 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-09-11 00:00:31.347051 | debian-bookworm | ok 2025-09-11 00:00:31.359872 | debian-bookworm | included: /var/lib/zuul/builds/a010726b6ca3408f9a310a3451b3d7bd/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-09-11 00:00:31.376851 | 2025-09-11 00:00:31.376943 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-09-11 00:00:31.412908 | debian-bookworm | skipping: Conditional result was False 2025-09-11 00:00:31.417855 | 2025-09-11 00:00:31.417945 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-09-11 00:00:32.292617 | debian-bookworm | changed 2025-09-11 00:00:32.296921 | 2025-09-11 00:00:32.297003 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-09-11 00:00:32.590493 | debian-bookworm | ok 2025-09-11 00:00:32.594903 | 2025-09-11 00:00:32.594981 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-09-11 00:00:33.275337 | debian-bookworm | changed 2025-09-11 00:00:33.280822 | 2025-09-11 00:00:33.280906 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-09-11 00:00:33.955717 | debian-bookworm | changed 2025-09-11 00:00:33.960215 | 2025-09-11 00:00:33.960298 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-09-11 00:00:33.990665 | debian-bookworm | skipping: Conditional result was False 2025-09-11 00:00:33.996226 | 2025-09-11 00:00:33.996314 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-09-11 00:00:34.645235 | debian-bookworm -> localhost | changed 2025-09-11 00:00:34.653892 | 2025-09-11 00:00:34.653984 | TASK [add-build-sshkey : Add back temp key] 2025-09-11 00:00:35.117279 | debian-bookworm -> localhost | Identity added: /var/lib/zuul/builds/a010726b6ca3408f9a310a3451b3d7bd/work/a010726b6ca3408f9a310a3451b3d7bd_id_rsa (zuul-build-sshkey) 2025-09-11 00:00:35.117518 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.035779 2025-09-11 00:00:35.127827 | 2025-09-11 00:00:35.127928 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-09-11 00:00:35.673583 | debian-bookworm | ok 2025-09-11 00:00:35.682291 | 2025-09-11 00:00:35.682407 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-09-11 00:00:35.756163 | debian-bookworm | skipping: Conditional result was False 2025-09-11 00:00:35.769296 | 2025-09-11 00:00:35.770447 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-09-11 00:00:36.172263 | debian-bookworm | ok 2025-09-11 00:00:36.182739 | 2025-09-11 00:00:36.182851 | TASK [validate-host : Define zuul_info_dir fact] 2025-09-11 00:00:36.210291 | debian-bookworm | ok 2025-09-11 00:00:36.215140 | 2025-09-11 00:00:36.215228 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-09-11 00:00:36.929872 | debian-bookworm -> localhost | ok 2025-09-11 00:00:36.936107 | 2025-09-11 00:00:36.936204 | TASK [validate-host : Collect information about the host] 2025-09-11 00:00:38.097604 | debian-bookworm | ok 2025-09-11 00:00:38.128980 | 2025-09-11 00:00:38.129089 | TASK [validate-host : Sanitize hostname] 2025-09-11 00:00:38.330727 | debian-bookworm | ok 2025-09-11 00:00:38.427433 | 2025-09-11 00:00:38.427547 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-09-11 00:00:39.705970 | debian-bookworm -> localhost | changed 2025-09-11 00:00:39.710608 | 2025-09-11 00:00:39.710689 | TASK [validate-host : Collect information about zuul worker] 2025-09-11 00:00:40.251667 | debian-bookworm | ok 2025-09-11 00:00:40.255476 | 2025-09-11 00:00:40.255554 | TASK [validate-host : Write out all zuul information for each host] 2025-09-11 00:00:40.919288 | debian-bookworm -> localhost | changed 2025-09-11 00:00:40.938106 | 2025-09-11 00:00:40.938203 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-09-11 00:00:41.203303 | debian-bookworm | ok 2025-09-11 00:00:41.207682 | 2025-09-11 00:00:41.207767 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-09-11 00:00:42.388750 | debian-bookworm | changed: 2025-09-11 00:00:42.388904 | debian-bookworm | cd+++++++++ src/ 2025-09-11 00:00:42.388932 | debian-bookworm | cd+++++++++ src/github.com/ 2025-09-11 00:00:42.388951 | debian-bookworm | cd+++++++++ src/github.com/osism/ 2025-09-11 00:00:42.388968 | debian-bookworm | cd+++++++++ src/github.com/osism/osism-kubernetes/ 2025-09-11 00:00:42.388985 | debian-bookworm | Containerfile 2025-09-11 00:00:42.389107 | 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-11 00:04:06.339195 | debian-bookworm | ------ 2025-09-11 00:04:06.339311 | debian-bookworm | > [builder 14/14] RUN <>> RUN <>> set -e 2025-09-11 00:04:06.344045 | debian-bookworm | 35 | >>> set -x 2025-09-11 00:04:06.344051 | debian-bookworm | 36 | >>> 2025-09-11 00:04:06.344058 | debian-bookworm | 37 | >>> HUBBLE_VERSION=v1.17.5 2025-09-11 00:04:06.344065 | debian-bookworm | 38 | >>> CAPI_VERSION=1.10.3 2025-09-11 00:04:06.344073 | debian-bookworm | 39 | >>> CILIUM_CLI_VERSION=v0.18.5 2025-09-11 00:04:06.344081 | debian-bookworm | 40 | >>> FLUX_VERSION=v2.6.3 2025-09-11 00:04:06.344088 | debian-bookworm | 41 | >>> KUBECTL_VERSION=1.33.2 2025-09-11 00:04:06.344095 | debian-bookworm | 42 | >>> OPERATOR_SDK_VERSION=v1.40.0 2025-09-11 00:04:06.344103 | debian-bookworm | 43 | >>> 2025-09-11 00:04:06.344109 | debian-bookworm | 44 | >>> # shellcheck disable=SC2046 2025-09-11 00:04:06.344117 | debian-bookworm | 45 | >>> ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) 2025-09-11 00:04:06.344124 | debian-bookworm | 46 | >>> 2025-09-11 00:04:06.344131 | debian-bookworm | 47 | >>> # show motd 2025-09-11 00:04:06.344138 | debian-bookworm | 48 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-09-11 00:04:06.344145 | debian-bookworm | 49 | >>> 2025-09-11 00:04:06.344152 | debian-bookworm | 50 | >>> # install required packages 2025-09-11 00:04:06.344162 | debian-bookworm | 51 | >>> apt-get update 2025-09-11 00:04:06.344175 | debian-bookworm | 52 | >>> apt-get install --no-install-recommends -y \ 2025-09-11 00:04:06.344186 | debian-bookworm | 53 | >>> build-essential \ 2025-09-11 00:04:06.344198 | debian-bookworm | 54 | >>> curl \ 2025-09-11 00:04:06.344210 | debian-bookworm | 55 | >>> dumb-init \ 2025-09-11 00:04:06.344223 | debian-bookworm | 56 | >>> git \ 2025-09-11 00:04:06.344234 | debian-bookworm | 57 | >>> gnupg \ 2025-09-11 00:04:06.344245 | debian-bookworm | 58 | >>> gnupg-agent \ 2025-09-11 00:04:06.344252 | debian-bookworm | 59 | >>> iputils-ping \ 2025-09-11 00:04:06.344258 | debian-bookworm | 60 | >>> jq \ 2025-09-11 00:04:06.344266 | debian-bookworm | 61 | >>> libffi-dev \ 2025-09-11 00:04:06.344272 | debian-bookworm | 62 | >>> libssh-dev \ 2025-09-11 00:04:06.344281 | debian-bookworm | 63 | >>> libssl-dev \ 2025-09-11 00:04:06.344293 | debian-bookworm | 64 | >>> libyaml-dev \ 2025-09-11 00:04:06.344305 | debian-bookworm | 65 | >>> openssh-client \ 2025-09-11 00:04:06.344335 | debian-bookworm | 66 | >>> procps \ 2025-09-11 00:04:06.344348 | debian-bookworm | 67 | >>> rsync \ 2025-09-11 00:04:06.344380 | debian-bookworm | 68 | >>> sshpass 2025-09-11 00:04:06.344394 | debian-bookworm | 69 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-09-11 00:04:06.344406 | debian-bookworm | 70 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-09-11 00:04:06.344417 | debian-bookworm | 71 | >>> 2025-09-11 00:04:06.344429 | debian-bookworm | 72 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-09-11 00:04:06.344441 | debian-bookworm | 73 | >>> 2025-09-11 00:04:06.344453 | debian-bookworm | 74 | >>> # add user 2025-09-11 00:04:06.344464 | debian-bookworm | 75 | >>> groupadd -g "$GROUP_ID" dragon 2025-09-11 00:04:06.344476 | debian-bookworm | 76 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-09-11 00:04:06.344483 | debian-bookworm | 77 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-09-11 00:04:06.344490 | debian-bookworm | 78 | >>> 2025-09-11 00:04:06.344497 | debian-bookworm | 79 | >>> # prepare release repository 2025-09-11 00:04:06.344503 | debian-bookworm | 80 | >>> git clone https://github.com/osism/release /release 2025-09-11 00:04:06.344510 | debian-bookworm | 81 | >>> 2025-09-11 00:04:06.344517 | debian-bookworm | 82 | >>> # prepare project repository 2025-09-11 00:04:06.344524 | debian-bookworm | 83 | >>> git clone https://github.com/osism/defaults /defaults 2025-09-11 00:04:06.344575 | debian-bookworm | 84 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-09-11 00:04:06.344582 | debian-bookworm | 85 | >>> 2025-09-11 00:04:06.344589 | debian-bookworm | 86 | >>> if [ "$VERSION" != "latest" ]; then 2025-09-11 00:04:06.344596 | debian-bookworm | 87 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-kubernetes-$VERSION" ) 2025-09-11 00:04:06.344608 | debian-bookworm | 88 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-09-11 00:04:06.344621 | debian-bookworm | 89 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-09-11 00:04:06.344634 | debian-bookworm | 90 | >>> fi 2025-09-11 00:04:06.344647 | debian-bookworm | 91 | >>> 2025-09-11 00:04:06.344659 | debian-bookworm | 92 | >>> # add inventory files 2025-09-11 00:04:06.344672 | debian-bookworm | 93 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-09-11 00:04:06.344685 | debian-bookworm | 94 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-09-11 00:04:06.344697 | debian-bookworm | 95 | >>> 2025-09-11 00:04:06.344711 | debian-bookworm | 96 | >>> # run preparations 2025-09-11 00:04:06.344723 | debian-bookworm | 97 | >>> mkdir -p /ansible/group_vars/all/ 2025-09-11 00:04:06.344735 | debian-bookworm | 98 | >>> 2025-09-11 00:04:06.344747 | debian-bookworm | 99 | >>> python3 /src/render-python-requirements.py 2025-09-11 00:04:06.344759 | debian-bookworm | 100 | >>> python3 /src/render-versions.py 2025-09-11 00:04:06.344771 | debian-bookworm | 101 | >>> 2025-09-11 00:04:06.344782 | debian-bookworm | 102 | >>> # install required python packages 2025-09-11 00:04:06.344793 | debian-bookworm | 103 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-09-11 00:04:06.344804 | debian-bookworm | 104 | >>> 2025-09-11 00:04:06.344849 | debian-bookworm | 105 | >>> # set ansible version in the motd 2025-09-11 00:04:06.344870 | debian-bookworm | 106 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-09-11 00:04:06.344881 | debian-bookworm | 107 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-09-11 00:04:06.344892 | debian-bookworm | 108 | >>> 2025-09-11 00:04:06.344903 | debian-bookworm | 109 | >>> # create required directories 2025-09-11 00:04:06.344914 | debian-bookworm | 110 | >>> mkdir -p \ 2025-09-11 00:04:06.344925 | debian-bookworm | 111 | >>> /ansible \ 2025-09-11 00:04:06.344937 | debian-bookworm | 112 | >>> /ansible/roles \ 2025-09-11 00:04:06.344948 | debian-bookworm | 113 | >>> /ansible/action_plugins \ 2025-09-11 00:04:06.344960 | debian-bookworm | 114 | >>> /ansible/cache \ 2025-09-11 00:04:06.344971 | debian-bookworm | 115 | >>> /ansible/logs \ 2025-09-11 00:04:06.344982 | debian-bookworm | 116 | >>> /ansible/secrets \ 2025-09-11 00:04:06.344993 | debian-bookworm | 117 | >>> /interface \ 2025-09-11 00:04:06.345005 | debian-bookworm | 118 | >>> /share 2025-09-11 00:04:06.345016 | debian-bookworm | 119 | >>> 2025-09-11 00:04:06.345027 | debian-bookworm | 120 | >>> # install required ansible collections & roles 2025-09-11 00:04:06.345039 | debian-bookworm | 121 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-09-11 00:04:06.345051 | debian-bookworm | 122 | >>> 2025-09-11 00:04:06.345062 | debian-bookworm | 123 | >>> # add k3s-ansible roles 2025-09-11 00:04:06.345083 | debian-bookworm | 124 | >>> git clone https://github.com/osism/k3s-ansible /k3s-ansible 2025-09-11 00:04:06.345094 | debian-bookworm | 125 | >>> mv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles 2025-09-11 00:04:06.345106 | debian-bookworm | 126 | >>> mv /k3s-ansible/roles/download /ansible/roles/k3s_download 2025-09-11 00:04:06.345117 | debian-bookworm | 127 | >>> mv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq 2025-09-11 00:04:06.345129 | debian-bookworm | 128 | >>> mv /k3s-ansible/roles/reset /ansible/roles/k3s_reset 2025-09-11 00:04:06.345140 | debian-bookworm | 129 | >>> rm -rf /k3s-ansible 2025-09-11 00:04:06.345152 | debian-bookworm | 130 | >>> 2025-09-11 00:04:06.345163 | debian-bookworm | 131 | >>> # apply patches 2025-09-11 00:04:06.345174 | debian-bookworm | 132 | >>> for role in /ansible/roles/*; do 2025-09-11 00:04:06.345186 | debian-bookworm | 133 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-09-11 00:04:06.345197 | debian-bookworm | 134 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-09-11 00:04:06.345208 | debian-bookworm | 135 | >>> echo "$patchfile"; 2025-09-11 00:04:06.345220 | debian-bookworm | 136 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-09-11 00:04:06.345232 | debian-bookworm | 137 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-09-11 00:04:06.345244 | debian-bookworm | 138 | >>> done; 2025-09-11 00:04:06.345255 | debian-bookworm | 139 | >>> fi; 2025-09-11 00:04:06.345266 | debian-bookworm | 140 | >>> done 2025-09-11 00:04:06.345278 | debian-bookworm | 141 | >>> 2025-09-11 00:04:06.345291 | debian-bookworm | 142 | >>> # install mitogen ansible plugin 2025-09-11 00:04:06.345303 | debian-bookworm | 143 | >>> mkdir -p /usr/share/mitogen 2025-09-11 00:04:06.345314 | debian-bookworm | 144 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-09-11 00:04:06.345325 | debian-bookworm | 145 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-09-11 00:04:06.345336 | debian-bookworm | 146 | >>> rm /mitogen.tar.gz 2025-09-11 00:04:06.345346 | debian-bookworm | 147 | >>> 2025-09-11 00:04:06.345357 | debian-bookworm | 148 | >>> # install helm 2025-09-11 00:04:06.345369 | debian-bookworm | 149 | >>> curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null 2025-09-11 00:04:06.345389 | 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-11 00:04:06.345401 | debian-bookworm | 151 | >>> apt-get update 2025-09-11 00:04:06.345412 | debian-bookworm | 152 | >>> apt-get install --no-install-recommends -y \ 2025-09-11 00:04:06.345423 | debian-bookworm | 153 | >>> helm 2025-09-11 00:04:06.345433 | debian-bookworm | 154 | >>> 2025-09-11 00:04:06.345445 | debian-bookworm | 155 | >>> # install helm plugins 2025-09-11 00:04:06.345457 | debian-bookworm | 156 | >>> helm plugin install https://github.com/databus23/helm-diff 2025-09-11 00:04:06.345468 | debian-bookworm | 157 | >>> 2025-09-11 00:04:06.345480 | debian-bookworm | 158 | >>> # install cilium cli 2025-09-11 00:04:06.345492 | 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-11 00:04:06.345503 | debian-bookworm | 160 | >>> sha256sum --check "cilium-linux-${ARCH}.tar.gz.sha256sum" 2025-09-11 00:04:06.345515 | debian-bookworm | 161 | >>> tar xzvfC "cilium-linux-${ARCH}.tar.gz" /usr/local/bin 2025-09-11 00:04:06.345541 | debian-bookworm | 162 | >>> rm cilium-linux-"${ARCH}".tar.gz{,.sha256sum} 2025-09-11 00:04:06.345553 | debian-bookworm | 163 | >>> 2025-09-11 00:04:06.345564 | debian-bookworm | 164 | >>> # install hubble cli 2025-09-11 00:04:06.345575 | debian-bookworm | 165 | >>> HUBBLE_ARCH=amd64 2025-09-11 00:04:06.345587 | 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-11 00:04:06.345598 | debian-bookworm | 167 | >>> sha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum 2025-09-11 00:04:06.345610 | debian-bookworm | 168 | >>> tar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin 2025-09-11 00:04:06.345621 | debian-bookworm | 169 | >>> rm hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-09-11 00:04:06.345632 | debian-bookworm | 170 | >>> 2025-09-11 00:04:06.345643 | debian-bookworm | 171 | >>> # install flux cli 2025-09-11 00:04:06.345663 | debian-bookworm | 172 | >>> CLEAN_FLUX_VERSION=$(echo "$FLUX_VERSION" | sed 's/^v//') 2025-09-11 00:04:06.345674 | 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-11 00:04:06.345685 | debian-bookworm | 174 | >>> tar -xzf flux.tar.gz -C /usr/local/bin flux 2025-09-11 00:04:06.345696 | debian-bookworm | 175 | >>> rm flux.tar.gz 2025-09-11 00:04:06.345708 | debian-bookworm | 176 | >>> 2025-09-11 00:04:06.345719 | debian-bookworm | 177 | >>> # install operator-sdk 2025-09-11 00:04:06.345731 | debian-bookworm | 178 | >>> OS=$(uname | awk '{print tolower($0)}') 2025-09-11 00:04:06.345742 | debian-bookworm | 179 | >>> OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION} 2025-09-11 00:04:06.345753 | debian-bookworm | 180 | >>> 2025-09-11 00:04:06.345765 | debian-bookworm | 181 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}" 2025-09-11 00:04:06.345777 | debian-bookworm | 182 | >>> gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E 2025-09-11 00:04:06.345788 | debian-bookworm | 183 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt" 2025-09-11 00:04:06.345798 | debian-bookworm | 184 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt.asc" 2025-09-11 00:04:06.345811 | debian-bookworm | 185 | >>> gpg -u "Operator SDK (release) " --verify checksums.txt.asc 2025-09-11 00:04:06.345822 | debian-bookworm | 186 | >>> grep "operator-sdk_${OS}_${ARCH}" checksums.txt | sha256sum -c - 2025-09-11 00:04:06.345834 | debian-bookworm | 187 | >>> chmod +x "operator-sdk_${OS}_${ARCH}" 2025-09-11 00:04:06.345845 | debian-bookworm | 188 | >>> mv "operator-sdk_${OS}_${ARCH}" /usr/local/bin/operator-sdk 2025-09-11 00:04:06.345857 | debian-bookworm | 189 | >>> rm checksums.txt.asc 2025-09-11 00:04:06.345868 | debian-bookworm | 190 | >>> rm checksums.txt 2025-09-11 00:04:06.345879 | debian-bookworm | 191 | >>> 2025-09-11 00:04:06.345890 | debian-bookworm | 192 | >>> # install clusterctl 2025-09-11 00:04:06.345901 | 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-11 00:04:06.345913 | debian-bookworm | 194 | >>> chmod +x /usr/local/bin/clusterctl 2025-09-11 00:04:06.345923 | debian-bookworm | 195 | >>> 2025-09-11 00:04:06.345934 | debian-bookworm | 196 | >>> # install kubectl 2025-09-11 00:04:06.345945 | debian-bookworm | 197 | >>> curl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl 2025-09-11 00:04:06.345956 | debian-bookworm | 198 | >>> chmod +x /usr/local/bin/kubectl 2025-09-11 00:04:06.345968 | debian-bookworm | 199 | >>> 2025-09-11 00:04:06.345979 | debian-bookworm | 200 | >>> # prepare .kube directory 2025-09-11 00:04:06.345990 | debian-bookworm | 201 | >>> mkdir -p /ansible/.kube 2025-09-11 00:04:06.345999 | debian-bookworm | 202 | >>> ln -s /share/kubeconfig /ansible/.kube/config 2025-09-11 00:04:06.346005 | debian-bookworm | 203 | >>> chown -R dragon: /ansible/.kube 2025-09-11 00:04:06.346012 | debian-bookworm | 204 | >>> 2025-09-11 00:04:06.346018 | debian-bookworm | 205 | >>> # prepare .cache directory 2025-09-11 00:04:06.346025 | debian-bookworm | 206 | >>> mkdir -p /ansible/.cache 2025-09-11 00:04:06.346031 | debian-bookworm | 207 | >>> mv /root/.cache/helm /ansible/.cache 2025-09-11 00:04:06.346037 | debian-bookworm | 208 | >>> chown -R dragon: /ansible/.cache 2025-09-11 00:04:06.346044 | debian-bookworm | 209 | >>> 2025-09-11 00:04:06.346050 | debian-bookworm | 210 | >>> # prepare .local directory 2025-09-11 00:04:06.346056 | debian-bookworm | 211 | >>> mkdir -p /ansible/.local/share 2025-09-11 00:04:06.346063 | debian-bookworm | 212 | >>> mv /root/.local/share/helm /ansible/.local/share 2025-09-11 00:04:06.346069 | debian-bookworm | 213 | >>> chown -R dragon: /ansible/.local 2025-09-11 00:04:06.346076 | debian-bookworm | 214 | >>> 2025-09-11 00:04:06.346082 | debian-bookworm | 215 | >>> # add symlink to /etc/openstack 2025-09-11 00:04:06.346088 | debian-bookworm | 216 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-09-11 00:04:06.346095 | debian-bookworm | 217 | >>> 2025-09-11 00:04:06.346101 | debian-bookworm | 218 | >>> # copy ara configuration 2025-09-11 00:04:06.346107 | debian-bookworm | 219 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-09-11 00:04:06.346114 | debian-bookworm | 220 | >>> 2025-09-11 00:04:06.346120 | debian-bookworm | 221 | >>> # prepare list of playbooks 2025-09-11 00:04:06.346126 | debian-bookworm | 222 | >>> python3 /src/render-playbooks.py 2025-09-11 00:04:06.346132 | debian-bookworm | 223 | >>> 2025-09-11 00:04:06.346139 | debian-bookworm | 224 | >>> # set correct permssions 2025-09-11 00:04:06.346145 | debian-bookworm | 225 | >>> chown -R dragon: /ansible /share /interface 2025-09-11 00:04:06.346157 | debian-bookworm | 226 | >>> 2025-09-11 00:04:06.346164 | debian-bookworm | 227 | >>> # cleanup 2025-09-11 00:04:06.346170 | debian-bookworm | 228 | >>> apt-get clean 2025-09-11 00:04:06.346177 | debian-bookworm | 229 | >>> apt-get remove -y \ 2025-09-11 00:04:06.346189 | debian-bookworm | 230 | >>> build-essential \ 2025-09-11 00:04:06.346200 | debian-bookworm | 231 | >>> curl \ 2025-09-11 00:04:06.346211 | debian-bookworm | 232 | >>> git \ 2025-09-11 00:04:06.346222 | debian-bookworm | 233 | >>> gnupg \ 2025-09-11 00:04:06.346233 | debian-bookworm | 234 | >>> libffi-dev \ 2025-09-11 00:04:06.346244 | debian-bookworm | 235 | >>> libssh-dev \ 2025-09-11 00:04:06.346256 | debian-bookworm | 236 | >>> libssl-dev \ 2025-09-11 00:04:06.346266 | debian-bookworm | 237 | >>> libyaml-dev 2025-09-11 00:04:06.346277 | debian-bookworm | 238 | >>> apt-get autoremove -y 2025-09-11 00:04:06.346288 | debian-bookworm | 239 | >>> rm -rf \ 2025-09-11 00:04:06.346298 | debian-bookworm | 240 | >>> /root/.cache \ 2025-09-11 00:04:06.346309 | debian-bookworm | 241 | >>> /tmp/* \ 2025-09-11 00:04:06.346329 | debian-bookworm | 242 | >>> /usr/share/doc/* \ 2025-09-11 00:04:06.346340 | debian-bookworm | 243 | >>> /usr/share/man/* \ 2025-09-11 00:04:06.346351 | debian-bookworm | 244 | >>> /var/lib/apt/lists/* \ 2025-09-11 00:04:06.346358 | debian-bookworm | 245 | >>> /var/tmp/* \ 2025-09-11 00:04:06.346364 | debian-bookworm | 246 | >>> /patches 2025-09-11 00:04:06.346371 | debian-bookworm | 247 | >>> 2025-09-11 00:04:06.346377 | debian-bookworm | 248 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-09-11 00:04:06.346383 | debian-bookworm | 249 | >>> pyclean /usr 2025-09-11 00:04:06.346390 | debian-bookworm | 250 | >>> uv pip uninstall --system pyclean 2025-09-11 00:04:06.346396 | debian-bookworm | 251 | >>> EOF 2025-09-11 00:04:06.346402 | debian-bookworm | 252 | 2025-09-11 00:04:06.346409 | debian-bookworm | -------------------- 2025-09-11 00:04:06.346586 | 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-11 00:04:06.633984 | debian-bookworm | ERROR 2025-09-11 00:04:06.634431 | debian-bookworm | { 2025-09-11 00:04:06.634541 | debian-bookworm | "delta": "0:02:34.427004", 2025-09-11 00:04:06.634634 | debian-bookworm | "end": "2025-09-11 00:04:06.356920", 2025-09-11 00:04:06.634693 | debian-bookworm | "msg": "non-zero return code", 2025-09-11 00:04:06.634743 | debian-bookworm | "rc": 1, 2025-09-11 00:04:06.634790 | debian-bookworm | "start": "2025-09-11 00:01:31.929916" 2025-09-11 00:04:06.634909 | debian-bookworm | } failure 2025-09-11 00:04:06.659905 | 2025-09-11 00:04:06.660026 | PLAY RECAP 2025-09-11 00:04:06.660088 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 1 skipped: 0 rescued: 0 ignored: 0 2025-09-11 00:04:06.660126 | 2025-09-11 00:04:06.806554 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/osism-kubernetes/zuul-playbooks/build.yml@main] 2025-09-11 00:04:06.807640 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-11 00:04:07.562969 | 2025-09-11 00:04:07.563129 | PLAY [Base post] 2025-09-11 00:04:07.576985 | 2025-09-11 00:04:07.577123 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-09-11 00:04:08.378011 | debian-bookworm | changed 2025-09-11 00:04:08.385557 | 2025-09-11 00:04:08.385668 | PLAY RECAP 2025-09-11 00:04:08.385728 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-09-11 00:04:08.385791 | 2025-09-11 00:04:08.514073 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-11 00:04:08.515129 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-09-11 00:04:09.389652 | 2025-09-11 00:04:09.389820 | PLAY [Base post-logs] 2025-09-11 00:04:09.406948 | 2025-09-11 00:04:09.407256 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-09-11 00:04:09.856386 | localhost | changed 2025-09-11 00:04:09.870086 | 2025-09-11 00:04:09.870378 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-09-11 00:04:09.907476 | localhost | ok 2025-09-11 00:04:09.913355 | 2025-09-11 00:04:09.913511 | TASK [Set zuul-log-path fact] 2025-09-11 00:04:09.930549 | localhost | ok 2025-09-11 00:04:09.942824 | 2025-09-11 00:04:09.942972 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-11 00:04:09.968553 | localhost | ok 2025-09-11 00:04:09.973592 | 2025-09-11 00:04:09.973729 | TASK [upload-logs : Create log directories] 2025-09-11 00:04:10.577251 | localhost | changed 2025-09-11 00:04:10.580594 | 2025-09-11 00:04:10.580707 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-09-11 00:04:11.106321 | localhost -> localhost | ok: Runtime: 0:00:00.007000 2025-09-11 00:04:11.114979 | 2025-09-11 00:04:11.115146 | TASK [upload-logs : Upload logs to log server] 2025-09-11 00:04:11.707728 | localhost | Output suppressed because no_log was given 2025-09-11 00:04:11.711943 | 2025-09-11 00:04:11.712159 | LOOP [upload-logs : Compress console log and json output] 2025-09-11 00:04:11.767033 | localhost | skipping: Conditional result was False 2025-09-11 00:04:11.775430 | localhost | skipping: Conditional result was False 2025-09-11 00:04:11.785120 | 2025-09-11 00:04:11.785433 | LOOP [upload-logs : Upload compressed console log and json output] 2025-09-11 00:04:11.833228 | localhost | skipping: Conditional result was False 2025-09-11 00:04:11.833558 | 2025-09-11 00:04:11.840596 | localhost | skipping: Conditional result was False 2025-09-11 00:04:11.847864 | 2025-09-11 00:04:11.848053 | LOOP [upload-logs : Upload console log and json output]