Bug 1508426 - treat log messages about calling a pure virtual function in a destructor as errors; r=gbrown
authorAlex Gaynor <agaynor@mozilla.com>
Tue, 27 Nov 2018 19:46:15 +0000
changeset 507585 cd593d522d2486ca982697e4b6c620924894b6fb
parent 507584 6798cc7aaed0765f259470eb5f7cac16d4310545
child 507586 efd37c2218442ac8c1ce23283f1907cccf64c548
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1508426
milestone65.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 1508426 - treat log messages about calling a pure virtual function in a destructor as errors; r=gbrown Differential Revision: https://phabricator.services.mozilla.com/D13109
testing/mozharness/mozharness/mozilla/testing/errors.py
--- a/testing/mozharness/mozharness/mozilla/testing/errors.py
+++ b/testing/mozharness/mozharness/mozilla/testing/errors.py
@@ -122,16 +122,18 @@ TestPassed = [
     {'regex': re.compile('''(TEST-INFO|TEST-KNOWN-FAIL|TEST-PASS|INFO \| )'''), 'level': INFO},
 ]
 
 HarnessErrorList = [
     {'substr': 'TEST-UNEXPECTED', 'level': ERROR, },
     {'substr': 'PROCESS-CRASH', 'level': ERROR, },
     {'regex': re.compile('''ERROR: (Address|Leak)Sanitizer'''), 'level': ERROR, },
     {'regex': re.compile('''thread '([^']+)' panicked'''), 'level': ERROR, },
+    {'substr': 'pure virtual method called', 'level': ERROR, },
+    {'substr': 'Pure virtual function called!', 'level': ERROR, },
 ]
 
 LogcatErrorList = [
     {'substr': 'Fatal signal 11 (SIGSEGV)', 'level': ERROR,
      'explanation': 'This usually indicates the B2G process has crashed'},
     {'substr': 'Fatal signal 7 (SIGBUS)', 'level': ERROR,
      'explanation': 'This usually indicates the B2G process has crashed'},
     {'substr': '[JavaScript Error:', 'level': WARNING},