Commit Graph

511 Commits

Author SHA1 Message Date
Jonas Termansen d1abd84944 [infra] Add named configuration option to test.dart.
This change makes named configurations central in test.dart. Previously
test.dart would attempt to emulate the steps taken by a builder. Instead it
now runs a single named configuration as a single step and invokes test.py
directly without any other arguments from the test steps. This better
matches the behavior of test.py and what the developers expect.

Either a named configuration or a builder must be specified. If both are
provided, then the results for that builder is downloaded and used to
compare with when running the named configuration. Otherwise if the only the
named configuration is provided, then it downloads results from all the
builders using the named configuration. Finally if only the builder is
provided, then the named configuration defaults to the one tested by the
builder. If the builder has multiple named configuration, the user is
asked to clarify which one should be tested.

This change adds support for branches to the test matrix. test.dart needs to
know which builders are on which branch, so it can download the relevant
results, and not look on builders that won't be building the right commit.

Fixes https://github.com/dart-lang/sdk/issues/35873
Change-Id: Ie7b75445b954250493528299a0b45eca4e0bb2e5
Reviewed-on: https://dart-review.googlesource.com/c/92780
Reviewed-by: William Hesse <whesse@google.com>
2019-02-15 11:48:40 +00:00
Jonas Termansen 69589be237 [infra] Rename analyzer-stable branch builders to have branch suffix.
This change assigns systematic names to the builders for branches, where
those builders end in their branch name as the suffix. This will be used to
identify to which branch the builders belong.

Change-Id: Ifa3be5dbbd45d4f623f70dd36d12426d360b0c30
Reviewed-on: https://dart-review.googlesource.com/c/92741
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2019-02-12 14:33:07 +00:00
Jonas Termansen 07f2eba311 [infra] Remove remnant of analyzer-linux-release-analyzer-new.
Change-Id: I09ed66cbdb20ed7334f029a464008faf0f403fa4
Reviewed-on: https://dart-review.googlesource.com/c/92600
Reviewed-by: William Hesse <whesse@google.com>
2019-02-11 14:45:12 +00:00
Alexander Thomas b2bffb2147 Revert "[dartdevc] skip co19 tests on linux bots"
This reverts commit 5ecf660b50.

Reason for revert: Issue mitigated with build recipe change.

Original change's description:
> [dartdevc] skip co19 tests on linux bots
>
> These tests aren't quite working yet, and they're causing delays in the
> deflake step.
>
> Change-Id: Ic037858e4778a128403c80f1c0356c6dd91cb831
> Reviewed-on: https://dart-review.googlesource.com/c/92241
> Commit-Queue: Jenny Messerly <jmesserly@google.com>
> Reviewed-by: Jenny Messerly <jmesserly@google.com>

TBR=whesse@google.com

Change-Id: I067bbdd5f8a268283a1f787deeeb0659fa98b15f
Reviewed-on: https://dart-review.googlesource.com/c/92340
Reviewed-by: Alexander Thomas <athom@google.com>
2019-02-08 09:35:53 +00:00
Jenny Messerly 5ecf660b50 [dartdevc] skip co19 tests on linux bots
These tests aren't quite working yet, and they're causing delays in the
deflake step.

Change-Id: Ic037858e4778a128403c80f1c0356c6dd91cb831
Reviewed-on: https://dart-review.googlesource.com/c/92241
Commit-Queue: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Jenny Messerly <jmesserly@google.com>
2019-02-06 23:47:56 +00:00
William Hesse dc812e0921 [infra] Add third_party/requirejs to the fileset used by dartdevc testing
Change-Id: Id3949ec62b6d0f0611d88f0b8012c68505e8e156
Reviewed-on: https://dart-review.googlesource.com/c/92120
Reviewed-by: William Hesse <whesse@google.com>
2019-02-06 09:30:14 +00:00
Alexander Thomas fdd477721d [infra] Run co19_2 tests on DDC Linux and Windows builders
Change-Id: I6701cad83bd86914574eb8d11b8658668602e31c
Reviewed-on: https://dart-review.googlesource.com/c/90066
Reviewed-by: Vijay Menon <vsm@google.com>
2019-01-31 15:35:24 +00:00
Alexander Thomas 2bb38e62e8 [infra] Use fewer cores on Android shards
The shards are currently defaulting to use j4 because the docker host
has 4 cores. 6 devices share one host and are therefore trying to run 20
processes competing for the only 4 physical cores. The docker hosts will
soon be upgraded to have 8 cores. j2 will result in 10 processes
competing for those 8 cores which should result in a better balance
between utilization and latency.

