summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
index 80782ef923..a70377012b 100644
--- a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
@@ -68,7 +68,7 @@ class Command(NoArgsCommand):
68 68
69 except Exception as e: 69 except Exception as e:
70 logger.error("runbuilds: Error launching build %s" % e) 70 logger.error("runbuilds: Error launching build %s" % e)
71 traceback.print_exc(e) 71 traceback.print_exc()
72 if "[Errno 111] Connection refused" in str(e): 72 if "[Errno 111] Connection refused" in str(e):
73 # Connection refused, read toaster_server.out 73 # Connection refused, read toaster_server.out
74 errmsg = bec.readServerLogFile() 74 errmsg = bec.readServerLogFile()
@@ -78,7 +78,7 @@ class Command(NoArgsCommand):
78 BRError.objects.create(req = br, 78 BRError.objects.create(req = br,
79 errtype = str(type(e)), 79 errtype = str(type(e)),
80 errmsg = errmsg, 80 errmsg = errmsg,
81 traceback = traceback.format_exc(e)) 81 traceback = traceback.format_exc())
82 br.state = BuildRequest.REQ_FAILED 82 br.state = BuildRequest.REQ_FAILED
83 br.save() 83 br.save()
84 bec.be.lock = BuildEnvironment.LOCK_FREE 84 bec.be.lock = BuildEnvironment.LOCK_FREE