set -euo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
curl -sSL https://bodhi.fedoraproject.org/updates/FEDORA-2025-ac2f690cd6 | jq -r .update.builds[].nvr
set -euo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
curl -sSL https://builds.coreos.fedoraproject.org/prod/streams/rawhide/builds/43.20250605.91.0/x86_64/meta.json
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa init --branch rawhide --commit=7ff02cf4162e7c11ba18b2775578e3e04a6aed05 https://github.com/coreos/fedora-coreos-config
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa buildfetch --stream rawhide --build 43.20250605.91.0 --file manifest-lock.generated.x86_64.json
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build buildah-1.40.1-1.fc43 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build containers-common-0.63.1-1.fc43 --arch x86_64 --arch noarch
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build podman-5.5.1-1.fc43 --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-mVSo0/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-mVSo0/kola-upgrade-x86_64 --on-warn-failure-exit-77 --arch=x86_64 --upgrades