Change-Id: Ieb67cb92f17317108d1a1d3da710c58400484a7c
Reviewed-on: https://dart-review.googlesource.com/c/91540
Reviewed-by: William Hesse <whesse@google.com>
2019-01-29 15:54:08 +00:00
Martin Kustermann 8c439c7e84 [VM/AOT] Turn bare instructions on by default
Issue https://github.com/dart-lang/sdk/issues/33274

Change-Id: I44850d5906143a53d6b1872eb729364c3a509f9a
Reviewed-on: https://dart-review.googlesource.com/c/91060
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-01-25 10:25:18 +00:00
Alexander Thomas 957e194735 [infra] Switch co19 DEP to cipd
This means ~20000 files less need to be transferred to test shards.

TBR=whesse@google.com

Change-Id: Ic89e5c71e341dfa7872e82c1b1868df19480fd2f
Reviewed-on: https://dart-review.googlesource.com/c/90743
Reviewed-by: Alexander Thomas <athom@google.com>
2019-01-24 07:34:58 +00:00
Alexander Thomas 770ab5275a [infra] Upgrade gsutil to version 4.34
Change-Id: Id353fa11a8f86415569a505ef5ecd7bf03fb51e1
Reviewed-on: https://dart-review.googlesource.com/c/90487
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-01-22 16:58:58 +00:00
Sigmund Cherem 0d6402c1ec Remove faststartup from the test matrix
Context: we finally removed the old emitter and fast startup is on by default.
This CL removes from the test matrix duplicate steps that now are doing the same
thing and the faststartup builders that are no longer needed.

Change-Id: Id65ea3178bcd7a9554bfa127a09938ca910c57e8
Reviewed-on: https://dart-review.googlesource.com/c/89181
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2019-01-14 18:22:47 +00:00
Alexander Thomas b0855ffd35 [infra] Fix testing on Android
* Add adb to vm-kernel fileset.
* Add out directory for Android to fileset.

TBR=whesse@google.com

Change-Id: I95906d6fa5cb06ef53773754dc9c03a1a1bc5146
Reviewed-on: https://dart-review.googlesource.com/c/89240
Reviewed-by: Alexander Thomas <athom@google.com>
2019-01-13 22:45:13 +00:00
Martin Kustermann 736ac8469d Use correct way of enabling blobs on dartk-bare-{simarm,simarm64}
Change-Id: Icce8bda1f186fe01f86514f697adc1f88fc500cd
Reviewed-on: https://dart-review.googlesource.com/c/89120
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2019-01-11 11:14:59 +00:00
Martin Kustermann d9c5bc131d [VM] Use --use-blobs for dartk-precomp-simarm/simarm64 builders
Change-Id: I1e7b27c586500cc265e55c6c84f2bec971458e6c
Reviewed-on: https://dart-review.googlesource.com/c/89001
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Auto-Submit: Martin Kustermann <kustermann@google.com>
2019-01-11 02:02:29 +00:00
Alexander Thomas 0bb0072f5f [infra] Add vm-kernel-precomp-android builder to the test matrix
Change-Id: Id80e9ef4ce94eb2e79ad215d401f7ee8a3c37cc3
Reviewed-on: https://dart-review.googlesource.com/c/88958
Reviewed-by: William Hesse <whesse@google.com>
2019-01-10 13:07:37 +00:00
Martin Kustermann d21b852b02 Extend bare to have coverage across all AOT configurations
Change-Id: I6a0aa22dbdca9daf85c879defa64859441f35e31
Reviewed-on: https://dart-review.googlesource.com/c/88713
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2019-01-09 09:53:41 +00:00
Alexander Aprelev 8bbf240078 [infra] Explicitly pass 'debug' to pub_integration_test step from pkg_linux_debug config.
This is follow-up to https://dart-review.googlesource.com/c/sdk/+/87984 with temporary workaround.

