Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pub test is failing on dev channel #24825

Closed
whesse opened this issue Nov 4, 2015 · 1 comment
Closed

Pub test is failing on dev channel #24825

whesse opened this issue Nov 4, 2015 · 1 comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures
Milestone

Comments

@whesse
Copy link
Contributor

whesse commented Nov 4, 2015

The pub test dart2js/supports_valid_options_test.dart is failing on the dev channel, but not on bleeding edge. We need to know if this is an important failure, and if we need to fix it before releasing 1.13 stable. @nex3 @munificent @mit-mit @kevmoo @sethladd

The command to reproduce it (if you build -mrelease 64-bit) is:

out/ReleaseX64/dart --package-root=out/ReleaseX64/packages third_party/pkg/pub/test/dart2js/supports_valid_options_test.dart

The error is:

00:00 +0: supports most dart2js command-line options
00:04 +0 -1: supports most dart2js command-line options
  The schedule had 1 errors:
  ScheduleError:
  | Expected: <200>
  |   Actual: <404>

  Stack chain:
  | package:test/src/frontend/expect.dart 63:30                             fail
  | package:test/src/frontend/expect.dart 58:3                              expect
  | third_party/pkg/pub/test/serve/utils.dart 251:5                         requestShouldSucceed.<fn>
  | ===== asynchronous gap ===========================
  | dart:async                                                              _Future.then
  | third_party/pkg/pub/test/serve/utils.dart 250:40                        requestShouldSucceed
  | third_party/pkg/pub/test/dart2js/supports_valid_options_test.dart 41:5  main.<fn>
  | third_party/pkg/pub/test/test_pub.dart 396:9                            _integration.<fn>
  | package:scheduled_test/scheduled_test.dart 68:27                        test.<fn>.<fn>
  | package:scheduled_test/src/schedule.dart 85:16                          Schedule.run.<fn>.<fn>
  | dart:async                                                              runZoned
  | package:scheduled_test/src/schedule.dart 83:14                          Schedule.run.<fn>
  | dart:async                                                              Future.Future.sync
  | package:test/src/backend/invoker.dart 155:11                            Invoker.waitForOutstandingCallbacks.<fn>
  | dart:async                                                              runZoned
  | package:test/src/backend/invoker.dart 152:5                             Invoker.waitForOutstandingCallbacks
  | package:scheduled_test/src/schedule.dart 82:28                          Schedule.run
  | package:scheduled_test/scheduled_test.dart 66:28                        test.<fn>
  | package:test/src/backend/declarer.dart 48:47                            Declarer.test.<fn>.<fn>
  | ===== asynchronous gap ===========================
  | dart:async                                                              _Future.then
  | package:test/src/backend/declarer.dart 48:31                            Declarer.test.<fn>
  | ===== asynchronous gap ===========================
  | dart:async                                                              Future.Future
  | package:test/src/backend/invoker.dart 226:13                            Invoker._onRun.<fn>.<fn>
  | dart:async                                                              runZoned
  | package:test/src/utils.dart 160:12                                      runZonedWithValues.<fn>
  | dart:async                                                              runZoned
  | package:test/src/utils.dart 159:10                                      runZonedWithValues
  | package:test/src/backend/invoker.dart 217:7                             Invoker._onRun.<fn>
  | package:stack_trace                                                     Chain.capture
  | package:test/src/backend/invoker.dart 216:11                            Invoker._onRun
  | package:test/src/backend/live_test_controller.dart 167:11               LiveTestController._run
  | package:test/src/backend/live_test_controller.dart 38:31                _LiveTest.run

  Error detected during task in queue "tasks":
  * creating directory:
  | myapp
  | |-- async descriptor
  | '-- web
  |     '-- main.dart
  * ensuring myapp exists
  * #2
  * starting process 'pub get'
  * waiting for process 'pub get' to exit
  * creating directory:
  | myapp
  | '-- web
  * ensuring myapp exists
  * #7
  * starting process 'pub serve'
  * stream emits a string starting with 'Loading source assets...'
  * stream emits any number of match 'Loading .* transformers...'
  * stream emits satisfies function
  * stream emits any number of emits server url
  * #13
  * request main.dart.js
  > waiting for process 'pub serve' to die
  | 
  | Stack chain:
  | | package:scheduled_test/src/task.dart 74:26                              Task.Task._
  | | package:scheduled_test/src/task.dart 67:9                               Task.Task
  | | package:scheduled_test/src/schedule.dart 236:20                         TaskQueue.schedule
  | | package:scheduled_test/scheduled_test.dart 119:25                       schedule
  | | package:scheduled_test/scheduled_process.dart 303:5                     ScheduledProcess.kill
  | | third_party/pkg/pub/test/serve/utils.dart 230:14                        endPubServe
  | | third_party/pkg/pub/test/dart2js/supports_valid_options_test.dart 42:5  main.<fn>
  | | third_party/pkg/pub/test/test_pub.dart 396:9                            _integration.<fn>
  | | package:scheduled_test/scheduled_test.dart 68:27                        test.<fn>.<fn>
  | | package:scheduled_test/src/schedule.dart 85:16                          Schedule.run.<fn>.<fn>
  | | dart:async                                                              runZoned
  | | package:scheduled_test/src/schedule.dart 83:14                          Schedule.run.<fn>
  | | dart:async                                                              Future.Future.sync
  | | package:test/src/backend/invoker.dart 155:11                            Invoker.waitForOutstandingCallbacks.<fn>
  | | dart:async                                                              runZoned
  | | package:test/src/backend/invoker.dart 152:5                             Invoker.waitForOutstandingCallbacks
  | | package:scheduled_test/src/schedule.dart 82:28                          Schedule.run
  | | package:scheduled_test/scheduled_test.dart 66:28                        test.<fn>
  | | package:test/src/backend/declarer.dart 48:47                            Declarer.test.<fn>.<fn>
  | | ===== asynchronous gap ===========================
  | | dart:async                                                              _Future.then
  | | package:test/src/backend/declarer.dart 48:31                            Declarer.test.<fn>
  | | ===== asynchronous gap ===========================
  | | dart:async                                                              Future.Future
  | | package:test/src/backend/invoker.dart 226:13                            Invoker._onRun.<fn>.<fn>
  | | dart:async                                                              runZoned
  | | package:test/src/utils.dart 160:12                                      runZonedWithValues.<fn>
  | | dart:async                                                              runZoned
  | | package:test/src/utils.dart 159:10                                      runZonedWithValues
  | | package:test/src/backend/invoker.dart 217:7                             Invoker._onRun.<fn>
  | | package:stack_trace                                                     Chain.capture
  | | package:test/src/backend/invoker.dart 216:11                            Invoker._onRun
  | | package:test/src/backend/live_test_controller.dart 167:11               LiveTestController._run
  | | package:test/src/backend/live_test_controller.dart 38:31                _LiveTest.run
  ================================================================================

  Debug info:
  Results of running 'pub get':
  Process exited with exit code 0.
  Standard output:
  | MSG : Resolving dependencies...
  | MSG : Got dependencies!
  Standard error:
  | FINE: Pub 0.1.2+3
  | SLVR: Solving dependencies:
  | SLVR: * start at root
  | SLVR: BacktrackingSolver took 0:00:00.070638 seconds.
  |     | - Requested 0 version lists
  |     | - Looked up 0 cached version lists
  |     | - Requested 0 pubspecs
  |     | - Looked up 1 cached pubspecs
  |     | 
  | FINE: Resolving dependencies finished (0.081s).
  | IO  : Writing 89 characters to text file ./pubspec.lock.
  | FINE: Contents:
  |     | # Generated by pub
  |     | # See http://pub.dartlang.org/doc/glossary.html#lockfile
  |     | packages: {}
  | FINE: Creating ./web/packages pointing to ../packages
  | IO  : Writing 58 characters to text file ./.packages.
  | FINE: Contents:
  |     | # Generated by pub on 2015-11-04 13:10:13.112.
  |     | myapp:lib/
  ================================================================================
  Results of running 'pub serve':
  Process was killed prematurely.
  Standard output:
  | MSG : Loading source assets...
  | MSG : Running admin server on http://localhost:59447
  | MSG : Serving myapp web on http://localhost:36776
  | MSG : Build completed successfully
  | MSG : [Info from Dart2JS]:
  |     | Compiling myapp|web/main.dart...
  | The compiler is broken.
  | 
  | When compiling the above element, the compiler crashed. It is not
  | possible to tell if this is caused by a problem in your program or
  | not. Regardless, the compiler should not crash.
  | 
  | The Dart team would greatly appreciate if you would take a moment to
  | report this problem at http://dartbug.com/new.
  | 
  | Please include the following information:
  | 
  | * the name and version of your operating system,
  | 
  | * the Dart SDK build number (build number could not be determined), and
  | 
  | * the entire message you see here (including the full stack trace
  |   below as well as the source location above).
  | 
  | MSG : Build completed with 2 errors.
  Standard error:
  | FINE: Pub 0.1.2+3
  | FINE: Loading asset environment...
  | FINE: Initializing barback...
  | FINE: Serving packages on localhost:0.
  | FINE: Providing sources for myapp|lib.
  | FINE: Loading source assets finished (0.004s).
  | FINE: Provided sources.
  | FINE: Loading transformers...
  | FINE: Transformer dependencies:
  | FINE: Loading transformers finished (0.016s).
  | FINE: Initializing barback finished (0.055s).
  | FINE: Loading asset environment finished (0.078s).
  | FINE: Bound admin server to localhost:0.
  | FINE: Providing sources for myapp|web.
  | FINE: Bound "web" to localhost:0.
  | ERR : [Error from Dart2JS on myapp|web/main.dart]:
  |     | web/packages/$sdk/lib/core/annotations.dart:70:9:
  |     | The compiler crashed when compiling this element.
  |     |   const Deprecated(String expires) : this.expires = expires;
  |     |         ^^^^^^^^^^
  | ERR : Build error:
  |     | Transform Dart2JS on myapp|web/main.dart threw error: The null object does not have a method 'substByContext'.
  |     | 
  |     | NoSuchMethodError: method not found: 'substByContext'
  |     | Receiver: null
  |     | Arguments: [Instance of 'InterfaceType']
  |     | dart:core                                                                           Object.noSuchMethod
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1066:43                ConstructorEvaluator.potentiallyCheckType
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1082:5                 ConstructorEvaluator.updateFieldValue
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1162:11                ConstructorEvaluator.evaluateConstructorInitializers
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1199:7                 ConstructorEvaluator.evaluateConstructorFieldValues.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1197:14                ConstructorEvaluator.evaluateConstructorFieldValues
  |     | package:compiler_unsupported/src/compile_time_constants.dart 996:15                 CompileTimeConstantEvaluator.makeConstructedConstant
  |     | package:compiler_unsupported/src/compile_time_constants.dart 868:14                 CompileTimeConstantEvaluator.createConstructorInvocation
  |     | package:compiler_unsupported/src/compile_time_constants.dart 811:12                 CompileTimeConstantEvaluator.visitNewExpression
  |     | package:compiler_unsupported/src/tree/nodes.dart 531:38                             NewExpression.accept
  |     | package:compiler_unsupported/src/compile_time_constants.dart 376:17                 CompileTimeConstantEvaluator.evaluate
  |     | package:compiler_unsupported/src/compile_time_constants.dart 296:38                 ConstantCompilerBase.compileNodeWithDefinitions
  |     | package:compiler_unsupported/src/compile_time_constants.dart 346:41                 DartConstantCompiler.compileNodeWithDefinitions
  |     | package:compiler_unsupported/src/compile_time_constants.dart 315:12                 ConstantCompilerBase.compileMetadata
  |     | package:compiler_unsupported/src/js_backend/constant_handler_javascript.dart 85:32  JavaScriptConstantTask.compileMetadata.<fn>
  |     | package:compiler_unsupported/src/common/tasks.dart 63:20                            CompilerTask.measure
  |     | package:compiler_unsupported/src/js_backend/constant_handler_javascript.dart 83:12  JavaScriptConstantTask.compileMetadata
  |     | package:compiler_unsupported/src/resolution/resolution.dart 1040:28                 ResolverTask.resolveMetadataAnnotation.<fn>.<fn>
  |     | package:compiler_unsupported/src/common/tasks.dart 57:49                            CompilerTask.measure
  |     | package:compiler_unsupported/src/resolution/resolution.dart 1019:68                 ResolverTask.resolveMetadataAnnotation.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/resolution/resolution.dart 1019:14                 ResolverTask.resolveMetadataAnnotation
  |     | package:compiler_unsupported/src/compiler.dart 1962:23                              _CompilerResolution.resolveMetadataAnnotation
  |     | package:compiler_unsupported/src/elements/modelx.dart 3114:18                       MetadataAnnotationX.ensureResolved
  |     | package:compiler_unsupported/src/resolution/resolution.dart 628:16                  ResolverTask._postProcessClassElement
  |     | package:compiler_unsupported/src/resolution/resolution.dart 545:15                  ResolverTask._resolveTypeDeclaration.<fn>.<fn>
  |     | package:compiler_unsupported/src/common/tasks.dart 63:20                            CompilerTask.measure
  |     | package:compiler_unsupported/src/resolution/resolution.dart 534:14                  ResolverTask._resolveTypeDeclaration.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/resolution/resolution.dart 533:21                  ResolverTask._resolveTypeDeclaration
  |     | package:compiler_unsupported/src/resolution/resolution.dart 570:12                  ResolverTask.resolveClass
  |     | package:compiler_unsupported/src/compiler.dart 1952:23                              _CompilerResolution.resolveClass
  |     | package:compiler_unsupported/src/elements/modelx.dart 2628:18                       BaseClassElementX.ensureResolved
  |     | package:compiler_unsupported/src/elements/modelx.dart 3111:23                       MetadataAnnotationX.ensureResolved
  |     | package:compiler_unsupported/src/patch_parser.dart 413:22                           EagerAnnotationHandler.checkAnnotation.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/enqueue.dart 946:16                                ResolutionEnqueuer.emptyDeferredTaskQueue
  |     | package:compiler_unsupported/src/enqueue.dart 939:5                                 ResolutionEnqueuer.onQueueEmpty
  |     | package:compiler_unsupported/src/enqueue.dart 773:12                                Enqueuer.forEach
  |     | package:compiler_unsupported/src/compiler.dart 1098:11                              Compiler.emptyQueue
  |     | package:compiler_unsupported/src/compiler.dart 1126:5                               Compiler.processQueue
  |     | package:compiler_unsupported/src/compiler.dart 996:5                                Compiler.compileLoadedLibraries
  |     | package:compiler_unsupported/src/compiler.dart 869:7                                Compiler.runCompiler.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:compiler_unsupported/src/compiler.dart 868:8                                Compiler.runCompiler
  |     | package:compiler_unsupported/src/compiler.dart 558:34                               Compiler.run.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:compiler_unsupported/src/compiler.dart 558:16                               Compiler.run
  |     | package:compiler_unsupported/src/apiimpl.dart 472:23                                Compiler.run.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:compiler_unsupported/src/apiimpl.dart 469:31                                Compiler.run
  |     | package:compiler_unsupported/compiler_new.dart 181:19                               compile
  |     | package:compiler_unsupported/compiler.dart 133:10                                   compile
  |     | package:pub/src/dart.dart 108:9                                                     compile.<async>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          Future.Future.microtask
  |     | package:pub/src/dart.dart                                                           compile
  |     | package:pub/src/barback/dart2js_transformer.dart 133:12                             Dart2JSTransformer._doCompilation
  |     | package:pub/src/barback/dart2js_transformer.dart 81:16                              Dart2JSTransformer.apply.<fn>.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:pool/pool.dart 91:25                                                        Pool.withResource.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pool/pool.dart 90:22                                                        Pool.withResource
  |     | package:pub/src/barback/dart2js_transformer.dart 78:20                              Dart2JSTransformer.apply.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pub/src/barback/dart2js_transformer.dart 74:50                              Dart2JSTransformer.apply
  |     | package:barback/src/transformer/wrapping_aggregate_transformer.dart 53:42           WrappingAggregateTransformer.apply.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:barback/src/transformer/wrapping_aggregate_transformer.dart 53:10           WrappingAggregateTransformer.apply
  |     | package:barback/src/graph/transform_node.dart 671:26                                TransformNode._runApply.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:barback/src/utils.dart 244:50                                               syncFuture
  |     | package:barback/src/graph/transform_node.dart 646:12                                TransformNode._runApply
  |     | package:barback/src/graph/transform_node.dart 534:5                                 TransformNode._apply
  |     | package:barback/src/graph/transform_node.dart 283:36                                TransformNode.force
  |     | package:barback/src/asset/asset_node.dart 143:20                                    AssetNode.force
  |     | package:barback/src/asset/asset_node.dart 141:15                                    AssetNode.force
  |     | package:barback/src/graph/phase.dart 218:16                                         Phase.getOutput.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:barback/src/utils.dart 244:50                                               syncFuture
  |     | package:barback/src/graph/phase.dart 208:12                                         Phase.getOutput
  |     | package:barback/src/graph/asset_cascade.dart 116:25                                 AssetCascade.getAssetNode
  |     | package:barback/src/graph/package_graph.dart 132:43                                 PackageGraph.getAssetNode.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:barback/src/utils.dart 244:50                                               syncFuture
  |     | package:barback/src/graph/package_graph.dart 280:7                                  PackageGraph._inErrorZone.<fn>
  |     | dart:async                                                                          runZoned
  |     | package:barback/src/graph/package_graph.dart 279:5                                  PackageGraph._inErrorZone
  |     | package:barback/src/graph/package_graph.dart 130:12                                 PackageGraph.getAssetNode
  |     | package:barback/src/barback.dart 83:19                                              Barback.getAssetById
  |     | package:pub/src/barback/barback_server.dart 116:32                                  BarbackServer.handleRequest
  |     | package:shelf/src/middleware.dart 71:50                                             createMiddleware.<fn>.<fn>.<fn>.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:shelf/src/middleware.dart 71:20                                             createMiddleware.<fn>.<fn>.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:shelf/src/middleware.dart 68:61                                             createMiddleware.<fn>.<fn>
  |     | package:shelf/shelf_io.dart 72:39                                                   handleRequest.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:shelf/shelf_io.dart 72:14                                                   handleRequest
  |     | package:shelf/shelf_io.dart 52:34                                                   serveRequests.<fn>.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          StreamView.listen
  |     | package:shelf/shelf_io.dart 52:14                                                   serveRequests.<fn>
  |     | package:shelf/src/util.dart 22:20                                                   catchTopLevelErrors
  |     | package:shelf/shelf_io.dart 51:3                                                    serveRequests
  |     | package:pub/src/barback/base_server.dart 45:5                                       BaseServer.BaseServer
  |     | package:pub/src/barback/barback_server.dart 69:9                                    BarbackServer.BarbackServer._
  |     | package:pub/src/barback/barback_server.dart 63:18                                   BarbackServer.bind.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pub/src/barback/barback_server.dart 57:35                                   BarbackServer.bind
  |     | package:pub/src/barback/source_directory.dart 45:26                                 SourceDirectory.serve
  |     | package:pub/src/barback/asset_environment.dart 239:30                               AssetEnvironment.serveDirectory.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pub/src/barback/asset_environment.dart 237:10                               AssetEnvironment.serveDirectory
  |     | package:pub/src/command/serve.dart 143:36                                           ServeCommand._startServer.<async>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          Future.Future.microtask
  |     | package:pub/src/command/serve.dart                                                  ServeCommand._startServer
  |     | package:pub/src/command/serve.dart 119:13                                           ServeCommand.onRunTransformerCommand.<async>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _asyncThenWrapperHelper
  |     | package:pub/src/command/serve.dart                                                  ServeCommand.onRunTransformerCommand
  |     | package:pub/src/command/barback.dart 58:12                                          BarbackCommand.run
  |     | package:args/command_runner.dart 178:22                                             CommandRunner.runCommand.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:args/command_runner.dart 131:16                                             CommandRunner.runCommand
  |     | package:pub/src/command_runner.dart 130:49                                          PubCommandRunner.runCommand.<async>.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:pub/src/utils.dart 103:9                                                    captureErrors.<fn>
  |     | package:stack_trace                                                                 Chain.capture
  |     | package:pub/src/utils.dart 117:11                                                   captureErrors
  |     | package:pub/src/command_runner.dart 130:13                                          PubCommandRunner.runCommand.<async>
  | FINE: Instance of 'BarbackServer' GET main.dart.js
  |     | Not Found
  | ERR : [web] GET main.dart.js => Could not find asset myapp|web/main.dart.js.
