set -euo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
curl -sSL https://bodhi.fedoraproject.org/updates/FEDORA-2025-99aea8f822 | jq -r .update.builds[].nvr
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa init --branch next-devel --commit=03e8393f012fe9d1315d55cdbb612f074148d6df https://github.com/coreos/fedora-coreos-config
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build nispor-1.2.24-2.fc42 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build nmstate-2.2.43-1.fc42 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build rust-ethtool-0.2.8-2.fc42 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build rust-netlink-packet-route0.19-0.19.0-1.fc42 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build rust-netlink-packet-route-0.22.0-1.fc42 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build rust-netlink-proto-0.11.5-1.fc42 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build rust-rtnetlink-0.16.0-1.fc42 --arch x86_64 --arch noarch
set -euo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override && cosa shell -- mktemp -d /home/jenkins/agent/workspace/test-override/tmp/kola-XXXXX
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override
cosa kola run --rerun --allow-rerun-success=tags=needs-internet --build=latest --output-dir=/home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj/kola-x86_64 --on-warn-failure-exit-77 --arch=x86_64 --tag='!reprovision' --parallel=5
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override
cosa kola run-upgrade --rerun --allow-rerun-success=tags=needs-internet --build=latest --output-dir=/home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj/kola-upgrade-x86_64 --on-warn-failure-exit-77 --arch=x86_64 --upgrades
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override && cosa shell -- test -d /home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj/kola-upgrade-x86_64
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override && cosa shell -- tar -C /home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj -c --xz kola-upgrade-x86_64 > /home/jenkins/agent/workspace/test-override/kola-upgrade-x86_64-100627f0.tar.xz || :
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override && cosa shell -- /usr/lib/coreos-assembler/kola-junit --classname kola-upgrade-x86_64 --koladir /home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj/kola-upgrade-x86_64 --output - > /home/jenkins/agent/workspace/test-override/kola-upgrade-x86_64-100627f0.xml || :
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override && cosa shell -- test -d /home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj/kola-x86_64
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override && cosa shell -- tar -C /home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj -c --xz kola-x86_64 > /home/jenkins/agent/workspace/test-override/kola-x86_64-100627f0.tar.xz || :
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cd /home/jenkins/agent/workspace/test-override && cosa shell -- /usr/lib/coreos-assembler/kola-junit --classname kola-x86_64 --koladir /home/jenkins/agent/workspace/test-override/tmp/kola-pxxwj/kola-x86_64 --output - > /home/jenkins/agent/workspace/test-override/kola-x86_64-100627f0.xml || :