Repository: flutter
Issue: Mac_arm64_ios hot_mode_dev_cycle_ios__benchmark errors on hot restart/hot reload
Labels: tool,P2,c: flake,team-tool,triaged-tool,dependency:dart-triaged

https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_arm64_ios%20hot_mode_dev_cycle_ios__benchmark/44/overview
https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_arm64_ios%20hot_mode_dev_cycle_ios__benchmark/57/overview
https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_arm64_ios%20hot_mode_dev_cycle_ios__benchmark/27/overview
https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_arm64_ios%20hot_mode_dev_cycle_ios__benchmark/23/overview
https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_arm64_ios%20hot_mode_dev_cycle_ios__benchmark/12/overview

```
 [2024-01-26 05:50:06.761587] [STDOUT] stdout: [        ] Performing hot restart...
 [2024-01-26 05:50:06.771117] [STDOUT] stdout: [   +9 ms] Scanned through 728 files in 8ms
 [2024-01-26 05:50:06.771208] [STDOUT] stdout: [        ] Syncing files to device swarming’s iPhone...
 [2024-01-26 05:50:06.772572] [STDOUT] stdout: [   +1 ms] <- reset
 [2024-01-26 05:50:06.772621] [STDOUT] stdout: [        ] Compiling dart to kernel with 1 updated files
 [2024-01-26 05:50:06.772657] [STDOUT] stdout: [        ] Processing bundle.
 [2024-01-26 05:50:06.772754] [STDOUT] stdout: [        ] <- recompile package:flutter_gallery/main.dart 369c601b-9e95-46fa-8539-43fbf355cd80
 [2024-01-26 05:50:06.772840] [STDOUT] stdout: [        ] file:///opt/s/w/ir/x/t/edited_flutter_gallery/.dart_tool/flutter_build/dart_plugin_registrant.dart
 [2024-01-26 05:50:06.772854] [STDOUT] stdout: [        ] <- 369c601b-9e95-46fa-8539-43fbf355cd80
 [2024-01-26 05:50:06.774174] [STDOUT] stdout: [   +1 ms] Bundle processing done.
 [2024-01-26 05:50:06.804430] [STDOUT] stdout: [  +30 ms] Updating files.
 [2024-01-26 05:50:07.164176] [STDOUT] stderr: ERROR - 2024-01-26 05:50:07.163999
 [2024-01-26 05:50:07.164218] [STDOUT] stderr: PUT /cvAGasOHVbU=/
 [2024-01-26 05:50:07.164229] [STDOUT] stderr: Error thrown by handler.
 [2024-01-26 05:50:07.164237] [STDOUT] stderr: Connection reset by peer
 [2024-01-26 05:50:07.167345] [STDOUT] stderr: package:shelf/shelf_io.dart 138:16  handleRequest
 [2024-01-26 05:50:07.167363] [STDOUT] stderr: 
 [2024-01-26 05:50:07.169786] [STDOUT] stdout: [ +365 ms] DevFS: Sync finished
 [2024-01-26 05:50:07.169830] [STDOUT] stdout: [        ] Syncing files to device swarming’s iPhone... (completed in 398ms)
 [2024-01-26 05:50:07.169927] [STDOUT] stdout: [        ] Synced 40.5MB.
 [2024-01-26 05:50:07.170006] [STDOUT] stdout: [        ] <- accept
 [2024-01-26 05:50:07.200064] [STDOUT] stdout: [  +30 ms] [ERROR:flutter/shell/common/shell.cc(117)] Dart Error: Can't load Kernel binary: Invalid kernel binary: Indicated size is invalid.
 [2024-01-26 05:50:07.200129] [STDOUT] stdout: [        ] [ERROR:flutter/runtime/dart_isolate.cc(144)] Could not prepare isolate.
 [2024-01-26 05:50:07.202566] [STDOUT] stdout: [   +2 ms] Performing hot restart... (completed in 440ms)
 [2024-01-26 05:50:07.202612] [STDOUT] stdout: [        ] Restarted application in 507ms.
 [2024-01-26 05:50:07.223161] [STDOUT] stdout: [  +20 ms] [ERROR:flutter/runtime/runtime_controller.cc(462)] Could not create root isolate.
 [2024-01-26 05:50:17.207130] [STDOUT] stdout: [+9983 ms] Benchmarking hot reload
 [2024-01-26 05:50:17.209449] [STDOUT] stdout: [   +2 ms] Skipping target: gen_localizations
 [2024-01-26 05:50:17.210670] [STDOUT] stdout: [   +1 ms] Skipping target: gen_dart_plugin_registrant
 [2024-01-26 05:50:17.210843] [STDOUT] stdout: [        ] Skipping target: _composite
 [2024-01-26 05:50:17.210992] [STDOUT] stdout: [        ] complete
 [2024-01-26 05:50:17.212366] [STDOUT] stdout: [   +1 ms] Performing hot reload...
 [2024-01-26 05:50:17.239280] [STDOUT] stdout: [  +26 ms] Scanned through 728 files in 18ms
 [2024-01-26 05:50:17.239584] [STDOUT] stdout: [        ] Syncing files to device swarming’s iPhone...
 [2024-01-26 05:50:17.243269] [STDOUT] stdout: [   +3 ms] Compiling dart to kernel with 0 updated files
 [2024-01-26 05:50:17.243387] [STDOUT] stdout: [        ] Processing bundle.
 [2024-01-26 05:50:17.243587] [STDOUT] stdout: [        ] <- recompile package:flutter_gallery/main.dart 03b92394-653e-4781-9d77-a8ea64667fb4
 [2024-01-26 05:50:17.243665] [STDOUT] stdout: [        ] <- 03b92394-653e-4781-9d77-a8ea64667fb4
 [2024-01-26 05:50:17.246260] [STDOUT] stdout: [   +2 ms] Bundle processing done.
 [2024-01-26 05:50:17.257259] [STDOUT] stdout: [  +10 ms] Updating files.
 [2024-01-26 05:50:17.294994] [STDOUT] stdout: [  +37 ms] DevFS: Sync finished
 [2024-01-26 05:50:17.295093] [STDOUT] stdout: [        ] Syncing files to device swarming’s iPhone... (completed in 55ms)
 [2024-01-26 05:50:17.295126] [STDOUT] stdout: [        ] Synced 0.0MB.
 [2024-01-26 05:50:17.299998] [STDOUT] stdout: [   +4 ms] Reassembling application
 [2024-01-26 05:50:17.302670] [STDOUT] stderr: [   +2 ms] Reassembling main.dart$main-7718724522450007 failed: [Sentinel kind: Collected, valueAsString: <collected>] from ext.flutter.reassemble()
 [2024-01-26 05:50:17.302699] [STDOUT] stderr:            #0      new _OutstandingRequest (package:vm_service/src/vm_service.dart:265:34)
 [2024-01-26 05:50:17.302722] [STDOUT] stderr:            #1      VmService._call.<anonymous closure> (package:vm_service/src/vm_service.dart:1771:25)
 [2024-01-26 05:50:17.302741] [STDOUT] stderr:            #2      VmService._call (package:vm_service/src/vm_service.dart:1783:8)
 [2024-01-26 05:50:17.302759] [STDOUT] stderr:            #3      VmService.callServiceExtension (package:vm_service/src/vm_service.dart:1733:14)
 [2024-01-26 05:50:17.302777] [STDOUT] stderr:            #4      FlutterVmService._checkedCallServiceExtension (package:flutter_tools/src/vmservice.dart:868:28)
 [2024-01-26 05:50:17.302796] [STDOUT] stderr:            #5      FlutterVmService.invokeFlutterExtensionRpcRaw (package:flutter_tools/src/vmservice.dart:887:49)
 [2024-01-26 05:50:17.302814] [STDOUT] stderr:            #6      FlutterVmService.flutterReassemble (package:flutter_tools/src/vmservice.dart:728:12)
 [2024-01-26 05:50:17.302833] [STDOUT] stderr:            #7      _defaultReassembleHelper (package:flutter_tools/src/run_hot.dart:1450:63)
 [2024-01-26 05:50:17.302851] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.302869] [STDOUT] stderr:            #8      HotRunner._reloadSources (package:flutter_tools/src/run_hot.dart:1060:47)
 [2024-01-26 05:50:17.302886] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.302904] [STDOUT] stderr:            #9      HotRunner._hotReloadHelper (package:flutter_tools/src/run_hot.dart:928:16)
 [2024-01-26 05:50:17.302921] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.302938] [STDOUT] stderr:            #10     HotRunner.restart (package:flutter_tools/src/run_hot.dart:802:36)
 [2024-01-26 05:50:17.302955] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.302973] [STDOUT] stderr:            #11     HotRunner.attach (package:flutter_tools/src/run_hot.dart:345:7)
 [2024-01-26 05:50:17.302990] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303007] [STDOUT] stderr:            #12     RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:806:27)
 [2024-01-26 05:50:17.303025] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303043] [STDOUT] stderr:            #13     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1398:27)
 [2024-01-26 05:50:17.303061] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303078] [STDOUT] stderr:            #14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
 [2024-01-26 05:50:17.303097] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303115] [STDOUT] stderr:            #15     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
 [2024-01-26 05:50:17.303132] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303151] [STDOUT] stderr:            #16     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
 [2024-01-26 05:50:17.303169] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303186] [STDOUT] stderr:            #17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
 [2024-01-26 05:50:17.303204] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303222] [STDOUT] stderr:            #18     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:295:5)
 [2024-01-26 05:50:17.303240] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303257] [STDOUT] stderr:            #19     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:119:9)
 [2024-01-26 05:50:17.303274] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303292] [STDOUT] stderr:            #20     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
 [2024-01-26 05:50:17.303310] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303327] [STDOUT] stderr:            #21     main (package:flutter_tools/executable.dart:90:3)
 [2024-01-26 05:50:17.303344] [STDOUT] stderr:            <asynchronous suspension>
 [2024-01-26 05:50:17.303361] [STDOUT] stderr: 
 [2024-01-26 05:50:17.303389] [STDOUT] stdout: [        ] Hot reload performed in 82ms.
 [2024-01-26 05:50:17.303408] [STDOUT] stdout: [        ] Performing hot reload... (completed in 90ms)
 [2024-01-26 05:59:11.109378] [STDOUT] stdout: [+533817 ms] mDNS query failed. Checking for an interface with a ipv4 link local address.
 [2024-01-26 05:59:11.112165] [STDOUT] stdout: [   +3 ms] Found interface "en8":
 [2024-01-26 05:59:11.112512] [STDOUT] stdout: [        ] 	Bound address: "169.254.225.205" link local
 [2024-01-26 05:59:11.112573] [STDOUT] stdout: [        ] Found interface "en0":
 [2024-01-26 05:59:11.112633] [STDOUT] stdout: [        ] 	Bound address: "100.91.177.53" 
 [2024-01-26 05:59:11.112829] [STDOUT] stdout: [        ] An interface with an ipv4 link local address was found.
 ```