mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Bug 1245566 - Enable taskcluster scheduling for valgrind-mochitest runs: mochitest_valgrind_mods. r=jgraham.
This commit is contained in:
parent
5dd7fcd301
commit
9c5cac6016
@ -233,8 +233,6 @@ def get_default_valgrind_args():
|
||||
'--vex-iropt-register-updates=allregs-at-mem-access',
|
||||
'--trace-children=yes',
|
||||
'--child-silent-after-fork=yes',
|
||||
'--leak-check=full',
|
||||
'--show-possibly-lost=no',
|
||||
('--trace-children-skip='
|
||||
+ '/usr/bin/hg,/bin/rm,*/bin/certutil,*/bin/pk12util,'
|
||||
+ '*/bin/ssltunnel,*/bin/uname,*/bin/which,*/bin/ps,'
|
||||
@ -242,7 +240,10 @@ def get_default_valgrind_args():
|
||||
]
|
||||
+ get_default_valgrind_tool_specific_args())
|
||||
|
||||
# The default tool is Memcheck. Feeding these arguments to a different
|
||||
# Valgrind tool will cause it to fail at startup, so don't do that!
|
||||
def get_default_valgrind_tool_specific_args():
|
||||
return [
|
||||
'--partial-loads-ok=yes'
|
||||
]
|
||||
return ['--partial-loads-ok=yes',
|
||||
'--leak-check=full',
|
||||
'--show-possibly-lost=no',
|
||||
]
|
||||
|
@ -154,7 +154,7 @@ class TbplFormatter(BaseFormatter):
|
||||
return " ".join(test_id)
|
||||
|
||||
def valgrind_error(self, data):
|
||||
rv = "TEST-VALGRIND-ERROR | " + data['primary'] + "\n"
|
||||
rv = "TEST-UNEXPECTED-VALGRIND-ERROR | " + data['primary'] + "\n"
|
||||
for line in data['secondary']:
|
||||
rv = rv + line + "\n"
|
||||
|
||||
|
@ -205,8 +205,9 @@ config = {
|
||||
"all_mochitest_suites": {
|
||||
"valgrind-plain": ["--valgrind=/usr/bin/valgrind",
|
||||
"--valgrind-supp-files=" + VALGRIND_SUPP_ARCH +
|
||||
"," + VALGRIND_SUPP_CROSS_ARCH],
|
||||
"plain": [],
|
||||
"," + VALGRIND_SUPP_CROSS_ARCH,
|
||||
"--timeout=900", "--max-timeouts=50"],
|
||||
"plain": [],
|
||||
"plain-chunked": ["--chunk-by-dir=4"],
|
||||
"mochitest-push": ["--subsuite=push"],
|
||||
"chrome": ["--chrome"],
|
||||
|
@ -88,7 +88,7 @@ TinderBoxPrintRe = {
|
||||
|
||||
"harness_error": {
|
||||
'full_regex': re.compile(r"(?:TEST-UNEXPECTED-FAIL|PROCESS-CRASH) \| .* \| (application crashed|missing output line for total leaks!|negative leaks caught!|\d+ bytes leaked)"),
|
||||
'minimum_regex': re.compile(r'''(TEST-UNEXPECTED|PROCESS-CRASH|TEST-VALGRIND-ERROR)'''),
|
||||
'minimum_regex': re.compile(r'''(TEST-UNEXPECTED|PROCESS-CRASH)'''),
|
||||
'retry_regex': re.compile(r'''FAIL-SHOULD-RETRY''')
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user