Open bschonec opened 5 days ago
ERROR: Error: configure storage: 'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver
Yea, I've saw this error in some other unrelated mock builds recently. In those it was not fatal.
I'm seeing it in Oracle images but I've not been able to figure out how to quiet down the errors or speed up the pipeline as those errors cause significant slowdown.
Ok. I was building locally with mock in a Fedora 39 image.
Looking closer at my output, it looks like it was not fatal because it fell back to bootstrap install rather than using their precanned image.
WARNING: Can't initialize from bootstrap image, falling back to bootstrap installation: Container image architecture check failed
That is probably causing a slowdown for me too.
I've created this branch to demonstrate a significant time savings when using Mock's bleeding edge (not yet production) code that fixes this problem.
I realize there's rebases and cleanup to do but I wanted to show you the one-liner. My pipeline is two minutes shorter on a non-cached run.
Unfortunately, this will only work on Fedora based docker images at this time.
When building a simple hello world program, the workflow fails with
`INFO: Pulling image: quay.io/rockylinux/rockylinux:8 ERROR: Error: configure storage: 'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver
INFO: Pulling image: quay.io/rockylinux/rockylinux:8 ERROR: Error: configure storage: 'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver
INFO: Copy content of container quay.io/rockylinux/rockylinux:8 to /var/lib/mock/rocky+epel-8-x86_64-bootstrap/root INFO: Checking that quay.io/rockylinux/rockylinux:8 image matches host's architecture Error: configure storage: 'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver ERROR: Subprocess failed: Command '['/usr/bin/podman', 'version', '--format', '{{.OsArch}}']' returned non-zero exit status 125. WARNING: Can't initialize from bootstrap image, falling back to bootstrap installation: Container image architecture check failed INFO: Package manager dnf detected and used (fallback) Start(bootstrap): installing dnf tooling ERROR: Command failed:
/usr/bin/dnf-3 --installroot /var/lib/mock/rocky+epel-8-x86_64-bootstrap/root/ --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 Rocky Linux 8 - BaseOS 16 MB/s | 3.6 MB 00:00
Rocky Linux 8 - AppStream 15 MB/s | 3.5 MB 00:00
Rocky Linux 8 - PowerTools 5.5 MB/s | 904 kB 00:00
Rocky Linux 8 - Extras 70 kB/s | 10 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 2.3 MB/s | 3.5 MB 00:01
Error: Problem 1: conflicting requests
Error: Process completed with exit`
I've tried with caching on and off but there's been no difference. I've tried alma/rocky/centos/rhel but the pipeline still fails.