| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in | 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in |
| 7 the src/testing/buildbot directory. Maintaining these files by hand is | 7 the src/testing/buildbot directory. Maintaining these files by hand is |
| 8 too unwieldy. | 8 too unwieldy. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 'swarming_dimensions': [ | 85 'swarming_dimensions': [ |
| 86 { | 86 { |
| 87 'gpu': '10de:104a', | 87 'gpu': '10de:104a', |
| 88 'os': 'Windows-2008ServerR2-SP1' | 88 'os': 'Windows-2008ServerR2-SP1' |
| 89 }, | 89 }, |
| 90 ], | 90 ], |
| 91 'build_config': 'Debug', | 91 'build_config': 'Debug', |
| 92 'swarming': True, | 92 'swarming': True, |
| 93 'os_type': 'win', | 93 'os_type': 'win', |
| 94 }, | 94 }, |
| 95 'Mac Release (Intel)': { |
| 96 'swarming_dimensions': [ |
| 97 { |
| 98 'gpu': '8086:0a2e', |
| 99 'os': 'Mac-10.12' |
| 100 }, |
| 101 ], |
| 102 'build_config': 'Release', |
| 103 'swarming': True, |
| 104 'os_type': 'mac', |
| 105 }, |
| 106 'Mac Debug (Intel)': { |
| 107 'swarming_dimensions': [ |
| 108 { |
| 109 'gpu': '8086:0a2e', |
| 110 'os': 'Mac-10.12' |
| 111 }, |
| 112 ], |
| 113 'build_config': 'Debug', |
| 114 'swarming': True, |
| 115 'os_type': 'mac', |
| 116 }, |
| 117 'Mac Retina Release (AMD)': { |
| 118 'swarming_dimensions': [ |
| 119 { |
| 120 'gpu': '1002:6821', |
| 121 'hidpi': '1', |
| 122 'os': 'Mac' |
| 123 }, |
| 124 ], |
| 125 'build_config': 'Release', |
| 126 'swarming': True, |
| 127 'os_type': 'mac', |
| 128 }, |
| 129 'Mac Retina Debug (AMD)': { |
| 130 'swarming_dimensions': [ |
| 131 { |
| 132 'gpu': '1002:6821', |
| 133 'hidpi': '1', |
| 134 'os': 'Mac' |
| 135 }, |
| 136 ], |
| 137 'build_config': 'Debug', |
| 138 'swarming': True, |
| 139 'os_type': 'mac', |
| 140 }, |
| 141 # BEGIN obsolete Mac bots -- remove after waterfall restarted successfully. |
| 95 'Mac 10.10 Release (Intel)': { | 142 'Mac 10.10 Release (Intel)': { |
| 96 'swarming_dimensions': [ | 143 'swarming_dimensions': [ |
| 97 { | 144 { |
| 98 'gpu': '8086:0a2e', | 145 'gpu': '8086:0a2e', |
| 99 'os': 'Mac-10.12' | 146 'os': 'Mac-10.12' |
| 100 }, | 147 }, |
| 101 ], | 148 ], |
| 102 'build_config': 'Release', | 149 'build_config': 'Release', |
| 103 'swarming': True, | 150 'swarming': True, |
| 104 'os_type': 'mac', | 151 'os_type': 'mac', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 131 { | 178 { |
| 132 'gpu': '1002:6821', | 179 'gpu': '1002:6821', |
| 133 'hidpi': '1', | 180 'hidpi': '1', |
| 134 'os': 'Mac' | 181 'os': 'Mac' |
| 135 }, | 182 }, |
| 136 ], | 183 ], |
| 137 'build_config': 'Debug', | 184 'build_config': 'Debug', |
| 138 'swarming': True, | 185 'swarming': True, |
| 139 'os_type': 'mac', | 186 'os_type': 'mac', |
| 140 }, | 187 }, |
| 188 # END obsolete Mac bots -- remove after waterfall restarted successfully. |
| 141 'Linux Release (NVIDIA)': { | 189 'Linux Release (NVIDIA)': { |
| 142 'swarming_dimensions': [ | 190 'swarming_dimensions': [ |
| 143 { | 191 { |
| 144 'gpu': '10de:104a', | 192 'gpu': '10de:104a', |
| 145 'os': 'Ubuntu' | 193 'os': 'Ubuntu' |
| 146 }, | 194 }, |
| 147 ], | 195 ], |
| 148 'build_config': 'Release', | 196 'build_config': 'Release', |
| 149 'swarming': True, | 197 'swarming': True, |
| 150 'os_type': 'linux', | 198 'os_type': 'linux', |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 'swarming_dimensions': [ | 392 'swarming_dimensions': [ |
| 345 { | 393 { |
| 346 'gpu': '10de:104a', | 394 'gpu': '10de:104a', |
| 347 'os': 'Windows-2008ServerR2-SP1' | 395 'os': 'Windows-2008ServerR2-SP1' |
| 348 }, | 396 }, |
| 349 ], | 397 ], |
| 350 'build_config': 'Debug_x64', | 398 'build_config': 'Debug_x64', |
| 351 'swarming': True, | 399 'swarming': True, |
| 352 'os_type': 'win', | 400 'os_type': 'win', |
| 353 }, | 401 }, |
| 402 # BEGIN obsolete Mac bots -- remove after waterfall restarted successfully. |
| 354 'Mac 10.10 Release (Intel)': { | 403 'Mac 10.10 Release (Intel)': { |
| 355 'swarming_dimensions': [ | 404 'swarming_dimensions': [ |
| 356 { | 405 { |
| 357 'gpu': '8086:0a2e', | 406 'gpu': '8086:0a2e', |
| 358 'os': 'Mac-10.12' | 407 'os': 'Mac-10.12' |
| 359 }, | 408 }, |
| 360 ], | 409 ], |
| 361 'build_config': 'Release', | 410 'build_config': 'Release', |
| 362 'swarming': True, | 411 'swarming': True, |
| 363 'os_type': 'mac', | 412 'os_type': 'mac', |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 'gpu': '1002:6821', | 502 'gpu': '1002:6821', |
| 454 'hidpi': '1', | 503 'hidpi': '1', |
| 455 'os': 'Mac' | 504 'os': 'Mac' |
| 456 }, | 505 }, |
| 457 ], | 506 ], |
| 458 'build_config': 'Release', | 507 'build_config': 'Release', |
| 459 # This bot is a one-off for testing purposes. | 508 # This bot is a one-off for testing purposes. |
| 460 'swarming': False, | 509 'swarming': False, |
| 461 'os_type': 'mac', | 510 'os_type': 'mac', |
| 462 }, | 511 }, |
| 512 # END obsolete Mac bots -- remove after waterfall restarted successfully. |
| 513 'Mac Release (Intel)': { |
| 514 'swarming_dimensions': [ |
| 515 { |
| 516 'gpu': '8086:0a2e', |
| 517 'os': 'Mac-10.12' |
| 518 }, |
| 519 ], |
| 520 'build_config': 'Release', |
| 521 'swarming': True, |
| 522 'os_type': 'mac', |
| 523 }, |
| 524 'Mac Debug (Intel)': { |
| 525 'swarming_dimensions': [ |
| 526 { |
| 527 'gpu': '8086:0a2e', |
| 528 'os': 'Mac-10.12' |
| 529 }, |
| 530 ], |
| 531 'build_config': 'Debug', |
| 532 'swarming': True, |
| 533 'os_type': 'mac', |
| 534 }, |
| 535 'Mac Pro Release (AMD)': { |
| 536 'swarming_dimensions': [ |
| 537 { |
| 538 'gpu': '1002:679e', |
| 539 'os': 'Mac-10.10' |
| 540 }, |
| 541 ], |
| 542 'build_config': 'Release', |
| 543 # This bot is a one-off and doesn't have similar slaves in the |
| 544 # swarming pool. |
| 545 'swarming': False, |
| 546 'os_type': 'mac', |
| 547 }, |
| 548 'Mac Pro Debug (AMD)': { |
| 549 'swarming_dimensions': [ |
| 550 { |
| 551 'gpu': '1002:679e', |
| 552 'os': 'Mac-10.10' |
| 553 }, |
| 554 ], |
| 555 'build_config': 'Debug', |
| 556 # This bot is a one-off and doesn't have similar slaves in the |
| 557 # swarming pool. |
| 558 'swarming': False, |
| 559 'os_type': 'mac', |
| 560 }, |
| 561 'Mac Retina Release (NVIDIA)': { |
| 562 'swarming_dimensions': [ |
| 563 { |
| 564 'gpu': '10de:0fe9', |
| 565 'hidpi': '1', |
| 566 'os': 'Mac' |
| 567 }, |
| 568 ], |
| 569 'build_config': 'Release', |
| 570 'swarming': True, |
| 571 'os_type': 'mac', |
| 572 }, |
| 573 'Mac Retina Debug (NVIDIA)': { |
| 574 'swarming_dimensions': [ |
| 575 { |
| 576 'gpu': '10de:0fe9', |
| 577 'hidpi': '1', |
| 578 'os': 'Mac' |
| 579 }, |
| 580 ], |
| 581 'build_config': 'Debug', |
| 582 'swarming': True, |
| 583 'os_type': 'mac', |
| 584 }, |
| 585 'Mac Retina Release (AMD)': { |
| 586 'swarming_dimensions': [ |
| 587 { |
| 588 'gpu': '1002:6821', |
| 589 'hidpi': '1', |
| 590 'os': 'Mac' |
| 591 }, |
| 592 ], |
| 593 'build_config': 'Release', |
| 594 'swarming': True, |
| 595 'os_type': 'mac', |
| 596 }, |
| 597 'Mac Retina Debug (AMD)': { |
| 598 'swarming_dimensions': [ |
| 599 { |
| 600 'gpu': '1002:6821', |
| 601 'hidpi': '1', |
| 602 'os': 'Mac' |
| 603 }, |
| 604 ], |
| 605 'build_config': 'Debug', |
| 606 'swarming': True, |
| 607 'os_type': 'mac', |
| 608 }, |
| 609 'Mac Experimental Retina Release (AMD)': { |
| 610 'swarming_dimensions': [ |
| 611 { |
| 612 'gpu': '1002:6821', |
| 613 'hidpi': '1', |
| 614 'os': 'Mac' |
| 615 }, |
| 616 ], |
| 617 'build_config': 'Release', |
| 618 # This bot is a one-off for testing purposes. |
| 619 'swarming': False, |
| 620 'os_type': 'mac', |
| 621 }, |
| 463 'Mac Experimental Retina Release (NVIDIA)': { | 622 'Mac Experimental Retina Release (NVIDIA)': { |
| 464 'swarming_dimensions': [ | 623 'swarming_dimensions': [ |
| 465 { | 624 { |
| 466 'gpu': '10de:0fe9', | 625 'gpu': '10de:0fe9', |
| 467 'hidpi': '1', | 626 'hidpi': '1', |
| 468 'os': 'Mac' | 627 'os': 'Mac' |
| 469 }, | 628 }, |
| 470 ], | 629 ], |
| 471 'build_config': 'Release', | 630 'build_config': 'Release', |
| 472 # This bot is a one-off for testing purposes. | 631 # This bot is a one-off for testing purposes. |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 { | 860 { |
| 702 'gpu': '1002:6613', | 861 'gpu': '1002:6613', |
| 703 'os': 'Windows-2008ServerR2-SP1' | 862 'os': 'Windows-2008ServerR2-SP1' |
| 704 }, | 863 }, |
| 705 ], | 864 ], |
| 706 'build_config': 'Release', | 865 'build_config': 'Release', |
| 707 'swarming': True, | 866 'swarming': True, |
| 708 'os_type': 'win', | 867 'os_type': 'win', |
| 709 'type': Types.OPTIONAL, | 868 'type': Types.OPTIONAL, |
| 710 }, | 869 }, |
| 870 'Optional Mac Release (Intel)': { |
| 871 'swarming_dimensions': [ |
| 872 { |
| 873 'gpu': '8086:0a2e', |
| 874 'os': 'Mac-10.12' |
| 875 }, |
| 876 ], |
| 877 'build_config': 'Release', |
| 878 'swarming': True, |
| 879 'os_type': 'mac', |
| 880 'type': Types.OPTIONAL, |
| 881 }, |
| 882 'Optional Mac Retina Release (NVIDIA)': { |
| 883 'swarming_dimensions': [ |
| 884 { |
| 885 'gpu': '10de:0fe9', |
| 886 'hidpi': '1', |
| 887 'os': 'Mac' |
| 888 }, |
| 889 ], |
| 890 'build_config': 'Release', |
| 891 'swarming': True, |
| 892 'os_type': 'mac', |
| 893 'type': Types.OPTIONAL, |
| 894 }, |
| 895 'Optional Mac Retina Release (AMD)': { |
| 896 'swarming_dimensions': [ |
| 897 { |
| 898 'gpu': '1002:6821', |
| 899 'hidpi': '1', |
| 900 'os': 'Mac' |
| 901 }, |
| 902 ], |
| 903 'build_config': 'Release', |
| 904 'swarming': True, |
| 905 'os_type': 'mac', |
| 906 'type': Types.OPTIONAL, |
| 907 }, |
| 908 # BEGIN obsolete Mac bots -- remove after waterfall restarted successfully. |
| 711 'Optional Mac 10.10 Release (Intel)': { | 909 'Optional Mac 10.10 Release (Intel)': { |
| 712 'swarming_dimensions': [ | 910 'swarming_dimensions': [ |
| 713 { | 911 { |
| 714 'gpu': '8086:0a2e', | 912 'gpu': '8086:0a2e', |
| 715 'os': 'Mac-10.12' | 913 'os': 'Mac-10.12' |
| 716 }, | 914 }, |
| 717 ], | 915 ], |
| 718 'build_config': 'Release', | 916 'build_config': 'Release', |
| 719 'swarming': True, | 917 'swarming': True, |
| 720 'os_type': 'mac', | 918 'os_type': 'mac', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 739 'gpu': '1002:6821', | 937 'gpu': '1002:6821', |
| 740 'hidpi': '1', | 938 'hidpi': '1', |
| 741 'os': 'Mac' | 939 'os': 'Mac' |
| 742 }, | 940 }, |
| 743 ], | 941 ], |
| 744 'build_config': 'Release', | 942 'build_config': 'Release', |
| 745 'swarming': True, | 943 'swarming': True, |
| 746 'os_type': 'mac', | 944 'os_type': 'mac', |
| 747 'type': Types.OPTIONAL, | 945 'type': Types.OPTIONAL, |
| 748 }, | 946 }, |
| 947 # END obsolete Mac bots -- remove after waterfall restarted successfully. |
| 749 'Optional Linux Release (NVIDIA)': { | 948 'Optional Linux Release (NVIDIA)': { |
| 750 'swarming_dimensions': [ | 949 'swarming_dimensions': [ |
| 751 { | 950 { |
| 752 'gpu': '10de:104a', | 951 'gpu': '10de:104a', |
| 753 'os': 'Ubuntu' | 952 'os': 'Ubuntu' |
| 754 }, | 953 }, |
| 755 ], | 954 ], |
| 756 'build_config': 'Release', | 955 'build_config': 'Release', |
| 757 'swarming': True, | 956 'swarming': True, |
| 758 'os_type': 'linux', | 957 'os_type': 'linux', |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1877 install_parent_links(WATERFALL) | 2076 install_parent_links(WATERFALL) |
| 1878 install_parent_links(V8_FYI_WATERFALL) | 2077 install_parent_links(V8_FYI_WATERFALL) |
| 1879 | 2078 |
| 1880 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 2079 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
| 1881 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 2080 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
| 1882 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 2081 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
| 1883 return 0 | 2082 return 0 |
| 1884 | 2083 |
| 1885 if __name__ == "__main__": | 2084 if __name__ == "__main__": |
| 1886 sys.exit(main()) | 2085 sys.exit(main()) |
| OLD | NEW |