OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'buildbot_structures.dart'; | 6 import 'buildbot_structures.dart'; |
7 import 'logdog.dart' as logdog; | 7 import 'logdog.dart' as logdog; |
8 import 'util.dart'; | 8 import 'util.dart'; |
9 | 9 |
10 /// Data describing the steps of the buildbots. | 10 /// Data describing the steps of the buildbots. |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 ], testSteps: const <String>[ | 144 ], testSteps: const <String>[ |
145 'front-end tests', | 145 'front-end tests', |
146 'vm tests', | 146 'vm tests', |
147 ]), | 147 ]), |
148 const BuildSubgroup(shardNames: const <String>[ | 148 const BuildSubgroup(shardNames: const <String>[ |
149 'vm-kernel-linux-debug-x64-be', | 149 'vm-kernel-linux-debug-x64-be', |
150 ], testSteps: const <String>[ | 150 ], testSteps: const <String>[ |
151 'front-end tests', | 151 'front-end tests', |
152 'vm tests', | 152 'vm tests', |
153 ]), | 153 ]), |
| 154 const BuildSubgroup(shardNames: const <String>[ |
| 155 'vm-kernel-mac-release-x64-be', |
| 156 ], testSteps: const <String>[ |
| 157 'front-end tests', |
| 158 'vm tests', |
| 159 ]), |
| 160 const BuildSubgroup(shardNames: const <String>[ |
| 161 'vm-kernel-mac-debug-x64-be', |
| 162 ], testSteps: const <String>[ |
| 163 'front-end tests', |
| 164 'vm tests', |
| 165 ]), |
154 ], | 166 ], |
155 ), | 167 ), |
156 const BuildGroup( | 168 const BuildGroup( |
157 groupName: 'vm-misc', | 169 groupName: 'vm-misc', |
158 subgroups: const <BuildSubgroup>[ | 170 subgroups: const <BuildSubgroup>[ |
159 const BuildSubgroup(shardNames: const <String>[ | 171 const BuildSubgroup(shardNames: const <String>[ |
160 'vm-win-debug-ia32-russian-be', | 172 'vm-win-debug-ia32-russian-be', |
161 ], testSteps: const <String>[ | 173 ], testSteps: const <String>[ |
162 'vm tests', | 174 'vm tests', |
163 'checked vm tests', | 175 'checked vm tests', |
164 ]), | 176 ]), |
165 const BuildSubgroup(shardNames: const <String>[ | 177 const BuildSubgroup(shardNames: const <String>[ |
166 'cross-arm-vm-linux-release-be', | 178 'cross-arm64-vm-linux-release-be', |
167 ], testSteps: const <String>[ | 179 ], testSteps: const <String>[ |
168 '', // This subgroup triggers other tests. | 180 '', // This subgroup triggers other tests. |
169 ]), | 181 ]), |
170 const BuildSubgroup(shardNames: const <String>[ | 182 const BuildSubgroup(shardNames: const <String>[ |
171 'vm-linux-release-ia32-asan-be', | 183 'vm-linux-release-ia32-asan-be', |
172 ], testSteps: const <String>[ | 184 ], testSteps: const <String>[ |
173 'vm tests', | 185 'vm tests', |
174 'checked vm tests', | 186 'checked vm tests', |
175 ]), | 187 ]), |
176 const BuildSubgroup(shardNames: const <String>[ | 188 const BuildSubgroup(shardNames: const <String>[ |
177 'vm-linux-release-x64-asan-be', | 189 'vm-linux-release-x64-asan-be', |
178 ], testSteps: const <String>[ | 190 ], testSteps: const <String>[ |
179 'vm tests', | 191 'vm tests', |
180 'checked vm tests', | 192 'checked vm tests', |
181 ]), | 193 ]), |
182 const BuildSubgroup(shardNames: const <String>[ | 194 const BuildSubgroup(shardNames: const <String>[ |
183 'vm-linux-release-ia32-optcounter-threshold-be', | 195 'vm-linux-release-ia32-optcounter-threshold-be', |
184 ], testSteps: const <String>[ | 196 ], testSteps: const <String>[ |
185 'vm tests', | 197 'vm tests', |
186 'checked vm tests', | 198 'checked vm tests', |
187 ]), | 199 ]), |
188 const BuildSubgroup(shardNames: const <String>[ | 200 const BuildSubgroup(shardNames: const <String>[ |
189 'vm-linux-release-x64-optcounter-threshold-be', | 201 'vm-linux-release-x64-optcounter-threshold-be', |
190 ], testSteps: const <String>[ | 202 ], testSteps: const <String>[ |
191 'vm tests', | 203 'vm tests', |
192 'checked vm tests', | 204 'checked vm tests', |
193 ]), | 205 ]), |
| 206 const BuildSubgroup(shardNames: const <String>[ |
| 207 'target-arm64-vm-linux-release-be', |
| 208 ], testSteps: const <String>[ |
| 209 'vm tests', |
| 210 'checked vm tests', |
| 211 ]), |
194 // TODO(dmitryas): add data for this subgroup | 212 // TODO(dmitryas): add data for this subgroup |
195 // const BuildSubgroup(shardNames: const <String>[ | 213 // const BuildSubgroup(shardNames: const <String>[ |
196 // '', | 214 // '', |
197 // ], testSteps: const <String>[ | 215 // ], testSteps: const <String>[ |
198 // '', | 216 // '', |
199 // ]), | 217 // ]), |
200 ], | 218 ], |
201 ), | 219 ), |
202 const BuildGroup( | 220 const BuildGroup( |
203 groupName: 'vm-precomp', | 221 groupName: 'vm-precomp', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 ], testSteps: const <String>[ | 310 ], testSteps: const <String>[ |
293 'vm tests', | 311 'vm tests', |
294 'checked vm tests', | 312 'checked vm tests', |
295 ]), | 313 ]), |
296 ], | 314 ], |
297 ), | 315 ), |
298 const BuildGroup( | 316 const BuildGroup( |
299 groupName: 'dart2js-d8-hostchecked', | 317 groupName: 'dart2js-d8-hostchecked', |
300 subgroups: const <BuildSubgroup>[ | 318 subgroups: const <BuildSubgroup>[ |
301 const BuildSubgroup(shardNames: const <String>[ | 319 const BuildSubgroup(shardNames: const <String>[ |
302 'dart2js-linux-d8-hostchecked-1-5-be', | 320 'dart2js-linux-d8-hostchecked-unittest-1-5-be', |
303 'dart2js-linux-d8-hostchecked-2-5-be', | 321 'dart2js-linux-d8-hostchecked-unittest-2-5-be', |
304 'dart2js-linux-d8-hostchecked-3-5-be', | 322 'dart2js-linux-d8-hostchecked-unittest-3-5-be', |
305 'dart2js-linux-d8-hostchecked-4-5-be', | 323 'dart2js-linux-d8-hostchecked-unittest-4-5-be', |
306 'dart2js-linux-d8-hostchecked-5-5-be', | 324 'dart2js-linux-d8-hostchecked-unittest-5-5-be', |
307 ], testSteps: const <String>[ | 325 ], testSteps: const <String>[ |
308 'dart2js d8 tests', | 326 'dart2js d8 tests', |
309 'dart2js d8 package tests', | 327 'dart2js d8 package tests', |
310 'dart2js d8 observatory_ui tests', | 328 'dart2js d8 observatory_ui tests', |
311 'dart2js d8 co19 tests', | 329 'dart2js d8 co19 tests', |
312 'dart2js d8 extra tests', | 330 'dart2js d8 extra tests', |
313 'dart2js d8 try tests', | 331 'dart2js d8 try tests', |
314 'dart2js d8 checked tests', | 332 'dart2js d8 checked tests', |
315 'dart2js d8 package checked tests', | 333 'dart2js d8 package checked tests', |
316 'dart2js d8 observatory_ui checked tests', | 334 'dart2js d8 observatory_ui checked tests', |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 ]) | 390 ]) |
373 ], | 391 ], |
374 ), | 392 ), |
375 const BuildGroup( | 393 const BuildGroup( |
376 groupName: 'dart2js', | 394 groupName: 'dart2js', |
377 subgroups: const <BuildSubgroup>[ | 395 subgroups: const <BuildSubgroup>[ |
378 const BuildSubgroup(shardNames: const <String>[ | 396 const BuildSubgroup(shardNames: const <String>[ |
379 'dart2js-dump-info-be', | 397 'dart2js-dump-info-be', |
380 ], testSteps: const <String>[ | 398 ], testSteps: const <String>[ |
381 'annotated_steps', | 399 'annotated_steps', |
382 ]) | 400 ], isActive: false), |
383 ], | 401 ], |
384 ), | 402 ), |
385 const BuildGroup( | 403 const BuildGroup( |
386 groupName: 'analyzer', | 404 groupName: 'analyzer', |
387 subgroups: const <BuildSubgroup>[ | 405 subgroups: const <BuildSubgroup>[ |
388 const BuildSubgroup(shardNames: const <String>[ | 406 const BuildSubgroup(shardNames: const <String>[ |
| 407 'analyze-linux-be', |
| 408 ], testSteps: const <String>[]), |
| 409 const BuildSubgroup(shardNames: const <String>[ |
389 'analyzer-mac10.11-release-be', | 410 'analyzer-mac10.11-release-be', |
390 ], testSteps: const <String>[ | 411 ], testSteps: const <String>[ |
391 'analyze tests', | 412 'analyze tests', |
392 'analyze pkg tests', | 413 'analyze pkg tests', |
393 'analyze tests checked', | 414 'analyze tests checked', |
394 'analyze pkg tests checked', | 415 'analyze pkg tests checked', |
395 'analyzer unit tests', | 416 'analyzer unit tests', |
396 'analysis server unit tests', | 417 'analysis server unit tests', |
397 'analyzer_cli unit tests', | 418 'analyzer_cli unit tests', |
398 'front end unit tests', | 419 'front end unit tests', |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 const BuildGroup( | 614 const BuildGroup( |
594 groupName: 'ie', | 615 groupName: 'ie', |
595 subgroups: const <BuildSubgroup>[ | 616 subgroups: const <BuildSubgroup>[ |
596 const BuildSubgroup(shardNames: const <String>[ | 617 const BuildSubgroup(shardNames: const <String>[ |
597 'dart2js-win8-ie10-be' | 618 'dart2js-win8-ie10-be' |
598 ], testSteps: const <String>[ | 619 ], testSteps: const <String>[ |
599 'dart2js ie10 tests', | 620 'dart2js ie10 tests', |
600 'dart2js ie10 co19 tests', | 621 'dart2js ie10 co19 tests', |
601 'dart2js ie10 fast-startup tests', | 622 'dart2js ie10 fast-startup tests', |
602 'dart2js ie10 co19 fast-startup tests', | 623 'dart2js ie10 co19 fast-startup tests', |
603 ]), | 624 ], isActive: false), |
604 const BuildSubgroup(shardNames: const <String>[ | 625 const BuildSubgroup(shardNames: const <String>[ |
605 'dart2js-win8-ie11-be' | 626 'dart2js-win8-ie11-be' |
606 ], testSteps: const <String>[ | 627 ], testSteps: const <String>[ |
607 'dart2js ie11 tests', | 628 'dart2js ie11 tests', |
608 'dart2js ie11 co19 tests', | 629 'dart2js ie11 co19 tests', |
609 'dart2js ie11 fast-startup tests', | 630 'dart2js ie11 fast-startup tests', |
610 'dart2js ie11 co19 fast-startup tests', | 631 'dart2js ie11 co19 fast-startup tests', |
611 ]), | 632 ], isActive: false), |
612 ], | 633 ], |
613 ), | 634 ), |
614 const BuildGroup( | 635 const BuildGroup( |
615 groupName: 'dart2js-windows', | 636 groupName: 'dart2js-windows', |
616 subgroups: const <BuildSubgroup>[ | 637 subgroups: const <BuildSubgroup>[ |
617 const BuildSubgroup(shardNames: const <String>[ | 638 const BuildSubgroup(shardNames: const <String>[ |
618 'dart2js-win7-ie10chrome-1-4-be', | 639 'dart2js-win7-ie10chrome-1-4-be', |
619 'dart2js-win7-ie10chrome-2-4-be', | 640 'dart2js-win7-ie10chrome-2-4-be', |
620 'dart2js-win7-ie10chrome-3-4-be', | 641 'dart2js-win7-ie10chrome-3-4-be', |
621 'dart2js-win7-ie10chrome-4-4-be' | 642 'dart2js-win7-ie10chrome-4-4-be' |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 ]), | 702 ]), |
682 ], | 703 ], |
683 ), | 704 ), |
684 const BuildGroup( | 705 const BuildGroup( |
685 groupName: 'pub-pkg', | 706 groupName: 'pub-pkg', |
686 subgroups: const <BuildSubgroup>[ | 707 subgroups: const <BuildSubgroup>[ |
687 const BuildSubgroup(shardNames: const <String>[ | 708 const BuildSubgroup(shardNames: const <String>[ |
688 'pub-mac-be', | 709 'pub-mac-be', |
689 ], testSteps: const <String>[ | 710 ], testSteps: const <String>[ |
690 'annotated_steps', | 711 'annotated_steps', |
691 ]), | 712 ], isActive: false), |
692 const BuildSubgroup(shardNames: const <String>[ | 713 const BuildSubgroup(shardNames: const <String>[ |
693 'pub-linux-be', | 714 'pub-linux-be', |
694 ], testSteps: const <String>[ | 715 ], testSteps: const <String>[ |
695 'annotated_steps', | 716 'annotated_steps', |
696 ]), | 717 ], isActive: false), |
697 const BuildSubgroup(shardNames: const <String>[ | 718 const BuildSubgroup(shardNames: const <String>[ |
698 'pkg-mac10.11-release-be', | 719 'pkg-mac10.11-release-be', |
699 ], testSteps: const <String>[ | 720 ], testSteps: const <String>[ |
700 'package unit tests', | 721 'package unit tests', |
701 'third_party/pkg_tested unit tests', | 722 'third_party/pkg_tested unit tests', |
702 ]), | 723 ]), |
703 const BuildSubgroup(shardNames: const <String>[ | 724 const BuildSubgroup(shardNames: const <String>[ |
704 'pkg-linux-release-be', | 725 'pkg-linux-release-be', |
705 ], testSteps: const <String>[ | 726 ], testSteps: const <String>[ |
706 'package unit tests', | 727 'package unit tests', |
(...skipping 24 matching lines...) Expand all Loading... |
731 'dartium-win-ia32-be', | 752 'dartium-win-ia32-be', |
732 ], testSteps: const <String>[ | 753 ], testSteps: const <String>[ |
733 'annotated steps', | 754 'annotated steps', |
734 ]), | 755 ]), |
735 ], | 756 ], |
736 ), | 757 ), |
737 const BuildGroup( | 758 const BuildGroup( |
738 groupName: 'misc', | 759 groupName: 'misc', |
739 subgroups: const <BuildSubgroup>[ | 760 subgroups: const <BuildSubgroup>[ |
740 const BuildSubgroup(shardNames: const <String>[ | 761 const BuildSubgroup(shardNames: const <String>[ |
741 'version-checker-be', | 762 'versionchecker-linux-be', |
742 ], testSteps: const <String>[ | 763 ], testSteps: const <String>[ |
743 'annotated_steps', | 764 'annotated_steps', |
744 ]), | 765 ]), |
745 const BuildSubgroup(shardNames: const <String>[ | 766 const BuildSubgroup(shardNames: const <String>[ |
746 'linux-distribution-support-debian_wheezy-be', | 767 'debianpackage-linux-be', |
747 ], testSteps: const <String>[ | 768 ], testSteps: const <String>[ |
748 'annotated_steps', | 769 'annotated_steps', |
749 ]), | 770 ]), |
750 ], | 771 ], |
751 ), | 772 ), |
752 const BuildGroup( | 773 const BuildGroup( |
753 groupName: 'vm-app-dev', | 774 groupName: 'vm-app-dev', |
754 subgroups: const <BuildSubgroup>[ | 775 subgroups: const <BuildSubgroup>[ |
755 const BuildSubgroup(shardNames: const <String>[ | 776 const BuildSubgroup(shardNames: const <String>[ |
756 'app-linux-debug-x64-dev', | 777 'app-linux-debug-x64-dev', |
757 ], testSteps: const <String>[ | 778 ], testSteps: const <String>[ |
758 'vm tests', | 779 'vm tests', |
759 ]), | 780 ], isActive: false), |
760 const BuildSubgroup(shardNames: const <String>[ | 781 const BuildSubgroup(shardNames: const <String>[ |
761 'app-linux-release-x64-dev', | 782 'app-linux-release-x64-dev', |
762 ], testSteps: const <String>[ | 783 ], testSteps: const <String>[ |
763 'vm tests', | 784 'vm tests', |
764 ]), | 785 ], isActive: false), |
765 const BuildSubgroup(shardNames: const <String>[ | 786 const BuildSubgroup(shardNames: const <String>[ |
766 'app-linux-product-x64-dev', | 787 'app-linux-product-x64-dev', |
767 ], testSteps: const <String>[ | 788 ], testSteps: const <String>[ |
768 'vm tests', | 789 'vm tests', |
769 ]), | 790 ], isActive: false), |
770 ], | 791 ], |
771 ), | 792 ), |
772 ]; | 793 ]; |
773 | 794 |
774 /// Descriptor for a buildbot group, e.g. 'dart2js-linux', 'chrome' and | 795 /// Descriptor for a buildbot group, e.g. 'dart2js-linux', 'chrome' and |
775 /// 'safari'. | 796 /// 'safari'. |
776 class BuildGroup { | 797 class BuildGroup { |
777 /// The name of the group as display on the buildbot site. | 798 /// The name of the group as display on the buildbot site. |
778 final String groupName; | 799 final String groupName; |
779 | 800 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
935 stepNames.add(step); | 956 stepNames.add(step); |
936 } | 957 } |
937 } | 958 } |
938 if (stepNames.isNotEmpty) { | 959 if (stepNames.isNotEmpty) { |
939 subgroups[subgroup] = stepNames; | 960 subgroups[subgroup] = stepNames; |
940 } | 961 } |
941 } | 962 } |
942 } | 963 } |
943 return subgroups; | 964 return subgroups; |
944 } | 965 } |
OLD | NEW |