[autotest] Add logging surrounding PIDs.
The scheduler thinks autoserv instances are dieing before they really
are, so here's some logging surrounding this to try and help figure
things out.
BUG=chromium:262005
DEPLOY=scheduler
TEST=Only logging.
Change-Id: I3322fa24a564f817bc13bac076320a374bbc2af2
Reviewed-on: https://gerrit.chromium.org/gerrit/65781
Tested-by: Alex Miller <[email protected]>
Reviewed-by: Simran Basi <[email protected]>
Commit-Queue: Alex Miller <[email protected]>
diff --git a/server/server_job.py b/server/server_job.py
index 29fac23..8bcf130 100644
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -511,6 +511,7 @@
# for a normal job, make sure the uncollected logs file exists
# for a crashinfo-only run it should already exist, bail out otherwise
created_uncollected_logs = False
+ logging.info("I am PID %s", os.getpid())
if self.resultdir and not os.path.exists(self._uncollected_log_file):
if only_collect_crashinfo:
# if this is a crashinfo-only run, and there were no existing