Run iOS tests on multiple shards.
Bug: b/230824012 Change-Id: I6d27a8ed2c07eb76972b3bbe3679f6346ba58e06 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261306 Reviewed-by: Christoffer Jansson <jansson@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#36796}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
2445602bdf
commit
5a71f15858
@ -9211,7 +9211,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -9260,7 +9261,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -9456,7 +9458,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://:rtc_unittests/"
|
||||
},
|
||||
@ -9801,7 +9804,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
},
|
||||
@ -10198,7 +10202,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -10247,7 +10252,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -10443,7 +10449,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://:rtc_unittests/"
|
||||
},
|
||||
@ -10788,7 +10795,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
},
|
||||
@ -11185,7 +11193,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -11234,7 +11243,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -11430,7 +11440,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://:rtc_unittests/"
|
||||
},
|
||||
@ -11775,7 +11786,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
},
|
||||
|
@ -134,7 +134,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -178,7 +179,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -486,7 +488,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
}
|
||||
@ -681,7 +684,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -725,7 +729,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -1033,7 +1038,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chrome-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
}
|
||||
|
@ -261,6 +261,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
'shards-2': {
|
||||
'swarming': {
|
||||
'shards': 2
|
||||
}
|
||||
},
|
||||
'shards-4': {
|
||||
'swarming': {
|
||||
'shards': 4
|
||||
}
|
||||
},
|
||||
'shards-6': {
|
||||
'swarming': {
|
||||
'shards': 6
|
||||
}
|
||||
},
|
||||
'timeout-2h': {
|
||||
'swarming': {
|
||||
'hard_timeout': 7200,
|
||||
|
@ -204,6 +204,21 @@
|
||||
'result_format': 'json'
|
||||
}
|
||||
},
|
||||
'shards-2': {
|
||||
'swarming': {
|
||||
'shards': 2,
|
||||
},
|
||||
},
|
||||
'shards-4': {
|
||||
'swarming': {
|
||||
'shards': 4,
|
||||
},
|
||||
},
|
||||
'shards-6': {
|
||||
'swarming': {
|
||||
'shards': 6,
|
||||
},
|
||||
},
|
||||
'shamu': {
|
||||
'swarming': {
|
||||
'dimensions': {
|
||||
|
@ -35,36 +35,26 @@
|
||||
'common_video_unittests': {},
|
||||
'dcsctp_unittests': {},
|
||||
'modules_tests': {
|
||||
'swarming': {
|
||||
'shards': 2
|
||||
},
|
||||
'mixins': ['shards-2'],
|
||||
},
|
||||
'modules_unittests': {
|
||||
'swarming': {
|
||||
'shards': 6
|
||||
},
|
||||
'mixins': ['shards-6'],
|
||||
},
|
||||
'peerconnection_unittests': {
|
||||
'swarming': {
|
||||
'shards': 4
|
||||
},
|
||||
'mixins': ['shards-4'],
|
||||
},
|
||||
'rtc_media_unittests': {},
|
||||
'rtc_pc_unittests': {},
|
||||
'rtc_stats_unittests': {},
|
||||
'rtc_unittests': {
|
||||
'swarming': {
|
||||
'shards': 6
|
||||
},
|
||||
'mixins': ['shards-6'],
|
||||
},
|
||||
'slow_peer_connection_unittests': {},
|
||||
'system_wrappers_unittests': {},
|
||||
'test_support_unittests': {},
|
||||
'tools_unittests': {},
|
||||
'video_engine_tests': {
|
||||
'swarming': {
|
||||
'shards': 4
|
||||
},
|
||||
'mixins': ['shards-4'],
|
||||
},
|
||||
'voip_unittests': {},
|
||||
'webrtc_nonparallel_tests': {},
|
||||
@ -96,36 +86,26 @@
|
||||
'args': ['--quick']
|
||||
},
|
||||
'modules_tests': {
|
||||
'swarming': {
|
||||
'shards': 2
|
||||
},
|
||||
'mixins': ['shards-2'],
|
||||
},
|
||||
'modules_unittests': {
|
||||
'swarming': {
|
||||
'shards': 6
|
||||
},
|
||||
'mixins': ['shards-6'],
|
||||
},
|
||||
'peerconnection_unittests': {
|
||||
'swarming': {
|
||||
'shards': 4
|
||||
},
|
||||
'mixins': ['shards-4'],
|
||||
},
|
||||
'rtc_media_unittests': {},
|
||||
'rtc_pc_unittests': {},
|
||||
'rtc_stats_unittests': {},
|
||||
'rtc_unittests': {
|
||||
'swarming': {
|
||||
'shards': 6
|
||||
},
|
||||
'mixins': ['shards-6'],
|
||||
},
|
||||
'slow_peer_connection_unittests': {},
|
||||
'system_wrappers_unittests': {},
|
||||
'test_support_unittests': {},
|
||||
'tools_unittests': {},
|
||||
'video_engine_tests': {
|
||||
'swarming': {
|
||||
'shards': 4
|
||||
},
|
||||
'mixins': ['shards-4'],
|
||||
},
|
||||
'voip_unittests': {},
|
||||
'webrtc_nonparallel_tests': {},
|
||||
@ -136,13 +116,15 @@
|
||||
'common_audio_unittests': {},
|
||||
'common_video_unittests': {},
|
||||
'modules_tests': {
|
||||
'mixins': ['timeout-2h'],
|
||||
'mixins': ['shards-2', 'timeout-2h'],
|
||||
'args': [
|
||||
# Some tests exceed the default 180 seconds readline timeout.
|
||||
'--readline-timeout=1200',
|
||||
]
|
||||
},
|
||||
'modules_unittests': {},
|
||||
'modules_unittests': {
|
||||
'mixins': ['shards-6'],
|
||||
},
|
||||
'rtc_pc_unittests': {},
|
||||
'rtc_stats_unittests': {},
|
||||
# TODO(bugs.webrtc.org/11362): Real XCTests fail to start on devices.
|
||||
@ -152,7 +134,9 @@
|
||||
'test_support_unittests': {},
|
||||
'tools_unittests': {},
|
||||
'video_capture_tests': {},
|
||||
'video_engine_tests': {},
|
||||
'video_engine_tests': {
|
||||
'mixins': ['shards-4'],
|
||||
},
|
||||
},
|
||||
'ios_perf_tests': {
|
||||
'webrtc_perf_tests': {
|
||||
@ -168,12 +152,18 @@
|
||||
'common_audio_unittests': {},
|
||||
'common_video_unittests': {},
|
||||
'dcsctp_unittests': {},
|
||||
'modules_tests': {},
|
||||
'modules_unittests': {},
|
||||
'modules_tests': {
|
||||
'mixins': ['shards-2'],
|
||||
},
|
||||
'modules_unittests': {
|
||||
'mixins': ['shards-6'],
|
||||
},
|
||||
'rtc_media_unittests': {},
|
||||
'rtc_pc_unittests': {},
|
||||
'rtc_stats_unittests': {},
|
||||
'rtc_unittests': {},
|
||||
'rtc_unittests': {
|
||||
'mixins': ['shards-6'],
|
||||
},
|
||||
'sdk_framework_unittests': {
|
||||
'mixins': ['xcode_parallelization']
|
||||
},
|
||||
@ -184,7 +174,9 @@
|
||||
'test_support_unittests': {},
|
||||
'tools_unittests': {},
|
||||
'video_capture_tests': {},
|
||||
'video_engine_tests': {},
|
||||
'video_engine_tests': {
|
||||
'mixins': ['shards-4'],
|
||||
},
|
||||
'voip_unittests': {},
|
||||
'webrtc_nonparallel_tests': {},
|
||||
},
|
||||
|
@ -2999,7 +2999,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -3048,7 +3049,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -3244,7 +3246,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://:rtc_unittests/"
|
||||
},
|
||||
@ -3589,7 +3592,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
},
|
||||
@ -3986,7 +3990,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -4035,7 +4040,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -4231,7 +4237,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://:rtc_unittests/"
|
||||
},
|
||||
@ -4576,7 +4583,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
},
|
||||
@ -4973,7 +4981,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 2
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_tests/"
|
||||
},
|
||||
@ -5022,7 +5031,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://modules:modules_unittests/"
|
||||
},
|
||||
@ -5218,7 +5228,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 6
|
||||
},
|
||||
"test_id_prefix": "ninja://:rtc_unittests/"
|
||||
},
|
||||
@ -5563,7 +5574,8 @@
|
||||
"path": "Xcode.app"
|
||||
}
|
||||
],
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
|
||||
"service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||
"shards": 4
|
||||
},
|
||||
"test_id_prefix": "ninja://:video_engine_tests/"
|
||||
},
|
||||
|
Reference in New Issue
Block a user