#362 Scratch builds fail immediatelly
Closed by mvadkert. Opened by churchyard.

In https://src.fedoraproject.org/rpms/python3.11/pull-request/74 the scratch builds fail immediately with:

ERROR: Command failed: 
 # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ -y --releasever 37 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock update --setopt=tsflags=nocontexts

I suppose this is related to https://pagure.io/fedora-ci/general/issue/360 but due to https://pagure.io/fedora-ci/general/issue/326 I don't know what is happening.

Together with https://pagure.io/fedora-ci/general/issue/361 this means we no longer have any working CI at all, causing significant delays in our work :(


My best guess is that mock-core-configs and distribution-gpg-keys need to be updated somewhere.

Hmm, both configs and keys were the latest versions available in Bodhi (still in testing).

rm -Rf /var/lib/mock/fedora-rawhide-x86_64/root/ is what seems to have fixed the problem.

Rerunning here: https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/dist-git-build-pipeline/job/master/21159/console

Perhaps Fedora CI should run mock with --no-bootstrap-chroot to avoid such issues? Yes, it will be a bit slower but also more reliable. Or maybe in case the srpm build fails, it could try to delete the chroot and run it a second time (but that would be more hacky and error-prone).

This works now, thanks.

@msrb :-*

Metadata Update from @mvadkert:
- Issue status updated to: Closed (was: Open)

closing as resolved

Metadata