Bug 1533008 - Fix Raptor Chromium OSX jobs by using mock-keychain; r=davehunt
authorRob Wood <rwood@mozilla.com>
Thu, 04 Apr 2019 14:54:38 +0000
changeset 468336 09e7dea38c39127b6d4af2d5d63ea59d3f10eb6d
parent 468335 8b80520b0ca7afc6ca781a24bbe7f3777a946602
child 468337 1eaf2a656e3f8a88ad5f4536bcf05f8ad6c9d07d
push id35833
push userdvarga@mozilla.com
push dateMon, 08 Apr 2019 16:16:26 +0000
treeherdermozilla-central@50ce9167f1ce [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavehunt
bugs1533008
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1533008 - Fix Raptor Chromium OSX jobs by using mock-keychain; r=davehunt Differential Revision: https://phabricator.services.mozilla.com/D25861
testing/raptor/raptor/raptor.py
--- a/testing/raptor/raptor/raptor.py
+++ b/testing/raptor/raptor/raptor.py
@@ -498,26 +498,27 @@ class RaptorDesktopChrome(RaptorDesktop)
     def setup_chrome_desktop_for_playback(self):
         # if running a pageload test on google chrome, add the cmd line options
         # to turn on the proxy and ignore security certificate errors
         # if using host localhost, 127.0.0.1.
         chrome_args = [
             '--proxy-server=127.0.0.1:8080',
             '--proxy-bypass-list=localhost;127.0.0.1',
             '--ignore-certificate-errors',
-            '--no-default-browser-check',
-            '--use-mock-keychain',
         ]
         if self.config['host'] not in ('localhost', '127.0.0.1'):
             chrome_args[0] = chrome_args[0].replace('127.0.0.1', self.config['host'])
         if ' '.join(chrome_args) not in ' '.join(self.runner.cmdargs):
             self.runner.cmdargs.extend(chrome_args)
 
     def launch_desktop_browser(self, test):
         self.log.info("starting %s" % self.config['app'])
+        # some chromium-specfic cmd line opts required
+        self.runner.cmdargs.extend(['--use-mock-keychain', '--no-default-browser-check'])
+
         # if running in debug-mode, open the devtools on the raptor test tab
         if self.debug_mode:
             self.runner.cmdargs.extend(['--auto-open-devtools-for-tabs'])
 
         if test.get('playback', None) is not None:
             self.setup_chrome_desktop_for_playback()
 
         self.start_runner_proc()