2025-04-15 15:12:57.849933 | Job console starting... 2025-04-15 15:12:57.874360 | Updating repositories 2025-04-15 15:12:57.946303 | Preparing job workspace 2025-04-15 15:13:03.274971 | Running Ansible setup... 2025-04-15 15:13:09.482658 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-04-15 15:13:10.487503 | 2025-04-15 15:13:10.487620 | PLAY [Base pre] 2025-04-15 15:13:10.523696 | 2025-04-15 15:13:10.523817 | TASK [Setup log path fact] 2025-04-15 15:13:10.572700 | ubuntu-noble | ok 2025-04-15 15:13:10.595731 | 2025-04-15 15:13:10.595847 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-15 15:13:10.659243 | ubuntu-noble | ok 2025-04-15 15:13:10.669505 | 2025-04-15 15:13:10.669595 | TASK [emit-job-header : Print job information] 2025-04-15 15:13:10.710696 | # Job Information 2025-04-15 15:13:10.710893 | Ansible Version: 2.15.3 2025-04-15 15:13:10.710923 | Job: osism-kubernetes-build 2025-04-15 15:13:10.710950 | Pipeline: check 2025-04-15 15:13:10.710970 | Executor: 7d211f194f6a 2025-04-15 15:13:10.710986 | Triggered by: https://github.com/osism/osism-kubernetes/pull/160 2025-04-15 15:13:10.711002 | Event ID: 182bf8b0-1a0c-11f0-9a3f-7aab1366ed68 2025-04-15 15:13:10.718305 | 2025-04-15 15:13:10.718391 | LOOP [emit-job-header : Print node information] 2025-04-15 15:13:10.871484 | ubuntu-noble | ok: 2025-04-15 15:13:10.871674 | ubuntu-noble | # Node Information 2025-04-15 15:13:10.871703 | ubuntu-noble | Inventory Hostname: ubuntu-noble 2025-04-15 15:13:10.871723 | ubuntu-noble | Hostname: ubuntu 2025-04-15 15:13:10.871740 | ubuntu-noble | Username: zuul 2025-04-15 15:13:10.871757 | ubuntu-noble | Distro: Ubuntu 24.04 2025-04-15 15:13:10.871776 | ubuntu-noble | Provider: regiocloud-a 2025-04-15 15:13:10.871792 | ubuntu-noble | Label: ubuntu-noble 2025-04-15 15:13:10.871809 | ubuntu-noble | Product Name: OpenStack Nova 2025-04-15 15:13:10.871824 | ubuntu-noble | Interface IP: 81.163.192.198 2025-04-15 15:13:10.884571 | 2025-04-15 15:13:10.884678 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-04-15 15:13:11.665077 | ubuntu-noble -> localhost | changed 2025-04-15 15:13:11.671809 | 2025-04-15 15:13:11.671889 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-04-15 15:13:13.172016 | ubuntu-noble -> localhost | changed 2025-04-15 15:13:13.182594 | 2025-04-15 15:13:13.182673 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-04-15 15:13:13.559310 | ubuntu-noble -> localhost | ok 2025-04-15 15:13:13.565266 | 2025-04-15 15:13:13.565353 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-04-15 15:13:13.613607 | ubuntu-noble | ok 2025-04-15 15:13:13.638732 | ubuntu-noble | included: /var/lib/zuul/builds/86732a8ea7784997aacb09e3c2a067bd/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-04-15 15:13:13.657751 | 2025-04-15 15:13:13.657845 | TASK [add-build-sshkey : Create Temp SSH key] 2025-04-15 15:13:14.517096 | ubuntu-noble -> localhost | Generating public/private rsa key pair. 2025-04-15 15:13:14.517308 | ubuntu-noble -> localhost | Your identification has been saved in /var/lib/zuul/builds/86732a8ea7784997aacb09e3c2a067bd/work/86732a8ea7784997aacb09e3c2a067bd_id_rsa 2025-04-15 15:13:14.517345 | ubuntu-noble -> localhost | Your public key has been saved in /var/lib/zuul/builds/86732a8ea7784997aacb09e3c2a067bd/work/86732a8ea7784997aacb09e3c2a067bd_id_rsa.pub 2025-04-15 15:13:14.517369 | ubuntu-noble -> localhost | The key fingerprint is: 2025-04-15 15:13:14.517392 | ubuntu-noble -> localhost | SHA256:vExIT+V9UUTtWV839v4dU+ryliHO7OjcIOhMJdARj9k zuul-build-sshkey 2025-04-15 15:13:14.517413 | ubuntu-noble -> localhost | The key's randomart image is: 2025-04-15 15:13:14.517433 | ubuntu-noble -> localhost | +---[RSA 3072]----+ 2025-04-15 15:13:14.517453 | ubuntu-noble -> localhost | | o. . .+=| 2025-04-15 15:13:14.517472 | ubuntu-noble -> localhost | | . * o . +=| 2025-04-15 15:13:14.517491 | ubuntu-noble -> localhost | | . = E . . o.O| 2025-04-15 15:13:14.517517 | ubuntu-noble -> localhost | | o = . .=| 2025-04-15 15:13:14.517538 | ubuntu-noble -> localhost | | o S o.| 2025-04-15 15:13:14.517557 | ubuntu-noble -> localhost | | * . . oo.| 2025-04-15 15:13:14.517582 | ubuntu-noble -> localhost | | o + .+ o o=| 2025-04-15 15:13:14.517602 | ubuntu-noble -> localhost | | + o += + o| 2025-04-15 15:13:14.517621 | ubuntu-noble -> localhost | | o .+.o+. | 2025-04-15 15:13:14.517641 | ubuntu-noble -> localhost | +----[SHA256]-----+ 2025-04-15 15:13:14.517691 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.233673 2025-04-15 15:13:14.526044 | 2025-04-15 15:13:14.526160 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-04-15 15:13:14.559088 | ubuntu-noble | ok 2025-04-15 15:13:14.573676 | ubuntu-noble | included: /var/lib/zuul/builds/86732a8ea7784997aacb09e3c2a067bd/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-04-15 15:13:14.583712 | 2025-04-15 15:13:14.583799 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-04-15 15:13:14.607343 | ubuntu-noble | skipping: Conditional result was False 2025-04-15 15:13:14.614719 | 2025-04-15 15:13:14.614794 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-04-15 15:13:15.287482 | ubuntu-noble | changed 2025-04-15 15:13:15.304192 | 2025-04-15 15:13:15.304384 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-04-15 15:13:15.598230 | ubuntu-noble | ok 2025-04-15 15:13:15.607487 | 2025-04-15 15:13:15.607585 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-04-15 15:13:16.308155 | ubuntu-noble | changed 2025-04-15 15:13:16.314877 | 2025-04-15 15:13:16.314971 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-04-15 15:13:17.016312 | ubuntu-noble | changed 2025-04-15 15:13:17.023000 | 2025-04-15 15:13:17.023091 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-04-15 15:13:17.051391 | ubuntu-noble | skipping: Conditional result was False 2025-04-15 15:13:17.058922 | 2025-04-15 15:13:17.059020 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-04-15 15:13:17.883473 | ubuntu-noble -> localhost | changed 2025-04-15 15:13:17.897889 | 2025-04-15 15:13:17.898001 | TASK [add-build-sshkey : Add back temp key] 2025-04-15 15:13:18.195991 | ubuntu-noble -> localhost | Identity added: /var/lib/zuul/builds/86732a8ea7784997aacb09e3c2a067bd/work/86732a8ea7784997aacb09e3c2a067bd_id_rsa (zuul-build-sshkey) 2025-04-15 15:13:18.196194 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.013976 2025-04-15 15:13:18.203520 | 2025-04-15 15:13:18.203612 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-04-15 15:13:18.645706 | ubuntu-noble | ok 2025-04-15 15:13:18.652206 | 2025-04-15 15:13:18.652301 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-04-15 15:13:18.696561 | ubuntu-noble | skipping: Conditional result was False 2025-04-15 15:13:18.800878 | 2025-04-15 15:13:18.800994 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-04-15 15:13:19.247240 | ubuntu-noble | ok 2025-04-15 15:13:19.257395 | 2025-04-15 15:13:19.257489 | TASK [validate-host : Define zuul_info_dir fact] 2025-04-15 15:13:19.286034 | ubuntu-noble | ok 2025-04-15 15:13:19.291403 | 2025-04-15 15:13:19.291483 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-04-15 15:13:19.585519 | ubuntu-noble -> localhost | ok 2025-04-15 15:13:19.594113 | 2025-04-15 15:13:19.594216 | TASK [validate-host : Collect information about the host] 2025-04-15 15:13:20.764581 | ubuntu-noble | ok 2025-04-15 15:13:20.777524 | 2025-04-15 15:13:20.777623 | TASK [validate-host : Sanitize hostname] 2025-04-15 15:13:20.855757 | ubuntu-noble | ok 2025-04-15 15:13:20.881128 | 2025-04-15 15:13:20.881246 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-04-15 15:13:21.679967 | ubuntu-noble -> localhost | changed 2025-04-15 15:13:21.686862 | 2025-04-15 15:13:21.686969 | TASK [validate-host : Collect information about zuul worker] 2025-04-15 15:13:22.225466 | ubuntu-noble | ok 2025-04-15 15:13:22.232087 | 2025-04-15 15:13:22.232236 | TASK [validate-host : Write out all zuul information for each host] 2025-04-15 15:13:23.247138 | ubuntu-noble -> localhost | changed 2025-04-15 15:13:23.268664 | 2025-04-15 15:13:23.268833 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-04-15 15:13:23.620567 | ubuntu-noble | ok 2025-04-15 15:13:23.642126 | 2025-04-15 15:13:23.642293 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-04-15 15:13:25.350392 | ubuntu-noble | changed: 2025-04-15 15:13:25.350600 | ubuntu-noble | cd+++++++++ src/ 2025-04-15 15:13:25.350635 | ubuntu-noble | cd+++++++++ src/github.com/ 2025-04-15 15:13:25.350661 | ubuntu-noble | cd+++++++++ src/github.com/osism/ 2025-04-15 15:13:25.350683 | ubuntu-noble | cd+++++++++ src/github.com/osism/osism-kubernetes/ 2025-04-15 15:13:25.350703 | ubuntu-noble | Containerfile 2025-04-15 15:13:25.350852 | 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\nif [ \"$(uname -m)\" = \"aarch64\" ]; then HUBBLE_ARCH=arm64; fi\ncurl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${HUBBLE_ARCH}.tar.gz{,.sha256sum}\nsha256sum --check hubble-linux-${HUBBLE_ARCH}.tar.gz.sha256sum\nsudo tar xzvfC hubble-linux-${HUBBLE_ARCH}.tar.gz /usr/local/bin\nrm hubble-linux-${HUBBLE_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: 127 2025-04-15 15:16:22.202953 | ubuntu-noble | ------ 2025-04-15 15:16:22.216644 | ubuntu-noble | > [builder 13/13] RUN <>> RUN <>> set -e 2025-04-15 15:16:22.217499 | ubuntu-noble | 32 | >>> set -x 2025-04-15 15:16:22.218978 | ubuntu-noble | 33 | >>> 2025-04-15 15:16:22.218986 | ubuntu-noble | 34 | >>> HUBBLE_VERSION=v1.17.2 2025-04-15 15:16:22.218993 | ubuntu-noble | 35 | >>> CAPI_VERSION=1.9.6 2025-04-15 15:16:22.219114 | ubuntu-noble | 36 | >>> CILIUM_CLI_VERSION=v0.18.3 2025-04-15 15:16:22.219127 | ubuntu-noble | 37 | >>> FLUX_VERSION=v2.5.1 2025-04-15 15:16:22.219133 | ubuntu-noble | 38 | >>> KUBECTL_VERSION=1.32.3 2025-04-15 15:16:22.219139 | ubuntu-noble | 39 | >>> OPERATOR_SDK_VERSION=v1.39.2 2025-04-15 15:16:22.219145 | ubuntu-noble | 40 | >>> 2025-04-15 15:16:22.219151 | ubuntu-noble | 41 | >>> # shellcheck disable=SC2046 2025-04-15 15:16:22.219158 | 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:16:22.219165 | ubuntu-noble | 43 | >>> 2025-04-15 15:16:22.219171 | ubuntu-noble | 44 | >>> # show motd 2025-04-15 15:16:22.219309 | ubuntu-noble | 45 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-04-15 15:16:22.219316 | ubuntu-noble | 46 | >>> 2025-04-15 15:16:22.219322 | ubuntu-noble | 47 | >>> # install required packages 2025-04-15 15:16:22.219328 | ubuntu-noble | 48 | >>> apt-get update 2025-04-15 15:16:22.219335 | ubuntu-noble | 49 | >>> apt-get install --no-install-recommends -y \ 2025-04-15 15:16:22.219341 | ubuntu-noble | 50 | >>> build-essential \ 2025-04-15 15:16:22.219347 | ubuntu-noble | 51 | >>> curl \ 2025-04-15 15:16:22.219352 | ubuntu-noble | 52 | >>> dumb-init \ 2025-04-15 15:16:22.219371 | ubuntu-noble | 53 | >>> git \ 2025-04-15 15:16:22.219378 | ubuntu-noble | 54 | >>> gnupg \ 2025-04-15 15:16:22.219383 | ubuntu-noble | 55 | >>> gnupg-agent \ 2025-04-15 15:16:22.219389 | ubuntu-noble | 56 | >>> iputils-ping \ 2025-04-15 15:16:22.219395 | ubuntu-noble | 57 | >>> jq \ 2025-04-15 15:16:22.219401 | ubuntu-noble | 58 | >>> libffi-dev \ 2025-04-15 15:16:22.219407 | ubuntu-noble | 59 | >>> libssh-dev \ 2025-04-15 15:16:22.219413 | ubuntu-noble | 60 | >>> libssl-dev \ 2025-04-15 15:16:22.219419 | ubuntu-noble | 61 | >>> libyaml-dev \ 2025-04-15 15:16:22.219425 | ubuntu-noble | 62 | >>> openssh-client \ 2025-04-15 15:16:22.219431 | ubuntu-noble | 63 | >>> procps \ 2025-04-15 15:16:22.219436 | ubuntu-noble | 64 | >>> rsync \ 2025-04-15 15:16:22.219442 | ubuntu-noble | 65 | >>> sshpass 2025-04-15 15:16:22.219448 | ubuntu-noble | 66 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-04-15 15:16:22.219454 | ubuntu-noble | 67 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-04-15 15:16:22.219459 | ubuntu-noble | 68 | >>> 2025-04-15 15:16:22.219509 | ubuntu-noble | 69 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-04-15 15:16:22.219515 | ubuntu-noble | 70 | >>> 2025-04-15 15:16:22.219522 | ubuntu-noble | 71 | >>> # add user 2025-04-15 15:16:22.219527 | ubuntu-noble | 72 | >>> groupadd -g "$GROUP_ID" dragon 2025-04-15 15:16:22.219533 | ubuntu-noble | 73 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-04-15 15:16:22.219539 | ubuntu-noble | 74 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-04-15 15:16:22.219545 | ubuntu-noble | 75 | >>> 2025-04-15 15:16:22.219551 | ubuntu-noble | 76 | >>> # prepare release repository 2025-04-15 15:16:22.219557 | ubuntu-noble | 77 | >>> git clone https://github.com/osism/release /release 2025-04-15 15:16:22.219564 | ubuntu-noble | 78 | >>> 2025-04-15 15:16:22.219575 | ubuntu-noble | 79 | >>> # prepare project repository 2025-04-15 15:16:22.219581 | ubuntu-noble | 80 | >>> git clone https://github.com/osism/defaults /defaults 2025-04-15 15:16:22.219587 | ubuntu-noble | 81 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-04-15 15:16:22.219593 | ubuntu-noble | 82 | >>> 2025-04-15 15:16:22.219599 | ubuntu-noble | 83 | >>> if [ "$VERSION" != "latest" ]; then 2025-04-15 15:16:22.219605 | ubuntu-noble | 84 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-kubernetes-$VERSION" ) 2025-04-15 15:16:22.219612 | 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:16:22.219619 | 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:16:22.219625 | ubuntu-noble | 87 | >>> fi 2025-04-15 15:16:22.219631 | ubuntu-noble | 88 | >>> 2025-04-15 15:16:22.219636 | ubuntu-noble | 89 | >>> # add inventory files 2025-04-15 15:16:22.219642 | ubuntu-noble | 90 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-04-15 15:16:22.219648 | ubuntu-noble | 91 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-04-15 15:16:22.219657 | ubuntu-noble | 92 | >>> 2025-04-15 15:16:22.219668 | ubuntu-noble | 93 | >>> # run preparations 2025-04-15 15:16:22.219681 | ubuntu-noble | 94 | >>> mkdir -p /ansible/group_vars/all/ 2025-04-15 15:16:22.219691 | ubuntu-noble | 95 | >>> 2025-04-15 15:16:22.219701 | ubuntu-noble | 96 | >>> python3 /src/render-python-requirements.py 2025-04-15 15:16:22.219711 | ubuntu-noble | 97 | >>> python3 /src/render-versions.py 2025-04-15 15:16:22.219720 | ubuntu-noble | 98 | >>> 2025-04-15 15:16:22.219730 | ubuntu-noble | 99 | >>> # install required python packages 2025-04-15 15:16:22.219739 | ubuntu-noble | 100 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-04-15 15:16:22.219749 | ubuntu-noble | 101 | >>> 2025-04-15 15:16:22.219759 | ubuntu-noble | 102 | >>> # set ansible version in the motd 2025-04-15 15:16:22.219768 | ubuntu-noble | 103 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-04-15 15:16:22.219779 | ubuntu-noble | 104 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-04-15 15:16:22.219785 | ubuntu-noble | 105 | >>> 2025-04-15 15:16:22.219790 | ubuntu-noble | 106 | >>> # create required directories 2025-04-15 15:16:22.219799 | ubuntu-noble | 107 | >>> mkdir -p \ 2025-04-15 15:16:22.219807 | ubuntu-noble | 108 | >>> /ansible \ 2025-04-15 15:16:22.219813 | ubuntu-noble | 109 | >>> /ansible/roles \ 2025-04-15 15:16:22.219819 | ubuntu-noble | 110 | >>> /ansible/action_plugins \ 2025-04-15 15:16:22.219830 | ubuntu-noble | 111 | >>> /ansible/cache \ 2025-04-15 15:16:22.219836 | ubuntu-noble | 112 | >>> /ansible/logs \ 2025-04-15 15:16:22.219842 | ubuntu-noble | 113 | >>> /ansible/secrets \ 2025-04-15 15:16:22.219847 | ubuntu-noble | 114 | >>> /interface \ 2025-04-15 15:16:22.219853 | ubuntu-noble | 115 | >>> /share 2025-04-15 15:16:22.219858 | ubuntu-noble | 116 | >>> 2025-04-15 15:16:22.219864 | ubuntu-noble | 117 | >>> # install required ansible collections & roles 2025-04-15 15:16:22.219869 | ubuntu-noble | 118 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-04-15 15:16:22.219875 | ubuntu-noble | 119 | >>> 2025-04-15 15:16:22.219880 | ubuntu-noble | 120 | >>> # add k3s-ansible roles 2025-04-15 15:16:22.219886 | ubuntu-noble | 121 | >>> git clone https://github.com/osism/k3s-ansible /k3s-ansible 2025-04-15 15:16:22.219891 | ubuntu-noble | 122 | >>> mv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles 2025-04-15 15:16:22.219897 | ubuntu-noble | 123 | >>> mv /k3s-ansible/roles/download /ansible/roles/k3s_download 2025-04-15 15:16:22.219903 | ubuntu-noble | 124 | >>> mv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq 2025-04-15 15:16:22.219908 | ubuntu-noble | 125 | >>> mv /k3s-ansible/roles/reset /ansible/roles/k3s_reset 2025-04-15 15:16:22.219914 | ubuntu-noble | 126 | >>> rm -rf /k3s-ansible 2025-04-15 15:16:22.219919 | ubuntu-noble | 127 | >>> 2025-04-15 15:16:22.219925 | ubuntu-noble | 128 | >>> # apply patches 2025-04-15 15:16:22.219938 | ubuntu-noble | 129 | >>> for role in /ansible/roles/*; do 2025-04-15 15:16:22.219944 | ubuntu-noble | 130 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-04-15 15:16:22.219949 | ubuntu-noble | 131 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-04-15 15:16:22.219955 | ubuntu-noble | 132 | >>> echo "$patchfile"; 2025-04-15 15:16:22.219960 | ubuntu-noble | 133 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-04-15 15:16:22.219966 | ubuntu-noble | 134 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-04-15 15:16:22.219972 | ubuntu-noble | 135 | >>> done; 2025-04-15 15:16:22.219977 | ubuntu-noble | 136 | >>> fi; 2025-04-15 15:16:22.219982 | ubuntu-noble | 137 | >>> done 2025-04-15 15:16:22.219988 | ubuntu-noble | 138 | >>> 2025-04-15 15:16:22.219993 | ubuntu-noble | 139 | >>> # install mitogen ansible plugin 2025-04-15 15:16:22.219999 | ubuntu-noble | 140 | >>> mkdir -p /usr/share/mitogen 2025-04-15 15:16:22.220004 | ubuntu-noble | 141 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-04-15 15:16:22.220010 | ubuntu-noble | 142 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-04-15 15:16:22.220015 | ubuntu-noble | 143 | >>> rm /mitogen.tar.gz 2025-04-15 15:16:22.220020 | ubuntu-noble | 144 | >>> 2025-04-15 15:16:22.220026 | ubuntu-noble | 145 | >>> # install helm 2025-04-15 15:16:22.220032 | ubuntu-noble | 146 | >>> curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null 2025-04-15 15:16:22.220038 | 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:16:22.220045 | ubuntu-noble | 148 | >>> apt-get update 2025-04-15 15:16:22.220050 | ubuntu-noble | 149 | >>> apt-get install --no-install-recommends -y \ 2025-04-15 15:16:22.220056 | ubuntu-noble | 150 | >>> helm 2025-04-15 15:16:22.220061 | ubuntu-noble | 151 | >>> 2025-04-15 15:16:22.220067 | ubuntu-noble | 152 | >>> # install helm plugins 2025-04-15 15:16:22.220072 | ubuntu-noble | 153 | >>> helm plugin install https://github.com/databus23/helm-diff 2025-04-15 15:16:22.220078 | ubuntu-noble | 154 | >>> 2025-04-15 15:16:22.220083 | ubuntu-noble | 155 | >>> # install cilium cli 2025-04-15 15:16:22.220089 | 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:16:22.220114 | ubuntu-noble | 157 | >>> sha256sum --check "cilium-linux-${ARCH}.tar.gz.sha256sum" 2025-04-15 15:16:22.220124 | ubuntu-noble | 158 | >>> tar xzvfC "cilium-linux-${ARCH}.tar.gz" /usr/local/bin 2025-04-15 15:16:22.220129 | ubuntu-noble | 159 | >>> rm cilium-linux-"${ARCH}".tar.gz{,.sha256sum} 2025-04-15 15:16:22.220135 | ubuntu-noble | 160 | >>> 2025-04-15 15:16:22.220140 | ubuntu-noble | 161 | >>> # install hubble cli 2025-04-15 15:16:22.220150 | ubuntu-noble | 162 | >>> HUBBLE_ARCH=amd64 2025-04-15 15:16:22.220156 | ubuntu-noble | 163 | >>> if [ "$(uname -m)" = "aarch64" ]; then HUBBLE_ARCH=arm64; fi 2025-04-15 15:16:22.220161 | ubuntu-noble | 164 | >>> curl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${HUBBLE_ARCH}.tar.gz{,.sha256sum} 2025-04-15 15:16:22.220168 | ubuntu-noble | 165 | >>> sha256sum --check hubble-linux-${HUBBLE_ARCH}.tar.gz.sha256sum 2025-04-15 15:16:22.220173 | ubuntu-noble | 166 | >>> sudo tar xzvfC hubble-linux-${HUBBLE_ARCH}.tar.gz /usr/local/bin 2025-04-15 15:16:22.220179 | ubuntu-noble | 167 | >>> rm hubble-linux-${HUBBLE_ARCH}.tar.gz{,.sha256sum} 2025-04-15 15:16:22.220184 | ubuntu-noble | 168 | >>> 2025-04-15 15:16:22.220189 | ubuntu-noble | 169 | >>> # install flux cli 2025-04-15 15:16:22.220195 | ubuntu-noble | 170 | >>> CLEAN_FLUX_VERSION=$(echo "$FLUX_VERSION" | sed 's/^v//') 2025-04-15 15:16:22.220201 | ubuntu-noble | 171 | >>> 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:16:22.220206 | ubuntu-noble | 172 | >>> tar -xzf flux.tar.gz -C /usr/local/bin flux 2025-04-15 15:16:22.220212 | ubuntu-noble | 173 | >>> rm flux.tar.gz 2025-04-15 15:16:22.220217 | ubuntu-noble | 174 | >>> 2025-04-15 15:16:22.220223 | ubuntu-noble | 175 | >>> # install operator-sdk 2025-04-15 15:16:22.220228 | ubuntu-noble | 176 | >>> OS=$(uname | awk '{print tolower($0)}') 2025-04-15 15:16:22.220234 | ubuntu-noble | 177 | >>> OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION} 2025-04-15 15:16:22.220240 | ubuntu-noble | 178 | >>> 2025-04-15 15:16:22.220246 | ubuntu-noble | 179 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}" 2025-04-15 15:16:22.220251 | ubuntu-noble | 180 | >>> gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E 2025-04-15 15:16:22.220257 | ubuntu-noble | 181 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt" 2025-04-15 15:16:22.220262 | ubuntu-noble | 182 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt.asc" 2025-04-15 15:16:22.220267 | ubuntu-noble | 183 | >>> gpg -u "Operator SDK (release) " --verify checksums.txt.asc 2025-04-15 15:16:22.220274 | ubuntu-noble | 184 | >>> grep "operator-sdk_${OS}_${ARCH}" checksums.txt | sha256sum -c - 2025-04-15 15:16:22.220280 | ubuntu-noble | 185 | >>> chmod +x "operator-sdk_${OS}_${ARCH}" 2025-04-15 15:16:22.220286 | ubuntu-noble | 186 | >>> mv "operator-sdk_${OS}_${ARCH}" /usr/local/bin/operator-sdk 2025-04-15 15:16:22.220291 | ubuntu-noble | 187 | >>> rm checksums.txt.asc 2025-04-15 15:16:22.220296 | ubuntu-noble | 188 | >>> rm checksums.txt 2025-04-15 15:16:22.220302 | ubuntu-noble | 189 | >>> 2025-04-15 15:16:22.220307 | ubuntu-noble | 190 | >>> # install clusterctl 2025-04-15 15:16:22.220313 | ubuntu-noble | 191 | >>> 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:16:22.220318 | ubuntu-noble | 192 | >>> chmod +x /usr/local/bin/clusterctl 2025-04-15 15:16:22.220324 | ubuntu-noble | 193 | >>> 2025-04-15 15:16:22.220329 | ubuntu-noble | 194 | >>> # install kubectl 2025-04-15 15:16:22.220335 | ubuntu-noble | 195 | >>> curl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl 2025-04-15 15:16:22.220340 | ubuntu-noble | 196 | >>> chmod +x /usr/local/bin/kubectl 2025-04-15 15:16:22.220345 | ubuntu-noble | 197 | >>> 2025-04-15 15:16:22.220351 | ubuntu-noble | 198 | >>> # prepare .kube directory 2025-04-15 15:16:22.220356 | ubuntu-noble | 199 | >>> mkdir -p /ansible/.kube 2025-04-15 15:16:22.220362 | ubuntu-noble | 200 | >>> ln -s /share/kubeconfig /ansible/.kube/config 2025-04-15 15:16:22.220367 | ubuntu-noble | 201 | >>> chown -R dragon: /ansible/.kube 2025-04-15 15:16:22.220373 | ubuntu-noble | 202 | >>> 2025-04-15 15:16:22.220383 | ubuntu-noble | 203 | >>> # prepare .cache directory 2025-04-15 15:16:22.220389 | ubuntu-noble | 204 | >>> mkdir -p /ansible/.cache 2025-04-15 15:16:22.220394 | ubuntu-noble | 205 | >>> mv /root/.cache/helm /ansible/.cache 2025-04-15 15:16:22.220399 | ubuntu-noble | 206 | >>> chown -R dragon: /ansible/.cache 2025-04-15 15:16:22.220405 | ubuntu-noble | 207 | >>> 2025-04-15 15:16:22.220410 | ubuntu-noble | 208 | >>> # prepare .local directory 2025-04-15 15:16:22.220415 | ubuntu-noble | 209 | >>> mkdir -p /ansible/.local/share 2025-04-15 15:16:22.220421 | ubuntu-noble | 210 | >>> mv /root/.local/share/helm /ansible/.local/share 2025-04-15 15:16:22.220426 | ubuntu-noble | 211 | >>> chown -R dragon: /ansible/.local 2025-04-15 15:16:22.220436 | ubuntu-noble | 212 | >>> 2025-04-15 15:16:22.220442 | ubuntu-noble | 213 | >>> # add symlink to /etc/openstack 2025-04-15 15:16:22.220447 | ubuntu-noble | 214 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-04-15 15:16:22.220453 | ubuntu-noble | 215 | >>> 2025-04-15 15:16:22.220458 | ubuntu-noble | 216 | >>> # copy ara configuration 2025-04-15 15:16:22.220476 | ubuntu-noble | 217 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-04-15 15:16:22.220482 | ubuntu-noble | 218 | >>> 2025-04-15 15:16:22.220487 | ubuntu-noble | 219 | >>> # prepare list of playbooks 2025-04-15 15:16:22.220493 | ubuntu-noble | 220 | >>> python3 /src/render-playbooks.py 2025-04-15 15:16:22.220498 | ubuntu-noble | 221 | >>> 2025-04-15 15:16:22.220503 | ubuntu-noble | 222 | >>> # set correct permssions 2025-04-15 15:16:22.220509 | ubuntu-noble | 223 | >>> chown -R dragon: /ansible /share /interface 2025-04-15 15:16:22.220514 | ubuntu-noble | 224 | >>> 2025-04-15 15:16:22.220520 | ubuntu-noble | 225 | >>> # cleanup 2025-04-15 15:16:22.220525 | ubuntu-noble | 226 | >>> apt-get clean 2025-04-15 15:16:22.220531 | ubuntu-noble | 227 | >>> apt-get remove -y \ 2025-04-15 15:16:22.220536 | ubuntu-noble | 228 | >>> build-essential \ 2025-04-15 15:16:22.220542 | ubuntu-noble | 229 | >>> curl \ 2025-04-15 15:16:22.220547 | ubuntu-noble | 230 | >>> git \ 2025-04-15 15:16:22.220552 | ubuntu-noble | 231 | >>> gnupg \ 2025-04-15 15:16:22.220558 | ubuntu-noble | 232 | >>> libffi-dev \ 2025-04-15 15:16:22.220563 | ubuntu-noble | 233 | >>> libssh-dev \ 2025-04-15 15:16:22.220568 | ubuntu-noble | 234 | >>> libssl-dev \ 2025-04-15 15:16:22.220574 | ubuntu-noble | 235 | >>> libyaml-dev 2025-04-15 15:16:22.220579 | ubuntu-noble | 236 | >>> apt-get autoremove -y 2025-04-15 15:16:22.220585 | ubuntu-noble | 237 | >>> rm -rf \ 2025-04-15 15:16:22.220590 | ubuntu-noble | 238 | >>> /root/.cache \ 2025-04-15 15:16:22.220595 | ubuntu-noble | 239 | >>> /tmp/* \ 2025-04-15 15:16:22.220601 | ubuntu-noble | 240 | >>> /usr/share/doc/* \ 2025-04-15 15:16:22.220606 | ubuntu-noble | 241 | >>> /usr/share/man/* \ 2025-04-15 15:16:22.220611 | ubuntu-noble | 242 | >>> /var/lib/apt/lists/* \ 2025-04-15 15:16:22.220617 | ubuntu-noble | 243 | >>> /var/tmp/* \ 2025-04-15 15:16:22.220622 | ubuntu-noble | 244 | >>> /patches 2025-04-15 15:16:22.220628 | ubuntu-noble | 245 | >>> 2025-04-15 15:16:22.220633 | ubuntu-noble | 246 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-04-15 15:16:22.220638 | ubuntu-noble | 247 | >>> pyclean /usr 2025-04-15 15:16:22.220649 | ubuntu-noble | 248 | >>> uv pip uninstall --system pyclean 2025-04-15 15:16:22.220654 | ubuntu-noble | 249 | >>> EOF 2025-04-15 15:16:22.220660 | ubuntu-noble | 250 | 2025-04-15 15:16:22.220665 | ubuntu-noble | -------------------- 2025-04-15 15:16:22.220697 | 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\nif [ \"$(uname -m)\" = \"aarch64\" ]; then HUBBLE_ARCH=arm64; fi\ncurl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${HUBBLE_ARCH}.tar.gz{,.sha256sum}\nsha256sum --check hubble-linux-${HUBBLE_ARCH}.tar.gz.sha256sum\nsudo tar xzvfC hubble-linux-${HUBBLE_ARCH}.tar.gz /usr/local/bin\nrm hubble-linux-${HUBBLE_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: 127 2025-04-15 15:16:22.646746 | ubuntu-noble | ERROR 2025-04-15 15:16:22.647189 | ubuntu-noble | { 2025-04-15 15:16:22.647330 | ubuntu-noble | "delta": "0:01:57.524523", 2025-04-15 15:16:22.647407 | ubuntu-noble | "end": "2025-04-15 15:16:22.230232", 2025-04-15 15:16:22.647471 | ubuntu-noble | "msg": "non-zero return code", 2025-04-15 15:16:22.647528 | ubuntu-noble | "rc": 1, 2025-04-15 15:16:22.647583 | ubuntu-noble | "start": "2025-04-15 15:14:24.705709" 2025-04-15 15:16:22.647637 | ubuntu-noble | } failure 2025-04-15 15:16:22.682692 | 2025-04-15 15:16:22.682804 | PLAY RECAP 2025-04-15 15:16:22.682866 | ubuntu-noble | ok: 0 changed: 0 unreachable: 0 failed: 1 skipped: 1 rescued: 0 ignored: 0 2025-04-15 15:16:22.682898 | 2025-04-15 15:16:22.806362 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/osism-kubernetes/zuul-playbooks/build.yml@main] 2025-04-15 15:16:22.809325 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-15 15:16:23.509710 | 2025-04-15 15:16:23.509877 | PLAY [Base post] 2025-04-15 15:16:23.536621 | 2025-04-15 15:16:23.536779 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-04-15 15:16:24.330549 | ubuntu-noble | changed 2025-04-15 15:16:24.362326 | 2025-04-15 15:16:24.362471 | PLAY RECAP 2025-04-15 15:16:24.362534 | ubuntu-noble | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-04-15 15:16:24.362596 | 2025-04-15 15:16:24.475778 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-15 15:16:24.478740 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-04-15 15:16:25.230226 | 2025-04-15 15:16:25.230422 | PLAY [Base post-logs] 2025-04-15 15:16:25.247152 | 2025-04-15 15:16:25.247331 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-04-15 15:16:25.750757 | localhost | changed 2025-04-15 15:16:25.754622 | 2025-04-15 15:16:25.754755 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-04-15 15:16:25.792676 | localhost | ok 2025-04-15 15:16:25.799264 | 2025-04-15 15:16:25.799396 | TASK [Set zuul-log-path fact] 2025-04-15 15:16:25.816108 | localhost | ok 2025-04-15 15:16:25.827012 | 2025-04-15 15:16:25.827140 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-15 15:16:25.857206 | localhost | ok 2025-04-15 15:16:25.868933 | 2025-04-15 15:16:25.869089 | TASK [upload-logs : Create log directories] 2025-04-15 15:16:26.445724 | localhost | changed 2025-04-15 15:16:26.451334 | 2025-04-15 15:16:26.451485 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-04-15 15:16:26.986844 | localhost -> localhost | ok: Runtime: 0:00:00.014476 2025-04-15 15:16:26.992096 | 2025-04-15 15:16:26.992223 | TASK [upload-logs : Upload logs to log server] 2025-04-15 15:16:27.604867 | localhost | Output suppressed because no_log was given 2025-04-15 15:16:27.608013 | 2025-04-15 15:16:27.608132 | LOOP [upload-logs : Compress console log and json output] 2025-04-15 15:16:27.672718 | localhost | skipping: Conditional result was False 2025-04-15 15:16:27.694379 | localhost | skipping: Conditional result was False 2025-04-15 15:16:27.713691 | 2025-04-15 15:16:27.713919 | LOOP [upload-logs : Upload compressed console log and json output] 2025-04-15 15:16:27.777687 | localhost | skipping: Conditional result was False 2025-04-15 15:16:27.778008 | 2025-04-15 15:16:27.805786 | localhost | skipping: Conditional result was False 2025-04-15 15:16:27.823998 | 2025-04-15 15:16:27.824222 | LOOP [upload-logs : Upload console log and json output]