rpm-software-management / mock

Mock is a tool for a reproducible build of RPM packages.
GNU General Public License v2.0
376 stars 219 forks source link

centos-stream-8-x86_64: Error: Failed to download metadata for repo 'baseos' #1379

Closed k0ste closed 4 weeks ago

k0ste commented 1 month ago

Hi, today build for 8-stream was failed. Something wrong with dnf settings on quay.io container?

INFO: mock.py version 5.5 starting (python version = 3.12.3, NVR = mock-5.5-1.fc40), args: /usr/libexec/mock/mock --config-opts=cache_topdir=/builds/rpm/rpmbuild/cache --enable-network -r centos-stream-8-x86_64 --buildsrpm --spec=/builds/rpm/rpmbuild/spec/intel-firmware-s2600wf.spec --resultdir=/builds/rpm/rpmbuild/output/centos-stream-8-x86_64 --sources=/builds/rpm/rpmbuild/sources --no-cleanup-after
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
INFO: Start(/builds/rpm/rpmbuild/spec/intel-firmware-s2600wf.spec)  Config(centos-stream-8-x86_64)
Start: clean chroot
Finish: clean chroot
Mock Version: 5.5
INFO: Mock Version: 5.5
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Guessed host environment type: unknown
INFO: Using bootstrap image: quay.io/centos/centos:stream8
INFO: Pulling image: quay.io/centos/centos:stream8
INFO: Copy content of container quay.io/centos/centos:stream8 to /var/lib/mock/centos-stream-8-x86_64-bootstrap/root
INFO: Checking that quay.io/centos/centos:stream8 image matches host's architecture
INFO: mounting quay.io/centos/centos:stream8 with podman image mount
INFO: image quay.io/centos/centos:stream8 as /var/lib/containers/storage/overlay/6ee281da9ae87eca8f44934d7773323021901ceb8f56a5ec52edbbdaa1d5de23/merged
INFO: umounting image quay.io/centos/centos:stream8 (/var/lib/containers/storage/overlay/6ee281da9ae87eca8f44934d7773323021901ceb8f56a5ec52edbbdaa1d5de23/merged) with podman image umount
INFO: Package manager dnf detected and used (fallback)
INFO: Bootstrap image not marked ready
Start(bootstrap): installing dnf tooling
ERROR: Exception(/builds/rpm/rpmbuild/spec/intel-firmware-s2600wf.spec) Config(centos-stream-8-x86_64) 0 minutes 9 seconds
INFO: Results and/or logs in: /builds/rpm/rpmbuild/output/centos-stream-8-x86_64
ERROR: Command failed: 
 # /usr/bin/dnf-3 --releasever 8 --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install python3-dnf python3-dnf-plugins-core
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
CentOS Stream 8 - BaseOS                        113  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Uploading artifacts for failed job
00:02
Uploading artifacts...
./output: found 6 matching artifact files and directories 
Uploading artifacts as "archive" to coordinator... 201 Created  id=3246139 responseStatus=201 Created token=glcbt-64

Cleaning up project directory and file based variables
00:00
ERROR: Job failed: command terminated with exit code 1