• Kenneth Russell's avatar
    Add Swarming trigger script for GPU tests. · 681a0e18
    Kenneth Russell authored
    This script takes in multiple Swarming dimension sets, specified as a
    JSON string which decodes to a list of dictionaries. The script queries
    the Swarming pool for the live bots for each dimension and spreads the
    shard(s) for the given tests across them according to an algorithm
    defined in the script.
    
    This allows two or more GPU configurations to be specified for a single
    bot. This way, during upgrades of the fleet, jobs can temporarily be
    targeted at both the old and the new configurations, avoiding
    temporarily losing half of the capacity.
    
    The trigger script is enabled on these four bots:
    
      chromium.gpu:Win7 Release (NVIDIA)
      chromium.gpu.fyi:Win7 Release (NVIDIA)
      chromium.gpu.fyi:Win7 dEQP Release (NVIDIA)
      chromium.gpu.fyi:Optional Win7 Release (NVIDIA)
    
    which are mirrored to the following trybots:
    
      tryserver.chromium.win:win7_chromium_rel_ng
      tryserver.chromium.win:win_optional_gpu_tests_rel
      tryserver.chromium.angle:win_angle_rel_ng
      tryserver.chromium.angle:win_angle_deqp_rel_ng
    
    Once the upgrade to Win10 begins, Win10 will be set as an alternate
    Swarming dimension for these bots. When the upgrade is complete, the
    bots will be targeted solely at Win10, with Win7 only being tested on
    the waterfalls.
    
    BUG=781057
    
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: Ie79953dfa023c3a9e4427e651ac6f8c10304b74c
    Reviewed-on: https://chromium-review.googlesource.com/833505
    Commit-Queue: Kenneth Russell <kbr@chromium.org>
    Reviewed-by: default avatarStephen Martinis <martiniss@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#529170}
    681a0e18
trigger_gpu_test_unittest.py 9.66 KB