2025-04-08 18:36:41.706536 | Job console starting... 2025-04-08 18:36:41.753496 | Updating repositories 2025-04-08 18:36:41.823547 | Preparing job workspace 2025-04-08 18:36:47.208545 | Running Ansible setup... 2025-04-08 18:36:53.912936 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-04-08 18:36:54.857796 | 2025-04-08 18:36:54.857904 | PLAY [Base pre] 2025-04-08 18:36:54.900662 | 2025-04-08 18:36:54.900760 | TASK [Setup log path fact] 2025-04-08 18:36:54.947515 | ubuntu-noble | ok 2025-04-08 18:36:54.978018 | 2025-04-08 18:36:54.978110 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-08 18:36:55.043164 | ubuntu-noble | ok 2025-04-08 18:36:55.054834 | 2025-04-08 18:36:55.054921 | TASK [emit-job-header : Print job information] 2025-04-08 18:36:55.157236 | # Job Information 2025-04-08 18:36:55.157395 | Ansible Version: 2.15.3 2025-04-08 18:36:55.157423 | Job: osism-kubernetes-build 2025-04-08 18:36:55.157448 | Pipeline: check 2025-04-08 18:36:55.157465 | Executor: 7d211f194f6a 2025-04-08 18:36:55.157480 | Triggered by: https://github.com/osism/osism-kubernetes/pull/152 2025-04-08 18:36:55.157495 | Event ID: 64b32a50-14a8-11f0-8e6c-bde55e9a685b 2025-04-08 18:36:55.167058 | 2025-04-08 18:36:55.167159 | LOOP [emit-job-header : Print node information] 2025-04-08 18:36:55.350504 | ubuntu-noble | ok: 2025-04-08 18:36:55.350655 | ubuntu-noble | # Node Information 2025-04-08 18:36:55.350682 | ubuntu-noble | Inventory Hostname: ubuntu-noble 2025-04-08 18:36:55.350702 | ubuntu-noble | Hostname: ubuntu 2025-04-08 18:36:55.350720 | ubuntu-noble | Username: zuul 2025-04-08 18:36:55.350737 | ubuntu-noble | Distro: Ubuntu 24.04 2025-04-08 18:36:55.350756 | ubuntu-noble | Provider: regiocloud-a 2025-04-08 18:36:55.350772 | ubuntu-noble | Label: ubuntu-noble 2025-04-08 18:36:55.350789 | ubuntu-noble | Product Name: OpenStack Nova 2025-04-08 18:36:55.350805 | ubuntu-noble | Interface IP: 81.163.192.174 2025-04-08 18:36:55.369428 | 2025-04-08 18:36:55.369514 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-04-08 18:36:56.035998 | ubuntu-noble -> localhost | changed 2025-04-08 18:36:56.043126 | 2025-04-08 18:36:56.043242 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-04-08 18:36:57.789579 | ubuntu-noble -> localhost | changed 2025-04-08 18:36:57.812077 | 2025-04-08 18:36:57.812178 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-04-08 18:36:58.336756 | ubuntu-noble -> localhost | ok 2025-04-08 18:36:58.343039 | 2025-04-08 18:36:58.343128 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-04-08 18:36:58.387343 | ubuntu-noble | ok 2025-04-08 18:36:58.407856 | ubuntu-noble | included: /var/lib/zuul/builds/3682558b1f68483e8fbcca0f259d0f87/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-04-08 18:36:58.416597 | 2025-04-08 18:36:58.416681 | TASK [add-build-sshkey : Create Temp SSH key] 2025-04-08 18:36:59.237744 | ubuntu-noble -> localhost | Generating public/private rsa key pair. 2025-04-08 18:36:59.237895 | ubuntu-noble -> localhost | Your identification has been saved in /var/lib/zuul/builds/3682558b1f68483e8fbcca0f259d0f87/work/3682558b1f68483e8fbcca0f259d0f87_id_rsa 2025-04-08 18:36:59.237923 | ubuntu-noble -> localhost | Your public key has been saved in /var/lib/zuul/builds/3682558b1f68483e8fbcca0f259d0f87/work/3682558b1f68483e8fbcca0f259d0f87_id_rsa.pub 2025-04-08 18:36:59.237943 | ubuntu-noble -> localhost | The key fingerprint is: 2025-04-08 18:36:59.237961 | ubuntu-noble -> localhost | SHA256:c5tasFtXgJrwq/ge31pvhoy1PDbpgaIysjMsTIZfLbk zuul-build-sshkey 2025-04-08 18:36:59.237979 | ubuntu-noble -> localhost | The key's randomart image is: 2025-04-08 18:36:59.237995 | ubuntu-noble -> localhost | +---[RSA 3072]----+ 2025-04-08 18:36:59.238023 | ubuntu-noble -> localhost | | | 2025-04-08 18:36:59.238040 | ubuntu-noble -> localhost | | . | 2025-04-08 18:36:59.238056 | ubuntu-noble -> localhost | | . . . | 2025-04-08 18:36:59.238078 | ubuntu-noble -> localhost | | o o . | 2025-04-08 18:36:59.238095 | ubuntu-noble -> localhost | |. o S . . | 2025-04-08 18:36:59.238110 | ubuntu-noble -> localhost | |.o + . B.o . | 2025-04-08 18:36:59.238132 | ubuntu-noble -> localhost | |=. . oo +=B+. | 2025-04-08 18:36:59.238160 | ubuntu-noble -> localhost | |=o+ Eo =.BX+o | 2025-04-08 18:36:59.238177 | ubuntu-noble -> localhost | |o= ooo+ =+o=. | 2025-04-08 18:36:59.238193 | ubuntu-noble -> localhost | +----[SHA256]-----+ 2025-04-08 18:36:59.238238 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.233644 2025-04-08 18:36:59.244826 | 2025-04-08 18:36:59.244909 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-04-08 18:36:59.263123 | ubuntu-noble | ok 2025-04-08 18:36:59.272350 | ubuntu-noble | included: /var/lib/zuul/builds/3682558b1f68483e8fbcca0f259d0f87/trusted/project_1/opendev.org/zuul/zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-04-08 18:36:59.281074 | 2025-04-08 18:36:59.281165 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-04-08 18:36:59.311178 | ubuntu-noble | skipping: Conditional result was False 2025-04-08 18:36:59.318186 | 2025-04-08 18:36:59.318271 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-04-08 18:37:00.037315 | ubuntu-noble | changed 2025-04-08 18:37:00.046081 | 2025-04-08 18:37:00.046193 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-04-08 18:37:00.381213 | ubuntu-noble | ok 2025-04-08 18:37:00.390994 | 2025-04-08 18:37:00.391126 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-04-08 18:37:01.141854 | ubuntu-noble | changed 2025-04-08 18:37:01.147713 | 2025-04-08 18:37:01.147786 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-04-08 18:37:01.891374 | ubuntu-noble | changed 2025-04-08 18:37:01.907798 | 2025-04-08 18:37:01.907911 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-04-08 18:37:01.934623 | ubuntu-noble | skipping: Conditional result was False 2025-04-08 18:37:01.949052 | 2025-04-08 18:37:01.949160 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-04-08 18:37:02.410572 | ubuntu-noble -> localhost | changed 2025-04-08 18:37:02.423972 | 2025-04-08 18:37:02.424068 | TASK [add-build-sshkey : Add back temp key] 2025-04-08 18:37:02.929350 | ubuntu-noble -> localhost | Identity added: /var/lib/zuul/builds/3682558b1f68483e8fbcca0f259d0f87/work/3682558b1f68483e8fbcca0f259d0f87_id_rsa (zuul-build-sshkey) 2025-04-08 18:37:02.929645 | ubuntu-noble -> localhost | ok: Runtime: 0:00:00.011884 2025-04-08 18:37:02.936324 | 2025-04-08 18:37:02.936535 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-04-08 18:37:03.390027 | ubuntu-noble | ok 2025-04-08 18:37:03.396501 | 2025-04-08 18:37:03.396586 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-04-08 18:37:03.426009 | ubuntu-noble | skipping: Conditional result was False 2025-04-08 18:37:03.465505 | 2025-04-08 18:37:03.465595 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-04-08 18:37:03.893205 | ubuntu-noble | ok 2025-04-08 18:37:03.905636 | 2025-04-08 18:37:03.905734 | TASK [validate-host : Define zuul_info_dir fact] 2025-04-08 18:37:03.940610 | ubuntu-noble | ok 2025-04-08 18:37:03.948034 | 2025-04-08 18:37:03.948129 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-04-08 18:37:04.333691 | ubuntu-noble -> localhost | ok 2025-04-08 18:37:04.340814 | 2025-04-08 18:37:04.340905 | TASK [validate-host : Collect information about the host] 2025-04-08 18:37:05.620430 | ubuntu-noble | ok 2025-04-08 18:37:05.633233 | 2025-04-08 18:37:05.633325 | TASK [validate-host : Sanitize hostname] 2025-04-08 18:37:05.715376 | ubuntu-noble | ok 2025-04-08 18:37:05.722046 | 2025-04-08 18:37:05.722155 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-04-08 18:37:06.699491 | ubuntu-noble -> localhost | changed 2025-04-08 18:37:06.706552 | 2025-04-08 18:37:06.706649 | TASK [validate-host : Collect information about zuul worker] 2025-04-08 18:37:07.208193 | ubuntu-noble | ok 2025-04-08 18:37:07.215035 | 2025-04-08 18:37:07.215128 | TASK [validate-host : Write out all zuul information for each host] 2025-04-08 18:37:07.911226 | ubuntu-noble -> localhost | changed 2025-04-08 18:37:07.927628 | 2025-04-08 18:37:07.927732 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-04-08 18:37:08.335288 | ubuntu-noble | ok 2025-04-08 18:37:08.347590 | 2025-04-08 18:37:08.347689 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-04-08 18:37:10.208532 | ubuntu-noble | changed: 2025-04-08 18:37:10.208706 | ubuntu-noble | cd+++++++++ src/ 2025-04-08 18:37:10.208742 | ubuntu-noble | cd+++++++++ src/github.com/ 2025-04-08 18:37:10.208768 | ubuntu-noble | cd+++++++++ src/github.com/osism/ 2025-04-08 18:37:10.208790 | ubuntu-noble | cd+++++++++ src/github.com/osism/osism-kubernetes/ 2025-04-08 18:37:10.208811 | ubuntu-noble | Containerfile 2025-04-08 18:37:10.208961 | ubuntu-noble | 2025-04-08 18:38:58.735587 | ubuntu-noble | #20 33.77 "version": VERSION, 2025-04-08 18:38:58.735698 | ubuntu-noble | #20 33.77 ^^^^^^^ 2025-04-08 18:38:58.735718 | ubuntu-noble | #20 33.77 NameError: name 'VERSION' is not defined 2025-04-08 18:38:58.735829 | ubuntu-noble | #20 ERROR: process "/bin/bash -o pipefail -c set -e\nset -x\n\nCAPI_VERSION=1.8.5\nCILIUM_CLI_VERSION=v0.16.20\nFLUX_VERSION=v2.4.0\nKUBECTL_VERSION=1.30.7\nOPERATOR_SDK_VERSION=v1.38.0\n\n# shellcheck disable=SC2046\nARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)\n\n# show motd\necho \"[ ! -z \\\"\\$TERM\\\" -a -r /etc/motd ] && cat /etc/motd\" >> /etc/bash.bashrc\n\n# install required packages\napt-get update\napt-get install --no-install-recommends -y \\\n build-essential \\\n curl \\\n dumb-init \\\n git \\\n gnupg \\\n gnupg-agent \\\n iputils-ping \\\n jq \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev \\\n openssh-client \\\n procps \\\n rsync \\\n sshpass\nupdate-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1\nupdate-alternatives --install /usr/bin/python python /usr/local/bin/python 1\n\nuv pip install --no-cache --system -r /src/requirements.txt\n\n# add user\ngroupadd -g \"$GROUP_ID\" dragon\ngroupadd -g \"$GROUP_ID_DOCKER\" docker\nuseradd -l -g dragon -G docker -u \"$USER_ID\" -m -d /ansible dragon\n\n# prepare release repository\ngit clone https://github.com/osism/release /release\n\n# prepare project repository\ngit clone https://github.com/osism/defaults /defaults\ngit clone https://github.com/osism/cfg-generics /generics\n\nif [ \"$VERSION\" != \"latest\" ]; then\n ( cd /release || exit; git fetch --all --force; git checkout \"osism-kubernetes-$VERSION\" )\n ( cd /defaults || exit; git fetch --all --force; git checkout \"$(yq -M -r .defaults_version \"/release/$VERSION/base.yml\")\" )\n ( cd /generics || exit; git fetch --all --force; git checkout \"$(yq -M -r .generics_version \"/release/$VERSION/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 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: 1 2025-04-08 18:38:58.835448 | ubuntu-noble | ------ 2025-04-08 18:38:58.842319 | ubuntu-noble | > [builder 13/13] RUN < 2025-04-08 18:38:58.842541 | ubuntu-noble | 33.77 "version": VERSION, 2025-04-08 18:38:58.842552 | ubuntu-noble | 33.77 ^^^^^^^ 2025-04-08 18:38:58.842581 | ubuntu-noble | 33.77 NameError: name 'VERSION' is not defined 2025-04-08 18:38:58.842592 | ubuntu-noble | ------ 2025-04-08 18:38:58.842614 | ubuntu-noble | Dockerfile:30 2025-04-08 18:38:58.842623 | ubuntu-noble | -------------------- 2025-04-08 18:38:58.842639 | ubuntu-noble | 29 | # hadolint ignore=DL3003 2025-04-08 18:38:58.842653 | ubuntu-noble | 30 | >>> RUN <>> set -e 2025-04-08 18:38:58.842675 | ubuntu-noble | 32 | >>> set -x 2025-04-08 18:38:58.842683 | ubuntu-noble | 33 | >>> 2025-04-08 18:38:58.842691 | ubuntu-noble | 34 | >>> CAPI_VERSION=1.8.5 2025-04-08 18:38:58.842706 | ubuntu-noble | 35 | >>> CILIUM_CLI_VERSION=v0.16.20 2025-04-08 18:38:58.842715 | ubuntu-noble | 36 | >>> FLUX_VERSION=v2.4.0 2025-04-08 18:38:58.842723 | ubuntu-noble | 37 | >>> KUBECTL_VERSION=1.30.7 2025-04-08 18:38:58.842732 | ubuntu-noble | 38 | >>> OPERATOR_SDK_VERSION=v1.38.0 2025-04-08 18:38:58.842740 | ubuntu-noble | 39 | >>> 2025-04-08 18:38:58.842748 | ubuntu-noble | 40 | >>> # shellcheck disable=SC2046 2025-04-08 18:38:58.842757 | ubuntu-noble | 41 | >>> ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) 2025-04-08 18:38:58.842765 | ubuntu-noble | 42 | >>> 2025-04-08 18:38:58.842774 | ubuntu-noble | 43 | >>> # show motd 2025-04-08 18:38:58.842782 | ubuntu-noble | 44 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-04-08 18:38:58.842790 | ubuntu-noble | 45 | >>> 2025-04-08 18:38:58.842798 | ubuntu-noble | 46 | >>> # install required packages 2025-04-08 18:38:58.842807 | ubuntu-noble | 47 | >>> apt-get update 2025-04-08 18:38:58.842815 | ubuntu-noble | 48 | >>> apt-get install --no-install-recommends -y \ 2025-04-08 18:38:58.842823 | ubuntu-noble | 49 | >>> build-essential \ 2025-04-08 18:38:58.842831 | ubuntu-noble | 50 | >>> curl \ 2025-04-08 18:38:58.842839 | ubuntu-noble | 51 | >>> dumb-init \ 2025-04-08 18:38:58.842847 | ubuntu-noble | 52 | >>> git \ 2025-04-08 18:38:58.842855 | ubuntu-noble | 53 | >>> gnupg \ 2025-04-08 18:38:58.842863 | ubuntu-noble | 54 | >>> gnupg-agent \ 2025-04-08 18:38:58.842871 | ubuntu-noble | 55 | >>> iputils-ping \ 2025-04-08 18:38:58.842879 | ubuntu-noble | 56 | >>> jq \ 2025-04-08 18:38:58.842887 | ubuntu-noble | 57 | >>> libffi-dev \ 2025-04-08 18:38:58.842895 | ubuntu-noble | 58 | >>> libssh-dev \ 2025-04-08 18:38:58.842904 | ubuntu-noble | 59 | >>> libssl-dev \ 2025-04-08 18:38:58.842912 | ubuntu-noble | 60 | >>> libyaml-dev \ 2025-04-08 18:38:58.842920 | ubuntu-noble | 61 | >>> openssh-client \ 2025-04-08 18:38:58.842928 | ubuntu-noble | 62 | >>> procps \ 2025-04-08 18:38:58.842936 | ubuntu-noble | 63 | >>> rsync \ 2025-04-08 18:38:58.842944 | ubuntu-noble | 64 | >>> sshpass 2025-04-08 18:38:58.842952 | ubuntu-noble | 65 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-04-08 18:38:58.842960 | ubuntu-noble | 66 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-04-08 18:38:58.842968 | ubuntu-noble | 67 | >>> 2025-04-08 18:38:58.842977 | ubuntu-noble | 68 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-04-08 18:38:58.842985 | ubuntu-noble | 69 | >>> 2025-04-08 18:38:58.842993 | ubuntu-noble | 70 | >>> # add user 2025-04-08 18:38:58.843001 | ubuntu-noble | 71 | >>> groupadd -g "$GROUP_ID" dragon 2025-04-08 18:38:58.843009 | ubuntu-noble | 72 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-04-08 18:38:58.843017 | ubuntu-noble | 73 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-04-08 18:38:58.843026 | ubuntu-noble | 74 | >>> 2025-04-08 18:38:58.843034 | ubuntu-noble | 75 | >>> # prepare release repository 2025-04-08 18:38:58.843042 | ubuntu-noble | 76 | >>> git clone https://github.com/osism/release /release 2025-04-08 18:38:58.843050 | ubuntu-noble | 77 | >>> 2025-04-08 18:38:58.843059 | ubuntu-noble | 78 | >>> # prepare project repository 2025-04-08 18:38:58.843097 | ubuntu-noble | 79 | >>> git clone https://github.com/osism/defaults /defaults 2025-04-08 18:38:58.843106 | ubuntu-noble | 80 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-04-08 18:38:58.843115 | ubuntu-noble | 81 | >>> 2025-04-08 18:38:58.843123 | ubuntu-noble | 82 | >>> if [ "$VERSION" != "latest" ]; then 2025-04-08 18:38:58.843131 | ubuntu-noble | 83 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-kubernetes-$VERSION" ) 2025-04-08 18:38:58.843140 | ubuntu-noble | 84 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/$VERSION/base.yml")" ) 2025-04-08 18:38:58.843152 | ubuntu-noble | 85 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/$VERSION/base.yml")" ) 2025-04-08 18:38:58.843167 | ubuntu-noble | 86 | >>> fi 2025-04-08 18:38:58.843175 | ubuntu-noble | 87 | >>> 2025-04-08 18:38:58.843183 | ubuntu-noble | 88 | >>> # add inventory files 2025-04-08 18:38:58.843192 | ubuntu-noble | 89 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-04-08 18:38:58.843201 | ubuntu-noble | 90 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-04-08 18:38:58.843209 | ubuntu-noble | 91 | >>> 2025-04-08 18:38:58.843217 | ubuntu-noble | 92 | >>> # run preparations 2025-04-08 18:38:58.843225 | ubuntu-noble | 93 | >>> mkdir -p /ansible/group_vars/all/ 2025-04-08 18:38:58.843234 | ubuntu-noble | 94 | >>> 2025-04-08 18:38:58.843241 | ubuntu-noble | 95 | >>> python3 /src/render-python-requirements.py 2025-04-08 18:38:58.843250 | ubuntu-noble | 96 | >>> python3 /src/render-versions.py 2025-04-08 18:38:58.843258 | ubuntu-noble | 97 | >>> 2025-04-08 18:38:58.843266 | ubuntu-noble | 98 | >>> # install required python packages 2025-04-08 18:38:58.843274 | ubuntu-noble | 99 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-04-08 18:38:58.843282 | ubuntu-noble | 100 | >>> 2025-04-08 18:38:58.843290 | ubuntu-noble | 101 | >>> # set ansible version in the motd 2025-04-08 18:38:58.843298 | ubuntu-noble | 102 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-04-08 18:38:58.843306 | ubuntu-noble | 103 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-04-08 18:38:58.843314 | ubuntu-noble | 104 | >>> 2025-04-08 18:38:58.843322 | ubuntu-noble | 105 | >>> # create required directories 2025-04-08 18:38:58.843330 | ubuntu-noble | 106 | >>> mkdir -p \ 2025-04-08 18:38:58.843339 | ubuntu-noble | 107 | >>> /ansible \ 2025-04-08 18:38:58.843347 | ubuntu-noble | 108 | >>> /ansible/roles \ 2025-04-08 18:38:58.843355 | ubuntu-noble | 109 | >>> /ansible/action_plugins \ 2025-04-08 18:38:58.843363 | ubuntu-noble | 110 | >>> /ansible/cache \ 2025-04-08 18:38:58.843371 | ubuntu-noble | 111 | >>> /ansible/logs \ 2025-04-08 18:38:58.843379 | ubuntu-noble | 112 | >>> /ansible/secrets \ 2025-04-08 18:38:58.843411 | ubuntu-noble | 113 | >>> /interface \ 2025-04-08 18:38:58.843423 | ubuntu-noble | 114 | >>> /share 2025-04-08 18:38:58.843431 | ubuntu-noble | 115 | >>> 2025-04-08 18:38:58.843439 | ubuntu-noble | 116 | >>> # install required ansible collections & roles 2025-04-08 18:38:58.843459 | ubuntu-noble | 117 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-04-08 18:38:58.843468 | ubuntu-noble | 118 | >>> 2025-04-08 18:38:58.843476 | ubuntu-noble | 119 | >>> # add k3s-ansible roles 2025-04-08 18:38:58.843484 | ubuntu-noble | 120 | >>> git clone https://github.com/osism/k3s-ansible /k3s-ansible 2025-04-08 18:38:58.843492 | ubuntu-noble | 121 | >>> mv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles 2025-04-08 18:38:58.843501 | ubuntu-noble | 122 | >>> mv /k3s-ansible/roles/download /ansible/roles/k3s_download 2025-04-08 18:38:58.843509 | ubuntu-noble | 123 | >>> mv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq 2025-04-08 18:38:58.843517 | ubuntu-noble | 124 | >>> mv /k3s-ansible/roles/reset /ansible/roles/k3s_reset 2025-04-08 18:38:58.843525 | ubuntu-noble | 125 | >>> rm -rf /k3s-ansible 2025-04-08 18:38:58.843534 | ubuntu-noble | 126 | >>> 2025-04-08 18:38:58.843542 | ubuntu-noble | 127 | >>> # apply patches 2025-04-08 18:38:58.843556 | ubuntu-noble | 128 | >>> for role in /ansible/roles/*; do 2025-04-08 18:38:58.843565 | ubuntu-noble | 129 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-04-08 18:38:58.843573 | ubuntu-noble | 130 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-04-08 18:38:58.843581 | ubuntu-noble | 131 | >>> echo "$patchfile"; 2025-04-08 18:38:58.843590 | ubuntu-noble | 132 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-04-08 18:38:58.843598 | ubuntu-noble | 133 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-04-08 18:38:58.843606 | ubuntu-noble | 134 | >>> done; 2025-04-08 18:38:58.843614 | ubuntu-noble | 135 | >>> fi; 2025-04-08 18:38:58.843623 | ubuntu-noble | 136 | >>> done 2025-04-08 18:38:58.843631 | ubuntu-noble | 137 | >>> 2025-04-08 18:38:58.843639 | ubuntu-noble | 138 | >>> # install mitogen ansible plugin 2025-04-08 18:38:58.843647 | ubuntu-noble | 139 | >>> mkdir -p /usr/share/mitogen 2025-04-08 18:38:58.843655 | ubuntu-noble | 140 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-04-08 18:38:58.843663 | ubuntu-noble | 141 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-04-08 18:38:58.843678 | ubuntu-noble | 142 | >>> rm /mitogen.tar.gz 2025-04-08 18:38:58.843686 | ubuntu-noble | 143 | >>> 2025-04-08 18:38:58.843694 | ubuntu-noble | 144 | >>> # install helm 2025-04-08 18:38:58.843706 | ubuntu-noble | 145 | >>> curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null 2025-04-08 18:38:58.843715 | ubuntu-noble | 146 | >>> 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-08 18:38:58.843725 | ubuntu-noble | 147 | >>> apt-get update 2025-04-08 18:38:58.843733 | ubuntu-noble | 148 | >>> apt-get install --no-install-recommends -y \ 2025-04-08 18:38:58.843741 | ubuntu-noble | 149 | >>> helm 2025-04-08 18:38:58.843749 | ubuntu-noble | 150 | >>> 2025-04-08 18:38:58.843757 | ubuntu-noble | 151 | >>> # install helm plugins 2025-04-08 18:38:58.843768 | ubuntu-noble | 152 | >>> helm plugin install https://github.com/databus23/helm-diff 2025-04-08 18:38:58.843776 | ubuntu-noble | 153 | >>> 2025-04-08 18:38:58.843784 | ubuntu-noble | 154 | >>> # install cilium cli 2025-04-08 18:38:58.843793 | ubuntu-noble | 155 | >>> 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-08 18:38:58.843802 | ubuntu-noble | 156 | >>> sha256sum --check "cilium-linux-${ARCH}.tar.gz.sha256sum" 2025-04-08 18:38:58.843810 | ubuntu-noble | 157 | >>> tar xzvfC "cilium-linux-${ARCH}.tar.gz" /usr/local/bin 2025-04-08 18:38:58.843818 | ubuntu-noble | 158 | >>> rm cilium-linux-"${ARCH}".tar.gz{,.sha256sum} 2025-04-08 18:38:58.843827 | ubuntu-noble | 159 | >>> 2025-04-08 18:38:58.843835 | ubuntu-noble | 160 | >>> # install flux cli 2025-04-08 18:38:58.843843 | ubuntu-noble | 161 | >>> CLEAN_FLUX_VERSION=$(echo "$FLUX_VERSION" | sed 's/^v//') 2025-04-08 18:38:58.843852 | ubuntu-noble | 162 | >>> 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-08 18:38:58.843860 | ubuntu-noble | 163 | >>> tar -xzf flux.tar.gz -C /usr/local/bin flux 2025-04-08 18:38:58.843869 | ubuntu-noble | 164 | >>> rm flux.tar.gz 2025-04-08 18:38:58.843877 | ubuntu-noble | 165 | >>> 2025-04-08 18:38:58.843885 | ubuntu-noble | 166 | >>> # install operator-sdk 2025-04-08 18:38:58.843893 | ubuntu-noble | 167 | >>> OS=$(uname | awk '{print tolower($0)}') 2025-04-08 18:38:58.843901 | ubuntu-noble | 168 | >>> OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION} 2025-04-08 18:38:58.843910 | ubuntu-noble | 169 | >>> 2025-04-08 18:38:58.843919 | ubuntu-noble | 170 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}" 2025-04-08 18:38:58.843927 | ubuntu-noble | 171 | >>> gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E 2025-04-08 18:38:58.843935 | ubuntu-noble | 172 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt" 2025-04-08 18:38:58.843943 | ubuntu-noble | 173 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt.asc" 2025-04-08 18:38:58.843951 | ubuntu-noble | 174 | >>> gpg -u "Operator SDK (release) " --verify checksums.txt.asc 2025-04-08 18:38:58.843960 | ubuntu-noble | 175 | >>> grep "operator-sdk_${OS}_${ARCH}" checksums.txt | sha256sum -c - 2025-04-08 18:38:58.843968 | ubuntu-noble | 176 | >>> chmod +x "operator-sdk_${OS}_${ARCH}" 2025-04-08 18:38:58.843976 | ubuntu-noble | 177 | >>> mv "operator-sdk_${OS}_${ARCH}" /usr/local/bin/operator-sdk 2025-04-08 18:38:58.843985 | ubuntu-noble | 178 | >>> rm checksums.txt.asc 2025-04-08 18:38:58.843993 | ubuntu-noble | 179 | >>> rm checksums.txt 2025-04-08 18:38:58.844001 | ubuntu-noble | 180 | >>> 2025-04-08 18:38:58.844009 | ubuntu-noble | 181 | >>> # install clusterctl 2025-04-08 18:38:58.844017 | ubuntu-noble | 182 | >>> curl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64 2025-04-08 18:38:58.844025 | ubuntu-noble | 183 | >>> chmod +x /usr/local/bin/clusterctl 2025-04-08 18:38:58.844033 | ubuntu-noble | 184 | >>> 2025-04-08 18:38:58.844050 | ubuntu-noble | 185 | >>> # install kubectl 2025-04-08 18:38:58.844059 | ubuntu-noble | 186 | >>> curl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl 2025-04-08 18:38:58.846040 | ubuntu-noble | 187 | >>> chmod +x /usr/local/bin/kubectl 2025-04-08 18:38:58.846052 | ubuntu-noble | 188 | >>> 2025-04-08 18:38:58.846075 | ubuntu-noble | 189 | >>> # prepare .kube directory 2025-04-08 18:38:58.846255 | ubuntu-noble | 190 | >>> mkdir -p /ansible/.kube 2025-04-08 18:38:58.846265 | ubuntu-noble | 191 | >>> ln -s /share/kubeconfig /ansible/.kube/config 2025-04-08 18:38:58.846274 | ubuntu-noble | 192 | >>> chown -R dragon: /ansible/.kube 2025-04-08 18:38:58.846282 | ubuntu-noble | 193 | >>> 2025-04-08 18:38:58.846291 | ubuntu-noble | 194 | >>> # prepare .cache directory 2025-04-08 18:38:58.846299 | ubuntu-noble | 195 | >>> mkdir -p /ansible/.cache 2025-04-08 18:38:58.846307 | ubuntu-noble | 196 | >>> mv /root/.cache/helm /ansible/.cache 2025-04-08 18:38:58.846318 | ubuntu-noble | 197 | >>> chown -R dragon: /ansible/.cache 2025-04-08 18:38:58.846326 | ubuntu-noble | 198 | >>> 2025-04-08 18:38:58.846334 | ubuntu-noble | 199 | >>> # prepare .local directory 2025-04-08 18:38:58.846343 | ubuntu-noble | 200 | >>> mkdir -p /ansible/.local/share 2025-04-08 18:38:58.846351 | ubuntu-noble | 201 | >>> mv /root/.local/share/helm /ansible/.local/share 2025-04-08 18:38:58.846359 | ubuntu-noble | 202 | >>> chown -R dragon: /ansible/.local 2025-04-08 18:38:58.846367 | ubuntu-noble | 203 | >>> 2025-04-08 18:38:58.846375 | ubuntu-noble | 204 | >>> # add symlink to /etc/openstack 2025-04-08 18:38:58.846404 | ubuntu-noble | 205 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-04-08 18:38:58.846414 | ubuntu-noble | 206 | >>> 2025-04-08 18:38:58.846422 | ubuntu-noble | 207 | >>> # copy ara configuration 2025-04-08 18:38:58.846440 | ubuntu-noble | 208 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-04-08 18:38:58.846449 | ubuntu-noble | 209 | >>> 2025-04-08 18:38:58.846457 | ubuntu-noble | 210 | >>> # prepare list of playbooks 2025-04-08 18:38:58.846465 | ubuntu-noble | 211 | >>> python3 /src/render-playbooks.py 2025-04-08 18:38:58.846473 | ubuntu-noble | 212 | >>> 2025-04-08 18:38:58.846481 | ubuntu-noble | 213 | >>> # set correct permssions 2025-04-08 18:38:58.846489 | ubuntu-noble | 214 | >>> chown -R dragon: /ansible /share /interface 2025-04-08 18:38:58.846497 | ubuntu-noble | 215 | >>> 2025-04-08 18:38:58.846505 | ubuntu-noble | 216 | >>> # cleanup 2025-04-08 18:38:58.846513 | ubuntu-noble | 217 | >>> apt-get clean 2025-04-08 18:38:58.846521 | ubuntu-noble | 218 | >>> apt-get remove -y \ 2025-04-08 18:38:58.846529 | ubuntu-noble | 219 | >>> build-essential \ 2025-04-08 18:38:58.846537 | ubuntu-noble | 220 | >>> curl \ 2025-04-08 18:38:58.846545 | ubuntu-noble | 221 | >>> git \ 2025-04-08 18:38:58.846553 | ubuntu-noble | 222 | >>> gnupg \ 2025-04-08 18:38:58.846561 | ubuntu-noble | 223 | >>> libffi-dev \ 2025-04-08 18:38:58.846569 | ubuntu-noble | 224 | >>> libssh-dev \ 2025-04-08 18:38:58.846577 | ubuntu-noble | 225 | >>> libssl-dev \ 2025-04-08 18:38:58.846585 | ubuntu-noble | 226 | >>> libyaml-dev 2025-04-08 18:38:58.846593 | ubuntu-noble | 227 | >>> apt-get autoremove -y 2025-04-08 18:38:58.847193 | ubuntu-noble | 228 | >>> rm -rf \ 2025-04-08 18:38:58.847203 | ubuntu-noble | 229 | >>> /root/.cache \ 2025-04-08 18:38:58.847211 | ubuntu-noble | 230 | >>> /tmp/* \ 2025-04-08 18:38:58.847219 | ubuntu-noble | 231 | >>> /usr/share/doc/* \ 2025-04-08 18:38:58.847227 | ubuntu-noble | 232 | >>> /usr/share/man/* \ 2025-04-08 18:38:58.847235 | ubuntu-noble | 233 | >>> /var/lib/apt/lists/* \ 2025-04-08 18:38:58.847243 | ubuntu-noble | 234 | >>> /var/tmp/* \ 2025-04-08 18:38:58.847252 | ubuntu-noble | 235 | >>> /patches 2025-04-08 18:38:58.847260 | ubuntu-noble | 236 | >>> 2025-04-08 18:38:58.847268 | ubuntu-noble | 237 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-04-08 18:38:58.847279 | ubuntu-noble | 238 | >>> pyclean /usr 2025-04-08 18:38:58.847288 | ubuntu-noble | 239 | >>> uv pip uninstall --system pyclean 2025-04-08 18:38:58.847296 | ubuntu-noble | 240 | >>> EOF 2025-04-08 18:38:58.847329 | ubuntu-noble | 241 | 2025-04-08 18:38:58.847338 | ubuntu-noble | -------------------- 2025-04-08 18:38:58.847378 | ubuntu-noble | ERROR: failed to solve: process "/bin/bash -o pipefail -c set -e\nset -x\n\nCAPI_VERSION=1.8.5\nCILIUM_CLI_VERSION=v0.16.20\nFLUX_VERSION=v2.4.0\nKUBECTL_VERSION=1.30.7\nOPERATOR_SDK_VERSION=v1.38.0\n\n# shellcheck disable=SC2046\nARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)\n\n# show motd\necho \"[ ! -z \\\"\\$TERM\\\" -a -r /etc/motd ] && cat /etc/motd\" >> /etc/bash.bashrc\n\n# install required packages\napt-get update\napt-get install --no-install-recommends -y \\\n build-essential \\\n curl \\\n dumb-init \\\n git \\\n gnupg \\\n gnupg-agent \\\n iputils-ping \\\n jq \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev \\\n openssh-client \\\n procps \\\n rsync \\\n sshpass\nupdate-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1\nupdate-alternatives --install /usr/bin/python python /usr/local/bin/python 1\n\nuv pip install --no-cache --system -r /src/requirements.txt\n\n# add user\ngroupadd -g \"$GROUP_ID\" dragon\ngroupadd -g \"$GROUP_ID_DOCKER\" docker\nuseradd -l -g dragon -G docker -u \"$USER_ID\" -m -d /ansible dragon\n\n# prepare release repository\ngit clone https://github.com/osism/release /release\n\n# prepare project repository\ngit clone https://github.com/osism/defaults /defaults\ngit clone https://github.com/osism/cfg-generics /generics\n\nif [ \"$VERSION\" != \"latest\" ]; then\n ( cd /release || exit; git fetch --all --force; git checkout \"osism-kubernetes-$VERSION\" )\n ( cd /defaults || exit; git fetch --all --force; git checkout \"$(yq -M -r .defaults_version \"/release/$VERSION/base.yml\")\" )\n ( cd /generics || exit; git fetch --all --force; git checkout \"$(yq -M -r .generics_version \"/release/$VERSION/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 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: 1 2025-04-08 18:38:59.172628 | ubuntu-noble | ERROR 2025-04-08 18:38:59.173046 | ubuntu-noble | { 2025-04-08 18:38:59.173189 | ubuntu-noble | "delta": "0:00:43.552622", 2025-04-08 18:38:59.173266 | ubuntu-noble | "end": "2025-04-08 18:38:58.856677", 2025-04-08 18:38:59.173331 | ubuntu-noble | "msg": "non-zero return code", 2025-04-08 18:38:59.173390 | ubuntu-noble | "rc": 1, 2025-04-08 18:38:59.173448 | ubuntu-noble | "start": "2025-04-08 18:38:15.304055" 2025-04-08 18:38:59.173504 | ubuntu-noble | } failure 2025-04-08 18:38:59.194853 | 2025-04-08 18:38:59.194963 | PLAY RECAP 2025-04-08 18:38:59.195026 | ubuntu-noble | ok: 0 changed: 0 unreachable: 0 failed: 1 skipped: 1 rescued: 0 ignored: 0 2025-04-08 18:38:59.195057 | 2025-04-08 18:38:59.329271 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/osism-kubernetes/zuul-playbooks/build.yml@main] 2025-04-08 18:38:59.335918 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-08 18:39:00.084823 | 2025-04-08 18:39:00.084999 | PLAY [Base post] 2025-04-08 18:39:00.111414 | 2025-04-08 18:39:00.111552 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-04-08 18:39:00.940975 | ubuntu-noble | changed 2025-04-08 18:39:00.974668 | 2025-04-08 18:39:00.974785 | PLAY RECAP 2025-04-08 18:39:00.974850 | ubuntu-noble | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-04-08 18:39:00.974920 | 2025-04-08 18:39:01.084646 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-04-08 18:39:01.087641 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-04-08 18:39:01.814457 | 2025-04-08 18:39:01.814610 | PLAY [Base post-logs] 2025-04-08 18:39:01.830749 | 2025-04-08 18:39:01.830878 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-04-08 18:39:02.330442 | localhost | changed 2025-04-08 18:39:02.336629 | 2025-04-08 18:39:02.336801 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-04-08 18:39:02.370337 | localhost | ok 2025-04-08 18:39:02.381599 | 2025-04-08 18:39:02.381744 | TASK [Set zuul-log-path fact] 2025-04-08 18:39:02.404927 | localhost | ok 2025-04-08 18:39:02.419555 | 2025-04-08 18:39:02.419679 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-04-08 18:39:02.461922 | localhost | ok 2025-04-08 18:39:02.472630 | 2025-04-08 18:39:02.472918 | TASK [upload-logs : Create log directories] 2025-04-08 18:39:03.017833 | localhost | changed 2025-04-08 18:39:03.024891 | 2025-04-08 18:39:03.025028 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-04-08 18:39:03.554639 | localhost -> localhost | ok: Runtime: 0:00:00.008156 2025-04-08 18:39:03.566776 | 2025-04-08 18:39:03.566955 | TASK [upload-logs : Upload logs to log server] 2025-04-08 18:39:04.155066 | localhost | Output suppressed because no_log was given 2025-04-08 18:39:04.161516 | 2025-04-08 18:39:04.161682 | LOOP [upload-logs : Compress console log and json output] 2025-04-08 18:39:04.236619 | localhost | skipping: Conditional result was False 2025-04-08 18:39:04.253171 | localhost | skipping: Conditional result was False 2025-04-08 18:39:04.269889 | 2025-04-08 18:39:04.270114 | LOOP [upload-logs : Upload compressed console log and json output] 2025-04-08 18:39:04.331993 | localhost | skipping: Conditional result was False 2025-04-08 18:39:04.332694 | 2025-04-08 18:39:04.344167 | localhost | skipping: Conditional result was False 2025-04-08 18:39:04.355305 | 2025-04-08 18:39:04.355515 | LOOP [upload-logs : Upload console log and json output]