Red Hat Bugzilla – Bug 1254309
Mock dependency install all mirrors failed
Last modified: 2016-04-11 10:39:48 EDT
Description of problem:
Tried to build a package and the process failed on rawhide.i386 because it couldn't download the packages.
My guess is this wasn't caused by a temporary blackout of the service, because other builds passed at the same time.
Here is the log:
Here are all of the builds:
I guess I should add that the subsequent build with the same SRPM passed without problems:
Although the build on the aforementioned chroot took almost twice as long.
Maybe you could implement an automated retry? If the build failed because of "no mirrors left". If it's something that "just happens" sometimes.
If build fails, we already are trying once again.
It also happens to me sometimes. Every time for different chroot. The current workaround for me is just hitting the "resubmit" button.
Anyway, there is an interesting (I think) traceback in mockchain.log
ERROR: Command failed. See logs for output.
# /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-i386-mockbuilder-7005/root/ --releasever 23 install @buildsys-build --setopt=tsflags=nocontexts
Traceback (most recent call last):
File "/usr/share/copr/backend/mockremote/__init__.py", line 303, in build_pkg_and_process_results
build_stdout = self.builder.build()
File "/usr/share/copr/backend/mockremote/builder.py", line 324, in build
check_for_ans_error(ansible_build_results, self.hostname) # on error raises AnsibleResponseError
File "/usr/share/copr/backend/mockremote/builder.py", line 449, in check_for_ans_error
AnsibleResponseError: BuildError: rc 2 not in success_codes; return code: 2; stdout: starting logfile: None
Likely just network issue.