bug 1344321 - back out a557cf5a3330
authorAki Sasaki <asasaki@mozilla.com>
Fri, 03 Mar 2017 13:15:40 -0800
changeset 375025 e3e83bf54936a3bb7220b0b189709e0f2fedf43b
parent 375024 a557cf5a3330bdd4f0d782240a09a4c92d4b7a2e
child 375026 9ca662a5712f945bf489e95fd460575a0e63ab26
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1344321
milestone54.0a1
bug 1344321 - back out a557cf5a3330
taskcluster/ci/test/test-platforms.yml
taskcluster/taskgraph/transforms/job/mozharness_test.py
taskcluster/taskgraph/transforms/tests.py
--- a/taskcluster/ci/test/test-platforms.yml
+++ b/taskcluster/ci/test/test-platforms.yml
@@ -21,47 +21,32 @@ linux32/debug:
         - linux32-tests
         - external-media-tests
 linux32/opt:
     build-platform: linux/opt
     test-sets:
         -  linux32-tests
         -  linux32-opt-tests
         - external-media-tests
-linux32-nightly/opt:
-    build-platform: linux-nightly/opt
-    test-sets:
-        -  linux32-tests
-        -  linux32-opt-tests
-        - external-media-tests
 
 linux64/debug:
     build-platform: linux64/debug
     test-sets:
         - common-tests
         - external-media-tests
         - web-platform-tests
 linux64/opt:
     build-platform: linux64/opt
     test-sets:
         - common-tests
         - external-media-tests
         - web-platform-tests
         - opt-only-tests
         - desktop-screenshot-capture
         - talos
-linux64-nightly/opt:
-    build-platform: linux64-nightly/opt
-    test-sets:
-        - common-tests
-        - external-media-tests
-        - web-platform-tests
-        - opt-only-tests
-        - desktop-screenshot-capture
-        - talos
 
 # TODO: use 'pgo' and 'asan' labels here, instead of -pgo/opt
 linux64-pgo/opt:
     build-platform: linux64-pgo/opt
     test-sets:
         - common-tests
         - external-media-tests
         - web-platform-tests
--- a/taskcluster/taskgraph/transforms/job/mozharness_test.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness_test.py
@@ -21,17 +21,16 @@ ARTIFACTS = [
     ("public/logs/", "build/upload/logs/"),
     ("public/test", "artifacts/"),
     ("public/test_info/", "build/blobber_upload_dir/"),
 ]
 
 BUILDER_NAME_PREFIX = {
     'linux64-pgo': 'Ubuntu VM 12.04 x64',
     'linux64': 'Ubuntu VM 12.04 x64',
-    'linux64-nightly': 'Ubuntu VM 12.04 x64',
     'linux64-asan': 'Ubuntu ASAN VM 12.04 x64',
     'linux64-ccov': 'Ubuntu Code Coverage VM 12.04 x64',
     'linux64-jsdcov': 'Ubuntu Code Coverage VM 12.04 x64',
     'linux64-stylo': 'Ubuntu VM 12.04 x64',
     'macosx64': 'Rev7 MacOSX Yosemite 10.10.5',
     'android-4.3-arm7-api-15': 'Android 4.3 armv7 API 15+',
     'android-4.2-x86': 'Android 4.2 x86 Emulator',
     'android-4.3-arm7-api-15-gradle': 'Android 4.3 armv7 API 15+',
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -402,19 +402,17 @@ def set_tier(config, tests):
     for test in tests:
         if 'tier' in test:
             resolve_keyed_by(test, 'tier', item_name=test['test-name'])
 
         # only override if not set for the test
         if 'tier' not in test or test['tier'] == 'default':
             if test['test-platform'] in ['linux32/opt',
                                          'linux32/debug',
-                                         'linux32-nightly/opt',
                                          'linux64/opt',
-                                         'linux64-nightly/opt',
                                          'linux64/debug',
                                          'linux64-pgo/opt',
                                          'linux64-asan/opt',
                                          'android-4.3-arm7-api-15/opt',
                                          'android-4.3-arm7-api-15/debug',
                                          'android-4.2-x86/opt']:
                 test['tier'] = 1
             elif test['test-platform'].startswith('windows') \
@@ -579,27 +577,16 @@ def set_tag(config, tests):
     for test in tests:
         tag = config.config['args'].tag
         if tag:
             test['mozharness']['extra-options'].extend(['--tag', tag])
         yield test
 
 
 @transforms.add
-def set_nightly(config, tests):
-    """Set nightly attribute for tests."""
-    for test in tests:
-        if test['test-platform'] in ['linux32-nightly/opt', 'linux64-nightly/opt']:
-            attributes = test.get('attributes', {})
-            attributes['nightly'] = True
-            test['attributes'] = attributes
-        yield test
-
-
-@transforms.add
 def remove_linux_pgo_try_talos(config, tests):
     """linux64-pgo talos tests don't run on try."""
     def predicate(test):
         return not(
             test['test-platform'] == 'linux64-pgo/opt'
             and test['suite'] == 'talos'
             and config.params['project'] == 'try'
         )