forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move metrics_python_tests from isolated_script to script.
This changes how we invoke metrics_python_tests, so that it is invoked as a 'script' test and run directly on the builder (machine doing the compile) rather than as an 'isolated_script' test under swarming. This fixes an issue where we'd try to run `dirmd`, which requires a checkout. Bug: 1201822 Change-Id: I17c4f6c2341c70b688efc48aada88a5a51ef4a16 Cq-Do-Not-Cancel-Tryjobs: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2921324 Auto-Submit: Dirk Pranke <[email protected]> Commit-Queue: Dirk Pranke <[email protected]> Reviewed-by: Alexei Svitkine <[email protected]> Reviewed-by: Nodir Turakulov <[email protected]> Reviewed-by: Stephen Martinis <[email protected]> Cr-Commit-Position: refs/heads/master@{#893147}
- Loading branch information
Showing
9 changed files
with
156 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23466,28 +23466,6 @@ | |
}, | ||
"test_id_prefix": "ninja://chrome/installer/mac:mac_signing_tests/" | ||
}, | ||
{ | ||
"isolate_name": "metrics_python_tests", | ||
"merge": { | ||
"args": [], | ||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py" | ||
}, | ||
"name": "metrics_python_tests", | ||
"resultdb": { | ||
"enable": true | ||
}, | ||
"swarming": { | ||
"can_use_on_swarming_builders": true, | ||
"dimension_sets": [ | ||
{ | ||
"cpu": "x86-64", | ||
"os": "Mac-10.15" | ||
} | ||
], | ||
"service_account": "[email protected]" | ||
}, | ||
"test_id_prefix": "ninja://tools/metrics:metrics_python_tests/" | ||
}, | ||
{ | ||
"isolate_name": "mojo_python_unittests", | ||
"merge": { | ||
|
@@ -27080,28 +27058,6 @@ | |
}, | ||
"test_id_prefix": "ninja://chrome/installer/mac:mac_signing_tests/" | ||
}, | ||
{ | ||
"isolate_name": "metrics_python_tests", | ||
"merge": { | ||
"args": [], | ||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py" | ||
}, | ||
"name": "metrics_python_tests", | ||
"resultdb": { | ||
"enable": true | ||
}, | ||
"swarming": { | ||
"can_use_on_swarming_builders": true, | ||
"dimension_sets": [ | ||
{ | ||
"cpu": "x86-64", | ||
"os": "Mac-10.15" | ||
} | ||
], | ||
"service_account": "[email protected]" | ||
}, | ||
"test_id_prefix": "ninja://tools/metrics:metrics_python_tests/" | ||
}, | ||
{ | ||
"isolate_name": "mojo_python_unittests", | ||
"merge": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,12 @@ | |
"script": "headless_python_unittests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"isolate_profile_data": true, | ||
"name": "metrics_python_tests", | ||
"script": "metrics_python_tests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"isolate_profile_data": true, | ||
"name": "webkit_lint", | ||
|
@@ -162,6 +168,11 @@ | |
"script": "check_static_initializers.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "metrics_python_tests", | ||
"script": "metrics_python_tests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "webkit_lint", | ||
"script": "blink_lint_expectations.py", | ||
|
@@ -1758,6 +1769,11 @@ | |
"script": "check_network_annotations.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "metrics_python_tests", | ||
"script": "metrics_python_tests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "webkit_lint", | ||
"script": "blink_lint_expectations.py", | ||
|
@@ -1775,6 +1791,11 @@ | |
"script": "check_network_annotations.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "metrics_python_tests", | ||
"script": "metrics_python_tests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "webkit_lint", | ||
"script": "blink_lint_expectations.py", | ||
|
@@ -75673,6 +75694,11 @@ | |
"script": "headless_python_unittests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "metrics_python_tests", | ||
"script": "metrics_python_tests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"name": "webkit_lint", | ||
"script": "blink_lint_expectations.py", | ||
|
@@ -77455,27 +77481,6 @@ | |
}, | ||
"test_id_prefix": "ninja://tools/grit:grit_python_unittests/" | ||
}, | ||
{ | ||
"isolate_name": "metrics_python_tests", | ||
"merge": { | ||
"args": [], | ||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py" | ||
}, | ||
"name": "metrics_python_tests", | ||
"resultdb": { | ||
"enable": true | ||
}, | ||
"swarming": { | ||
"can_use_on_swarming_builders": true, | ||
"dimension_sets": [ | ||
{ | ||
"os": "Ubuntu-18.04" | ||
} | ||
], | ||
"service_account": "[email protected]" | ||
}, | ||
"test_id_prefix": "ninja://tools/metrics:metrics_python_tests/" | ||
}, | ||
{ | ||
"isolate_name": "mojo_python_unittests", | ||
"merge": { | ||
|
@@ -79573,28 +79578,6 @@ | |
}, | ||
"test_id_prefix": "ninja://tools/grit:grit_python_unittests/" | ||
}, | ||
{ | ||
"isolate_name": "metrics_python_tests", | ||
"isolate_profile_data": true, | ||
"merge": { | ||
"args": [], | ||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py" | ||
}, | ||
"name": "metrics_python_tests", | ||
"resultdb": { | ||
"enable": true | ||
}, | ||
"swarming": { | ||
"can_use_on_swarming_builders": true, | ||
"dimension_sets": [ | ||
{ | ||
"os": "Ubuntu-18.04" | ||
} | ||
], | ||
"service_account": "[email protected]" | ||
}, | ||
"test_id_prefix": "ninja://tools/metrics:metrics_python_tests/" | ||
}, | ||
{ | ||
"isolate_name": "mojo_python_unittests", | ||
"isolate_profile_data": true, | ||
|
@@ -79845,6 +79828,12 @@ | |
"script": "headless_python_unittests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"isolate_profile_data": true, | ||
"name": "metrics_python_tests", | ||
"script": "metrics_python_tests.py", | ||
"swarming": {} | ||
}, | ||
{ | ||
"isolate_profile_data": true, | ||
"name": "webkit_lint", | ||
|
@@ -84453,29 +84442,6 @@ | |
}, | ||
"test_id_prefix": "ninja://chrome/installer/mac:mac_signing_tests/" | ||
}, | ||
{ | ||
"isolate_name": "metrics_python_tests", | ||
"merge": { | ||
"args": [], | ||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py" | ||
}, | ||
"name": "metrics_python_tests", | ||
"resultdb": { | ||
"enable": true | ||
}, | ||
"swarming": { | ||
"can_use_on_swarming_builders": true, | ||
"dimension_sets": [ | ||
{ | ||
"cpu": "arm64", | ||
"os": "Mac-11", | ||
"pool": "chromium.tests.mac-arm64" | ||
} | ||
], | ||
"service_account": "[email protected]" | ||
}, | ||
"test_id_prefix": "ninja://tools/metrics:metrics_python_tests/" | ||
}, | ||
{ | ||
"isolate_name": "mojo_python_unittests", | ||
"merge": { | ||
|
@@ -88006,30 +87972,6 @@ | |
}, | ||
"test_id_prefix": "ninja://chrome/installer/mac:mac_signing_tests/" | ||
}, | ||
{ | ||
"isolate_name": "metrics_python_tests", | ||
"merge": { | ||
"args": [], | ||
"script": "//testing/merge_scripts/standard_isolated_script_merge.py" | ||
}, | ||
"name": "metrics_python_tests", | ||
"resultdb": { | ||
"enable": true | ||
}, | ||
"swarming": { | ||
"can_use_on_swarming_builders": true, | ||
"dimension_sets": [ | ||
{ | ||
"cpu": "x86-64", | ||
"gpu": "8086:0a2e", | ||
"os": "Mac-11.3" | ||
} | ||
], | ||
"expiration": 21600, | ||
"service_account": "[email protected]" | ||
}, | ||
"test_id_prefix": "ninja://tools/metrics:metrics_python_tests/" | ||
}, | ||
{ | ||
"isolate_name": "mojo_python_unittests", | ||
"merge": { | ||
|
Oops, something went wrong.