Unhandled exception:
Bad state: No element
#0      Object&ListMixin.single (dart:collection/list.dart:85)
#1      Chain.foldFrames.<anonymous closure> (package:stack_trace/src/chain.dart:163:27)
#2      WhereIterator.moveNext (dart:_internal/iterable.dart:436)
#3      Iterable.isEmpty (dart:core/iterable.dart:375)
#4      Chain.foldFrames (package:stack_trace/src/chain.dart:168:24)
#5      terseChain (package:test/src/utils.dart:105:41)
#6      ExpandedReporter._onError (package:test/src/runner/reporter/expanded.dart:173:19)
#7      ExpandedReporter._onTestStarted.<anonymous closure> (package:test/src/runner/reporter/expanded.dart:141:9)
#8      _rootRunUnary (dart:async/zone.dart:918)
#9      _RootZone.runUnaryGuarded (dart:async/zone.dart:1089)
#10     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#11     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270)
#12     _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:381)
#13     _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:256)
#14     LiveTestController.addError (package:test/src/backend/live_test_controller.dart:137:24)
#15     Invoker._handleError (package:test/src/backend/invoker.dart:195:17)
#16     _rootRunBinary (dart:async/zone.dart:930)
#17     _CustomZone.runBinary (dart:async/zone.dart:818)
#18     runZoned.<anonymous closure> (dart:async/zone.dart:1220)
#19     _CustomZone.handleUncaughtError (dart:async/zone.dart:784)
#20     registerException (package:test/test.dart:184:16)
#21     test.<anonymous closure>.<anonymous closure> (package:scheduled_test/scheduled_test.dart:75:7)
#22     StackZoneSpecification.registerUnaryCallback.<anonymous closure>.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:26)
#23     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
#24     StackZoneSpecification.registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:14)
#25     _rootRunUnary (dart:async/zone.dart:914)
#26     _CustomZone.runUnary (dart:async/zone.dart:810)
#27     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
#28     _Future._propagateToListeners (dart:async/future_impl.dart:585)
#29     _Future._completeWithValue (dart:async/future_impl.dart:376)
#30     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
#31     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
#32     StackZoneSpecification.registerCallba00:00 +0: supports most dart2js command-line options
00:04 +0 -1: supports most dart2js command-line options
  The schedule had 1 errors:
  ScheduleError:
  | Expected: <200>
  |   Actual: <404>

  Stack chain:
  | package:test/src/frontend/expect.dart 63:30                             fail
  | package:test/src/frontend/expect.dart 58:3                              expect
  | third_party/pkg/pub/test/serve/utils.dart 251:5                         requestShouldSucceed.<fn>
  | ===== asynchronous gap ===========================
  | dart:async                                                              _Future.then
  | third_party/pkg/pub/test/serve/utils.dart 250:40                        requestShouldSucceed
  | third_party/pkg/pub/test/dart2js/supports_valid_options_test.dart 41:5  main.<fn>
  | third_party/pkg/pub/test/test_pub.dart 396:9                            _integration.<fn>
  | package:scheduled_test/scheduled_test.dart 68:27                        test.<fn>.<fn>
  | package:scheduled_test/src/schedule.dart 85:16                          Schedule.run.<fn>.<fn>
  | dart:async                                                              runZoned
  | package:scheduled_test/src/schedule.dart 83:14                          Schedule.run.<fn>
  | dart:async                                                              Future.Future.sync
  | package:test/src/backend/invoker.dart 155:11                            Invoker.waitForOutstandingCallbacks.<fn>
  | dart:async                                                              runZoned
  | package:test/src/backend/invoker.dart 152:5                             Invoker.waitForOutstandingCallbacks
  | package:scheduled_test/src/schedule.dart 82:28                          Schedule.run
  | package:scheduled_test/scheduled_test.dart 66:28                        test.<fn>
  | package:test/src/backend/declarer.dart 48:47                            Declarer.test.<fn>.<fn>
  | ===== asynchronous gap ===========================
  | dart:async                                                              _Future.then
  | package:test/src/backend/declarer.dart 48:31                            Declarer.test.<fn>
  | ===== asynchronous gap ===========================
  | dart:async                                                              Future.Future
  | package:test/src/backend/invoker.dart 226:13                            Invoker._onRun.<fn>.<fn>
  | dart:async                                                              runZoned
  | package:test/src/utils.dart 160:12                                      runZonedWithValues.<fn>
  | dart:async                                                              runZoned
  | package:test/src/utils.dart 159:10                                      runZonedWithValues
  | package:test/src/backend/invoker.dart 217:7                             Invoker._onRun.<fn>
  | package:stack_trace                                                     Chain.capture
  | package:test/src/backend/invoker.dart 216:11                            Invoker._onRun
  | package:test/src/backend/live_test_controller.dart 167:11               LiveTestController._run
  | package:test/src/backend/live_test_controller.dart 38:31                _LiveTest.run

  Error detected during task in queue "tasks":
  * creating directory:
  | myapp
  | |-- async descriptor
  | '-- web
  |     '-- main.dart
  * ensuring myapp exists
  * #2
  * starting process 'pub get'
  * waiting for process 'pub get' to exit
  * creating directory:
  | myapp
  | '-- web
  * ensuring myapp exists
  * #7
  * starting process 'pub serve'
  * stream emits a string starting with 'Loading source assets...'
  * stream emits any number of match 'Loading .* transformers...'
  * stream emits satisfies function
  * stream emits any number of emits server url
  * #13
  * request main.dart.js
  > waiting for process 'pub serve' to die
  | 
  | Stack chain:
  | | package:scheduled_test/src/task.dart 74:26                              Task.Task._
  | | package:scheduled_test/src/task.dart 67:9                               Task.Task
  | | package:scheduled_test/src/schedule.dart 236:20                         TaskQueue.schedule
  | | package:scheduled_test/scheduled_test.dart 119:25                       schedule
  | | package:scheduled_test/scheduled_process.dart 303:5                     ScheduledProcess.kill
  | | third_party/pkg/pub/test/serve/utils.dart 230:14                        endPubServe
  | | third_party/pkg/pub/test/dart2js/supports_valid_options_test.dart 42:5  main.<fn>
  | | third_party/pkg/pub/test/test_pub.dart 396:9                            _integration.<fn>
  | | package:scheduled_test/scheduled_test.dart 68:27                        test.<fn>.<fn>
  | | package:scheduled_test/src/schedule.dart 85:16                          Schedule.run.<fn>.<fn>
  | | dart:async                                                              runZoned
  | | package:scheduled_test/src/schedule.dart 83:14                          Schedule.run.<fn>
  | | dart:async                                                              Future.Future.sync
  | | package:test/src/backend/invoker.dart 155:11                            Invoker.waitForOutstandingCallbacks.<fn>
  | | dart:async                                                              runZoned
  | | package:test/src/backend/invoker.dart 152:5                             Invoker.waitForOutstandingCallbacks
  | | package:scheduled_test/src/schedule.dart 82:28                          Schedule.run
  | | package:scheduled_test/scheduled_test.dart 66:28                        test.<fn>
  | | package:test/src/backend/declarer.dart 48:47                            Declarer.test.<fn>.<fn>
  | | ===== asynchronous gap ===========================
  | | dart:async                                                              _Future.then
  | | package:test/src/backend/declarer.dart 48:31                            Declarer.test.<fn>
  | | ===== asynchronous gap ===========================
  | | dart:async                                                              Future.Future
  | | package:test/src/backend/invoker.dart 226:13                            Invoker._onRun.<fn>.<fn>
  | | dart:async                                                              runZoned
  | | package:test/src/utils.dart 160:12                                      runZonedWithValues.<fn>
  | | dart:async                                                              runZoned
  | | package:test/src/utils.dart 159:10                                      runZonedWithValues
  | | package:test/src/backend/invoker.dart 217:7                             Invoker._onRun.<fn>
  | | package:stack_trace                                                     Chain.capture
  | | package:test/src/backend/invoker.dart 216:11                            Invoker._onRun
  | | package:test/src/backend/live_test_controller.dart 167:11               LiveTestController._run
  | | package:test/src/backend/live_test_controller.dart 38:31                _LiveTest.run
  ================================================================================

  Debug info:
  Results of running 'pub get':
  Process exited with exit code 0.
  Standard output:
  | MSG : Resolving dependencies...
  | MSG : Got dependencies!
  Standard error:
  | FINE: Pub 0.1.2+3
  | SLVR: Solving dependencies:
  | SLVR: * start at root
  | SLVR: BacktrackingSolver took 0:00:00.070638 seconds.
  |     | - Requested 0 version lists
  |     | - Looked up 0 cached version lists
  |     | - Requested 0 pubspecs
  |     | - Looked up 1 cached pubspecs
  |     | 
  | FINE: Resolving dependencies finished (0.081s).
  | IO  : Writing 89 characters to text file ./pubspec.lock.
  | FINE: Contents:
  |     | # Generated by pub
  |     | # See http://pub.dartlang.org/doc/glossary.html#lockfile
  |     | packages: {}
  | FINE: Creating ./web/packages pointing to ../packages
  | IO  : Writing 58 characters to text file ./.packages.
  | FINE: Contents:
  |     | # Generated by pub on 2015-11-04 13:10:13.112.
  |     | myapp:lib/
  ================================================================================
  Results of running 'pub serve':
  Process was killed prematurely.
  Standard output:
  | MSG : Loading source assets...
  | MSG : Running admin server on http://localhost:59447
  | MSG : Serving myapp web on http://localhost:36776
  | MSG : Build completed successfully
  | MSG : [Info from Dart2JS]:
  |     | Compiling myapp|web/main.dart...
  | The compiler is broken.
  | 
  | When compiling the above element, the compiler crashed. It is not
  | possible to tell if this is caused by a problem in your program or
  | not. Regardless, the compiler should not crash.
  | 
  | The Dart team would greatly appreciate if you would take a moment to
  | report this problem at http://dartbug.com/new.
  | 
  | Please include the following information:
  | 
  | * the name and version of your operating system,
  | 
  | * the Dart SDK build number (build number could not be determined), and
  | 
  | * the entire message you see here (including the full stack trace
  |   below as well as the source location above).
  | 
  | MSG : Build completed with 2 errors.
  Standard error:
  | FINE: Pub 0.1.2+3
  | FINE: Loading asset environment...
  | FINE: Initializing barback...
  | FINE: Serving packages on localhost:0.
  | FINE: Providing sources for myapp|lib.
  | FINE: Loading source assets finished (0.004s).
  | FINE: Provided sources.
  | FINE: Loading transformers...
  | FINE: Transformer dependencies:
  | FINE: Loading transformers finished (0.016s).
  | FINE: Initializing barback finished (0.055s).
  | FINE: Loading asset environment finished (0.078s).
  | FINE: Bound admin server to localhost:0.
  | FINE: Providing sources for myapp|web.
  | FINE: Bound "web" to localhost:0.
  | ERR : [Error from Dart2JS on myapp|web/main.dart]:
  |     | web/packages/$sdk/lib/core/annotations.dart:70:9:
  |     | The compiler crashed when compiling this element.
  |     |   const Deprecated(String expires) : this.expires = expires;
  |     |         ^^^^^^^^^^
  | ERR : Build error:
  |     | Transform Dart2JS on myapp|web/main.dart threw error: The null object does not have a method 'substByContext'.
  |     | 
  |     | NoSuchMethodError: method not found: 'substByContext'
  |     | Receiver: null
  |     | Arguments: [Instance of 'InterfaceType']
  |     | dart:core                                                                           Object.noSuchMethod
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1066:43                ConstructorEvaluator.potentiallyCheckType
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1082:5                 ConstructorEvaluator.updateFieldValue
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1162:11                ConstructorEvaluator.evaluateConstructorInitializers
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1199:7                 ConstructorEvaluator.evaluateConstructorFieldValues.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/compile_time_constants.dart 1197:14                ConstructorEvaluator.evaluateConstructorFieldValues
  |     | package:compiler_unsupported/src/compile_time_constants.dart 996:15                 CompileTimeConstantEvaluator.makeConstructedConstant
  |     | package:compiler_unsupported/src/compile_time_constants.dart 868:14                 CompileTimeConstantEvaluator.createConstructorInvocation
  |     | package:compiler_unsupported/src/compile_time_constants.dart 811:12                 CompileTimeConstantEvaluator.visitNewExpression
  |     | package:compiler_unsupported/src/tree/nodes.dart 531:38                             NewExpression.accept
  |     | package:compiler_unsupported/src/compile_time_constants.dart 376:17                 CompileTimeConstantEvaluator.evaluate
  |     | package:compiler_unsupported/src/compile_time_constants.dart 296:38                 ConstantCompilerBase.compileNodeWithDefinitions
  |     | package:compiler_unsupported/src/compile_time_constants.dart 346:41                 DartConstantCompiler.compileNodeWithDefinitions
  |     | package:compiler_unsupported/src/compile_time_constants.dart 315:12                 ConstantCompilerBase.compileMetadata
  |     | package:compiler_unsupported/src/js_backend/constant_handler_javascript.dart 85:32  JavaScriptConstantTask.compileMetadata.<fn>
  |     | package:compiler_unsupported/src/common/tasks.dart 63:20                            CompilerTask.measure
  |     | package:compiler_unsupported/src/js_backend/constant_handler_javascript.dart 83:12  JavaScriptConstantTask.compileMetadata
  |     | package:compiler_unsupported/src/resolution/resolution.dart 1040:28                 ResolverTask.resolveMetadataAnnotation.<fn>.<fn>
  |     | package:compiler_unsupported/src/common/tasks.dart 57:49                            CompilerTask.measure
  |     | package:compiler_unsupported/src/resolution/resolution.dart 1019:68                 ResolverTask.resolveMetadataAnnotation.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/resolution/resolution.dart 1019:14                 ResolverTask.resolveMetadataAnnotation
  |     | package:compiler_unsupported/src/compiler.dart 1962:23                              _CompilerResolution.resolveMetadataAnnotation
  |     | package:compiler_unsupported/src/elements/modelx.dart 3114:18                       MetadataAnnotationX.ensureResolved
  |     | package:compiler_unsupported/src/resolution/resolution.dart 628:16                  ResolverTask._postProcessClassElement
  |     | package:compiler_unsupported/src/resolution/resolution.dart 545:15                  ResolverTask._resolveTypeDeclaration.<fn>.<fn>
  |     | package:compiler_unsupported/src/common/tasks.dart 63:20                            CompilerTask.measure
  |     | package:compiler_unsupported/src/resolution/resolution.dart 534:14                  ResolverTask._resolveTypeDeclaration.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/resolution/resolution.dart 533:21                  ResolverTask._resolveTypeDeclaration
  |     | package:compiler_unsupported/src/resolution/resolution.dart 570:12                  ResolverTask.resolveClass
  |     | package:compiler_unsupported/src/compiler.dart 1952:23                              _CompilerResolution.resolveClass
  |     | package:compiler_unsupported/src/elements/modelx.dart 2628:18                       BaseClassElementX.ensureResolved
  |     | package:compiler_unsupported/src/elements/modelx.dart 3111:23                       MetadataAnnotationX.ensureResolved
  |     | package:compiler_unsupported/src/patch_parser.dart 413:22                           EagerAnnotationHandler.checkAnnotation.<fn>
  |     | package:compiler_unsupported/src/compiler.dart 1689:15                              _CompilerDiagnosticReporter.withCurrentElement
  |     | package:compiler_unsupported/src/enqueue.dart 946:16                                ResolutionEnqueuer.emptyDeferredTaskQueue
  |     | package:compiler_unsupported/src/enqueue.dart 939:5                                 ResolutionEnqueuer.onQueueEmpty
  |     | package:compiler_unsupported/src/enqueue.dart 773:12                                Enqueuer.forEach
  |     | package:compiler_unsupported/src/compiler.dart 1098:11                              Compiler.emptyQueue
  |     | package:compiler_unsupported/src/compiler.dart 1126:5                               Compiler.processQueue
  |     | package:compiler_unsupported/src/compiler.dart 996:5                                Compiler.compileLoadedLibraries
  |     | package:compiler_unsupported/src/compiler.dart 869:7                                Compiler.runCompiler.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:compiler_unsupported/src/compiler.dart 868:8                                Compiler.runCompiler
  |     | package:compiler_unsupported/src/compiler.dart 558:34                               Compiler.run.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:compiler_unsupported/src/compiler.dart 558:16                               Compiler.run
  |     | package:compiler_unsupported/src/apiimpl.dart 472:23                                Compiler.run.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:compiler_unsupported/src/apiimpl.dart 469:31                                Compiler.run
  |     | package:compiler_unsupported/compiler_new.dart 181:19                               compile
  |     | package:compiler_unsupported/compiler.dart 133:10                                   compile
  |     | package:pub/src/dart.dart 108:9                                                     compile.<async>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          Future.Future.microtask
  |     | package:pub/src/dart.dart                                                           compile
  |     | package:pub/src/barback/dart2js_transformer.dart 133:12                             Dart2JSTransformer._doCompilation
  |     | package:pub/src/barback/dart2js_transformer.dart 81:16                              Dart2JSTransformer.apply.<fn>.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:pool/pool.dart 91:25                                                        Pool.withResource.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pool/pool.dart 90:22                                                        Pool.withResource
  |     | package:pub/src/barback/dart2js_transformer.dart 78:20                              Dart2JSTransformer.apply.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pub/src/barback/dart2js_transformer.dart 74:50                              Dart2JSTransformer.apply
  |     | package:barback/src/transformer/wrapping_aggregate_transformer.dart 53:42           WrappingAggregateTransformer.apply.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:barback/src/transformer/wrapping_aggregate_transformer.dart 53:10           WrappingAggregateTransformer.apply
  |     | package:barback/src/graph/transform_node.dart 671:26                                TransformNode._runApply.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:barback/src/utils.dart 244:50                                               syncFuture
  |     | package:barback/src/graph/transform_node.dart 646:12                                TransformNode._runApply
  |     | package:barback/src/graph/transform_node.dart 534:5                                 TransformNode._apply
  |     | package:barback/src/graph/transform_node.dart 283:36                                TransformNode.force
  |     | package:barback/src/asset/asset_node.dart 143:20                                    AssetNode.force
  |     | package:barback/src/asset/asset_node.dart 141:15                                    AssetNode.force
  |     | package:barback/src/graph/phase.dart 218:16                                         Phase.getOutput.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:barback/src/utils.dart 244:50                                               syncFuture
  |     | package:barback/src/graph/phase.dart 208:12                                         Phase.getOutput
  |     | package:barback/src/graph/asset_cascade.dart 116:25                                 AssetCascade.getAssetNode
  |     | package:barback/src/graph/package_graph.dart 132:43                                 PackageGraph.getAssetNode.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:barback/src/utils.dart 244:50                                               syncFuture
  |     | package:barback/src/graph/package_graph.dart 280:7                                  PackageGraph._inErrorZone.<fn>
  |     | dart:async                                                                          runZoned
  |     | package:barback/src/graph/package_graph.dart 279:5                                  PackageGraph._inErrorZone
  |     | package:barback/src/graph/package_graph.dart 130:12                                 PackageGraph.getAssetNode
  |     | package:barback/src/barback.dart 83:19                                              Barback.getAssetById
  |     | package:pub/src/barback/barback_server.dart 116:32                                  BarbackServer.handleRequest
  |     | package:shelf/src/middleware.dart 71:50                                             createMiddleware.<fn>.<fn>.<fn>.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:shelf/src/middleware.dart 71:20                                             createMiddleware.<fn>.<fn>.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:shelf/src/middleware.dart 68:61                                             createMiddleware.<fn>.<fn>
  |     | package:shelf/shelf_io.dart 72:39                                                   handleRequest.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:shelf/shelf_io.dart 72:14                                                   handleRequest
  |     | package:shelf/shelf_io.dart 52:34                                                   serveRequests.<fn>.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          StreamView.listen
  |     | package:shelf/shelf_io.dart 52:14                                                   serveRequests.<fn>
  |     | package:shelf/src/util.dart 22:20                                                   catchTopLevelErrors
  |     | package:shelf/shelf_io.dart 51:3                                                    serveRequests
  |     | package:pub/src/barback/base_server.dart 45:5                                       BaseServer.BaseServer
  |     | package:pub/src/barback/barback_server.dart 69:9                                    BarbackServer.BarbackServer._
  |     | package:pub/src/barback/barback_server.dart 63:18                                   BarbackServer.bind.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pub/src/barback/barback_server.dart 57:35                                   BarbackServer.bind
  |     | package:pub/src/barback/source_directory.dart 45:26                                 SourceDirectory.serve
  |     | package:pub/src/barback/asset_environment.dart 239:30                               AssetEnvironment.serveDirectory.<fn>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _Future.then
  |     | package:pub/src/barback/asset_environment.dart 237:10                               AssetEnvironment.serveDirectory
  |     | package:pub/src/command/serve.dart 143:36                                           ServeCommand._startServer.<async>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          Future.Future.microtask
  |     | package:pub/src/command/serve.dart                                                  ServeCommand._startServer
  |     | package:pub/src/command/serve.dart 119:13                                           ServeCommand.onRunTransformerCommand.<async>
  |     | ===== asynchronous gap ===========================
  |     | dart:async                                                                          _asyncThenWrapperHelper
  |     | package:pub/src/command/serve.dart                                                  ServeCommand.onRunTransformerCommand
  |     | package:pub/src/command/barback.dart 58:12                                          BarbackCommand.run
  |     | package:args/command_runner.dart 178:22                                             CommandRunner.runCommand.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:args/command_runner.dart 131:16                                             CommandRunner.runCommand
  |     | package:pub/src/command_runner.dart 130:49                                          PubCommandRunner.runCommand.<async>.<fn>
  |     | dart:async                                                                          Future.Future.sync
  |     | package:pub/src/utils.dart 103:9                                                    captureErrors.<fn>
  |     | package:stack_trace                                                                 Chain.capture
  |     | package:pub/src/utils.dart 117:11                                                   captureErrors
  |     | package:pub/src/command_runner.dart 130:13                                          PubCommandRunner.runCommand.<async>
  | FINE: Instance of 'BarbackServer' GET main.dart.js
  |     | Not Found
  | ERR : [web] GET main.dart.js => Could not find asset myapp|web/main.dart.js.
