Repository: flutter
Issue: Parallel `flutter test`s fail
Labels: a: tests,c: crash,tool,P2,c: fatal crash,c: tech-debt,c: flake,team-tool,triaged-tool

STEPS TO REPRODUCE

1. `cd dev/automated_tests/test_smoke_test`
2. `flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart & flutter test pass_test.dart`
3. wait

EXPECTED RESULTS

All the tests pass.

ACTUAL RESULTS

Some of the tests fail with errors like this (logs edited slightly for clarity):
```
00:02 +0: loading /home/ianh/dev/flutter/dev/automated_tests/test_smoke_test/pass_test.dart
Warning: Tried to initialize from a previous compilation (file:///home/ianh/dev/flutter/dev/automated_tests/build/test_cache/build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill), but
couldn't.
Error message was 'null:26853376: indicated size does not match file size at '.
Stacktrace included '#0      BinaryBuilder.fail (package:kernel/binary/ast_from_binary.dart:187:5)
#1      BinaryBuilder._indexComponents (package:kernel/binary/ast_from_binary.dart:584:15)
#2      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:635:38)
#3      Timeline.timeSync (dart:developer/timeline.dart:163:22)
#4      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:616:21)
#5      IncrementalCompiler.initializeFromDill (package:front_end/src/fasta/incremental_compiler.dart:1765:14)
<asynchronous suspension>
#6      IncrementalCompiler.ensurePlatformAndInitialize (package:front_end/src/fasta/incremental_compiler.dart:1227:28)
<asynchronous suspension>
#7      IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:236:11)
<asynchronous suspension>
#8      IncrementalCompiler.compile (package:vm/incremental_compiler.dart:69:29)
<asynchronous suspension>
#9      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:520:11)
<asynchronous suspension>
#10     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1132:11)
<asynchronous suspension>
'.
This might be a bug.

The Dart team would greatly appreciate it if you would take a moment to report this problem at http://dartbug.com/new.
If you are comfortable with it, it would improve the chances of fixing any bug if you included the file /tmp/initialize_from.dillGKLDIH/initialize_from.dill.gz in your error report, but be
aware that this file includes your source code.
Either way, you should probably delete the file so it doesn't use unnecessary disk space.
```