#747 rpmbuild: make_srpm: failed 'dnf install' from .copr/Makefile
Closed: Fixed 4 years ago by praiskup. Opened 4 years ago by praiskup.

Reproducer:

$ # spawn F30 builder (e.g. ansible-playbook /home/copr/provision/builderpb_nova.yml on stg)
$ ssh mockbuilder@<F30_BUILDER>
mockbuilder $ mock -r /etc/copr-rpmbuild/make_srpm_mock.cfg --shell
<mock-chroot> sh-5.0# dnf install -y xxx
fedora                                                  0.0  B/s |   0  B     00:10    
Failed to synchronize cache for repo 'fedora'
Error: Failed to synchronize cache for repo 'fedora'

Trying after several seconds (~30s):

<mock-chroot> sh-5.0# dnf install -y xxx
fedora                                                  70 kB/s |  19 kB     00:00   
No match for argument: xxx
Error: Unable to find a match

This is DNS issue, probably caused by systemd-resolved:
https://bugzilla.redhat.com/show_bug.cgi?id=1710699

Issue is fixed, but we are waiting for mock-1.4.16-1 to be released (and land F30).

That said, we are not blocked by the systemd issue.

Metadata Update from @praiskup:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #748 Merged 4 years ago