Unhandled exception:
Bad state: No element
#0      Object&ListMixin.single (dart:collection/list.dart:85)
#1      Chain.foldFrames.<anonymous closure> (package:stack_trace/src/chain.dart:163:27)
#2      WhereIterator.moveNext (dart:_internal/iterable.dart:436)
#3      Iterable.isEmpty (dart:core/iterable.dart:375)
#4      Chain.foldFrames (package:stack_trace/src/chain.dart:168:24)
#5      terseChain (package:test/src/utils.dart:105:41)
#6      ExpandedReporter._onError (package:test/src/runner/reporter/expanded.dart:173:19)
#7      ExpandedReporter._onTestStarted.<anonymous closure> (package:test/src/runner/reporter/expanded.dart:141:9)
#8      _rootRunUnary (dart:async/zone.dart:918)
#9      _RootZone.runUnaryGuarded (dart:async/zone.dart:1089)
#10     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#11     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270)
#12     _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:381)
#13     _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:256)
#14     LiveTestController.addError (package:test/src/backend/live_test_controller.dart:137:24)
#15     Invoker._handleError (package:test/src/backend/invoker.dart:195:17)
#16     _rootRunBinary (dart:async/zone.dart:930)
#17     _CustomZone.runBinary (dart:async/zone.dart:818)
#18     runZoned.<anonymous closure> (dart:async/zone.dart:1220)
#19     _CustomZone.handleUncaughtError (dart:async/zone.dart:784)
#20     registerException (package:test/test.dart:184:16)
#21     test.<anonymous closure>.<anonymous closure> (package:scheduled_test/scheduled_test.dart:75:7)
#22     StackZoneSpecification.registerUnaryCallback.<anonymous closure>.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:26)
#23     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
#24     StackZoneSpecification.registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:14)
#25     _rootRunUnary (dart:async/zone.dart:914)
#26     _CustomZone.runUnary (dart:async/zone.dart:810)
#27     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
#28     _Future._propagateToListeners (dart:async/future_impl.dart:585)
#29     _Future._completeWithValue (dart:async/future_impl.dart:376)
#30     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
#31     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
#32     StackZoneSpecification.registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:48)
#33     _rootRun (dart:async/zone.dart:907)
#34     _CustomZone.run (dart:async/zone.dart:802)
#35     _CustomZone.runGuarded (dart:async/zone.dart:708)
#36     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
#37     _microtaskLoop (dart:async/schedule_microtask.dart:43)
#38     _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#39     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#40     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
ck.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:48)
#33     _rootRun (dart:async/zone.dart:907)
#34     _CustomZone.run (dart:async/zone.dart:802)
#35     _CustomZone.runGuarded (dart:async/zone.dart:708)
#36     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
#37     _microtaskLoop (dart:async/schedule_microtask.dart:43)
#38     _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#39     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#40     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
@whesse whesse added Type-Defect P0 A serious issue requiring immediate resolution labels Nov 4, 2015
@whesse whesse added this to the 1.13 milestone Nov 4, 2015
@whesse whesse added P1 A high priority bug; for example, a single project is unusable or has many test failures and removed P0 A serious issue requiring immediate resolution labels Nov 4, 2015
@whesse
Copy link
Contributor Author

whesse commented Nov 4, 2015

The error does not occur on bleeding-edge.
The error has been occurring on dev channel for a month. It started on Oct 7, when we did a full push of bleeding-edge to 1.13.0-dev.6.0.

It looks like this error was fixed by commit a4bfe1f about 15 days ago.
The commit is very simple, and just fixes this error, so I will file a mergeToDev request for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

1 participant