tests: quiet noisy error log about asan files

Turn a noisy error log into a debug - it's just reporting
that we're _looking_ for asan output.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
Mark Stapp 2020-12-02 11:08:38 -05:00
parent 6ee4440e66
commit c46de798de

View File

@ -990,7 +990,7 @@ def checkAddressSanitizerError(output, router, component, logdir=""):
# No Address Sanitizer Error in Output. Now check for AddressSanitizer daemon file # No Address Sanitizer Error in Output. Now check for AddressSanitizer daemon file
if logdir: if logdir:
filepattern=logdir+"/"+router+"/"+component+".asan.*" filepattern=logdir+"/"+router+"/"+component+".asan.*"
sys.stderr.write("Log check for %s on %s, pattern %s\n" % (component, router, filepattern)) logger.debug("Log check for %s on %s, pattern %s\n" % (component, router, filepattern))
for file in glob.glob(filepattern): for file in glob.glob(filepattern):
with open(file, "r") as asanErrorFile: with open(file, "r") as asanErrorFile:
asanError=asanErrorFile.read() asanError=asanErrorFile.read()