Bug 1289209 - linux64/asan should run on ubuntu12.04 as we leak on 16.04. r=dustin
authorJoel Maher <jmaher@mozilla.com>
Tue, 26 Jul 2016 13:49:04 -0400
changeset 346796 c1b0512e0b7b7260df1dd37d6607aefaec450c60
parent 346795 f06109a9a08d10f8f3058096ff9adf37af329362
child 346797 07c2278d03ee5341857ce86fcf94447a5fbef7f0
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1289209
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1289209 - linux64/asan should run on ubuntu12.04 as we leak on 16.04. r=dustin MozReview-Commit-ID: B9cnhHh48oZ
taskcluster/taskgraph/transforms/tests/desktop_test.py
--- a/taskcluster/taskgraph/transforms/tests/desktop_test.py
+++ b/taskcluster/taskgraph/transforms/tests/desktop_test.py
@@ -39,16 +39,28 @@ def set_treeherder_machine_platform(conf
     }
     for test in tests:
         build_platform = test['build-platform']
         test['treeherder-machine-platform'] = translation.get(build_platform, build_platform)
         yield test
 
 
 @transforms.add
+def set_asan_docker_image(config, tests):
+    """Set the appropriate task.extra.treeherder.docker-image"""
+    # Linux64-asan has many leaks with running mochitest-media jobs
+    # on Ubuntu 16.04, please remove this when bug 1289209 is resolved
+    for test in tests:
+        if test['suite'] == 'mochitest/mochitest-media' and \
+           test['build-platform'] == 'linux64-asan/opt':
+            test['docker-image'] = {"in-tree": "desktop-test"}
+        yield test
+
+
+@transforms.add
 def split_e10s(config, tests):
     for test in tests:
         e10s = get_keyed_by(item=test, field='e10s',
                             item_name=test['test-name'])
         test.setdefault('attributes', {})
         test['e10s'] = False
         test['attributes']['e10s'] = False