-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
None
-
False
-
None
-
False
-
Testable
-
-
Currently mock-build job fails on all CentOS Stream 8 and 9 packages.
The last passed job:
The failed job:
https://centos.softwarefactory-project.io/zuul/t/centos/build/956a2711f59543cca3a5fe5fac12b020
Error
DEBUG: ensuring that dir exists: /var/lib/mock/centos-stream-9-x86_64/result DEBUG: creating dir: /var/lib/mock/centos-stream-9-x86_64/result ERROR: Could not create dir /var/lib/mock/centos-stream-9-x86_64/result. Error: [Errno 13] Permission denied: '/var/lib/mock/centos-stream-9-x86_64' Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/file_util.py", line 22, in mkdirIfAbsent os.makedirs(dirName) File "<frozen os>", line 215, in makedirs File "<frozen os>", line 225, in makedirs PermissionError: [Errno 13] Permission denied: '/var/lib/mock/centos-stream-9-x86_64' DEBUG: ensuring that dir exists: /var/lib/mock/centos-stream-9-x86_64-bootstrap DEBUG: kill orphans in chroot /var/lib/mock/centos-stream-9-x86_64-bootstrap/root ERROR: Could not create output directory for built rpms. The directory specified was: /var/lib/mock/centos-stream-9-x86_64/result Try using the --resultdir= option to select another location. Recommended location is --resultdir=~/mock/.
The cause seems to be the update of mock package from version 4.11 to version
mock-5.0-1.fc37
on the base Fedora 37 system used by Zuul CI.
- is duplicated by
-
CS-1701 c9s mock build fails with Permission denied: '/var/lib/mock/centos-stream-9-x86_64'
- Closed