Bug 1145444 - r=jmaher
authorChris Manchester <cmanchester@mozilla.com>
Fri, 20 Mar 2015 12:30:37 -0700
changeset 263655 5444d8c669fc5d1ba1dea10dd8b53c1bf40df130
parent 263654 eef7b20f0341c7a74816fd3da80a5c5657af63c8
child 263656 bf9e8b4096cf72dc9babb8bf4043df52882dfd2b
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1145444
milestone39.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 1145444 - r=jmaher
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -412,17 +412,17 @@ class MochitestServer(object):
         aliveFile = os.path.join(self._profileDir, "server_alive.txt")
         i = 0
         while i < timeout:
             if os.path.exists(aliveFile):
                 break
             time.sleep(1)
             i += 1
         else:
-            self._log.error(
+            self._log.info(
                 "TEST-UNEXPECTED-FAIL | runtests.py | Timed out while waiting for server startup.")
             self.stop()
             sys.exit(1)
 
     def stop(self):
         try:
             with urllib2.urlopen(self.shutdownURL) as c:
                 c.read()
@@ -921,17 +921,17 @@ toolbar#nav-bar {
 """
         with open(os.path.join(options.profilePath, "userChrome.css"), "a") as chromeFile:
             chromeFile.write(chrome)
 
         manifest = self.writeChromeManifest(options)
 
         # Call installChromeJar().
         if not os.path.isdir(os.path.join(SCRIPT_DIR, self.jarDir)):
-            self.log.error(
+            self.log.info(
                 "TEST-UNEXPECTED-FAIL | invalid setup: missing mochikit extension")
             return None
 
         # Support Firefox (browser), B2G (shell), SeaMonkey (navigator), and Webapp
         # Runtime (webapp).
         chrome = ""
         if options.browserChrome or options.chrome or options.a11y or options.webapprtChrome:
             chrome += """
@@ -1412,17 +1412,17 @@ class Mochitest(MochitestUtilsMixin):
 
         manifest = self.addChromeToProfile(options)
         self.copyExtraFilesToProfile(options)
 
         # create certificate database for the profile
         # TODO: this should really be upstreamed somewhere, maybe mozprofile
         certificateStatus = self.fillCertificateDB(options)
         if certificateStatus:
-            self.log.error(
+            self.log.info(
                 "TEST-UNEXPECTED-FAIL | runtests.py | Certificate integration failed")
             return None
 
         return manifest
 
     def getGMPPluginPath(self, options):
         if options.gmp_path:
             return options.gmp_path
@@ -1604,17 +1604,17 @@ class Mochitest(MochitestUtilsMixin):
         # kill zombies
         foundZombie = False
         for processPID in processList:
             self.log.info(
                 "zombiecheck | Checking for orphan process with PID: %d" %
                 processPID)
             if isPidAlive(processPID):
                 foundZombie = True
-                self.log.error(
+                self.log.info(
                     "TEST-UNEXPECTED-FAIL | zombiecheck | child process %d still alive after shutdown" %
                     processPID)
                 self.killAndGetStack(
                     processPID,
                     utilityPath,
                     debuggerInfo,
                     dump_screen=not debuggerInfo)
 
@@ -1793,17 +1793,17 @@ class Mochitest(MochitestUtilsMixin):
             runner.process_handler = None
 
             # finalize output handler
             outputHandler.finish()
 
             # record post-test information
             if status:
                 self.message_logger.dump_buffered()
-                self.log.error(
+                self.log.info(
                     "TEST-UNEXPECTED-FAIL | %s | application terminated with exit code %s" %
                     (self.lastTestSeen, status))
             else:
                 self.lastTestSeen = 'Main app process exited normally'
 
             self.log.info(
                 "runtests.py | Application ran for: %s" % str(
                     datetime.now() - startTime))
@@ -2284,17 +2284,17 @@ class Mochitest(MochitestUtilsMixin):
             error_message = "TEST-UNEXPECTED-TIMEOUT | %s | application timed out after %d seconds with no output on %s" % (
                 self.lastTestSeen, int(timeout), testPath)
         else:
             error_message = "TEST-UNEXPECTED-TIMEOUT | %s | application timed out after %d seconds with no output" % (
                 self.lastTestSeen, int(timeout))
 
         self.message_logger.dump_buffered()
         self.message_logger.buffering = False
-        self.log.error(error_message)
+        self.log.info(error_message)
 
         browserProcessId = browserProcessId or proc.pid
         self.killAndGetStack(
             browserProcessId,
             utilityPath,
             debuggerInfo,
             dump_screen=not debuggerInfo)