Bug 1439588 - run xperf in os administrator group. r=pmoore
authorJoel Maher <jmaher@mozilla.com>
Wed, 22 Aug 2018 18:27:54 +0000
changeset 490667 65db8f04be61b91b4eb13acd4f1b383a2f0f051e
parent 490618 120c4145368ddf63e4837f136244e87f6b75c8a8
child 490668 7a8e8fa7a3f0998ff79458c628d99e341c8a75ea
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspmoore
bugs1439588
milestone63.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 1439588 - run xperf in os administrator group. r=pmoore run xperf in os groups=administrators and support os_groups in taskcluster Differential Revision: https://phabricator.services.mozilla.com/D4001
taskcluster/ci/test/talos.yml
taskcluster/taskgraph/transforms/job/mozharness_test.py
--- a/taskcluster/ci/test/talos.yml
+++ b/taskcluster/ci/test/talos.yml
@@ -597,16 +597,17 @@ talos-tps-profiling:
             - --suite=tps
             - --geckoProfile
 
 talos-xperf:
     description: "Talos xperf"
     try-name: xperf
     treeherder-symbol: T(x)
     virtualization: virtual
+    os-groups: ['Administrators']
     run-on-projects:
         by-test-platform:
             windows7-32-msvc/.*: ['mozilla-beta', 'mozilla-central', 'try']
             windows7-32(-pgo)?/.*: ['mozilla-beta', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
             default: []
     tier:
         by-test-platform:
             windows7-32.*: default
--- a/taskcluster/taskgraph/transforms/job/mozharness_test.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness_test.py
@@ -201,17 +201,20 @@ def mozharness_test_on_generic_worker(co
             'path': 'build/blobber_upload_dir',
             'type': 'directory'
         })
 
     upstream_task = '<build-signing>' if mozharness['requires-signed-builds'] else '<build>'
     installer_url = get_artifact_url(upstream_task, mozharness['build-artifact-name'])
 
     taskdesc['scopes'].extend(
-        ['generic-worker:os-group:{}'.format(group) for group in test['os-groups']])
+        ['generic-worker:os-group:{}/{}'.format(
+            job['worker-type'],
+            group
+        ) for group in test['os-groups']])
 
     worker['os-groups'] = test['os-groups']
 
     if test['reboot']:
         raise Exception('reboot: {} not supported on generic-worker'.format(test['reboot']))
 
     worker['max-run-time'] = test['max-run-time']
     worker['artifacts'] = artifacts