From 616bea20e10507768f9f12b51d3a2afd4925abbe Mon Sep 17 00:00:00 2001 From: Jeremy Leconte Date: Fri, 8 Apr 2022 14:36:01 +0200 Subject: [PATCH] Fix missing perftest-output.pb file for Android perf bots. Bug: webrtc:13899 Change-Id: Ica8fe3f90a80c79b5cd53b755cc0761292664547 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258403 Reviewed-by: Mirko Bonadei Commit-Queue: Jeremy Leconte Cr-Commit-Position: refs/heads/main@{#36507} --- infra/specs/client.webrtc.perf.json | 16 ++++++++++++---- infra/specs/mixins.pyl | 7 +++++++ infra/specs/mixins_webrtc.pyl | 7 +++++++ infra/specs/waterfalls.pyl | 8 ++++---- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/infra/specs/client.webrtc.perf.json b/infra/specs/client.webrtc.perf.json index 99ebb3b93b..cc48da33e8 100644 --- a/infra/specs/client.webrtc.perf.json +++ b/infra/specs/client.webrtc.perf.json @@ -7,7 +7,8 @@ "args": [ "--android", "--adb-path", - "../../third_party/android_sdk/public/platform-tools/adb" + "../../third_party/android_sdk/public/platform-tools/adb", + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb" ], "merge": { "args": [ @@ -39,6 +40,7 @@ }, { "args": [ + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb", "--nologs" ], "merge": { @@ -77,7 +79,8 @@ "args": [ "--android", "--adb-path", - "../../third_party/android_sdk/public/platform-tools/adb" + "../../third_party/android_sdk/public/platform-tools/adb", + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb" ], "merge": { "args": [ @@ -109,6 +112,7 @@ }, { "args": [ + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb", "--nologs" ], "merge": { @@ -147,7 +151,8 @@ "args": [ "--android", "--adb-path", - "../../third_party/android_sdk/public/platform-tools/adb" + "../../third_party/android_sdk/public/platform-tools/adb", + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb" ], "merge": { "args": [ @@ -179,6 +184,7 @@ }, { "args": [ + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb", "--nologs" ], "merge": { @@ -217,7 +223,8 @@ "args": [ "--android", "--adb-path", - "../../third_party/android_sdk/public/platform-tools/adb" + "../../third_party/android_sdk/public/platform-tools/adb", + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb" ], "merge": { "args": [ @@ -248,6 +255,7 @@ }, { "args": [ + "--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb", "--nologs" ], "merge": { diff --git a/infra/specs/mixins.pyl b/infra/specs/mixins.pyl index 2ce49eb4ca..6fd6e3be73 100644 --- a/infra/specs/mixins.pyl +++ b/infra/specs/mixins.pyl @@ -218,6 +218,13 @@ 'args': ['--test-suite', 'low_bandwidth_audio_perf_test'] } }, + 'perf-output': { + '$mixin_append': { + 'args': [ + '--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb' + ] + } + }, 'perf-pool': { 'swarming': { 'dimensions': { diff --git a/infra/specs/mixins_webrtc.pyl b/infra/specs/mixins_webrtc.pyl index 7dc911fb48..6037e4ffa2 100644 --- a/infra/specs/mixins_webrtc.pyl +++ b/infra/specs/mixins_webrtc.pyl @@ -160,6 +160,13 @@ 'args': ['--test-suite', 'low_bandwidth_audio_perf_test'], }, }, + 'perf-output': { + '$mixin_append': { + 'args': [ + '--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb', + ], + }, + }, 'perf-pool': { 'swarming': { 'dimensions': { diff --git a/infra/specs/waterfalls.pyl b/infra/specs/waterfalls.pyl index 11a12cb70c..3f1db3e1dd 100644 --- a/infra/specs/waterfalls.pyl +++ b/infra/specs/waterfalls.pyl @@ -257,7 +257,7 @@ 'Perf Android32 (M AOSP Nexus6)': { 'mixins': [ 'shamu', 'marshmallow_generic', 'android-devices', 'perf-pool', - 'timeout-3h', 'has_native_resultdb_integration' + 'perf-output', 'timeout-3h', 'has_native_resultdb_integration' ], 'test_suites': { 'gtest_tests': 'android_perf_tests', @@ -266,7 +266,7 @@ 'Perf Android32 (M Nexus5)': { 'mixins': [ 'hammerhead', 'marshmallow_generic', 'android-devices', 'perf-pool', - 'timeout-3h', 'has_native_resultdb_integration' + 'perf-output', 'timeout-3h', 'has_native_resultdb_integration' ], 'test_suites': { 'gtest_tests': 'android_perf_tests', @@ -275,7 +275,7 @@ 'Perf Android64 (M Nexus5X)': { 'mixins': [ 'bullhead', 'marshmallow', 'android-devices', 'perf-pool', - 'timeout-3h', 'has_native_resultdb_integration' + 'perf-output', 'timeout-3h', 'has_native_resultdb_integration' ], 'test_suites': { 'gtest_tests': 'android_perf_tests', @@ -284,7 +284,7 @@ 'Perf Android64 (O Pixel2)': { 'mixins': [ 'walleye', 'android-devices', 'perf-pool', 'timeout-3h', - 'has_native_resultdb_integration' + 'perf-output', 'has_native_resultdb_integration' ], 'test_suites': { 'gtest_tests': 'android_perf_tests',