autotest: Deprecate autoserv argument --parse_job
Nobody has used this argument for over 8 years. This argument adds a
dependence from autoserv to tko DB, which is wrong.
BUG=chromium:833988
TEST=moblab-vm-pre-cq
Change-Id: Ib3c263bbda986b0620666398e7363f96064ab8bf
Reviewed-on: https://chromium-review.googlesource.com/1022333
Commit-Ready: ChromeOS CL Exonerator Bot <[email protected]>
Tested-by: Prathmesh Prabhu <[email protected]>
Reviewed-by: Prathmesh Prabhu <[email protected]>
diff --git a/server/server_job.py b/server/server_job.py
index d0d8308..9cd7b0b 100644
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -242,7 +242,7 @@
# TODO crbug.com/285395 eliminate ssh_verbosity_flag
def __init__(self, control, args, resultdir, label, user, machines,
machine_dict_list,
- client=False, parse_job='',
+ client=False,
ssh_user=host_factory.DEFAULT_SSH_USER,
ssh_port=host_factory.DEFAULT_SSH_PORT,
ssh_pass=host_factory.DEFAULT_SSH_PASS,
@@ -264,8 +264,6 @@
@param machine_dict_list: A list of dicts for each of the machines above
as returned by get_machine_dicts.
@param client: True if this is a client-side control file.
- @param parse_job: string, if supplied it is the job execution tag that
- the results will be passed through to the TKO parser with.
@param ssh_user: The SSH username. [root]
@param ssh_port: The SSH port number. [22]
@param ssh_pass: The SSH passphrase, if needed.
@@ -344,9 +342,8 @@
job_data.update(self._get_job_data())
utils.write_keyval(self.resultdir, job_data)
- self._parse_job = parse_job
- self._using_parser = (INCREMENTAL_TKO_PARSING and self._parse_job
- and len(machines) <= 1)
+ self._parse_job = ''
+ self._using_parser = False
self.pkgmgr = packages.PackageManager(
self.autodir, run_function_dargs={'timeout':600})
self.num_tests_run = 0