Commit Graph

565 Commits

Author SHA1 Message Date
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 5949a3f984 Merge commit '5a54f0eb577f0f4a1708ddbd4f69bf70458ff647' into analyzer 2018-11-27 08:34:40 -08:00
Alexander Thomas 9903d86d50 [infra] Apply flutter patches in flutter-analyze builds as well
Change-Id: Ibc4b4f1267ee533040cf81d940395af1985a3b76
Reviewed-on: https://dart-review.googlesource.com/c/85386
Reviewed-by: Paul Berry <paulberry@google.com>
2018-11-26 18:42:39 +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
Jonas Termansen 927f0937bd [infra] Add test.dart script for local testing.
test.dart locates where the current branch branched off master and compares
the local testing results with the appropriate mainline builder results,
letting you know how the current change compares without the need for status
files.

Bug: https://github.com/dart-lang/sdk/issues/35086
Change-Id: Ib79479b867c5ac131302fea1bdf7effd0422a83a
Reviewed-on: https://dart-review.googlesource.com/c/83281
Reviewed-by: Alexander Thomas <athom@google.com>
2018-11-12 21:51:48 +00: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
Paul Berry 4b1870307d Merge commit '8d12600b16bcc9ae113c47fb6a3d5b68b1388c5c' into analyzer 2018-11-06 14:59:15 -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
Jonas Termansen 51f815f7f3 [infra] Support configurations in compare_results and update_flakiness.
Change-Id: I640486957a40ebd178a0d7d06a7a81af758536c8
Reviewed-on: https://dart-review.googlesource.com/c/82980
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-11-06 19:57:08 +00:00
Jonas Termansen af63ea79a1 [infra] Add approve_results.dart script for approving test result changes.
The approve_results program downloads the current results, the approved
results, and flakiness information for the specified bots. It presents
tables of the tests that have been fixed and the ones that have broken since
the last approval. Finally, it provides the option to approve the new
changes.

The approve_results program is part of the new workflow and only affects the
greenness of bots enrolled in it.

You can list the available bots by running:

    dart tools/approve_results.dart -l

You can approve the results on a bot by running:

    dart tools/approve_results.dart -b vm-kernel-linux-release-x64

Globs are supported, e.g. to approve all vm linux bots on ia32 and x64:

    dart tools/approve_results.dart -b 'vm-*linux*{ia32,x64}*'

By default the tool is interactive and asks whether the changes should be
approved. Approving the results turns the bots green on the next commit.
It's assumed that bugs have been filed prior to approving the test changes.
The -y option approves the changes non-interactively while the -n option
does a try run and shows what needs to be approved.

This tool is meant to be used early and often to turn the bot green. Emails
are not set about additional failures until the regressions has been
approved.

