Bug 1488468 - Update telemetry_client.py to expect three return values for evaluate_parser(); r=davehunt
authorRaphael Pierzina <rpierzina@mozilla.com>
Fri, 05 Oct 2018 19:16:46 +0000
changeset 488309 5084bccfd9ac480180a8b512568345ed1de605d6
parent 488308 af05b1808f36c58b09f50403d2b7c5babc4eb09e
child 488310 b6f68f56cc7fa528d4f8a1ac1ca7ce7d84948719
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersdavehunt
bugs1488468
milestone64.0a1
Bug 1488468 - Update telemetry_client.py to expect three return values for evaluate_parser(); r=davehunt Depends on D7903 Differential Revision: https://phabricator.services.mozilla.com/D7904
testing/mozharness/scripts/telemetry/telemetry_client.py
--- a/testing/mozharness/scripts/telemetry/telemetry_client.py
+++ b/testing/mozharness/scripts/telemetry/telemetry_client.py
@@ -174,17 +174,17 @@ class TelemetryTests(TestingMixin, VCSTo
             env['GCOV_PREFIX'] = self.gcov_dir
 
         return_code = self.run_command(cmd,
                                        cwd=dirs['abs_work_dir'],
                                        output_timeout=300,
                                        output_parser=parser,
                                        env=env)
 
-        tbpl_status, log_level = parser.evaluate_parser(return_code)
+        tbpl_status, log_level, _ = parser.evaluate_parser(return_code)
         self.record_status(tbpl_status, level=log_level)
 
         return return_code
 
     @PreScriptAction('run-tests')
     def _pre_run_tests(self, action):
         if not self.installer_path and not self.installer_url:
             self.critical('Please specify an installer via --installer-path or --installer-url.')