[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 <milleral@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Alex Miller <milleral@chromium.org>
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