This will make it easy for teuthology-ls to show you the running process's
pid (if it's still running). Or for other utiltizes to kill + clean up
a hung teuthology run.
handler.setFormatter(formatter)
logging.getLogger().addHandler(handler)
+ with file(os.path.join(ctx.archive, 'pid'), 'w') as f:
+ f.write('%d' % os.getpid())
+
log.debug('\n '.join(['Config:', ] + yaml.safe_dump(ctx.config, default_flow_style=False).splitlines()))
ctx.summary = dict(success=True)