Bug 1809252 - Allow talos-xperf to use run-as-administrator on win11 machines in CI. r=bxbrenden,perftest-reviewers,AlexandruIonescu

Differential Revision: https://phabricator.services.mozilla.com/D166391
This commit is contained in:
Joel Maher 2023-01-11 14:38:18 +00:00
Родитель 6381e5066c
Коммит 4aa5fda7a5
3 изменённых файлов: 11 добавлений и 1 удалений

Просмотреть файл

@ -767,12 +767,14 @@ talos-xperf:
by-test-platform:
windows.*32.*: false
windows10-64.*: true
windows11-64.*: true
variants:
- webrender-sw
run-on-projects:
by-test-platform:
windows.*-32-shippable(?:-qr)?/.*: []
windows10-64.*-shippable-qr/.*: [mozilla-beta, trunk]
windows11-64.*-shippable-qr/.*: [mozilla-beta, trunk]
default: []
mozharness:
extra-options:

Просмотреть файл

@ -314,7 +314,9 @@ def mozharness_test_on_generic_worker(config, job, taskdesc):
# See https://docs.microsoft.com/en-us/windows/desktop/secauthz/user-account-control
# for more information about UAC.
if test.get("run-as-administrator", False):
if job["worker-type"].startswith("win10-64"):
if job["worker-type"].startswith("win10-64") or job["worker-type"].startswith(
"win11-64"
):
worker["run-as-administrator"] = True
else:
raise Exception(

Просмотреть файл

@ -74,6 +74,12 @@
"c:\\windows\\prefetch\\{prefetch}.pf": {
"ignore": true
},
"c:\\windows\\system32\\webauthn.dll": {
"mincount": 0,
"maxcount": 2,
"minbytes": 0,
"maxbytes": 8192
},
"c:\\windows\\system32\\shell32.dll": {
"mincount": 0,
"maxcount": 2,