[PATCH] Send email notification for failures on lldb android builder
Ying Chen
chying at google.com
Fri May 22 18:24:52 PDT 2015
Hi sivachandra, vharron,
- Send email notification to lldb "duty rotation alias" for any failures
- Ignore test failures on android-arm and android-aarch64
http://reviews.llvm.org/D9953
Files:
buildbot/osuosl/master/config/status.py
zorg/buildbot/builders/LLDBBuilder.py
Index: buildbot/osuosl/master/config/status.py
===================================================================
--- buildbot/osuosl/master/config/status.py
+++ buildbot/osuosl/master/config/status.py
@@ -130,7 +130,8 @@
subject="Build %(builder)s Failure",
mode = "failing",
builders = ["lldb-x86_64-ubuntu-14.04-cmake",
- "lldb-x86_64-darwin-13.4"],
+ "lldb-x86_64-darwin-13.4",
+ "lldb-x86_64-ubuntu-14.04-android"],
addLogs=False,
num_lines = 15),
]
Index: zorg/buildbot/builders/LLDBBuilder.py
===================================================================
--- zorg/buildbot/builders/LLDBBuilder.py
+++ zorg/buildbot/builders/LLDBBuilder.py
@@ -255,6 +255,7 @@
llvm_builddir = "build"
if env is None:
env = {}
+ flunkTestFailure = True
extraTestFlag = ''
# TODO: for now, run tests with 8 threads and without mi tests on android
# come back when those issues are addressed
@@ -282,6 +283,9 @@
if remote_platform is not None:
urlStr='connect://%(remote_host)s:%(remote_port)s'
if remote_platform is 'android':
+ #ignore test failures on android arm and aarch64
+ if arch in ('arm', 'aarch64'):
+ flunkTestFailure = False
testenv['LLDB_TEST_THREADS'] = '8'
extraTestFlag = ' -m'
urlStr = 'adb://%(deviceid)s:%(remote_port)s'
@@ -308,6 +312,8 @@
WithProperties(DOTEST_OPTS)],
description="test lldb",
parseSummaryOnly=True,
+ flunkOnFailure=flunkTestFailure,
+ warnOnFailure=flunkTestFailure,
workdir='%s' % llvm_builddir,
env=testenv))
f=cleanSVNSourceTree(f, '%s/tools/lldb' % llvm_srcdir)
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9953.26366.patch
Type: text/x-patch
Size: 2136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150523/d713bf85/attachment.bin>
More information about the llvm-commits
mailing list