2025-09-07 00:00:15.591649 | Job console starting 2025-09-07 00:00:15.600191 | Updating git repos 2025-09-07 00:00:15.629560 | Cloning repos into workspace 2025-09-07 00:00:15.738505 | Restoring repo states 2025-09-07 00:00:15.761765 | Merging changes 2025-09-07 00:00:15.761781 | Checking out repos 2025-09-07 00:00:16.769902 | Preparing playbooks 2025-09-07 00:00:18.739278 | Running Ansible setup 2025-09-07 00:00:25.644720 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-09-07 00:00:27.238712 | 2025-09-07 00:00:27.238856 | PLAY [Base pre] 2025-09-07 00:00:27.287519 | 2025-09-07 00:00:27.287640 | TASK [Setup log path fact] 2025-09-07 00:00:27.342451 | debian-bookworm | ok 2025-09-07 00:00:27.377595 | 2025-09-07 00:00:27.377737 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-07 00:00:27.433569 | debian-bookworm | ok 2025-09-07 00:00:27.448489 | 2025-09-07 00:00:27.448606 | TASK [emit-job-header : Print job information] 2025-09-07 00:00:27.521403 | # Job Information 2025-09-07 00:00:27.521608 | Ansible Version: 2.16.14 2025-09-07 00:00:27.521643 | Job: osism-kubernetes-push 2025-09-07 00:00:27.521677 | Pipeline: periodic-midnight 2025-09-07 00:00:27.521700 | Executor: 521e9411259a 2025-09-07 00:00:27.521721 | Triggered by: https://github.com/osism/osism-kubernetes 2025-09-07 00:00:27.521743 | Event ID: 32549d3803a441f6833ed573197b707e 2025-09-07 00:00:27.526628 | 2025-09-07 00:00:27.526735 | LOOP [emit-job-header : Print node information] 2025-09-07 00:00:27.674053 | debian-bookworm | ok: 2025-09-07 00:00:27.674234 | debian-bookworm | # Node Information 2025-09-07 00:00:27.674270 | debian-bookworm | Inventory Hostname: debian-bookworm 2025-09-07 00:00:27.674296 | debian-bookworm | Hostname: debian 2025-09-07 00:00:27.674318 | debian-bookworm | Username: zuul 2025-09-07 00:00:27.674361 | debian-bookworm | Distro: Debian 12.11 2025-09-07 00:00:27.674423 | debian-bookworm | Provider: regiocloud-a 2025-09-07 00:00:27.674450 | debian-bookworm | Region: 2025-09-07 00:00:27.674473 | debian-bookworm | Label: debian-bookworm 2025-09-07 00:00:27.674494 | debian-bookworm | Product Name: OpenStack Nova 2025-09-07 00:00:27.674513 | debian-bookworm | Interface IP: 2a13:1a81:8000:3124:f816:3eff:fee2:aeca 2025-09-07 00:00:27.697052 | 2025-09-07 00:00:27.697280 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-09-07 00:00:28.424399 | debian-bookworm -> localhost | changed 2025-09-07 00:00:28.430661 | 2025-09-07 00:00:28.430754 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-09-07 00:00:30.393412 | debian-bookworm -> localhost | changed 2025-09-07 00:00:30.402169 | 2025-09-07 00:00:30.402250 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-09-07 00:00:31.066938 | debian-bookworm -> localhost | ok 2025-09-07 00:00:31.071851 | 2025-09-07 00:00:31.071936 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-09-07 00:00:31.108552 | debian-bookworm | ok 2025-09-07 00:00:31.134465 | debian-bookworm | included: /var/lib/zuul/builds/5dbd19d7485a4287944a3b6d90ed3b53/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-09-07 00:00:31.159443 | 2025-09-07 00:00:31.159537 | TASK [add-build-sshkey : Create Temp SSH key] 2025-09-07 00:00:33.259390 | debian-bookworm -> localhost | Generating public/private rsa key pair. 2025-09-07 00:00:33.259553 | debian-bookworm -> localhost | Your identification has been saved in /var/lib/zuul/builds/5dbd19d7485a4287944a3b6d90ed3b53/work/5dbd19d7485a4287944a3b6d90ed3b53_id_rsa 2025-09-07 00:00:33.259584 | debian-bookworm -> localhost | Your public key has been saved in /var/lib/zuul/builds/5dbd19d7485a4287944a3b6d90ed3b53/work/5dbd19d7485a4287944a3b6d90ed3b53_id_rsa.pub 2025-09-07 00:00:33.259606 | debian-bookworm -> localhost | The key fingerprint is: 2025-09-07 00:00:33.259626 | debian-bookworm -> localhost | SHA256:EnIF3hQZpj4h08LbPAgXXOtUeHPAcEwFr/JS78ByWYI zuul-build-sshkey 2025-09-07 00:00:33.259659 | debian-bookworm -> localhost | The key's randomart image is: 2025-09-07 00:00:33.259685 | debian-bookworm -> localhost | +---[RSA 3072]----+ 2025-09-07 00:00:33.259703 | debian-bookworm -> localhost | | ...+B%B. | 2025-09-07 00:00:33.259720 | debian-bookworm -> localhost | | ..+.X*.. | 2025-09-07 00:00:33.259737 | debian-bookworm -> localhost | | . B X..o. | 2025-09-07 00:00:33.259754 | debian-bookworm -> localhost | | o # + . | 2025-09-07 00:00:33.259771 | debian-bookworm -> localhost | | o E S . | 2025-09-07 00:00:33.259791 | debian-bookworm -> localhost | | O = | 2025-09-07 00:00:33.259807 | debian-bookworm -> localhost | | o * . | 2025-09-07 00:00:33.259824 | debian-bookworm -> localhost | | + o | 2025-09-07 00:00:33.259841 | debian-bookworm -> localhost | | . | 2025-09-07 00:00:33.259857 | debian-bookworm -> localhost | +----[SHA256]-----+ 2025-09-07 00:00:33.259897 | debian-bookworm -> localhost | ok: Runtime: 0:00:01.119278 2025-09-07 00:00:33.264947 | 2025-09-07 00:00:33.265026 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-09-07 00:00:33.301572 | debian-bookworm | ok 2025-09-07 00:00:33.315184 | debian-bookworm | included: /var/lib/zuul/builds/5dbd19d7485a4287944a3b6d90ed3b53/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-09-07 00:00:33.322446 | 2025-09-07 00:00:33.322529 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-09-07 00:00:33.380004 | debian-bookworm | skipping: Conditional result was False 2025-09-07 00:00:33.385223 | 2025-09-07 00:00:33.385307 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-09-07 00:00:34.326258 | debian-bookworm | changed 2025-09-07 00:00:34.331029 | 2025-09-07 00:00:34.331132 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-09-07 00:00:34.611383 | debian-bookworm | ok 2025-09-07 00:00:34.617678 | 2025-09-07 00:00:34.617777 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-09-07 00:00:35.378119 | debian-bookworm | changed 2025-09-07 00:00:35.383591 | 2025-09-07 00:00:35.383678 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-09-07 00:00:36.005748 | debian-bookworm | changed 2025-09-07 00:00:36.011528 | 2025-09-07 00:00:36.011629 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-09-07 00:00:36.034557 | debian-bookworm | skipping: Conditional result was False 2025-09-07 00:00:36.040644 | 2025-09-07 00:00:36.040736 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-09-07 00:00:36.737225 | debian-bookworm -> localhost | changed 2025-09-07 00:00:36.750578 | 2025-09-07 00:00:36.750684 | TASK [add-build-sshkey : Add back temp key] 2025-09-07 00:00:37.153504 | debian-bookworm -> localhost | Identity added: /var/lib/zuul/builds/5dbd19d7485a4287944a3b6d90ed3b53/work/5dbd19d7485a4287944a3b6d90ed3b53_id_rsa (zuul-build-sshkey) 2025-09-07 00:00:37.153699 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.008967 2025-09-07 00:00:37.161461 | 2025-09-07 00:00:37.161550 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-09-07 00:00:37.640046 | debian-bookworm | ok 2025-09-07 00:00:37.644881 | 2025-09-07 00:00:37.644971 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-09-07 00:00:37.663024 | debian-bookworm | skipping: Conditional result was False 2025-09-07 00:00:37.684206 | 2025-09-07 00:00:37.684307 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-09-07 00:00:38.110107 | debian-bookworm | ok 2025-09-07 00:00:38.139966 | 2025-09-07 00:00:38.140100 | TASK [validate-host : Define zuul_info_dir fact] 2025-09-07 00:00:38.188782 | debian-bookworm | ok 2025-09-07 00:00:38.194235 | 2025-09-07 00:00:38.194358 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-09-07 00:00:38.601935 | debian-bookworm -> localhost | ok 2025-09-07 00:00:38.608072 | 2025-09-07 00:00:38.608186 | TASK [validate-host : Collect information about the host] 2025-09-07 00:00:39.885922 | debian-bookworm | ok 2025-09-07 00:00:39.902286 | 2025-09-07 00:00:39.902386 | TASK [validate-host : Sanitize hostname] 2025-09-07 00:00:40.041582 | debian-bookworm | ok 2025-09-07 00:00:40.106570 | 2025-09-07 00:00:40.106705 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-09-07 00:00:40.960787 | debian-bookworm -> localhost | changed 2025-09-07 00:00:40.966160 | 2025-09-07 00:00:40.966252 | TASK [validate-host : Collect information about zuul worker] 2025-09-07 00:00:41.395267 | debian-bookworm | ok 2025-09-07 00:00:41.401459 | 2025-09-07 00:00:41.401547 | TASK [validate-host : Write out all zuul information for each host] 2025-09-07 00:00:41.911927 | debian-bookworm -> localhost | changed 2025-09-07 00:00:41.921018 | 2025-09-07 00:00:41.921141 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-09-07 00:00:42.198728 | debian-bookworm | ok 2025-09-07 00:00:42.206823 | 2025-09-07 00:00:42.206967 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-09-07 00:00:43.713101 | debian-bookworm | changed: 2025-09-07 00:00:43.713319 | debian-bookworm | cd+++++++++ src/ 2025-09-07 00:00:43.713354 | debian-bookworm | cd+++++++++ src/github.com/ 2025-09-07 00:00:43.713378 | debian-bookworm | cd+++++++++ src/github.com/osism/ 2025-09-07 00:00:43.713400 | debian-bookworm | cd+++++++++ src/github.com/osism/osism-kubernetes/ 2025-09-07 00:00:43.713420 | debian-bookworm | Containerfile 2025-09-07 00:00:43.713587 | debian-bookworm | > /etc/bash.bashrc\n\n# install required packages\napt-get update\napt-get install --no-install-recommends -y \\\n build-essential \\\n curl \\\n dumb-init \\\n git \\\n gnupg \\\n gnupg-agent \\\n iputils-ping \\\n jq \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev \\\n openssh-client \\\n procps \\\n rsync \\\n sshpass\nupdate-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1\nupdate-alternatives --install /usr/bin/python python /usr/local/bin/python 1\n\nuv pip install --no-cache --system -r /src/requirements.txt\n\n# add user\ngroupadd -g \"$GROUP_ID\" dragon\ngroupadd -g \"$GROUP_ID_DOCKER\" docker\nuseradd -l -g dragon -G docker -u \"$USER_ID\" -m -d /ansible dragon\n\n# prepare release repository\ngit clone https://github.com/osism/release /release\n\n# prepare project repository\ngit clone https://github.com/osism/defaults /defaults\ngit clone https://github.com/osism/cfg-generics /generics\n\nif [ \"$VERSION\" != \"latest\" ]; then\n ( cd /release || exit; git fetch --all --force; git checkout \"osism-kubernetes-$VERSION\" )\n ( cd /defaults || exit; git fetch --all --force; git checkout \"$(yq -M -r .defaults_version \"/release/latest/base.yml\")\" )\n ( cd /generics || exit; git fetch --all --force; git checkout \"$(yq -M -r .generics_version \"/release/latest/base.yml\")\" )\nfi\n\n# add inventory files\nmkdir -p /ansible/inventory.generics /ansible/inventory\ncp /generics/inventory/* /ansible/inventory.generics\n\n# run preparations\nmkdir -p /ansible/group_vars/all/\n\npython3 /src/render-python-requirements.py\npython3 /src/render-versions.py\n\n# install required python packages\nuv pip install --no-cache --system -r /requirements.txt\n\n# set ansible version in the motd\nansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)')\nsed -i -e \"s/ANSIBLE_VERSION/$ansible_version/\" /etc/motd\n\n# create required directories\nmkdir -p \\\n /ansible \\\n /ansible/roles \\\n /ansible/action_plugins \\\n /ansible/cache \\\n /ansible/logs \\\n /ansible/secrets \\\n /interface \\\n /share\n\n# install required ansible collections & roles\nansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections\n\n# add k3s-ansible roles\ngit clone https://github.com/osism/k3s-ansible /k3s-ansible\nmv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles\nmv /k3s-ansible/roles/download /ansible/roles/k3s_download\nmv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq\nmv /k3s-ansible/roles/reset /ansible/roles/k3s_reset\nrm -rf /k3s-ansible\n\n# apply patches\nfor role in /ansible/roles/*; do\n if [ -e /patches/\"$(basename \"$role\")\" ]; then\n for patchfile in /patches/\"$(basename \"$role\")\"/*.patch; do\n echo \"$patchfile\";\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 --dry-run ) < \"$patchfile\" || exit 1;\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 ) < \"$patchfile\";\n done;\n fi;\ndone\n\n# install mitogen ansible plugin\nmkdir -p /usr/share/mitogen\ntar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen\nrm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml}\nrm /mitogen.tar.gz\n\n# install helm\ncurl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main\" | tee /etc/apt/sources.list.d/helm-stable-debian.list\napt-get update\napt-get install --no-install-recommends -y \\\n helm\n\n# install helm plugins\nhelm plugin install https://github.com/databus23/helm-diff\n\n# install cilium cli\ncurl -L --fail --remote-name-all \"https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${ARCH}.tar.gz{,.sha256sum}\"\nsha256sum --check \"cilium-linux-${ARCH}.tar.gz.sha256sum\"\ntar xzvfC \"cilium-linux-${ARCH}.tar.gz\" /usr/local/bin\nrm cilium-linux-\"${ARCH}\".tar.gz{,.sha256sum}\n\n# install hubble cli\nHUBBLE_ARCH=amd64\ncurl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${ARCH}.tar.gz{,.sha256sum}\nsha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum\ntar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin\nrm hubble-linux-${ARCH}.tar.gz{,.sha256sum}\n\n# install flux cli\nCLEAN_FLUX_VERSION=$(echo \"$FLUX_VERSION\" | sed 's/^v//')\ncurl -o flux.tar.gz -L \"https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${CLEAN_FLUX_VERSION}_linux_amd64.tar.gz\"\ntar -xzf flux.tar.gz -C /usr/local/bin flux\nrm flux.tar.gz\n\n# install operator-sdk\nOS=$(uname | awk '{print tolower($0)}')\nOPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}\n\ncurl -LO \"${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}\"\ngpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt\"\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt.asc\"\ngpg -u \"Operator SDK (release) \" --verify checksums.txt.asc\ngrep \"operator-sdk_${OS}_${ARCH}\" checksums.txt | sha256sum -c -\nchmod +x \"operator-sdk_${OS}_${ARCH}\"\nmv \"operator-sdk_${OS}_${ARCH}\" /usr/local/bin/operator-sdk\nrm checksums.txt.asc\nrm checksums.txt\n\n# install clusterctl\ncurl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64\nchmod +x /usr/local/bin/clusterctl\n\n# install kubectl\ncurl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl\nchmod +x /usr/local/bin/kubectl\n\n# prepare .kube directory\nmkdir -p /ansible/.kube\nln -s /share/kubeconfig /ansible/.kube/config\nchown -R dragon: /ansible/.kube\n\n# prepare .cache directory\nmkdir -p /ansible/.cache\nmv /root/.cache/helm /ansible/.cache\nchown -R dragon: /ansible/.cache\n\n# prepare .local directory\nmkdir -p /ansible/.local/share\nmv /root/.local/share/helm /ansible/.local/share\nchown -R dragon: /ansible/.local\n\n# add symlink to /etc/openstack\nln -s /opt/configuration/environments/openstack /etc/openstack\n\n# copy ara configuration\npython3 -m ara.setup.env >> /ansible/ara.env\n\n# prepare list of playbooks\npython3 /src/render-playbooks.py\n\n# set correct permssions\nchown -R dragon: /ansible /share /interface\n\n# cleanup\napt-get clean\napt-get remove -y \\\n build-essential \\\n curl \\\n git \\\n gnupg \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev\napt-get autoremove -y\nrm -rf \\\n /root/.cache \\\n /tmp/* \\\n /usr/share/doc/* \\\n /usr/share/man/* \\\n /var/lib/apt/lists/* \\\n /var/tmp/* \\\n /patches\n\nuv pip install --no-cache --system pyclean==3.0.0\npyclean /usr\nuv pip uninstall --system pyclean\n" did not complete successfully: exit code: 2 2025-09-07 00:04:22.995771 | debian-bookworm | ------ 2025-09-07 00:04:22.995894 | debian-bookworm | > [builder 14/14] RUN <>> RUN <>> set -e 2025-09-07 00:04:22.999938 | debian-bookworm | 35 | >>> set -x 2025-09-07 00:04:22.999967 | debian-bookworm | 36 | >>> 2025-09-07 00:04:22.999993 | debian-bookworm | 37 | >>> HUBBLE_VERSION=v1.17.5 2025-09-07 00:04:23.000020 | debian-bookworm | 38 | >>> CAPI_VERSION=1.10.3 2025-09-07 00:04:23.000048 | debian-bookworm | 39 | >>> CILIUM_CLI_VERSION=v0.18.5 2025-09-07 00:04:23.000074 | debian-bookworm | 40 | >>> FLUX_VERSION=v2.6.3 2025-09-07 00:04:23.000100 | debian-bookworm | 41 | >>> KUBECTL_VERSION=1.33.2 2025-09-07 00:04:23.000127 | debian-bookworm | 42 | >>> OPERATOR_SDK_VERSION=v1.40.0 2025-09-07 00:04:23.000154 | debian-bookworm | 43 | >>> 2025-09-07 00:04:23.000180 | debian-bookworm | 44 | >>> # shellcheck disable=SC2046 2025-09-07 00:04:23.000209 | debian-bookworm | 45 | >>> ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac) 2025-09-07 00:04:23.000235 | debian-bookworm | 46 | >>> 2025-09-07 00:04:23.000262 | debian-bookworm | 47 | >>> # show motd 2025-09-07 00:04:23.000289 | debian-bookworm | 48 | >>> echo "[ ! -z \"\$TERM\" -a -r /etc/motd ] && cat /etc/motd" >> /etc/bash.bashrc 2025-09-07 00:04:23.000316 | debian-bookworm | 49 | >>> 2025-09-07 00:04:23.000342 | debian-bookworm | 50 | >>> # install required packages 2025-09-07 00:04:23.000370 | debian-bookworm | 51 | >>> apt-get update 2025-09-07 00:04:23.000397 | debian-bookworm | 52 | >>> apt-get install --no-install-recommends -y \ 2025-09-07 00:04:23.000424 | debian-bookworm | 53 | >>> build-essential \ 2025-09-07 00:04:23.000450 | debian-bookworm | 54 | >>> curl \ 2025-09-07 00:04:23.000478 | debian-bookworm | 55 | >>> dumb-init \ 2025-09-07 00:04:23.000504 | debian-bookworm | 56 | >>> git \ 2025-09-07 00:04:23.000530 | debian-bookworm | 57 | >>> gnupg \ 2025-09-07 00:04:23.000558 | debian-bookworm | 58 | >>> gnupg-agent \ 2025-09-07 00:04:23.000584 | debian-bookworm | 59 | >>> iputils-ping \ 2025-09-07 00:04:23.000610 | debian-bookworm | 60 | >>> jq \ 2025-09-07 00:04:23.000639 | debian-bookworm | 61 | >>> libffi-dev \ 2025-09-07 00:04:23.000665 | debian-bookworm | 62 | >>> libssh-dev \ 2025-09-07 00:04:23.000691 | debian-bookworm | 63 | >>> libssl-dev \ 2025-09-07 00:04:23.000717 | debian-bookworm | 64 | >>> libyaml-dev \ 2025-09-07 00:04:23.000744 | debian-bookworm | 65 | >>> openssh-client \ 2025-09-07 00:04:23.000807 | debian-bookworm | 66 | >>> procps \ 2025-09-07 00:04:23.000895 | debian-bookworm | 67 | >>> rsync \ 2025-09-07 00:04:23.000923 | debian-bookworm | 68 | >>> sshpass 2025-09-07 00:04:23.000949 | debian-bookworm | 69 | >>> update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1 2025-09-07 00:04:23.000977 | debian-bookworm | 70 | >>> update-alternatives --install /usr/bin/python python /usr/local/bin/python 1 2025-09-07 00:04:23.001003 | debian-bookworm | 71 | >>> 2025-09-07 00:04:23.001030 | debian-bookworm | 72 | >>> uv pip install --no-cache --system -r /src/requirements.txt 2025-09-07 00:04:23.001058 | debian-bookworm | 73 | >>> 2025-09-07 00:04:23.001085 | debian-bookworm | 74 | >>> # add user 2025-09-07 00:04:23.001111 | debian-bookworm | 75 | >>> groupadd -g "$GROUP_ID" dragon 2025-09-07 00:04:23.001140 | debian-bookworm | 76 | >>> groupadd -g "$GROUP_ID_DOCKER" docker 2025-09-07 00:04:23.001166 | debian-bookworm | 77 | >>> useradd -l -g dragon -G docker -u "$USER_ID" -m -d /ansible dragon 2025-09-07 00:04:23.001192 | debian-bookworm | 78 | >>> 2025-09-07 00:04:23.001220 | debian-bookworm | 79 | >>> # prepare release repository 2025-09-07 00:04:23.001246 | debian-bookworm | 80 | >>> git clone https://github.com/osism/release /release 2025-09-07 00:04:23.001273 | debian-bookworm | 81 | >>> 2025-09-07 00:04:23.001300 | debian-bookworm | 82 | >>> # prepare project repository 2025-09-07 00:04:23.001326 | debian-bookworm | 83 | >>> git clone https://github.com/osism/defaults /defaults 2025-09-07 00:04:23.001353 | debian-bookworm | 84 | >>> git clone https://github.com/osism/cfg-generics /generics 2025-09-07 00:04:23.001380 | debian-bookworm | 85 | >>> 2025-09-07 00:04:23.001407 | debian-bookworm | 86 | >>> if [ "$VERSION" != "latest" ]; then 2025-09-07 00:04:23.001433 | debian-bookworm | 87 | >>> ( cd /release || exit; git fetch --all --force; git checkout "osism-kubernetes-$VERSION" ) 2025-09-07 00:04:23.001464 | debian-bookworm | 88 | >>> ( cd /defaults || exit; git fetch --all --force; git checkout "$(yq -M -r .defaults_version "/release/latest/base.yml")" ) 2025-09-07 00:04:23.001509 | debian-bookworm | 89 | >>> ( cd /generics || exit; git fetch --all --force; git checkout "$(yq -M -r .generics_version "/release/latest/base.yml")" ) 2025-09-07 00:04:23.001538 | debian-bookworm | 90 | >>> fi 2025-09-07 00:04:23.001564 | debian-bookworm | 91 | >>> 2025-09-07 00:04:23.001591 | debian-bookworm | 92 | >>> # add inventory files 2025-09-07 00:04:23.001618 | debian-bookworm | 93 | >>> mkdir -p /ansible/inventory.generics /ansible/inventory 2025-09-07 00:04:23.001646 | debian-bookworm | 94 | >>> cp /generics/inventory/* /ansible/inventory.generics 2025-09-07 00:04:23.001672 | debian-bookworm | 95 | >>> 2025-09-07 00:04:23.001699 | debian-bookworm | 96 | >>> # run preparations 2025-09-07 00:04:23.001727 | debian-bookworm | 97 | >>> mkdir -p /ansible/group_vars/all/ 2025-09-07 00:04:23.001772 | debian-bookworm | 98 | >>> 2025-09-07 00:04:23.001800 | debian-bookworm | 99 | >>> python3 /src/render-python-requirements.py 2025-09-07 00:04:23.001828 | debian-bookworm | 100 | >>> python3 /src/render-versions.py 2025-09-07 00:04:23.001855 | debian-bookworm | 101 | >>> 2025-09-07 00:04:23.001882 | debian-bookworm | 102 | >>> # install required python packages 2025-09-07 00:04:23.001909 | debian-bookworm | 103 | >>> uv pip install --no-cache --system -r /requirements.txt 2025-09-07 00:04:23.001936 | debian-bookworm | 104 | >>> 2025-09-07 00:04:23.001962 | debian-bookworm | 105 | >>> # set ansible version in the motd 2025-09-07 00:04:23.001990 | debian-bookworm | 106 | >>> ansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)') 2025-09-07 00:04:23.002018 | debian-bookworm | 107 | >>> sed -i -e "s/ANSIBLE_VERSION/$ansible_version/" /etc/motd 2025-09-07 00:04:23.002044 | debian-bookworm | 108 | >>> 2025-09-07 00:04:23.002189 | debian-bookworm | 109 | >>> # create required directories 2025-09-07 00:04:23.002224 | debian-bookworm | 110 | >>> mkdir -p \ 2025-09-07 00:04:23.002251 | debian-bookworm | 111 | >>> /ansible \ 2025-09-07 00:04:23.002279 | debian-bookworm | 112 | >>> /ansible/roles \ 2025-09-07 00:04:23.002306 | debian-bookworm | 113 | >>> /ansible/action_plugins \ 2025-09-07 00:04:23.002395 | debian-bookworm | 114 | >>> /ansible/cache \ 2025-09-07 00:04:23.002425 | debian-bookworm | 115 | >>> /ansible/logs \ 2025-09-07 00:04:23.002452 | debian-bookworm | 116 | >>> /ansible/secrets \ 2025-09-07 00:04:23.002479 | debian-bookworm | 117 | >>> /interface \ 2025-09-07 00:04:23.002505 | debian-bookworm | 118 | >>> /share 2025-09-07 00:04:23.002533 | debian-bookworm | 119 | >>> 2025-09-07 00:04:23.002559 | debian-bookworm | 120 | >>> # install required ansible collections & roles 2025-09-07 00:04:23.002586 | debian-bookworm | 121 | >>> ansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections 2025-09-07 00:04:23.002614 | debian-bookworm | 122 | >>> 2025-09-07 00:04:23.002640 | debian-bookworm | 123 | >>> # add k3s-ansible roles 2025-09-07 00:04:23.002667 | debian-bookworm | 124 | >>> git clone https://github.com/osism/k3s-ansible /k3s-ansible 2025-09-07 00:04:23.002695 | debian-bookworm | 125 | >>> mv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles 2025-09-07 00:04:23.002722 | debian-bookworm | 126 | >>> mv /k3s-ansible/roles/download /ansible/roles/k3s_download 2025-09-07 00:04:23.002806 | debian-bookworm | 127 | >>> mv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq 2025-09-07 00:04:23.002840 | debian-bookworm | 128 | >>> mv /k3s-ansible/roles/reset /ansible/roles/k3s_reset 2025-09-07 00:04:23.002864 | debian-bookworm | 129 | >>> rm -rf /k3s-ansible 2025-09-07 00:04:23.002886 | debian-bookworm | 130 | >>> 2025-09-07 00:04:23.002908 | debian-bookworm | 131 | >>> # apply patches 2025-09-07 00:04:23.002930 | debian-bookworm | 132 | >>> for role in /ansible/roles/*; do 2025-09-07 00:04:23.002953 | debian-bookworm | 133 | >>> if [ -e /patches/"$(basename "$role")" ]; then 2025-09-07 00:04:23.002981 | debian-bookworm | 134 | >>> for patchfile in /patches/"$(basename "$role")"/*.patch; do 2025-09-07 00:04:23.003004 | debian-bookworm | 135 | >>> echo "$patchfile"; 2025-09-07 00:04:23.003026 | debian-bookworm | 136 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 --dry-run ) < "$patchfile" || exit 1; 2025-09-07 00:04:23.003050 | debian-bookworm | 137 | >>> ( cd /ansible/roles/"$(basename "$role")" && patch --forward --batch -p1 ) < "$patchfile"; 2025-09-07 00:04:23.003072 | debian-bookworm | 138 | >>> done; 2025-09-07 00:04:23.003093 | debian-bookworm | 139 | >>> fi; 2025-09-07 00:04:23.003116 | debian-bookworm | 140 | >>> done 2025-09-07 00:04:23.003138 | debian-bookworm | 141 | >>> 2025-09-07 00:04:23.003160 | debian-bookworm | 142 | >>> # install mitogen ansible plugin 2025-09-07 00:04:23.003181 | debian-bookworm | 143 | >>> mkdir -p /usr/share/mitogen 2025-09-07 00:04:23.003205 | debian-bookworm | 144 | >>> tar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen 2025-09-07 00:04:23.003236 | debian-bookworm | 145 | >>> rm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml} 2025-09-07 00:04:23.003259 | debian-bookworm | 146 | >>> rm /mitogen.tar.gz 2025-09-07 00:04:23.003282 | debian-bookworm | 147 | >>> 2025-09-07 00:04:23.003304 | debian-bookworm | 148 | >>> # install helm 2025-09-07 00:04:23.003326 | debian-bookworm | 149 | >>> curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null 2025-09-07 00:04:23.003350 | debian-bookworm | 150 | >>> echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list 2025-09-07 00:04:23.003374 | debian-bookworm | 151 | >>> apt-get update 2025-09-07 00:04:23.003396 | debian-bookworm | 152 | >>> apt-get install --no-install-recommends -y \ 2025-09-07 00:04:23.003580 | debian-bookworm | 153 | >>> helm 2025-09-07 00:04:23.003605 | debian-bookworm | 154 | >>> 2025-09-07 00:04:23.003629 | debian-bookworm | 155 | >>> # install helm plugins 2025-09-07 00:04:23.003651 | debian-bookworm | 156 | >>> helm plugin install https://github.com/databus23/helm-diff 2025-09-07 00:04:23.003673 | debian-bookworm | 157 | >>> 2025-09-07 00:04:23.003696 | debian-bookworm | 158 | >>> # install cilium cli 2025-09-07 00:04:23.003782 | debian-bookworm | 159 | >>> curl -L --fail --remote-name-all "https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${ARCH}.tar.gz{,.sha256sum}" 2025-09-07 00:04:23.003809 | debian-bookworm | 160 | >>> sha256sum --check "cilium-linux-${ARCH}.tar.gz.sha256sum" 2025-09-07 00:04:23.003831 | debian-bookworm | 161 | >>> tar xzvfC "cilium-linux-${ARCH}.tar.gz" /usr/local/bin 2025-09-07 00:04:23.003854 | debian-bookworm | 162 | >>> rm cilium-linux-"${ARCH}".tar.gz{,.sha256sum} 2025-09-07 00:04:23.003876 | debian-bookworm | 163 | >>> 2025-09-07 00:04:23.003898 | debian-bookworm | 164 | >>> # install hubble cli 2025-09-07 00:04:23.003921 | debian-bookworm | 165 | >>> HUBBLE_ARCH=amd64 2025-09-07 00:04:23.003985 | debian-bookworm | 166 | >>> curl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-09-07 00:04:23.004010 | debian-bookworm | 167 | >>> sha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum 2025-09-07 00:04:23.004032 | debian-bookworm | 168 | >>> tar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin 2025-09-07 00:04:23.004083 | debian-bookworm | 169 | >>> rm hubble-linux-${ARCH}.tar.gz{,.sha256sum} 2025-09-07 00:04:23.004105 | debian-bookworm | 170 | >>> 2025-09-07 00:04:23.004127 | debian-bookworm | 171 | >>> # install flux cli 2025-09-07 00:04:23.004149 | debian-bookworm | 172 | >>> CLEAN_FLUX_VERSION=$(echo "$FLUX_VERSION" | sed 's/^v//') 2025-09-07 00:04:23.004172 | debian-bookworm | 173 | >>> curl -o flux.tar.gz -L "https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${CLEAN_FLUX_VERSION}_linux_amd64.tar.gz" 2025-09-07 00:04:23.004194 | debian-bookworm | 174 | >>> tar -xzf flux.tar.gz -C /usr/local/bin flux 2025-09-07 00:04:23.004217 | debian-bookworm | 175 | >>> rm flux.tar.gz 2025-09-07 00:04:23.004239 | debian-bookworm | 176 | >>> 2025-09-07 00:04:23.004261 | debian-bookworm | 177 | >>> # install operator-sdk 2025-09-07 00:04:23.004283 | debian-bookworm | 178 | >>> OS=$(uname | awk '{print tolower($0)}') 2025-09-07 00:04:23.004305 | debian-bookworm | 179 | >>> OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION} 2025-09-07 00:04:23.004329 | debian-bookworm | 180 | >>> 2025-09-07 00:04:23.004352 | debian-bookworm | 181 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}" 2025-09-07 00:04:23.004375 | debian-bookworm | 182 | >>> gpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E 2025-09-07 00:04:23.004397 | debian-bookworm | 183 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt" 2025-09-07 00:04:23.004419 | debian-bookworm | 184 | >>> curl -LO "${OPERATOR_SDK_DL_URL}/checksums.txt.asc" 2025-09-07 00:04:23.004442 | debian-bookworm | 185 | >>> gpg -u "Operator SDK (release) " --verify checksums.txt.asc 2025-09-07 00:04:23.004464 | debian-bookworm | 186 | >>> grep "operator-sdk_${OS}_${ARCH}" checksums.txt | sha256sum -c - 2025-09-07 00:04:23.004486 | debian-bookworm | 187 | >>> chmod +x "operator-sdk_${OS}_${ARCH}" 2025-09-07 00:04:23.004508 | debian-bookworm | 188 | >>> mv "operator-sdk_${OS}_${ARCH}" /usr/local/bin/operator-sdk 2025-09-07 00:04:23.004531 | debian-bookworm | 189 | >>> rm checksums.txt.asc 2025-09-07 00:04:23.004553 | debian-bookworm | 190 | >>> rm checksums.txt 2025-09-07 00:04:23.004584 | debian-bookworm | 191 | >>> 2025-09-07 00:04:23.004607 | debian-bookworm | 192 | >>> # install clusterctl 2025-09-07 00:04:23.004630 | debian-bookworm | 193 | >>> curl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64 2025-09-07 00:04:23.004652 | debian-bookworm | 194 | >>> chmod +x /usr/local/bin/clusterctl 2025-09-07 00:04:23.004675 | debian-bookworm | 195 | >>> 2025-09-07 00:04:23.004697 | debian-bookworm | 196 | >>> # install kubectl 2025-09-07 00:04:23.004719 | debian-bookworm | 197 | >>> curl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl 2025-09-07 00:04:23.004742 | debian-bookworm | 198 | >>> chmod +x /usr/local/bin/kubectl 2025-09-07 00:04:23.004780 | debian-bookworm | 199 | >>> 2025-09-07 00:04:23.004802 | debian-bookworm | 200 | >>> # prepare .kube directory 2025-09-07 00:04:23.004857 | debian-bookworm | 201 | >>> mkdir -p /ansible/.kube 2025-09-07 00:04:23.004882 | debian-bookworm | 202 | >>> ln -s /share/kubeconfig /ansible/.kube/config 2025-09-07 00:04:23.004980 | debian-bookworm | 203 | >>> chown -R dragon: /ansible/.kube 2025-09-07 00:04:23.005006 | debian-bookworm | 204 | >>> 2025-09-07 00:04:23.005089 | debian-bookworm | 205 | >>> # prepare .cache directory 2025-09-07 00:04:23.005116 | debian-bookworm | 206 | >>> mkdir -p /ansible/.cache 2025-09-07 00:04:23.005139 | debian-bookworm | 207 | >>> mv /root/.cache/helm /ansible/.cache 2025-09-07 00:04:23.005161 | debian-bookworm | 208 | >>> chown -R dragon: /ansible/.cache 2025-09-07 00:04:23.005183 | debian-bookworm | 209 | >>> 2025-09-07 00:04:23.005205 | debian-bookworm | 210 | >>> # prepare .local directory 2025-09-07 00:04:23.005228 | debian-bookworm | 211 | >>> mkdir -p /ansible/.local/share 2025-09-07 00:04:23.005250 | debian-bookworm | 212 | >>> mv /root/.local/share/helm /ansible/.local/share 2025-09-07 00:04:23.005272 | debian-bookworm | 213 | >>> chown -R dragon: /ansible/.local 2025-09-07 00:04:23.005294 | debian-bookworm | 214 | >>> 2025-09-07 00:04:23.005316 | debian-bookworm | 215 | >>> # add symlink to /etc/openstack 2025-09-07 00:04:23.005338 | debian-bookworm | 216 | >>> ln -s /opt/configuration/environments/openstack /etc/openstack 2025-09-07 00:04:23.005361 | debian-bookworm | 217 | >>> 2025-09-07 00:04:23.005383 | debian-bookworm | 218 | >>> # copy ara configuration 2025-09-07 00:04:23.005405 | debian-bookworm | 219 | >>> python3 -m ara.setup.env >> /ansible/ara.env 2025-09-07 00:04:23.005427 | debian-bookworm | 220 | >>> 2025-09-07 00:04:23.005449 | debian-bookworm | 221 | >>> # prepare list of playbooks 2025-09-07 00:04:23.005471 | debian-bookworm | 222 | >>> python3 /src/render-playbooks.py 2025-09-07 00:04:23.005493 | debian-bookworm | 223 | >>> 2025-09-07 00:04:23.005516 | debian-bookworm | 224 | >>> # set correct permssions 2025-09-07 00:04:23.005540 | debian-bookworm | 225 | >>> chown -R dragon: /ansible /share /interface 2025-09-07 00:04:23.005562 | debian-bookworm | 226 | >>> 2025-09-07 00:04:23.005585 | debian-bookworm | 227 | >>> # cleanup 2025-09-07 00:04:23.005607 | debian-bookworm | 228 | >>> apt-get clean 2025-09-07 00:04:23.005630 | debian-bookworm | 229 | >>> apt-get remove -y \ 2025-09-07 00:04:23.005652 | debian-bookworm | 230 | >>> build-essential \ 2025-09-07 00:04:23.005674 | debian-bookworm | 231 | >>> curl \ 2025-09-07 00:04:23.005696 | debian-bookworm | 232 | >>> git \ 2025-09-07 00:04:23.005719 | debian-bookworm | 233 | >>> gnupg \ 2025-09-07 00:04:23.005741 | debian-bookworm | 234 | >>> libffi-dev \ 2025-09-07 00:04:23.005788 | debian-bookworm | 235 | >>> libssh-dev \ 2025-09-07 00:04:23.005811 | debian-bookworm | 236 | >>> libssl-dev \ 2025-09-07 00:04:23.005833 | debian-bookworm | 237 | >>> libyaml-dev 2025-09-07 00:04:23.005855 | debian-bookworm | 238 | >>> apt-get autoremove -y 2025-09-07 00:04:23.005878 | debian-bookworm | 239 | >>> rm -rf \ 2025-09-07 00:04:23.005900 | debian-bookworm | 240 | >>> /root/.cache \ 2025-09-07 00:04:23.005922 | debian-bookworm | 241 | >>> /tmp/* \ 2025-09-07 00:04:23.005945 | debian-bookworm | 242 | >>> /usr/share/doc/* \ 2025-09-07 00:04:23.005967 | debian-bookworm | 243 | >>> /usr/share/man/* \ 2025-09-07 00:04:23.005990 | debian-bookworm | 244 | >>> /var/lib/apt/lists/* \ 2025-09-07 00:04:23.006012 | debian-bookworm | 245 | >>> /var/tmp/* \ 2025-09-07 00:04:23.006035 | debian-bookworm | 246 | >>> /patches 2025-09-07 00:04:23.006057 | debian-bookworm | 247 | >>> 2025-09-07 00:04:23.006080 | debian-bookworm | 248 | >>> uv pip install --no-cache --system pyclean==3.0.0 2025-09-07 00:04:23.006102 | debian-bookworm | 249 | >>> pyclean /usr 2025-09-07 00:04:23.007401 | debian-bookworm | 250 | >>> uv pip uninstall --system pyclean 2025-09-07 00:04:23.007536 | debian-bookworm | 251 | >>> EOF 2025-09-07 00:04:23.007552 | debian-bookworm | 252 | 2025-09-07 00:04:23.007563 | debian-bookworm | -------------------- 2025-09-07 00:04:23.007714 | debian-bookworm | ERROR: failed to build: failed to solve: process "/bin/bash -o pipefail -c set -e\nset -x\n\nHUBBLE_VERSION=v1.17.5\nCAPI_VERSION=1.10.3\nCILIUM_CLI_VERSION=v0.18.5\nFLUX_VERSION=v2.6.3\nKUBECTL_VERSION=1.33.2\nOPERATOR_SDK_VERSION=v1.40.0\n\n# shellcheck disable=SC2046\nARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)\n\n# show motd\necho \"[ ! -z \\\"\\$TERM\\\" -a -r /etc/motd ] && cat /etc/motd\" >> /etc/bash.bashrc\n\n# install required packages\napt-get update\napt-get install --no-install-recommends -y \\\n build-essential \\\n curl \\\n dumb-init \\\n git \\\n gnupg \\\n gnupg-agent \\\n iputils-ping \\\n jq \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev \\\n openssh-client \\\n procps \\\n rsync \\\n sshpass\nupdate-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 1\nupdate-alternatives --install /usr/bin/python python /usr/local/bin/python 1\n\nuv pip install --no-cache --system -r /src/requirements.txt\n\n# add user\ngroupadd -g \"$GROUP_ID\" dragon\ngroupadd -g \"$GROUP_ID_DOCKER\" docker\nuseradd -l -g dragon -G docker -u \"$USER_ID\" -m -d /ansible dragon\n\n# prepare release repository\ngit clone https://github.com/osism/release /release\n\n# prepare project repository\ngit clone https://github.com/osism/defaults /defaults\ngit clone https://github.com/osism/cfg-generics /generics\n\nif [ \"$VERSION\" != \"latest\" ]; then\n ( cd /release || exit; git fetch --all --force; git checkout \"osism-kubernetes-$VERSION\" )\n ( cd /defaults || exit; git fetch --all --force; git checkout \"$(yq -M -r .defaults_version \"/release/latest/base.yml\")\" )\n ( cd /generics || exit; git fetch --all --force; git checkout \"$(yq -M -r .generics_version \"/release/latest/base.yml\")\" )\nfi\n\n# add inventory files\nmkdir -p /ansible/inventory.generics /ansible/inventory\ncp /generics/inventory/* /ansible/inventory.generics\n\n# run preparations\nmkdir -p /ansible/group_vars/all/\n\npython3 /src/render-python-requirements.py\npython3 /src/render-versions.py\n\n# install required python packages\nuv pip install --no-cache --system -r /requirements.txt\n\n# set ansible version in the motd\nansible_version=$(python3 -c 'import ansible; print(ansible.release.__version__)')\nsed -i -e \"s/ANSIBLE_VERSION/$ansible_version/\" /etc/motd\n\n# create required directories\nmkdir -p \\\n /ansible \\\n /ansible/roles \\\n /ansible/action_plugins \\\n /ansible/cache \\\n /ansible/logs \\\n /ansible/secrets \\\n /interface \\\n /share\n\n# install required ansible collections & roles\nansible-galaxy collection install -v -f -r /ansible/requirements.yml -p /usr/share/ansible/collections\n\n# add k3s-ansible roles\ngit clone https://github.com/osism/k3s-ansible /k3s-ansible\nmv /k3s-ansible/roles/{k3s_server,k3s_agent,k3s_server_post,k3s_custom_registries} /ansible/roles\nmv /k3s-ansible/roles/download /ansible/roles/k3s_download\nmv /k3s-ansible/roles/prereq /ansible/roles/k3s_prereq\nmv /k3s-ansible/roles/reset /ansible/roles/k3s_reset\nrm -rf /k3s-ansible\n\n# apply patches\nfor role in /ansible/roles/*; do\n if [ -e /patches/\"$(basename \"$role\")\" ]; then\n for patchfile in /patches/\"$(basename \"$role\")\"/*.patch; do\n echo \"$patchfile\";\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 --dry-run ) < \"$patchfile\" || exit 1;\n ( cd /ansible/roles/\"$(basename \"$role\")\" && patch --forward --batch -p1 ) < \"$patchfile\";\n done;\n fi;\ndone\n\n# install mitogen ansible plugin\nmkdir -p /usr/share/mitogen\ntar xzf /mitogen.tar.gz --strip-components=1 -C /usr/share/mitogen\nrm -rf /usr/share/mitogen/{tests,docs,.ci,.lgtm.yml,.travis.yml}\nrm /mitogen.tar.gz\n\n# install helm\ncurl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main\" | tee /etc/apt/sources.list.d/helm-stable-debian.list\napt-get update\napt-get install --no-install-recommends -y \\\n helm\n\n# install helm plugins\nhelm plugin install https://github.com/databus23/helm-diff\n\n# install cilium cli\ncurl -L --fail --remote-name-all \"https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${ARCH}.tar.gz{,.sha256sum}\"\nsha256sum --check \"cilium-linux-${ARCH}.tar.gz.sha256sum\"\ntar xzvfC \"cilium-linux-${ARCH}.tar.gz\" /usr/local/bin\nrm cilium-linux-\"${ARCH}\".tar.gz{,.sha256sum}\n\n# install hubble cli\nHUBBLE_ARCH=amd64\ncurl -L --fail --remote-name-all https://github.com/cilium/hubble/releases/download/$HUBBLE_VERSION/hubble-linux-${ARCH}.tar.gz{,.sha256sum}\nsha256sum --check hubble-linux-${ARCH}.tar.gz.sha256sum\ntar xzvfC hubble-linux-${ARCH}.tar.gz /usr/local/bin\nrm hubble-linux-${ARCH}.tar.gz{,.sha256sum}\n\n# install flux cli\nCLEAN_FLUX_VERSION=$(echo \"$FLUX_VERSION\" | sed 's/^v//')\ncurl -o flux.tar.gz -L \"https://github.com/fluxcd/flux2/releases/download/${FLUX_VERSION}/flux_${CLEAN_FLUX_VERSION}_linux_amd64.tar.gz\"\ntar -xzf flux.tar.gz -C /usr/local/bin flux\nrm flux.tar.gz\n\n# install operator-sdk\nOS=$(uname | awk '{print tolower($0)}')\nOPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}\n\ncurl -LO \"${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}\"\ngpg --keyserver keyserver.ubuntu.com --recv-keys 052996E2A20B5C7E\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt\"\ncurl -LO \"${OPERATOR_SDK_DL_URL}/checksums.txt.asc\"\ngpg -u \"Operator SDK (release) \" --verify checksums.txt.asc\ngrep \"operator-sdk_${OS}_${ARCH}\" checksums.txt | sha256sum -c -\nchmod +x \"operator-sdk_${OS}_${ARCH}\"\nmv \"operator-sdk_${OS}_${ARCH}\" /usr/local/bin/operator-sdk\nrm checksums.txt.asc\nrm checksums.txt\n\n# install clusterctl\ncurl -Lo /usr/local/bin/clusterctl https://github.com/kubernetes-sigs/cluster-api/releases/download/v${CAPI_VERSION}/clusterctl-linux-amd64\nchmod +x /usr/local/bin/clusterctl\n\n# install kubectl\ncurl -Lo /usr/local/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl\nchmod +x /usr/local/bin/kubectl\n\n# prepare .kube directory\nmkdir -p /ansible/.kube\nln -s /share/kubeconfig /ansible/.kube/config\nchown -R dragon: /ansible/.kube\n\n# prepare .cache directory\nmkdir -p /ansible/.cache\nmv /root/.cache/helm /ansible/.cache\nchown -R dragon: /ansible/.cache\n\n# prepare .local directory\nmkdir -p /ansible/.local/share\nmv /root/.local/share/helm /ansible/.local/share\nchown -R dragon: /ansible/.local\n\n# add symlink to /etc/openstack\nln -s /opt/configuration/environments/openstack /etc/openstack\n\n# copy ara configuration\npython3 -m ara.setup.env >> /ansible/ara.env\n\n# prepare list of playbooks\npython3 /src/render-playbooks.py\n\n# set correct permssions\nchown -R dragon: /ansible /share /interface\n\n# cleanup\napt-get clean\napt-get remove -y \\\n build-essential \\\n curl \\\n git \\\n gnupg \\\n libffi-dev \\\n libssh-dev \\\n libssl-dev \\\n libyaml-dev\napt-get autoremove -y\nrm -rf \\\n /root/.cache \\\n /tmp/* \\\n /usr/share/doc/* \\\n /usr/share/man/* \\\n /var/lib/apt/lists/* \\\n /var/tmp/* \\\n /patches\n\nuv pip install --no-cache --system pyclean==3.0.0\npyclean /usr\nuv pip uninstall --system pyclean\n" did not complete successfully: exit code: 2 2025-09-07 00:04:23.398920 | debian-bookworm | ERROR 2025-09-07 00:04:23.399217 | debian-bookworm | { 2025-09-07 00:04:23.399278 | debian-bookworm | "delta": "0:02:45.292741", 2025-09-07 00:04:23.399320 | debian-bookworm | "end": "2025-09-07 00:04:23.017384", 2025-09-07 00:04:23.399356 | debian-bookworm | "msg": "non-zero return code", 2025-09-07 00:04:23.399390 | debian-bookworm | "rc": 1, 2025-09-07 00:04:23.399426 | debian-bookworm | "start": "2025-09-07 00:01:37.724643" 2025-09-07 00:04:23.399464 | debian-bookworm | } failure 2025-09-07 00:04:23.420185 | 2025-09-07 00:04:23.420273 | PLAY RECAP 2025-09-07 00:04:23.420329 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 1 skipped: 0 rescued: 0 ignored: 0 2025-09-07 00:04:23.420354 | 2025-09-07 00:04:23.547224 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/osism-kubernetes/zuul-playbooks/build.yml@main] 2025-09-07 00:04:23.548751 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-07 00:04:24.307347 | 2025-09-07 00:04:24.307509 | PLAY [Base post] 2025-09-07 00:04:24.321370 | 2025-09-07 00:04:24.321501 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-09-07 00:04:25.120839 | debian-bookworm | changed 2025-09-07 00:04:25.129906 | 2025-09-07 00:04:25.130079 | PLAY RECAP 2025-09-07 00:04:25.130162 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-09-07 00:04:25.130242 | 2025-09-07 00:04:25.259080 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-09-07 00:04:25.261461 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-09-07 00:04:26.076749 | 2025-09-07 00:04:26.076921 | PLAY [Base post-logs] 2025-09-07 00:04:26.088499 | 2025-09-07 00:04:26.088638 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-09-07 00:04:26.588557 | localhost | changed 2025-09-07 00:04:26.607284 | 2025-09-07 00:04:26.607464 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-09-07 00:04:26.646455 | localhost | ok 2025-09-07 00:04:26.654125 | 2025-09-07 00:04:26.654274 | TASK [Set zuul-log-path fact] 2025-09-07 00:04:26.674645 | localhost | ok 2025-09-07 00:04:26.689968 | 2025-09-07 00:04:26.690150 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-09-07 00:04:26.728522 | localhost | ok 2025-09-07 00:04:26.736766 | 2025-09-07 00:04:26.736968 | TASK [upload-logs : Create log directories] 2025-09-07 00:04:27.244737 | localhost | changed 2025-09-07 00:04:27.247760 | 2025-09-07 00:04:27.247869 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-09-07 00:04:27.773373 | localhost -> localhost | ok: Runtime: 0:00:00.006892 2025-09-07 00:04:27.783816 | 2025-09-07 00:04:27.784030 | TASK [upload-logs : Upload logs to log server] 2025-09-07 00:04:28.335413 | localhost | Output suppressed because no_log was given 2025-09-07 00:04:28.338498 | 2025-09-07 00:04:28.338661 | LOOP [upload-logs : Compress console log and json output] 2025-09-07 00:04:28.406759 | localhost | skipping: Conditional result was False 2025-09-07 00:04:28.412565 | localhost | skipping: Conditional result was False 2025-09-07 00:04:28.418440 | 2025-09-07 00:04:28.418609 | LOOP [upload-logs : Upload compressed console log and json output] 2025-09-07 00:04:28.463256 | localhost | skipping: Conditional result was False 2025-09-07 00:04:28.463647 | 2025-09-07 00:04:28.468735 | localhost | skipping: Conditional result was False 2025-09-07 00:04:28.478475 | 2025-09-07 00:04:28.478642 | LOOP [upload-logs : Upload console log and json output]