On Saturday, April 27, 2019 1:11:49 AM CEST Mikolaj Izdebski wrote: > On Fri, Apr 26, 2019 at 6:45 PM Pavel Raiskup <prais...@redhat.com> wrote: > > > > On Friday, April 26, 2019 4:13:30 PM CEST Miro Hrončok wrote: > > > Koji is always very nice and it tells me whether a build failure was > > > caused by > > > root.log or build.log. See for example: > > > > > > https://koji.fedoraproject.org/koji/taskinfo?taskID=28963878 > > > BuildError: error building package (arch x86_64), mock exited with status > > > 1; see > > > build.log for more information > > > > > > Is Copr presenting this kind of information somewhere? > > > > No. If koji really does some log analysis, I'd love to review "backport" > > pull-request of the same logic. Or at least fill an issue. > > The logic used by Koji is simple: if mock exits with status code 1 > then it's "build.log". Otherwise (terminates with a signal or exits > with code other than 1) it is "root.log".
Thanks, I created this now: https://pagure.io/copr/copr/issue/835 FWIW, here's one attempt to actually parse the mock logs: https://github.com/rebase-helper/rebase-helper/blob/4e9458ae1fc46d37acd8a1a923ab11e0f187e683/rebasehelper/plugins/build_log_hooks/files.py#L136 Pavel _______________________________________________ copr-devel mailing list -- copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org