Bug 1544858 - [ci] Add '-e10s' back to task labels to satisfy SETA, r=jmaher
☠☠ backed out by 3d299e7104cd ☠ ☠
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 16 Apr 2019 12:48:45 -0400
changeset 469748 58593f23158c
parent 469747 de85946fe255
child 469749 3d299e7104cd
push id35881
push usercbrindusan@mozilla.com
push dateWed, 17 Apr 2019 09:38:58 +0000
treeherdermozilla-central@bbca68b2af26 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1544858
milestone68.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 1544858 - [ci] Add '-e10s' back to task labels to satisfy SETA, r=jmaher Differential Revision: https://phabricator.services.mozilla.com/D27791
taskcluster/taskgraph/transforms/tests.py
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -972,33 +972,34 @@ def split_serviceworker_e10s(config, tes
         yield test
 
 
 @transforms.add
 def split_e10s(config, tests):
     for test in tests:
         e10s = test['e10s']
 
-        test['e10s'] = True
-        test['attributes']['e10s'] = True
+        if e10s:
+            test_copy = copy.deepcopy(test)
+            test_copy['test-name'] += '-e10s'
+            test_copy['e10s'] = True
+            test_copy['attributes']['e10s'] = True
+            yield test_copy
 
-        if e10s == 'both':
-            yield copy.deepcopy(test)
-            e10s = False
-        if not e10s:
+        if not e10s or e10s == 'both':
             test['test-name'] += '-1proc'
             test['try-name'] += '-1proc'
             test['e10s'] = False
             test['attributes']['e10s'] = False
             group, symbol = split_symbol(test['treeherder-symbol'])
             if group != '?':
                 group += '-1proc'
             test['treeherder-symbol'] = join_symbol(group, symbol)
             test['mozharness']['extra-options'].append('--disable-e10s')
-        yield test
+            yield test
 
 
 @transforms.add
 def split_socketprocess_e10s(config, tests):
     for test in tests:
         if test['attributes'].get('serviceworker_e10s'):
             yield test
             continue