2025-04-15 15:20:17.024714 | Job console starting... 2025-04-15 15:20:17.044780 | Updating repositories 2025-04-15 15:20:17.063745 | Preparing job workspace 2025-04-15 15:20:20.509703 | Running Ansible setup... 2025-04-15 15:20:25.830109 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-04-15 15:20:26.571941 | 2025-04-15 15:20:26.572106 | PLAY [Base pre] 2025-04-15 15:20:26.601243 | 2025-04-15 15:20:26.601393 | TASK [Setup log path fact] 2025-04-15 15:20:26.632664 | ubuntu-noble | ok 2025-04-15 15:20:26.651788 | 2025-04-15 15:20:26.651932 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-15 15:20:26.682894 | ubuntu-noble | ok 2025-04-15 15:20:26.696511 | 2025-04-15 15:20:26.696646 | TASK [emit-job-header : Print job information] 2025-04-15 15:20:26.749283 | # Job Information 2025-04-15 15:20:26.749491 | Ansible Version: 2.15.3 2025-04-15 15:20:26.749525 | Job: osism-kubernetes-build 2025-04-15 15:20:26.749557 | Pipeline: check 2025-04-15 15:20:26.749578 | Executor: 7d211f194f6a 2025-04-15 15:20:26.749597 | Triggered by: https://github.com/osism/osism-kubernetes/pull/160 2025-04-15 15:20:26.749616 | Event ID: 0b810ff0-1a0d-11f0-9caa-aed1c588583e 2025-04-15 15:20:26.764337 | 2025-04-15 15:20:26.764584 | LOOP [emit-job-header : Print node information] 2025-04-15 15:20:26.910407 | ubuntu-noble | ok: 2025-04-15 15:20:26.910609 | ubuntu-noble | # Node Information 2025-04-15 15:20:26.910644 | ubuntu-noble | Inventory Hostname: ubuntu-noble 2025-04-15 15:20:26.910667 | ubuntu-noble | Hostname: ubuntu 2025-04-15 15:20:26.910690 | ubuntu-noble | Username: zuul 2025-04-15 15:20:26.910710 | ubuntu-noble | Distro: Ubuntu 24.04 2025-04-15 15:20:26.910733 | ubuntu-noble | Provider: regiocloud-a 2025-04-15 15:20:26.910753 | ubuntu-noble | Label: ubuntu-noble 2025-04-15 15:20:26.910773 | ubuntu-noble | Product Name: OpenStack Nova 2025-04-15 15:20:26.910792 | ubuntu-noble | Interface IP: 81.163.193.15 2025-04-15 15:20:26.924952 | 2025-04-15 15:20:26.925092 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-04-15 15:20:27.532984 | ubuntu-noble -> localhost | changed 2025-04-15 15:20:27.541675 | 2025-04-15 15:20:27.541803 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-04-15 15:20:28.659155 | ubuntu-noble -> localhost | changed 2025-04-15 15:20:28.674491 | 2025-04-15 15:20:28.674633 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-04-15 15:20:29.009147 | ubuntu-noble -> localhost | ok 2025-04-15 15:20:29.017454 | 2025-04-15 15:20:29.017607 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-04-15 15:20:29.050653 | ubuntu-noble | ok 2025-04-15 15:20:29.077238 | ubuntu-noble | included: /var/lib/zuul/builds/adf87d1f3039449baf393e8d08d22fdb/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-04-15 15:20:29.085404 | 2025-04-15 15:20:29.085531 | TASK [add-build-sshkey : Create Temp SSH key] 2025-04-15 15:20:29.829591 | ubuntu-noble -> localhost | Generating public/private rsa key pair. 2025-04-15 15:20:29.829805 | ubuntu-noble -> localhost | Your identification has been saved in /var/lib/zuul/builds/adf87d1f3039449baf393e8d08d22fdb/work/adf87d1f3039449baf393e8d08d22fdb_id_rsa 2025-04-15 15:20:29.829841 | ubuntu-noble -> localhost | Your public key has been saved in /var/lib/zuul/builds/adf87d1f3039449baf393e8d08d22fdb/work/adf87d1f3039449baf393e8d08d22fdb_id_rsa.pub 2025-04-15 15:20:29.829866 | ubuntu-noble -> localhost | The key fingerprint is: 2025-04-15 15:20:29.829889 | ubuntu-noble -> localhost | SHA256:5s8h/Hm2Avj3ESpzY9InVGw6dGx0dSh3OrySFFxkD0A zuul-build-sshkey 2025-04-15 15:20:29.829910 | ubuntu-noble -> localhost | The key's randomart image is: 2025-04-15 15:20:29.829930 | ubuntu-noble -> localhost | +---[RSA 3072]----+ 2025-04-15 15:20:29.829950 | ubuntu-noble -> localhost | | oE+*oo| 2025-04-15 15:20:29.829969 | ubuntu-noble -> localhost | | ++oooo| 2025-04-15 15:20:29.829989 | ubuntu-noble -> localhost | | . B= o.| 2025-04-15 15:20:29.830019 | ubuntu-noble -> localhost | | . *. + | 2025-04-15 15:20:29.830040 | ubuntu-noble -> localhost | | .S +... o | 2025-04-15 15:20:29.830059 | ubuntu-noble -> localhost | | .+.o oo.. | 2025-04-15 15:20:29.830083 | ubuntu-noble -> localhost | | .B.O o. | 2025-04-15 15:20:29.830104 | ubuntu-noble -> localhost | | .@o*o. | 2025-04-15 15:20:29.830123 | ubuntu-noble -> localhost | | .==o. | 2025-04-15 15:20:29.830143 | ubuntu-noble -> localhost | +----[SHA256]-----+ 2025-04-15 15:20:29.830237 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.200040 2025-04-15 15:20:29.837904 | 2025-04-15 15:20:29.838019 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-04-15 15:20:29.893944 | ubuntu-noble | ok 2025-04-15 15:20:29.917817 | ubuntu-noble | included: /var/lib/zuul/builds/adf87d1f3039449baf393e8d08d22fdb/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-04-15 15:20:29.937621 | 2025-04-15 15:20:29.937744 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-04-15 15:20:29.993071 | ubuntu-noble | skipping: Conditional result was False 2025-04-15 15:20:30.000920 | 2025-04-15 15:20:30.001050 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-04-15 15:20:30.735433 | ubuntu-noble | changed 2025-04-15 15:20:30.742677 | 2025-04-15 15:20:30.742793 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-04-15 15:20:31.050935 | ubuntu-noble | ok 2025-04-15 15:20:31.058204 | 2025-04-15 15:20:31.058332 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-04-15 15:20:31.802439 | ubuntu-noble | changed 2025-04-15 15:20:31.809677 | 2025-04-15 15:20:31.809808 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-04-15 15:20:32.518277 | ubuntu-noble | changed 2025-04-15 15:20:32.526394 | 2025-04-15 15:20:32.526522 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-04-15 15:20:32.551923 | ubuntu-noble | skipping: Conditional result was False 2025-04-15 15:20:32.559863 | 2025-04-15 15:20:32.559976 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-04-15 15:20:32.993052 | ubuntu-noble -> localhost | changed 2025-04-15 15:20:33.008743 | 2025-04-15 15:20:33.008874 | TASK [add-build-sshkey : Add back temp key] 2025-04-15 15:20:33.370656 | ubuntu-noble -> localhost | Identity added: /var/lib/zuul/builds/adf87d1f3039449baf393e8d08d22fdb/work/adf87d1f3039449baf393e8d08d22fdb_id_rsa (zuul-build-sshkey) 2025-04-15 15:20:33.370892 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.016973 2025-04-15 15:20:33.378965 | 2025-04-15 15:20:33.379087 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-04-15 15:20:33.853693 | ubuntu-noble | ok 2025-04-15 15:20:33.862520 | 2025-04-15 15:20:33.862780 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-04-15 15:20:33.908360 | ubuntu-noble | skipping: Conditional result was False 2025-04-15 15:20:33.926947 | 2025-04-15 15:20:33.927086 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-04-15 15:20:34.411599 | ubuntu-noble | ok 2025-04-15 15:20:34.424638 | 2025-04-15 15:20:34.424776 | TASK [validate-host : Define zuul_info_dir fact] 2025-04-15 15:20:34.456885 | ubuntu-noble | ok 2025-04-15 15:20:34.464679 | 2025-04-15 15:20:34.464843 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-04-15 15:20:34.754446 | ubuntu-noble -> localhost | ok 2025-04-15 15:20:34.762906 | 2025-04-15 15:20:34.763026 | TASK [validate-host : Collect information about the host] 2025-04-15 15:20:35.947569 | ubuntu-noble | ok 2025-04-15 15:20:35.971518 | 2025-04-15 15:20:35.971665 | TASK [validate-host : Sanitize hostname] 2025-04-15 15:20:36.059398 | ubuntu-noble | ok 2025-04-15 15:20:36.066087 | 2025-04-15 15:20:36.066253 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-04-15 15:20:36.658013 | ubuntu-noble -> localhost | changed 2025-04-15 15:20:36.667161 | 2025-04-15 15:20:36.667285 | TASK [validate-host : Collect information about zuul worker] 2025-04-15 15:20:37.157890 | ubuntu-noble | ok 2025-04-15 15:20:37.164086 | 2025-04-15 15:20:37.164216 | TASK [validate-host : Write out all zuul information for each host] 2025-04-15 15:20:37.703202 | ubuntu-noble -> localhost | changed 2025-04-15 15:20:37.716126 | 2025-04-15 15:20:37.716284 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-04-15 15:20:38.044010 | ubuntu-noble | ok 2025-04-15 15:20:38.053058 | 2025-04-15 15:20:38.053225 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-04-15 15:20:39.603683 | ubuntu-noble | changed: 2025-04-15 15:20:39.603896 | ubuntu-noble | cd+++++++++ src/ 2025-04-15 15:20:39.603934 | ubuntu-noble | cd+++++++++ src/github.com/ 2025-04-15 15:20:39.603961 | ubuntu-noble | cd+++++++++ src/github.com/osism/ 2025-04-15 15:20:39.603983 | ubuntu-noble | cd+++++++++ src/github.com/osism/osism-kubernetes/ 2025-04-15 15:20:39.604005 | ubuntu-noble | Containerfile 2025-04-15 15:20:39.604177 | ubuntu-noble | > /etc/bash.bashrc\n\n# install required packages\napt-get update\napt-get install --no-install-recommends -y \\\n build-essential \\\n curl \\\n dumb-init \\\n git \\\n gnupg \\\n gnupg-agent \\\n iputils-ping \\\n jq \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev \\\n openssh-client \\\n procps \\\n rsync \\\n sshpass\nupdate-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1\nupdate-alternatives --install /usr/bin/python python /usr/local/bin/python 1\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-04-15 15:23:41.174851 | ubuntu-noble | ------ 2025-04-15 15:23:41.182799 | ubuntu-noble | > [builder 13/13] RUN <>> RUN <>> set -e 2025-04-15 15:23:41.183089 | ubuntu-noble | 32 | >>> set -x 2025-04-15 15:23:41.183097 | ubuntu-noble | 33 | >>> 2025-04-15 15:23:41.183105 | ubuntu-noble | 34 | >>> HUBBLE_VERSION=v1.17.2 2025-04-15 15:23:41.183113 | ubuntu-noble | 35 | >>> CAPI_VERSION=1.9.6 2025-04-15 15:23:41.183122 | ubuntu-noble | 36 | >>> CILIUM_CLI_VERSION=v0.18.3 2025-04-15 15:23:41.183130 | ubuntu-noble | 37 | >>> FLUX_VERSION=v2.5.1 2025-04-15 15:23:41.183140 | ubuntu-noble | 38 | >>> KUBECTL_VERSION=1.32.3 2025-04-15 15:23:41.183148 | ubuntu-noble | 39 | >>> OPERATOR_SDK_VERSION=v1.39.2 2025-04-15 15:23:41.183157 | ubuntu-noble | 40 | >>> 2025-04-15 15:23:41.183165 | ubuntu-noble | 41 | >>> # shellcheck disable=SC2046 2025-04-15 15:23:41.183173 | ubuntu-noble | 42 | >>> ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) 2025-04-15 15:23:41.183182 | ubuntu-noble | 43 | >>> 2025-04-15 15:23:41.183190 | ubuntu-noble | 44 | >>> # show motd 2025-04-15 15:23:41.183198 | ubuntu-noble | 45 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-04-15 15:23:41.183207 | ubuntu-noble | 46 | >>> 2025-04-15 15:23:41.183215 | ubuntu-noble | 47 | >>> # install required packages 2025-04-15 15:23:41.183224 | ubuntu-noble | 48 | >>> apt-get update 2025-04-15 15:23:41.183232 | ubuntu-noble | 49 | >>> apt-get install --no-install-recommends -y \ 2025-04-15 15:23:41.183240 | ubuntu-noble | 50 | >>> build-essential \ 2025-04-15 15:23:41.183249 | ubuntu-noble | 51 | >>> curl \ 2025-04-15 15:23:41.183257 | ubuntu-noble | 52 | >>> dumb-init \ 2025-04-15 15:23:41.183265 | ubuntu-noble | 53 | >>> git \ 2025-04-15 15:23:41.183273 | ubuntu-noble | 54 | >>> gnupg \ 2025-04-15 15:23:41.183281 | ubuntu-noble | 55 | >>> gnupg-agent \ 2025-04-15 15:23:41.183289 | ubuntu-noble | 56 | >>> iputils-ping \ 2025-04-15 15:23:41.183297 | ubuntu-noble | 57 | >>> jq \ 2025-04-15 15:23:41.183306 | ubuntu-noble | 58 | >>> libffi-dev \ 2025-04-15 15:23:41.183314 | ubuntu-noble | 59 | >>> libssh-dev \ 2025-04-15 15:23:41.183322 | ubuntu-noble | 60 | >>> libssl-dev \ 2025-04-15 15:23:41.183330 | ubuntu-noble | 61 | >>> libyaml-dev \ 2025-04-15 15:23:41.183339 | ubuntu-noble | 62 | >>> openssh-client \ 2025-04-15 15:23:41.183611 | ubuntu-noble | 63 | >>> procps \ 2025-04-15 15:23:41.183624 | ubuntu-noble | 64 | >>> rsync \ 2025-04-15 15:23:41.183674 | ubuntu-noble | 65 | >>> sshpass 2025-04-15 15:23:41.183683 | ubuntu-noble | 66 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-04-15 15:23:41.183691 | ubuntu-noble | 67 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-04-15 15:23:41.183699 | ubuntu-noble | 68 | >>> 2025-04-15 15:23:41.183708 | ubuntu-noble | 69 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-04-15 15:23:41.183763 | ubuntu-noble | 70 | >>> 2025-04-15 15:23:41.183774 | ubuntu-noble | 71 | >>> # add user 2025-04-15 15:23:41.183782 | ubuntu-noble | 72 | >>> groupadd -g "$GROUP_ID" dragon 2025-04-15 15:23:41.183790 | ubuntu-noble | 73 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-04-15 15:23:41.183824 | ubuntu-noble | 74 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-04-15 15:23:41.183833 | ubuntu-noble | 75 | >>> 2025-04-15 15:23:41.183845 | ubuntu-noble | 76 | >>> # prepare release repository 2025-04-15 15:23:41.183854 | ubuntu-noble | 77 | >>> git clone https://github.com/osism/release /release 2025-04-15 15:23:41.183862 | ubuntu-noble | 78 | >>> 2025-04-15 15:23:41.183870 | ubuntu-noble | 79 | >>> # prepare project repository 2025-04-15 15:23:41.183878 | ubuntu-noble | 80 | >>> git clone https://github.com/osism/defaults /defaults 2025-04-15 15:23:41.183912 | ubuntu-noble | 81 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-04-15 15:23:41.183921 | ubuntu-noble | 82 | >>> 2025-04-15 15:23:41.183929 | ubuntu-noble | 83 | >>> if [ "$VERSION" != "latest" ]; then 2025-04-15 15:23:41.183938 | ubuntu-noble | 84 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-kubernetes-$VERSION" ) 2025-04-15 15:23:41.183947 | ubuntu-noble | 85 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-04-15 15:23:41.183957 | ubuntu-noble | 86 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-04-15 15:23:41.183965 | ubuntu-noble | 87 | >>> fi 2025-04-15 15:23:41.183995 | ubuntu-noble | 88 | >>> 2025-04-15 15:23:41.184004 | ubuntu-noble | 89 | >>> # add inventory files 2025-04-15 15:23:41.184012 | ubuntu-noble | 90 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-04-15 15:23:41.184021 | ubuntu-noble | 91 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-04-15 15:23:41.184078 | ubuntu-noble | 92 | >>> 2025-04-15 15:23:41.184087 | ubuntu-noble | 93 | >>> # run preparations 2025-04-15 15:23:41.184095 | ubuntu-noble | 94 | >>> mkdir -p /ansible/group_vars/all/ 2025-04-15 15:23:41.184103 | ubuntu-noble | 95 | >>> 2025-04-15 15:23:41.184136 | ubuntu-noble | 96 | >>> python3 /src/render-python-requirements.py 2025-04-15 15:23:41.184146 | ubuntu-noble | 97 | >>> python3 /src/render-versions.py 2025-04-15 15:23:41.184154 | ubuntu-noble | 98 | >>> 2025-04-15 15:23:41.184162 | ubuntu-noble | 99 | >>> # install required python packages 2025-04-15 15:23:41.184170 | ubuntu-noble | 100 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-04-15 15:23:41.184178 | ubuntu-noble | 101 | >>> 2025-04-15 15:23:41.184186 | ubuntu-noble | 102 | >>> # set ansible version in the motd 2025-04-15 15:23:41.184219 | ubuntu-noble | 103 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-04-15 15:23:41.184228 | ubuntu-noble | 104 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-04-15 15:23:41.184237 | ubuntu-noble | 105 | >>> 2025-04-15 15:23:41.184244 | ubuntu-noble | 106 | >>> # create required directories 2025-04-15 15:23:41.184252 | ubuntu-noble | 107 | >>> mkdir -p \ 2025-04-15 15:23:41.184260 | ubuntu-noble | 108 | >>> /ansible \ 2025-04-15 15:23:41.184271 | ubuntu-noble | 109 | >>> /ansible/roles \ 2025-04-15 15:23:41.184306 | ubuntu-noble | 110 | >>> /ansible/action_plugins \ 2025-04-15 15:23:41.184315 | ubuntu-noble | 111 | >>> /ansible/cache \ 2025-04-15 15:23:41.184326 | ubuntu-noble | 112 | >>> /ansible/logs \ 2025-04-15 15:23:41.184337 | ubuntu-noble | 113 | >>> /ansible/secrets \ 2025-04-15 15:23:41.184345 | ubuntu-noble | 114 | >>> /interface \ 2025-04-15 15:23:41.184353 | ubuntu-noble | 115 | >>> /share 2025-04-15 15:23:41.184416 | ubuntu-noble | 116 | >>> 2025-04-15 15:23:41.184426 | ubuntu-noble | 117 | >>> # install required ansible collections & roles 2025-04-15 15:23:41.184435 | ubuntu-noble | 118 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-04-15 15:23:41.184451 | ubuntu-noble | 119 | >>> 2025-04-15 15:23:41.184460 | ubuntu-noble | 120 | >>> # add k3s-ansible roles 2025-04-15 15:23:41.184468 | ubuntu-noble | 121 | >>> git clone https://github.com/osism/k3s-ansible /k3s-ansible 2025-04-15 15:23:41.184501 | ubuntu-noble | 122 | >>> mv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles 2025-04-15 15:23:41.184511 | ubuntu-noble | 123 | >>> mv /k3s-ansible/roles/download /ansible/roles/k3s_download 2025-04-15 15:23:41.184519 | ubuntu-noble | 124 | >>> mv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq 2025-04-15 15:23:41.184527 | ubuntu-noble | 125 | >>> mv /k3s-ansible/roles/reset /ansible/roles/k3s_reset 2025-04-15 15:23:41.184535 | ubuntu-noble | 126 | >>> rm -rf /k3s-ansible 2025-04-15 15:23:41.184543 | ubuntu-noble | 127 | >>> 2025-04-15 15:23:41.184551 | ubuntu-noble | 128 | >>> # apply patches 2025-04-15 15:23:41.184592 | ubuntu-noble | 129 | >>> for role in /ansible/roles/*; do 2025-04-15 15:23:41.184601 | ubuntu-noble | 130 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-04-15 15:23:41.184609 | ubuntu-noble | 131 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-04-15 15:23:41.184617 | ubuntu-noble | 132 | >>> echo "$patchfile"; 2025-04-15 15:23:41.184626 | ubuntu-noble | 133 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-04-15 15:23:41.184634 | ubuntu-noble | 134 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-04-15 15:23:41.184667 | ubuntu-noble | 135 | >>> done; 2025-04-15 15:23:41.184677 | ubuntu-noble | 136 | >>> fi; 2025-04-15 15:23:41.184685 | ubuntu-noble | 137 | >>> done 2025-04-15 15:23:41.184693 | ubuntu-noble | 138 | >>> 2025-04-15 15:23:41.184701 | ubuntu-noble | 139 | >>> # install mitogen ansible plugin 2025-04-15 15:23:41.184709 | ubuntu-noble | 140 | >>> mkdir -p /usr/share/mitogen 2025-04-15 15:23:41.184717 | ubuntu-noble | 141 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-04-15 15:23:41.184725 | ubuntu-noble | 142 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-04-15 15:23:41.184812 | ubuntu-noble | 143 | >>> rm /mitogen.tar.gz 2025-04-15 15:23:41.184821 | ubuntu-noble | 144 | >>> 2025-04-15 15:23:41.184829 | ubuntu-noble | 145 | >>> # install helm 2025-04-15 15:23:41.184837 | ubuntu-noble | 146 | >>> curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null 2025-04-15 15:23:41.184847 | ubuntu-noble | 147 | >>> 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-04-15 15:23:41.184856 | ubuntu-noble | 148 | >>> apt-get update 2025-04-15 15:23:41.184890 | ubuntu-noble | 149 | >>> apt-get install --no-install-recommends -y \ 2025-04-15 15:23:41.184899 | ubuntu-noble | 150 | >>> helm 2025-04-15 15:23:41.184907 | ubuntu-noble | 151 | >>> 2025-04-15 15:23:41.184915 | ubuntu-noble | 152 | >>> # install helm plugins 2025-04-15 15:23:41.184923 | ubuntu-noble | 153 | >>> helm plugin install https://github.com/databus23/helm-diff 2025-04-15 15:23:41.184931 | ubuntu-noble | 154 | >>> 2025-04-15 15:23:41.184939 | ubuntu-noble | 155 | >>> # install cilium cli 2025-04-15 15:23:41.184969 | ubuntu-noble | 156 | >>> curl -L --fail --remote-name-all "https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${ARCH}.tar.gz{,.sha256sum}" 2025-04-15 15:23:41.184979 | ubuntu-noble | 157 | >>> sha256sum --check "cilium-linux-${ARCH}.tar.gz.sha256sum" 2025-04-15 15:23:41.184987 | ubuntu-noble | 158 | >>> tar xzvfC "cilium-linux-${ARCH}.tar.gz" /usr/local/bin 2025-04-15 15:23:41.184995 | ubuntu-noble | 159 | >>> rm cilium-linux-"${ARCH}".tar.gz{,.sha256sum} 2025-04-15 15:23:41.185002 | ubuntu-noble | 160 | >>> 2025-04-15 15:23:41.185010 | ubuntu-noble | 161 | >>> # install hubble cli 2025-04-15 15:23:41.185017 | ubuntu-noble | 162 | >>> HUBBLE_ARCH=amd64 2025-04-15 15:23:41.185064 | ubuntu-noble | 163 | >>> curl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-04-15 15:23:41.185078 | ubuntu-noble | 164 | >>> sha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum 2025-04-15 15:23:41.185086 | ubuntu-noble | 165 | >>> tar xzvfC hubble-linux-$ARCH}.tar.gz /usr/local/bin 2025-04-15 15:23:41.185093 | ubuntu-noble | 166 | >>> rm hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-04-15 15:23:41.185108 | ubuntu-noble | 167 | >>> 2025-04-15 15:23:41.185116 | ubuntu-noble | 168 | >>> # install flux cli 2025-04-15 15:23:41.185150 | ubuntu-noble | 169 | >>> CLEAN_FLUX_VERSION=$(echo "$FLUX_VERSION" | sed 's/^v//') 2025-04-15 15:23:41.185158 | ubuntu-noble | 170 | >>> curl -o flux.tar.gz -L "https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${CLEAN_FLUX_VERSION}_linux_amd64.tar.gz" 2025-04-15 15:23:41.185166 | ubuntu-noble | 171 | >>> tar -xzf flux.tar.gz -C /usr/local/bin flux 2025-04-15 15:23:41.185174 | ubuntu-noble | 172 | >>> rm flux.tar.gz 2025-04-15 15:23:41.185181 | ubuntu-noble | 173 | >>> 2025-04-15 15:23:41.185188 | ubuntu-noble | 174 | >>> # install operator-sdk 2025-04-15 15:23:41.185196 | ubuntu-noble | 175 | >>> OS=$(uname | awk '{print tolower($0)}') 2025-04-15 15:23:41.185203 | ubuntu-noble | 176 | >>> OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION} 2025-04-15 15:23:41.185236 | ubuntu-noble | 177 | >>> 2025-04-15 15:23:41.185243 | ubuntu-noble | 178 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}" 2025-04-15 15:23:41.185251 | ubuntu-noble | 179 | >>> gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E 2025-04-15 15:23:41.185258 | ubuntu-noble | 180 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt" 2025-04-15 15:23:41.185265 | ubuntu-noble | 181 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt.asc" 2025-04-15 15:23:41.185273 | ubuntu-noble | 182 | >>> gpg -u "Operator SDK (release) " --verify checksums.txt.asc 2025-04-15 15:23:41.185280 | ubuntu-noble | 183 | >>> grep "operator-sdk_${OS}_${ARCH}" checksums.txt | sha256sum -c - 2025-04-15 15:23:41.185288 | ubuntu-noble | 184 | >>> chmod +x "operator-sdk_${OS}_${ARCH}" 2025-04-15 15:23:41.185316 | ubuntu-noble | 185 | >>> mv "operator-sdk_${OS}_${ARCH}" /usr/local/bin/operator-sdk 2025-04-15 15:23:41.185323 | ubuntu-noble | 186 | >>> rm checksums.txt.asc 2025-04-15 15:23:41.185331 | ubuntu-noble | 187 | >>> rm checksums.txt 2025-04-15 15:23:41.185338 | ubuntu-noble | 188 | >>> 2025-04-15 15:23:41.185346 | ubuntu-noble | 189 | >>> # install clusterctl 2025-04-15 15:23:41.185353 | ubuntu-noble | 190 | >>> curl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64 2025-04-15 15:23:41.185361 | ubuntu-noble | 191 | >>> chmod +x /usr/local/bin/clusterctl 2025-04-15 15:23:41.185368 | ubuntu-noble | 192 | >>> 2025-04-15 15:23:41.185408 | ubuntu-noble | 193 | >>> # install kubectl 2025-04-15 15:23:41.185416 | ubuntu-noble | 194 | >>> curl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl 2025-04-15 15:23:41.185423 | ubuntu-noble | 195 | >>> chmod +x /usr/local/bin/kubectl 2025-04-15 15:23:41.185431 | ubuntu-noble | 196 | >>> 2025-04-15 15:23:41.185438 | ubuntu-noble | 197 | >>> # prepare .kube directory 2025-04-15 15:23:41.185446 | ubuntu-noble | 198 | >>> mkdir -p /ansible/.kube 2025-04-15 15:23:41.185528 | ubuntu-noble | 199 | >>> ln -s /share/kubeconfig /ansible/.kube/config 2025-04-15 15:23:41.185550 | ubuntu-noble | 200 | >>> chown -R dragon: /ansible/.kube 2025-04-15 15:23:41.185558 | ubuntu-noble | 201 | >>> 2025-04-15 15:23:41.185565 | ubuntu-noble | 202 | >>> # prepare .cache directory 2025-04-15 15:23:41.185573 | ubuntu-noble | 203 | >>> mkdir -p /ansible/.cache 2025-04-15 15:23:41.185589 | ubuntu-noble | 204 | >>> mv /root/.cache/helm /ansible/.cache 2025-04-15 15:23:41.185597 | ubuntu-noble | 205 | >>> chown -R dragon: /ansible/.cache 2025-04-15 15:23:41.185604 | ubuntu-noble | 206 | >>> 2025-04-15 15:23:41.185612 | ubuntu-noble | 207 | >>> # prepare .local directory 2025-04-15 15:23:41.185619 | ubuntu-noble | 208 | >>> mkdir -p /ansible/.local/share 2025-04-15 15:23:41.185633 | ubuntu-noble | 209 | >>> mv /root/.local/share/helm /ansible/.local/share 2025-04-15 15:23:41.185641 | ubuntu-noble | 210 | >>> chown -R dragon: /ansible/.local 2025-04-15 15:23:41.185648 | ubuntu-noble | 211 | >>> 2025-04-15 15:23:41.185656 | ubuntu-noble | 212 | >>> # add symlink to /etc/openstack 2025-04-15 15:23:41.185663 | ubuntu-noble | 213 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-04-15 15:23:41.185670 | ubuntu-noble | 214 | >>> 2025-04-15 15:23:41.185678 | ubuntu-noble | 215 | >>> # copy ara configuration 2025-04-15 15:23:41.185685 | ubuntu-noble | 216 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-04-15 15:23:41.185692 | ubuntu-noble | 217 | >>> 2025-04-15 15:23:41.185700 | ubuntu-noble | 218 | >>> # prepare list of playbooks 2025-04-15 15:23:41.185707 | ubuntu-noble | 219 | >>> python3 /src/render-playbooks.py 2025-04-15 15:23:41.185714 | ubuntu-noble | 220 | >>> 2025-04-15 15:23:41.185727 | ubuntu-noble | 221 | >>> # set correct permssions 2025-04-15 15:23:41.185751 | ubuntu-noble | 222 | >>> chown -R dragon: /ansible /share /interface 2025-04-15 15:23:41.185759 | ubuntu-noble | 223 | >>> 2025-04-15 15:23:41.185767 | ubuntu-noble | 224 | >>> # cleanup 2025-04-15 15:23:41.185774 | ubuntu-noble | 225 | >>> apt-get clean 2025-04-15 15:23:41.185781 | ubuntu-noble | 226 | >>> apt-get remove -y \ 2025-04-15 15:23:41.185788 | ubuntu-noble | 227 | >>> build-essential \ 2025-04-15 15:23:41.185795 | ubuntu-noble | 228 | >>> curl \ 2025-04-15 15:23:41.185803 | ubuntu-noble | 229 | >>> git \ 2025-04-15 15:23:41.185810 | ubuntu-noble | 230 | >>> gnupg \ 2025-04-15 15:23:41.185817 | ubuntu-noble | 231 | >>> libffi-dev \ 2025-04-15 15:23:41.185825 | ubuntu-noble | 232 | >>> libssh-dev \ 2025-04-15 15:23:41.185832 | ubuntu-noble | 233 | >>> libssl-dev \ 2025-04-15 15:23:41.185839 | ubuntu-noble | 234 | >>> libyaml-dev 2025-04-15 15:23:41.185847 | ubuntu-noble | 235 | >>> apt-get autoremove -y 2025-04-15 15:23:41.185854 | ubuntu-noble | 236 | >>> rm -rf \ 2025-04-15 15:23:41.185861 | ubuntu-noble | 237 | >>> /root/.cache \ 2025-04-15 15:23:41.185868 | ubuntu-noble | 238 | >>> /tmp/* \ 2025-04-15 15:23:41.185875 | ubuntu-noble | 239 | >>> /usr/share/doc/* \ 2025-04-15 15:23:41.185883 | ubuntu-noble | 240 | >>> /usr/share/man/* \ 2025-04-15 15:23:41.185890 | ubuntu-noble | 241 | >>> /var/lib/apt/lists/* \ 2025-04-15 15:23:41.185897 | ubuntu-noble | 242 | >>> /var/tmp/* \ 2025-04-15 15:23:41.185905 | ubuntu-noble | 243 | >>> /patches 2025-04-15 15:23:41.185912 | ubuntu-noble | 244 | >>> 2025-04-15 15:23:41.185919 | ubuntu-noble | 245 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-04-15 15:23:41.185927 | ubuntu-noble | 246 | >>> pyclean /usr 2025-04-15 15:23:41.185934 | ubuntu-noble | 247 | >>> uv pip uninstall --system pyclean 2025-04-15 15:23:41.185941 | ubuntu-noble | 248 | >>> EOF 2025-04-15 15:23:41.185949 | ubuntu-noble | 249 | 2025-04-15 15:23:41.185956 | ubuntu-noble | -------------------- 2025-04-15 15:23:41.185995 | ubuntu-noble | ERROR: failed to solve: process "/bin/bash -o pipefail -c set -e\nset -x\n\nHUBBLE_VERSION=v1.17.2\nCAPI_VERSION=1.9.6\nCILIUM_CLI_VERSION=v0.18.3\nFLUX_VERSION=v2.5.1\nKUBECTL_VERSION=1.32.3\nOPERATOR_SDK_VERSION=v1.39.2\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-04-15 15:23:41.484083 | ubuntu-noble | ERROR 2025-04-15 15:23:41.484554 | ubuntu-noble | { 2025-04-15 15:23:41.484672 | ubuntu-noble | "delta": "0:02:01.139176", 2025-04-15 15:23:41.484775 | ubuntu-noble | "end": "2025-04-15 15:23:41.194703", 2025-04-15 15:23:41.484859 | ubuntu-noble | "msg": "non-zero return code", 2025-04-15 15:23:41.484921 | ubuntu-noble | "rc": 1, 2025-04-15 15:23:41.484980 | ubuntu-noble | "start": "2025-04-15 15:21:40.055527" 2025-04-15 15:23:41.485034 | ubuntu-noble | } failure 2025-04-15 15:23:41.515068 | 2025-04-15 15:23:41.515195 | PLAY RECAP 2025-04-15 15:23:41.515262 | ubuntu-noble | ok: 0 changed: 0 unreachable: 0 failed: 1 skipped: 1 rescued: 0 ignored: 0 2025-04-15 15:23:41.515295 | 2025-04-15 15:23:41.633338 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/osism-kubernetes/zuul-playbooks/build.yml@main] 2025-04-15 15:23:41.636863 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-15 15:23:42.367240 | 2025-04-15 15:23:42.367393 | PLAY [Base post] 2025-04-15 15:23:42.392782 | 2025-04-15 15:23:42.392915 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-04-15 15:23:43.201112 | ubuntu-noble | changed 2025-04-15 15:23:43.240847 | 2025-04-15 15:23:43.241032 | PLAY RECAP 2025-04-15 15:23:43.241128 | ubuntu-noble | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-04-15 15:23:43.241214 | 2025-04-15 15:23:43.357478 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-15 15:23:43.360514 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-04-15 15:23:44.181946 | 2025-04-15 15:23:44.182109 | PLAY [Base post-logs] 2025-04-15 15:23:44.198132 | 2025-04-15 15:23:44.198254 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-04-15 15:23:44.646904 | localhost | changed 2025-04-15 15:23:44.650935 | 2025-04-15 15:23:44.651075 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-04-15 15:23:44.693178 | localhost | ok 2025-04-15 15:23:44.709454 | 2025-04-15 15:23:44.709624 | TASK [Set zuul-log-path fact] 2025-04-15 15:23:44.732466 | localhost | ok 2025-04-15 15:23:44.750619 | 2025-04-15 15:23:44.750842 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-15 15:23:44.793040 | localhost | ok 2025-04-15 15:23:44.805390 | 2025-04-15 15:23:44.805543 | TASK [upload-logs : Create log directories] 2025-04-15 15:23:45.334424 | localhost | changed 2025-04-15 15:23:45.342926 | 2025-04-15 15:23:45.343081 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-04-15 15:23:45.893011 | localhost -> localhost | ok: Runtime: 0:00:00.004499 2025-04-15 15:23:45.909545 | 2025-04-15 15:23:45.909680 | TASK [upload-logs : Upload logs to log server] 2025-04-15 15:23:46.523960 | localhost | Output suppressed because no_log was given 2025-04-15 15:23:46.527595 | 2025-04-15 15:23:46.527762 | LOOP [upload-logs : Compress console log and json output] 2025-04-15 15:23:46.600648 | localhost | skipping: Conditional result was False 2025-04-15 15:23:46.629526 | localhost | skipping: Conditional result was False 2025-04-15 15:23:46.643537 | 2025-04-15 15:23:46.643769 | LOOP [upload-logs : Upload compressed console log and json output] 2025-04-15 15:23:46.714006 | localhost | skipping: Conditional result was False 2025-04-15 15:23:46.714625 | 2025-04-15 15:23:46.726731 | localhost | skipping: Conditional result was False 2025-04-15 15:23:46.738522 | 2025-04-15 15:23:46.738771 | LOOP [upload-logs : Upload console log and json output]