Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1858)

Unified Diff: tko/parsers/version_1.py

Issue 3541002: Revert "Merge remote branch 'cros/upstream' into tempbranch2" (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/server_job.py ('k') | utils/external_packages.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tko/parsers/version_1.py
diff --git a/tko/parsers/version_1.py b/tko/parsers/version_1.py
index 111f7efaf6ade54bcbb98bf648c838be939bf96c..e231fd1b816b2c2681d9333a595957839287575f 100644
--- a/tko/parsers/version_1.py
+++ b/tko/parsers/version_1.py
@@ -285,14 +285,9 @@ class parser(base.parser):
subdir_stack.append(line.subdir)
continue
elif line.type == "INFO":
- fields = line.optional_fields
# update the current kernel if one is defined in the info
- if "kernel" in fields:
+ if "kernel" in line.optional_fields:
current_kernel = line.get_kernel()
- # update the SERVER_JOB reason if one was logged for an abort
- if "job_abort_reason" in fields:
- running_job.reason = fields["job_abort_reason"]
- new_tests.append(running_job)
continue
elif line.type == "STATUS":
# update the stacks
@@ -390,7 +385,7 @@ class parser(base.parser):
# the job is finished, produce the final SERVER_JOB entry and exit
final_job = test.parse_test(self.job, "----", "SERVER_JOB",
- self.job.exit_status(), running_job.reason,
+ self.job.exit_status(), "",
current_kernel,
self.job.started_time,
self.job.finished_time,
« no previous file with comments | « server/server_job.py ('k') | utils/external_packages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698