tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 9654e67b386d6e9b25fe0819941581f0530ba55e
parent f5625a706d48c7bf9958847b4dc61e29d9f01ce3
Author: Florian Quèze <florian@queze.net>
Date:   Mon, 13 Oct 2025 20:27:27 +0000

Bug 1993270 - when replaying the log of xpcshell tests failing in parallel, replace 'ERROR: AddressSanitizer' with 'ERROR (will retry): AddressSanitizer' to avoid failing the job, r=jmaher.

Differential Revision: https://phabricator.services.mozilla.com/D268441

Diffstat:
Mtesting/xpcshell/runxpcshelltests.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/testing/xpcshell/runxpcshelltests.py b/testing/xpcshell/runxpcshelltests.py @@ -767,6 +767,11 @@ class XPCShellTestThread(Thread): del line["level"] self.log_line(line) else: + # For text lines, replace text matching error patterns to avoid + # mozharness log parsing forcing an error job exit code + line = re.sub( + r"ERROR: ((Address|Leak)Sanitizer)", r"ERROR (will retry): \1", line + ) # For text lines, we need to provide the timestamp that was # recorded when appending the message to self.output_lines self.log_line(line, time=timestamp)