[zorg] r238613 - Send email notification for failures on lldb android builder
Ying Chen
chying at google.com
Fri May 29 14:19:58 PDT 2015
Author: chying
Date: Fri May 29 16:19:58 2015
New Revision: 238613
URL: http://llvm.org/viewvc/llvm-project?rev=238613&view=rev
Log:
Send email notification for failures on lldb android builder
Summary:
- Send email notification to lldb "duty rotation alias" for any failures
- Ignore test failures on android-arm and android-aarch64
Test Plan:
Tested on local master, test failure on android-arm and android-aarch64 will not fail a build.
Test failures on other platform still fail the build.
Reviewers: sivachandra, vharron
Subscribers: tberghammer, aemerson, llvm-commits
Differential Revision: http://reviews.llvm.org/D9953
Modified:
zorg/trunk/buildbot/osuosl/master/config/status.py
zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
Modified: zorg/trunk/buildbot/osuosl/master/config/status.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/status.py?rev=238613&r1=238612&r2=238613&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/status.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/status.py Fri May 29 16:19:58 2015
@@ -130,7 +130,8 @@ def get_status_targets(standard_builders
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),
InformativeMailNotifier(
Modified: zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py?rev=238613&r1=238612&r2=238613&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBBuilder.py Fri May 29 16:19:58 2015
@@ -255,6 +255,7 @@ def getLLDBTestSteps(f,
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,8 @@ def getLLDBTestSteps(f,
if remote_platform is not None:
urlStr='connect://%(remote_host)s:%(remote_port)s'
if remote_platform is 'android':
+ #i386/x86_64 are the only android archs that are expected to pass at this time
+ flunkTestFailure = arch in ('i386', 'x86_64')
testenv['LLDB_TEST_THREADS'] = '8'
extraTestFlag = ' -m'
urlStr = 'adb://%(deviceid)s:%(remote_port)s'
@@ -308,6 +311,8 @@ def getLLDBTestSteps(f,
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)
More information about the llvm-commits
mailing list