Bug: https://github.com/dart-lang/sdk/issues/35000
Change-Id: I6479edaa76556aa5ef499509c04b92ae770d1727
Reviewed-on: https://dart-review.googlesource.com/c/82222
Reviewed-by: William Hesse <whesse@google.com>
2018-11-06 01:08:50 +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 80265bc7d1 Merge commit '7c788d0734f9aef95ccffc48212b79656b5b676e' into analyzer 2018-10-26 16:09:56 -07:00
Devon Carew 7c788d0734 Don't make a shallow clone of the flutter repo.
Change-Id: Iddeec5f709b086fac3ab331fcffbe8e77201cbf7
Reviewed-on: https://dart-review.googlesource.com/c/81720
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2018-10-26 20:31:15 +00:00
Paul Berry 98d9792ab3 Merge commit 'd8cb60d746e3d34f9ee5e6b0a08bf12104d3f8e3' into analyzer 2018-10-24 09:04:01 -07:00
Alexander Thomas d8cb60d746 [infra] Improve clone command in analyze-flutter.sh script (#34739)
TBR=whesse@google.com

Change-Id: I2e43da79dbb3dba85403ee0ae4dcde2e16cd3afd
Reviewed-on: https://dart-review.googlesource.com/c/81279
Reviewed-by: Alexander Thomas <athom@google.com>
2018-10-24 15:51:33 +00:00
Paul Berry 2e2c360371 Merge commit '0b15595913ff89d8486e6677af0254dd6feab350' into analyzer 2018-10-24 06:09:47 -07:00
Jonas Termansen b73f7ed3d4 [infra] Add tools/bots/find_base_commit.dart
The find_base_commit program locates the newest commit with a full set of
test results. This is a good base for local testing when comparing with the
results from the official bots, as all the needed results are there.

Change-Id: Ie06020ca98317b82f46589ad6dede37361acf744
Reviewed-on: https://dart-review.googlesource.com/c/81040
Reviewed-by: Alexander Thomas <athom@google.com>
2018-10-23 14:02:51 +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
Alexander Thomas 2a63500865 [infra] Add flutter-analyze builder to the test matrix (#34739)
Change-Id: I04d741753c89191ccb8706d02330c8404efc1eb8
Reviewed-on: https://dart-review.googlesource.com/c/80581
Commit-Queue: Alexander Thomas <athom@google.com>
Auto-Submit: Alexander Thomas <athom@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
2018-10-18 17:31:09 +00:00
Jonas Termansen d04a36b4ab [infra] Fix third_party/pkg_tested step having slash in name.
The step names of test.py invocations are currently used as directory names
in cloud storage. This unintentionally creates an unexpected subdirectory
where the top third_party/ directory is malformed because it doesn't have
the right contents.

Change-Id: I57e32ed917ba863e9bccf611f496e520b9a97310
Reviewed-on: https://dart-review.googlesource.com/c/80620
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2018-10-18 12:38:39 +00:00
Sergey G. Grekhov fed5bc62b6 [co19] DEPS and .status files updated
Change-Id: If0747db4bd02d31814b407970b11d16519329625
Reviewed-on: https://dart-review.googlesource.com/c/79661
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2018-10-18 11:45:54 +00:00
Alexander Thomas 632f272e37 [infra] Add analyzer branch builders to the test matrix (#34780)
TBR=paulberry@google.com

Change-Id: I34d3422712ab9f27d0d5303391233f6b27d619a7
Reviewed-on: https://dart-review.googlesource.com/c/79686
Reviewed-by: Alexander Thomas <athom@google.com>
2018-10-15 15:53:41 +00:00
Jonas Termansen 5b1fcb09df Remove d2fe ikg minimal benchmark from commit queue.
Change-Id: I343d37206f614ff5def567faea88c3eb5af7881b
Reviewed-on: https://dart-review.googlesource.com/c/79580
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-10-12 13:38:18 +00:00
Bob Nystrom f6ca2c1d8f Remove the Dart 1 tests.
This deletes:

tests/co19
tests/corelib
tests/html
tests/isolate
tests/language
tests/lib

It does not delete tests/standalone because apparently there are tests
in there that are not in standalone_2. (I assume they were added after
the test migration. I don't know why they were added there.)

I have tried to remove references to the old tests from various scripts
and tools but may have missed some. (As you can imagine, grepping for
"lib" does not have the best signal-to-noise ratio.)

"It was a pleasure to burn. It was a special pleasure to see things
eaten, to see things blackened and changed. With the brass nozzle in his
fists, with this great python spitting its venomous kerosene upon the
world, the blood pounded in his head, and his hands were the hands of
some amazing conductor playing all the symphonies of blazing and burning
to bring down the tatters and charcoal ruins of history."

- Ray Bradbury, Fahrenheit 451

Change-Id: If3db4a50e7a5ee25aff8058b1483e2ce8e68424e
Reviewed-on: https://dart-review.googlesource.com/c/75420
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-10-11 23:45:18 +00:00
Alexander Thomas 5e7ea5b672 [infra] Add .vpython spec to fix gsutil on the bots (#31065)
Change-Id: I931695878cdcd9f014b1b751bbe52cfc2d524bb8
Reviewed-on: https://dart-review.googlesource.com/c/79262
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2018-10-11 15:11:35 +00:00
William Hesse 1809bae318 Revert "Ignore JSON exceptions when reading (empty) test results file"
This reverts commit 0aa99cca99.
Also fixes issue writing newline-terminated json records to file.

Change-Id: I568442149f532c4164610b6694fa95bc4f6e97e4
Reviewed-on: https://dart-review.googlesource.com/c/79205
Reviewed-by: Jonas Termansen <sortie@google.com>
2018-10-11 11:51:12 +00:00
Alexander Thomas 1c2ed4ac11 [infra] Include gsutil in vm-kernel fileset to enable coredumps on shards (#31065)
Change-Id: Ic583bae50c78b5b1cd6e3a0a9ec144178dc4be6b
Reviewed-on: https://dart-review.googlesource.com/c/79001
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2018-10-11 09:02:38 +00:00
William Hesse 0aa99cca99 Ignore JSON exceptions when reading (empty) test results file
Change-Id: I65557ca82acb0ec51d5f3f49ff2799ca77204dc3
Reviewed-on: https://dart-review.googlesource.com/c/79049
Reviewed-by: William Hesse <whesse@google.com>
2018-10-10 16:35:44 +00:00
Jonas Termansen 8247fb7eec Stop stripping d8 for benchmarking.
Change-Id: I7eb304671fd891e9a02c40442b766b6ee1c23bed
Reviewed-on: https://dart-review.googlesource.com/c/79021
Reviewed-by: Alexander Thomas <athom@google.com>
2018-10-10 11:51:27 +00:00
Aart Bik 751cf1974a [dart/fuzzer] Add DBC as execution mode.
Rationale:
More coverage is better!
Change-Id: Ic04f4caf7d02e1db9398f3d51ae44f6b51d6542d
Reviewed-on: https://dart-review.googlesource.com/c/78862
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
2018-10-09 18:56:28 +00:00
Aart Bik 69550e2837 [dart/fuzzer] Increase #tests to 125
Rationale:
With 8 isolates per machine, this gives an even
8 x 125 = 1000 tests per machine on the cluster
Change-Id: I06e21f271ec5452c1d5559666b3f0f1eaea439dd
Reviewed-on: https://dart-review.googlesource.com/c/78620
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
2018-10-08 18:16:44 +00:00
Jonas Termansen c8b72ae028 [infra] Replace deflake limit with overall limit.
Change-Id: I13057e5f3731c31b3b21da9eebe94ea90bb5c91a
Reviewed-on: https://dart-review.googlesource.com/c/78207
Reviewed-by: William Hesse <whesse@google.com>
2018-10-05 09:40:20 +00:00
Jonas Termansen 91f5ff9123 [infra] Limit how many tests are deflaked.
Change-Id: Ied9c03466ac265f804141f0611fa6c09959f8aa7
Reviewed-on: https://dart-review.googlesource.com/c/78205
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Auto-Submit: Jonas Termansen <sortie@google.com>
2018-10-05 07:53:19 +00:00
Sergey G. Grekhov e8e9677fad [co19] co19_2 roll.
* co19_2 tests enabled for vm-kernel CQ builders.

Change-Id: I5ccc27d1110c22960e550b060a7e140bc1ac68b1
Reviewed-on: https://dart-review.googlesource.com/c/76820
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2018-10-05 06:35:43 +00:00
Alexander Thomas ced7ee6f4b [dart/fuzzer] Use multiple isolates
Change-Id: I8e3882d3a45a3ac8111d2a18c619c7bc20fc4b3d
Reviewed-on: https://dart-review.googlesource.com/c/78161
Reviewed-by: Aart Bik <ajcbik@google.com>
2018-10-04 21:56:33 +00:00
Alexander Thomas cf007d1f40 [infra] Add missing entries to the test matrix
TBR=whesse@google.com

Change-Id: I159e1a784a88eb1c040046edfdb881b6962be672
Reviewed-on: https://dart-review.googlesource.com/c/78160
Reviewed-by: Alexander Thomas <athom@google.com>
2018-10-04 19:59:54 +00:00