Change-Id: I8077f636608c4e9c223c679ffc03151f7c5b83d8
Reviewed-on: https://dart-review.googlesource.com/c/88040
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2018-12-26 15:53:55 +00:00
Alexander Aprelev 0a0ee50501 [infra] Add debug mode support to pub_integration_test.
This is follow-up to https://dart-review.googlesource.com/c/sdk/+/87921.

Change-Id: I32eca90b5b4f708b9238f1aa475b967fd5c242fd
Reviewed-on: https://dart-review.googlesource.com/c/87984
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-12-21 23:47:23 +00:00
Alexander Aprelev 0f523f2462 [infra] Adds pkg linux debug buildbot
Change-Id: I2327f20f61688abcbb4c430e7bebf4ee45672816
Reviewed-on: https://dart-review.googlesource.com/c/87921
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2018-12-21 18:37:49 +00:00
Martin Kustermann b9170ffb83 Add new "dartkp-bare-linux-release-x64" configuration to test_matrix.json
This configuration will run the AOT compiler/runtime with the new
--use-bare-instructions support.

Change-Id: I029c4098f17e194d14e1b213173f2c6907e69f98
Reviewed-on: https://dart-review.googlesource.com/c/87408
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2018-12-18 14:14:34 +00:00
Kevin Moore 1337062779 Remove pkg:microlytics
Never used, not touched in 4+ years

Change-Id: Ia1568969b2d07c56b5cbe3258e6a13e10b80813d
Reviewed-on: https://dart-review.googlesource.com/c/86941
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-12-11 17:18:00 +00:00
Aart Bik b2d4a95cb0 [dart/fuzzer] Use 100 machines for DartFuzz tests
Rationale:
With 100 machines, 8 isolates each, we get a theoretical
peak of 100,000 fuzzing tests per nightly run (actual
number depends on time-based execution mode run).
Change-Id: I5872f681a636e6b5369f684ceef0f37f2311c8d7
Reviewed-on: https://dart-review.googlesource.com/c/84664
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
2018-12-07 18:05:24 +00:00
Paul Berry 09f2736d9a Remove support analyzer-use-fasta-parser from the test matrix.
The bot was removed in d258ee768908e12d7c0abeba9c00776a21b982a1.

Change-Id: Ice51ef23fa7b26e0a8117701062eca453f0d9166
Reviewed-on: https://dart-review.googlesource.com/c/86501
Auto-Submit: Paul Berry <paulberry@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2018-12-07 08:52:51 +00:00
Martin Kustermann 8ea5ac12c0 [Gardening] Remove redundant --compiler=dartkb from test_matrix.json
Change-Id: I1bfc4fee0250cd087404f3593df812b7b7d96f79
Reviewed-on: https://dart-review.googlesource.com/c/86382
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Auto-Submit: Martin Kustermann <kustermann@google.com>
2018-12-06 15:37:33 +00:00
William Hesse e4cbeab852 Remove redundant compiler option from dartkb builders
Change-Id: Ie7a518a4c7ba9b42d4392a3d8fc7abb638e26d1c
Reviewed-on: https://dart-review.googlesource.com/c/86354
Reviewed-by: William Hesse <whesse@google.com>
2018-12-06 12:38:18 +00:00
Paul Berry 670f9ab49b Merge commit '65401da92251a7318e3264b816ce0c4e14701751' into analyzer 2018-12-04 15:38:21 -08:00
Aart Bik 65401da922 [dart/fuzzer] fix bot setup
Rationale:
Nightly showed many failures due to missing dependence.

Bug:
https://github.com/dart-lang/sdk/issues/35319


