[autotest] Neuter archiving step
The archiving control file is literally just "pass". To be sure,
though, remove the ARCHIVING step surgically to avoid surprises.
First, remove the core autoserv call.
BUG=chromium:699275
TEST=None
Change-Id: I406d5b322f6eb02330e5fc38a2fa3d35d6a07c1e
Reviewed-on: https://chromium-review.googlesource.com/507018
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
diff --git a/scheduler/postjob_task.py b/scheduler/postjob_task.py
index 67733f5..9438277 100644
--- a/scheduler/postjob_task.py
+++ b/scheduler/postjob_task.py
@@ -362,13 +362,8 @@
return drone_manager.ARCHIVER_PID_FILE
- # TODO: Refactor into autoserv_utils. crbug.com/243090
def _generate_command(self, results_dir):
- return [autoserv_utils.autoserv_path , '-p',
- '--pidfile-label=%s' % self._pidfile_label(), '-r', results_dir,
- '--use-existing-results', '--control-filename=control.archive',
- os.path.join(drones.AUTOTEST_INSTALL_DIR, 'scheduler',
- 'archive_results.control.srv')]
+ return ['true']
@classmethod