[copr] master: make the mockchain log include a buildid - so if we have multiple running we don't have a race (c141ecd)

skvidal at fedoraproject.org skvidal at fedoraproject.org
Fri Jan 11 22:25:24 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit c141ecd64d3b2b0f3f62acfa594279d5aabada27
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Fri Jan 11 17:24:22 2013 -0500

    make the mockchain log include a buildid - so if we have multiple running
    we don't have a race


>---------------------------------------------------------------

 backend/dispatcher.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/backend/dispatcher.py b/backend/dispatcher.py
index a0115fc..d5bc7be 100644
--- a/backend/dispatcher.py
+++ b/backend/dispatcher.py
@@ -278,7 +278,7 @@ class Worker(multiprocessing.Process):
                 self.callback.log('Starting build: id=%r builder=%r timeout=%r destdir=%r chroot=%r repos=%r' % (job.build_id,ip, job.timeout, job.destdir, chroot, str(job.repos)))
                 self.callback.log('building pkgs: %s' % ' '.join(job.pkgs))
                 try:
-                    chrootlogfile = chroot_destdir + '/mockremote.log'
+                    chrootlogfile = chroot_destdir + '/mockremote-%s.log' % job.build_id
                     mr = mockremote.MockRemote(builder=ip, timeout=job.timeout, 
                          destdir=job.destdir, chroot=chroot, cont=True, recurse=True,
                          repos=job.repos, 



More information about the copr-devel mailing list