Change-Id: I775df9870a8fbac65e29a4c0b3aab2867b2a0c8a
Reviewed-on: https://dart-review.googlesource.com/c/86104
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
2018-12-04 22:51:10 +00:00
Paul Berry 0a4873bb35 Merge commit '191a09f540ac0516c4088fb8454c693743be8b3f' into analyzer 2018-12-04 09:41:55 -08:00
Alexander Markov 170d5578c7 [vm/kernel] Move functionality of Fuchsia's compiler.dart into pkg/vm
This includes:
* Selecting front-end target.
* Support for multi-root virtual file system.
* Not linking platform into resulting kernel file.
* Specifying input as URI (instead of file path) on command line.
* Automatically converting input script URI to package URI.
* Writing ninja dependencies file.
* Writing package-split kernel binaries.

After this change Fuchsia's compiler.dart will become a small wrapper
over pkg/vm, sharing most logic and even most command line options
with pkg/vm gen_kernel tool.

Also, this CL attempts to share some pieces of code between frontend
server and gen_kernel.

In addition, seperate bytecode generation for package-split binaries
is implemented (needed for https://dart-review.googlesource.com/c/sdk/+/85469).

Corresponding Fuchsia CL: https://fuchsia-review.googlesource.com/c/topaz/+/229964

Change-Id: I12d7b2f6401357b3c9df2e31bc736af5a9dc5fd2
Reviewed-on: https://dart-review.googlesource.com/c/85721
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2018-12-04 01:08:03 +00:00
Paul Berry 7af0ba8dbf Merge commit '4088bb1302cebbb6922e1292037bc60127f1f852' into analyzer 2018-12-03 07:19:08 -08:00
William Hesse 7abe999437 Enable uploads from Dart SDK swarming builders
Switch the Dart SDK builders to use the dart_sdk.py script to build
and upload the SDK.

Change-Id: I8d8fc41e8d90d14507d5337bd6dcc573ee09bb6a
Reviewed-on: https://dart-review.googlesource.com/c/85701
Reviewed-by: Jonas Termansen <sortie@google.com>
2018-12-03 11:26:30 +00:00
Paul Berry b14b19e13c Merge commit '9e3d3cf765ba3f761b2507950039bcdd2dd3ece8' into analyzer 2018-11-15 09:17:48 -08:00
Alexander Thomas bc2294c004 [infra] Shard reload builders
Change-Id: I6e1577ec7a8f0d7aec73bbee71d8d3a3a0febdd8
Reviewed-on: https://dart-review.googlesource.com/c/84520
Reviewed-by: Samir Jindel <sjindel@google.com>
2018-11-15 14:01:18 +00:00
Paul Berry 1b5996ae67 Merge commit '30c5b39d4e0e7672d05df6aebba73254dd7ee770' into analyzer 2018-11-14 09:37:06 -08:00
Alexander Thomas 1ade3b624f [infra] Switch cross-arm64 builder to use a single shard
Triggering on arm64 fails because some kitchen CIPD packages
are unavailable on arm64.

TBR=whesse@google.com

Change-Id: I26b05d000dde712ab1b1d55a33be1e4a02f22247
Reviewed-on: https://dart-review.googlesource.com/c/84424
Reviewed-by: Alexander Thomas <athom@google.com>
2018-11-14 15:45:08 +00:00
Alexander Thomas eb4f9290de [infra] Add arm64 builders to the test matrix
TBR=whesse@google.com

Change-Id: If432f9fe2c12ed5a0d7a5af8b15e4daaa13e68f5
Reviewed-on: https://dart-review.googlesource.com/c/84420
Reviewed-by: Alexander Thomas <athom@google.com>
2018-11-14 11:08:00 +00:00
Paul Berry fc2888982c Merge commit 'c92f9dce2357d0da7909c0c5f630ad59882ccf29' into analyzer 2018-11-13 12:35:13 -08:00
Aart Bik c60cff1d33 [dart/fuzzer] Introduce time-based test runs
Rationale:
To maximize CPU utilitization during fuzzing runs,
we now use a time-out on all the individual fuzz
testing runs (rather than repeat based). This way,
the "faster" tests will cover more ground, while
the "slower" straggler tests will not break the test
with unnecessary time-outs at cluster level.
Change-Id: I5f0f9646da3fbd8b361a7ea43444b1896a45b57f
Reviewed-on: https://dart-review.googlesource.com/c/84047
Commit-Queue: Aart Bik <ajcbik@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2018-11-12 18:47:59 +00:00
Paul Berry 3ae0dcaa18 Merge commit '5ef1465c55be601f601e1f565c9b9d2f94d76aff' into analyzer
Conflicts:
	pkg/analysis_server/lib/src/analysis_server.dart
	pkg/analysis_server/lib/src/server/driver.dart
2018-11-12 06:39:27 -08:00
Aart Bik a20986b299 [dart/fuzzer] Reduce number of runs to avoid timeouts
Rationale:
Now that we are running on multiple shards, worker
timeouts are becoming a bit more frequent due to
(1) file copying overhead
(2) more stragglers due to law of larger numbers.
Change-Id: I36169c0b2033390b1c577f1dbafb1b34c3dd382d
Reviewed-on: https://dart-review.googlesource.com/c/84040
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
2018-11-09 18:05:08 +00:00
Alexander Thomas fd5928e97e [dart/fuzzer] Reduce number of runs to avoid timeouts
Change-Id: I582dbe87a84511c63aeb6dc0cfa52156d33c015a
Reviewed-on: https://dart-review.googlesource.com/c/83660
Auto-Submit: Alexander Thomas <athom@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
2018-11-08 19:24:11 +00:00
Paul Berry 8b87e73428 Merge commit 'f7dab643ff254ead592d7bd038d858ebc9f2570c' into analyzer 2018-11-06 15:16:04 -08:00
Alexander Thomas a6bb2e5fac [dart/fuzzer] Shard fuzzer
Change-Id: I75df5c9db920331a56b27c2e457bd3b4ce1efd64
Reviewed-on: https://dart-review.googlesource.com/c/78125
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Aart Bik <ajcbik@google.com>
2018-11-06 20:23:58 +00:00
William Hesse 7a4e142d00 Add analyzer-linux-release-analyzer-new builder to test matrix on analyzer branch
Change-Id: I6f7476e8f299bac79684c670184f1d46970bb451
Reviewed-on: https://dart-review.googlesource.com/c/82440
Reviewed-by: Devon Carew <devoncarew@google.com>
2018-10-31 23:37:36 +00:00
Paul Berry 5089649b15 Merge commit '98a0309fbd8a53ceb4f5520c530507e135930eab' into analyzer 2018-10-30 14:58:31 -07:00
Jonas Termansen 1c5e7cf363 [infra] Stop using tests and exclude_tests fields in test matrix.
These fields complicate how test.py is called and could just have well have
been put in the arguments list for simplicity. They were already used
inconsistently. The support can be removed from the recipe in a follow up
changelist in the infra repository.

Change-Id: Ib5c39d61d730bfcb719c1884d910bbd2f73b4fce
Reviewed-on: https://dart-review.googlesource.com/c/81403
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2018-10-29 15:34:27 +00:00
Paul Berry 5665636983 Merge commit '7fd78ed5b606e64d30ec201de9adce6fdf8856ba' into analyzer 2018-10-22 13:07:24 -07:00
Alexander Thomas 7fd78ed5b6 [infra] Add analyzer branch alias for flutter-analyze builder (#34739)
* Channel detection only works for -dev, -stable and -try.
* This will allow adding flutter-analyze to the analyzer branch console.

TBR=whesse@google.com

Change-Id: I0a4036d290acdfba78ba138a0e87448f6da1e878
Reviewed-on: https://dart-review.googlesource.com/c/81101
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2018-10-22 18:22:16 +00:00
Paul Berry fe5467092a Merge commit '7a3762d4a91aed0b3885259b297953d0c38ce849' into analyzer 2018-10-19 10:00:38 -07:00