Skip to content

Instantly share code, notes, and snippets.

@munificent
Created September 3, 2015 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save munificent/12336bc4d9d1abee5bde to your computer and use it in GitHub Desktop.
Save munificent/12336bc4d9d1abee5bde to your computer and use it in GitHub Desktop.
Pub test errors
~/dev/dart/sdk/third_party/pkg/pub ((1c08b84...)) → ../../../xcodebuild/ReleaseIA32/dart-sdk/bin/dart --package-root=../../../xcodebuild/ReleaseIA32/packages/ ../test/bin/test.dart --package-root=../../../xcodebuild/ReleaseIA32/packages/
00:22 +39 -1: test/build/copies_browser_js_next_to_entrypoints_test.dart: compiles dart.js and interop.js next to entrypoints
The schedule had 2 errors:
ScheduleError:
| Expected: match 'Got dependencies!|Changed \d+ dependenc(y|ies)!'
| Actual: 'Resolving dependencies...'
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/test_pub.dart 331:3 pubCommand
| test/test_pub.dart 335:3 pubGet
| test/build/copies_browser_js_next_to_entrypoints_test.dart 35:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| | |-- browser
| | '-- browser
| | '-- versions
| | '-- 1.0.0
| '-- packages
| '-- browser
| '-- versions
| '-- 1.0.0.tar.gz
| |-- pubspec.yaml
| '-- lib
| |-- dart.js
| '-- interop.js
* creating directory:
| myapp
| |-- async descriptor
| |-- foo
| | |-- file.dart
| | '-- subdir
| | '-- subfile.dart
| '-- web
| |-- file.dart
| '-- subweb
| '-- subfile.dart
* ensuring myapp exists
* #3
* starting process 'pub get'
> waiting for process 'pub get' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/test_pub.dart 331:3 pubCommand
| | test/test_pub.dart 335:3 pubGet
| | test/build/copies_browser_js_next_to_entrypoints_test.dart 35:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* ensuring myapp exists
* #7
* starting process 'pub build'
* waiting for process 'pub build' to exit
* validating directory:
| myapp
| '-- build
| |-- foo
| | |-- file.dart.js
| | |-- packages
| | | '-- browser
| | | |-- dart.js
| | | '-- interop.js
| | '-- subdir
| | |-- packages
| | | '-- browser
| | | |-- dart.js
| | | '-- interop.js
| | '-- subfile.dart.js
| '-- web
| |-- file.dart.js
| |-- packages
| | '-- browser
| | |-- dart.js
| | '-- interop.js
| '-- subweb
| |-- packages
| | '-- browser
| | |-- dart.js
| | '-- interop.js
| '-- subfile.dart.js
================================================================================
ScheduleError:
| Expected: match 'Built 12 files to "build".'
| Actual: ''
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/build/copies_browser_js_next_to_entrypoints_test.dart 37:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up process 'pub get'
> cleaning up process 'pub build'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/build/copies_browser_js_next_to_entrypoints_test.dart 37:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* clearing the port completer
* #4
================================================================================
Debug info:
Results of running 'pub get':
Process was killed prematurely.
Standard output:
| MSG : Resolving dependencies...
Standard error:
| FINE: Pub 0.1.2+3
| SLVR: Solving dependencies:
| | - browser 1.0.0 from hosted (browser)
| IO : Get versions from http://localhost:55317/api/packages/browser.
| FINE: HTTP GET http://localhost:55317/api/packages/browser
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55317/api/packages/browser
| | took 0:00:00.108088
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:30 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55317.
| |
| | package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/solver/version_solver.dart 238:31 PubspecCache.getVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55317.
| |
| | package:pub/src/solver/version_solver.dart 246:7 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/solver/version_solver.dart 268:3 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: * start at root
| SLVR: BacktrackingSolver took 0:00:00.417753 seconds.
| | - Requested 1 version lists
| | - Looked up 1 cached version lists
| | - Requested 0 pubspecs
| | - Looked up 1 cached pubspecs
| |
| FINE: Resolving dependencies finished (0.448s).
| ERR : Could not find package browser at http://localhost:55317.
| | Depended on by:
| | - myapp
| FINE: Exception type: DependencyNotFoundException
| FINE: package:pub/src/entrypoint.dart 154:28 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/entrypoint.dart 199:3 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
00:25 +42 -2: test/build/copies_browser_js_with_dependency_override_test.dart: compiles dart.js and interop.js next to entrypoints when browser is a dependency_override
The schedule had 2 errors:
ScheduleError:
| Expected: match 'Got dependencies!|Changed \d+ dependenc(y|ies)!'
| Actual: 'Resolving dependencies...'
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/test_pub.dart 331:3 pubCommand
| test/test_pub.dart 335:3 pubGet
| test/build/copies_browser_js_with_dependency_override_test.dart 32:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| | |-- browser
| | '-- browser
| | '-- versions
| | '-- 1.0.0
| '-- packages
| '-- browser
| '-- versions
| '-- 1.0.0.tar.gz
| |-- pubspec.yaml
| '-- lib
| |-- dart.js
| '-- interop.js
* creating directory:
| myapp
| |-- async descriptor
| '-- web
| '-- file.dart
* ensuring myapp exists
* #3
* starting process 'pub get'
> waiting for process 'pub get' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/test_pub.dart 331:3 pubCommand
| | test/test_pub.dart 335:3 pubGet
| | test/build/copies_browser_js_with_dependency_override_test.dart 32:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* ensuring myapp exists
* #7
* starting process 'pub build'
* waiting for process 'pub build' to exit
* validating directory:
| myapp
| '-- build
| '-- web
| '-- packages
| '-- browser
| |-- dart.js
| '-- interop.js
================================================================================
ScheduleError:
| Expected: match 'Built 3 files to "build".'
| Actual: ''
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/build/copies_browser_js_with_dependency_override_test.dart 34:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up process 'pub get'
> cleaning up process 'pub build'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/build/copies_browser_js_with_dependency_override_test.dart 34:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* clearing the port completer
* #4
================================================================================
Debug info:
Results of running 'pub get':
Process was killed prematurely.
Standard output:
| MSG : Resolving dependencies...
Standard error:
| FINE: Pub 0.1.2+3
| SLVR: Solving dependencies:
| IO : Get versions from http://localhost:55334/api/packages/browser.
| FINE: HTTP GET http://localhost:55334/api/packages/browser
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55334/api/packages/browser
| | took 0:00:00.146522
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:32 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55334.
| |
| | package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/solver/version_solver.dart 238:31 PubspecCache.getVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55334.
| |
| | package:pub/src/solver/version_solver.dart 246:7 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/solver/version_solver.dart 268:3 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: * start at root
| SLVR: BacktrackingSolver took 0:00:00.502688 seconds.
| | - Requested 1 version lists
| | - Looked up 1 cached version lists
| | - Requested 0 pubspecs
| | - Looked up 1 cached pubspecs
| |
| FINE: Resolving dependencies finished (0.528s).
| ERR : Could not find package browser at http://localhost:55334.
| | Depended on by:
| | - myapp
| FINE: Exception type: DependencyNotFoundException
| FINE: package:pub/src/entrypoint.dart 154:28 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/entrypoint.dart 199:3 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
00:26 +43 -3: test/build/copies_browser_js_with_dev_dependency_test.dart: compiles dart.js and interop.js next to entrypoints when browser is a dev dependency
The schedule had 2 errors:
ScheduleError:
| Expected: match 'Got dependencies!|Changed \d+ dependenc(y|ies)!'
| Actual: 'Resolving dependencies...'
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/test_pub.dart 331:3 pubCommand
| test/test_pub.dart 335:3 pubGet
| test/build/copies_browser_js_with_dev_dependency_test.dart 34:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| | |-- browser
| | '-- browser
| | '-- versions
| | '-- 1.0.0
| '-- packages
| '-- browser
| '-- versions
| '-- 1.0.0.tar.gz
| |-- pubspec.yaml
| '-- lib
| |-- dart.js
| '-- interop.js
* creating directory:
| myapp
| |-- async descriptor
| '-- web
| '-- file.dart
* ensuring myapp exists
* #3
* starting process 'pub get'
> waiting for process 'pub get' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/test_pub.dart 331:3 pubCommand
| | test/test_pub.dart 335:3 pubGet
| | test/build/copies_browser_js_with_dev_dependency_test.dart 34:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* ensuring myapp exists
* #7
* starting process 'pub build'
* waiting for process 'pub build' to exit
* validating directory:
| myapp
| '-- build
| '-- web
| '-- packages
| '-- browser
| |-- dart.js
| '-- interop.js
================================================================================
ScheduleError:
| Expected: match 'Built 3 files to "build".'
| Actual: ''
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/build/copies_browser_js_with_dev_dependency_test.dart 36:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up process 'pub get'
> cleaning up process 'pub build'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/build/copies_browser_js_with_dev_dependency_test.dart 36:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* clearing the port completer
* #4
================================================================================
Debug info:
Results of running 'pub get':
Process was killed prematurely.
Standard output:
| MSG : Resolving dependencies...
Standard error:
| FINE: Pub 0.1.2+3
| SLVR: Solving dependencies:
| IO : Get versions from http://localhost:55340/api/packages/browser.
| FINE: HTTP GET http://localhost:55340/api/packages/browser
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55340/api/packages/browser
| | took 0:00:00.113138
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:34 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55340.
| |
| | package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/solver/version_solver.dart 238:31 PubspecCache.getVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55340.
| |
| | package:pub/src/solver/version_solver.dart 246:7 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/solver/version_solver.dart 268:3 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: * start at root
| SLVR: BacktrackingSolver took 0:00:00.503357 seconds.
| | - Requested 1 version lists
| | - Looked up 1 cached version lists
| | - Requested 0 pubspecs
| | - Looked up 1 cached pubspecs
| |
| FINE: Resolving dependencies finished (0.516s).
| ERR : Could not find package browser at http://localhost:55340.
| | Depended on by:
| | - myapp
| FINE: Exception type: DependencyNotFoundException
| FINE: package:pub/src/entrypoint.dart 154:28 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/entrypoint.dart 199:3 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
00:27 +44 -4: test/build/copies_non_dart_files_to_build_test.dart: copies non-Dart files to build/
The schedule had 2 errors:
ScheduleError:
| Expected: match 'Got dependencies!|Changed \d+ dependenc(y|ies)!'
| Actual: 'Resolving dependencies...'
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/test_pub.dart 331:3 pubCommand
| test/test_pub.dart 335:3 pubGet
| test/build/copies_non_dart_files_to_build_test.dart 24:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* creating directory:
| myapp
| |-- async descriptor
| '-- web
| |-- file.txt
| '-- subdir
| '-- subfile.txt
* ensuring myapp exists
* #4
* starting process 'pub get'
> waiting for process 'pub get' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/test_pub.dart 331:3 pubCommand
| | test/test_pub.dart 335:3 pubGet
| | test/build/copies_non_dart_files_to_build_test.dart 24:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* ensuring myapp exists
* #8
* starting process 'pub build'
* waiting for process 'pub build' to exit
* validating directory:
| myapp
| '-- build
| '-- web
| |-- nothing at 'packages'
| |-- file.txt
| '-- subdir
| '-- subfile.txt
================================================================================
ScheduleError:
| Expected: match 'Built 2 files to "build".'
| Actual: ''
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 452:7 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 447:6 schedulePub
| test/build/copies_non_dart_files_to_build_test.dart 25:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub get'
> cleaning up process 'pub build'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/build/copies_non_dart_files_to_build_test.dart 25:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* clearing the port completer
* #5
================================================================================
Debug info:
Results of running 'pub get':
Process was killed prematurely.
Standard output:
| MSG : Resolving dependencies...
Standard error:
| FINE: Pub 0.1.2+3
| SLVR: Solving dependencies:
| | - browser 1.0.0 from hosted (browser)
| IO : Get versions from http://localhost:55383/api/packages/browser.
| FINE: HTTP GET http://localhost:55383/api/packages/browser
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55383/api/packages/browser
| | took 0:00:00.148396
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:35 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55383.
| |
| | package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/solver/version_solver.dart 238:31 PubspecCache.getVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: Could not get versions for browser from hosted:
| | Could not find package browser at http://localhost:55383.
| |
| | package:pub/src/solver/version_solver.dart 246:7 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/solver/version_solver.dart 268:3 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/entrypoint.dart 152:24 Entrypoint.acquireDependencies.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
| SLVR: * start at root
| SLVR: BacktrackingSolver took 0:00:00.433143 seconds.
| | - Requested 1 version lists
| | - Looked up 1 cached version lists
| | - Requested 0 pubspecs
| | - Looked up 1 cached pubspecs
| |
| FINE: Resolving dependencies finished (0.452s).
| ERR : Could not find package browser at http://localhost:55383.
| | Depended on by:
| | - myapp
| FINE: Exception type: DependencyNotFoundException
| FINE: package:pub/src/entrypoint.dart 154:28 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/entrypoint.dart 199:3 Entrypoint.acquireDependencies.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/entrypoint.dart Entrypoint.acquireDependencies
| | package:pub/src/command/get.dart 30:23 GetCommand.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>
00:39 +58 -5: test/cache/add/adds_latest_matching_version_test.dart: adds the latest version of the package matching the version constraint
The schedule had 2 errors:
ScheduleError:
| Expected stdout:
| | Downloading foo 1.2.3...
| Got:
| X
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/adds_latest_matching_version_test.dart 20:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub cache'
> waiting for process 'pub cache' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/add/adds_latest_matching_version_test.dart 20:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
================================================================================
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub cache'
* clearing the port completer
> #4
|
| 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
| | test/test_pub.dart 215:36 serve.<fn>.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 212:26 serve.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 202:27 serve.<fn>
| | dart:async Future.Future.sync
| | package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| | package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| | dart:async Future.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
|
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get versions from http://localhost:55487/api/packages/foo.
| FINE: HTTP GET http://localhost:55487/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55487/api/packages/foo
| | took 0:00:00.117662
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:47 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Could not find package foo at http://localhost:55487.
| FINE: Exception type: PackageNotFoundException
| FINE: package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.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: Wrapped exception: HTTP error 404: Not Found
| | package:pub/src/http.dart 105:5 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/future_impl.dart 22 _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
| | package:pub/src/http.dart _PubHttpClient.send
| | package:http_throttle/http_throttle.dart 32:21 ThrottleClient.send.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async/future_impl.dart 209 _Future.then
| | package:http_throttle/http_throttle.dart 31:28 ThrottleClient.send
| | package:http/src/base_client.dart 150:14 BaseClient._sendUnstreamed.<fn>
| | dart:async/future.dart 168 Future.Future.sync
| | package:http/src/utils.dart 201:50 syncFuture
| | package:http/src/base_client.dart 132:12 BaseClient._sendUnstreamed
| | package:http/src/base_client.dart 35:5 BaseClient.get
| | package:http/src/base_client.dart 98:12 BaseClient.read
| | package:pub/src/source/hosted.dart 48:31 HostedSource.getVersions.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.run
| | package:args/command_runner.dart 178:22 CommandRunner.runCommand.<fn>
| | dart:async/future.dart 168 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.dart 168 Future.Future.sync
| | package:pub/src/utils.dart 103:9 captureErrors.<fn>
| | package:stack_trace/src/chain.dart 75:24 Chain.capture.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 1261 runZoned
| | package:stack_trace/src/chain.dart 73:12 Chain.capture
| | package:pub/src/utils.dart 117:11 captureErrors
| | package:pub/src/command_runner.dart 130:13 PubCommandRunner.runCommand.<async>
| | dart:async/zone.dart 1165 _RootZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 366 _Future._complete
| | dart:async/future_impl.dart 52 _SyncCompleter.complete
| | package:pub/src/command_runner.dart PubCommandRunner._validatePlatform.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
00:39 +59 -6: test/cache/add/adds_latest_version_test.dart: adds the latest stable version of the package
The schedule had 2 errors:
ScheduleError:
| Expected stdout:
| | Downloading foo 1.2.3...
| Got:
| X
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/adds_latest_version_test.dart 18:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub cache'
> waiting for process 'pub cache' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/add/adds_latest_version_test.dart 18:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
================================================================================
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub cache'
* clearing the port completer
> #4
|
| 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
| | test/test_pub.dart 215:36 serve.<fn>.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 212:26 serve.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 202:27 serve.<fn>
| | dart:async Future.Future.sync
| | package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| | package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| | dart:async Future.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
|
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get versions from http://localhost:55497/api/packages/foo.
| FINE: HTTP GET http://localhost:55497/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55497/api/packages/foo
| | took 0:00:00.109306
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:48 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Could not find package foo at http://localhost:55497.
| FINE: Exception type: PackageNotFoundException
| FINE: package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.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: Wrapped exception: HTTP error 404: Not Found
| | package:pub/src/http.dart 105:5 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/future_impl.dart 22 _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
| | package:pub/src/http.dart _PubHttpClient.send
| | package:http_throttle/http_throttle.dart 32:21 ThrottleClient.send.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async/future_impl.dart 209 _Future.then
| | package:http_throttle/http_throttle.dart 31:28 ThrottleClient.send
| | package:http/src/base_client.dart 150:14 BaseClient._sendUnstreamed.<fn>
| | dart:async/future.dart 168 Future.Future.sync
| | package:http/src/utils.dart 201:50 syncFuture
| | package:http/src/base_client.dart 132:12 BaseClient._sendUnstreamed
| | package:http/src/base_client.dart 35:5 BaseClient.get
| | package:http/src/base_client.dart 98:12 BaseClient.read
| | package:pub/src/source/hosted.dart 48:31 HostedSource.getVersions.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.run
| | package:args/command_runner.dart 178:22 CommandRunner.runCommand.<fn>
| | dart:async/future.dart 168 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.dart 168 Future.Future.sync
| | package:pub/src/utils.dart 103:9 captureErrors.<fn>
| | package:stack_trace/src/chain.dart 75:24 Chain.capture.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 1261 runZoned
| | package:stack_trace/src/chain.dart 73:12 Chain.capture
| | package:pub/src/utils.dart 117:11 captureErrors
| | package:pub/src/command_runner.dart 130:13 PubCommandRunner.runCommand.<async>
| | dart:async/zone.dart 1165 _RootZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 366 _Future._complete
| | dart:async/future_impl.dart 52 _SyncCompleter.complete
| | package:pub/src/command_runner.dart PubCommandRunner._validatePlatform.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
00:42 +59 -7: test/cache/add/all_adds_all_matching_versions_test.dart: "--all" adds all matching versions of the package
The schedule had 2 errors:
ScheduleError:
| Expected stdout:
| | Downloading foo 1.2.2...
| | Downloading foo 1.2.3-dev...
| | Downloading foo 1.2.3...
| Got:
| X
| ? Downloading foo 1.2.3-dev...
| ? Downloading foo 1.2.3...
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/all_adds_all_matching_versions_test.dart 19:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub cache'
> waiting for process 'pub cache' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/add/all_adds_all_matching_versions_test.dart 19:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
================================================================================
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub cache'
* clearing the port completer
> #4
|
| 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
| | test/test_pub.dart 215:36 serve.<fn>.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 212:26 serve.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 202:27 serve.<fn>
| | dart:async Future.Future.sync
| | package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| | package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| | dart:async Future.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
|
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get versions from http://localhost:55506/api/packages/foo.
| FINE: HTTP GET http://localhost:55506/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55506/api/packages/foo
| | took 0:00:00.139304
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:48 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Could not find package foo at http://localhost:55506.
| FINE: Exception type: PackageNotFoundException
| FINE: package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.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: Wrapped exception: HTTP error 404: Not Found
| | package:pub/src/http.dart 105:5 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/future_impl.dart 22 _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
| | package:pub/src/http.dart _PubHttpClient.send
| | package:http_throttle/http_throttle.dart 32:21 ThrottleClient.send.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async/future_impl.dart 209 _Future.then
| | package:http_throttle/http_throttle.dart 31:28 ThrottleClient.send
| | package:http/src/base_client.dart 150:14 BaseClient._sendUnstreamed.<fn>
| | dart:async/future.dart 168 Future.Future.sync
| | package:http/src/utils.dart 201:50 syncFuture
| | package:http/src/base_client.dart 132:12 BaseClient._sendUnstreamed
| | package:http/src/base_client.dart 35:5 BaseClient.get
| | package:http/src/base_client.dart 98:12 BaseClient.read
| | package:pub/src/source/hosted.dart 48:31 HostedSource.getVersions.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.run
| | package:args/command_runner.dart 178:22 CommandRunner.runCommand.<fn>
| | dart:async/future.dart 168 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.dart 168 Future.Future.sync
| | package:pub/src/utils.dart 103:9 captureErrors.<fn>
| | package:stack_trace/src/chain.dart 75:24 Chain.capture.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 1261 runZoned
| | package:stack_trace/src/chain.dart 73:12 Chain.capture
| | package:pub/src/utils.dart 117:11 captureErrors
| | package:pub/src/command_runner.dart 130:13 PubCommandRunner.runCommand.<async>
| | dart:async/zone.dart 1165 _RootZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 366 _Future._complete
| | dart:async/future_impl.dart 52 _SyncCompleter.complete
| | package:pub/src/command_runner.dart PubCommandRunner._validatePlatform.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
00:42 +59 -8: test/cache/add/already_cached_test.dart: does nothing if the package is already cached
The schedule had 3 errors:
ScheduleError:
| Expected stdout:
| | Downloading foo 1.2.3...
| Got:
| X
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/already_cached_test.dart 17:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub cache'
> waiting for process 'pub cache' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/add/already_cached_test.dart 17:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* ensuring myapp exists
* #7
* starting process 'pub cache'
* waiting for process 'pub cache' to exit
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
================================================================================
ScheduleError:
| Expected stdout:
| | Already cached foo 1.2.3.
| Got:
| X
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/already_cached_test.dart 21:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub cache'
> cleaning up process 'pub cache'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/cache/add/already_cached_test.dart 21:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* clearing the port completer
* #5
================================================================================
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected when waiting for out-of-band callbacks in queue "onComplete".
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
|
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get versions from http://localhost:55508/api/packages/foo.
| FINE: HTTP GET http://localhost:55508/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55508/api/packages/foo
| | took 0:00:00.093293
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:50 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Could not find package foo at http://localhost:55508.
| FINE: Exception type: PackageNotFoundException
| FINE: package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.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: Wrapped exception: HTTP error 404: Not Found
| | package:pub/src/http.dart 105:5 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/future_impl.dart 22 _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
| | package:pub/src/http.dart _PubHttpClient.send
| | package:http_throttle/http_throttle.dart 32:21 ThrottleClient.send.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async/future_impl.dart 209 _Future.then
| | package:http_throttle/http_throttle.dart 31:28 ThrottleClient.send
| | package:http/src/base_client.dart 150:14 BaseClient._sendUnstreamed.<fn>
| | dart:async/future.dart 168 Future.Future.sync
| | package:http/src/utils.dart 201:50 syncFuture
| | package:http/src/base_client.dart 132:12 BaseClient._sendUnstreamed
| | package:http/src/base_client.dart 35:5 BaseClient.get
| | package:http/src/base_client.dart 98:12 BaseClient.read
| | package:pub/src/source/hosted.dart 48:31 HostedSource.getVersions.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.run
| | package:args/command_runner.dart 178:22 CommandRunner.runCommand.<fn>
| | dart:async/future.dart 168 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.dart 168 Future.Future.sync
| | package:pub/src/utils.dart 103:9 captureErrors.<fn>
| | package:stack_trace/src/chain.dart 75:24 Chain.capture.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 1261 runZoned
| | package:stack_trace/src/chain.dart 73:12 Chain.capture
| | package:pub/src/utils.dart 117:11 captureErrors
| | package:pub/src/command_runner.dart 130:13 PubCommandRunner.runCommand.<async>
| | dart:async/zone.dart 1165 _RootZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 366 _Future._complete
| | dart:async/future_impl.dart 52 _SyncCompleter.complete
| | package:pub/src/command_runner.dart PubCommandRunner._validatePlatform.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
00:42 +59 -9: test/cache/add/all_with_some_versions_present_test.dart: "--all" adds all non-installed versions of the package
The schedule had 3 errors:
ScheduleError:
| Expected stdout:
| | Downloading foo 1.2.1...
| Got:
| X
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/all_with_some_versions_present_test.dart 20:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub cache'
> waiting for process 'pub cache' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/add/all_with_some_versions_present_test.dart 20:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* ensuring myapp exists
* #7
* starting process 'pub cache'
* waiting for process 'pub cache' to exit
* ensuring myapp exists
* #11
* starting process 'pub cache'
* waiting for process 'pub cache' to exit
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
================================================================================
ScheduleError:
| Expected stdout:
| | Downloading foo 1.2.3...
| Got:
| X
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/all_with_some_versions_present_test.dart 23:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub cache'
> cleaning up process 'pub cache'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/cache/add/all_with_some_versions_present_test.dart 23:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* cleaning up process 'pub cache'
* clearing the port completer
* #6
================================================================================
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected when waiting for out-of-band callbacks in queue "onComplete".
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
|
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get versions from http://localhost:55509/api/packages/foo.
| FINE: HTTP GET http://localhost:55509/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55509/api/packages/foo
| | took 0:00:00.138575
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:50 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Could not find package foo at http://localhost:55509.
| FINE: Exception type: PackageNotFoundException
| FINE: package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.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: Wrapped exception: HTTP error 404: Not Found
| | package:pub/src/http.dart 105:5 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/future_impl.dart 22 _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
| | package:pub/src/http.dart _PubHttpClient.send
| | package:http_throttle/http_throttle.dart 32:21 ThrottleClient.send.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async/future_impl.dart 209 _Future.then
| | package:http_throttle/http_throttle.dart 31:28 ThrottleClient.send
| | package:http/src/base_client.dart 150:14 BaseClient._sendUnstreamed.<fn>
| | dart:async/future.dart 168 Future.Future.sync
| | package:http/src/utils.dart 201:50 syncFuture
| | package:http/src/base_client.dart 132:12 BaseClient._sendUnstreamed
| | package:http/src/base_client.dart 35:5 BaseClient.get
| | package:http/src/base_client.dart 98:12 BaseClient.read
| | package:pub/src/source/hosted.dart 48:31 HostedSource.getVersions.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.run
| | package:args/command_runner.dart 178:22 CommandRunner.runCommand.<fn>
| | dart:async/future.dart 168 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.dart 168 Future.Future.sync
| | package:pub/src/utils.dart 103:9 captureErrors.<fn>
| | package:stack_trace/src/chain.dart 75:24 Chain.capture.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 1261 runZoned
| | package:stack_trace/src/chain.dart 73:12 Chain.capture
| | package:pub/src/utils.dart 117:11 captureErrors
| | package:pub/src/command_runner.dart 130:13 PubCommandRunner.runCommand.<async>
| | dart:async/zone.dart 1165 _RootZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 366 _Future._complete
| | dart:async/future_impl.dart 52 _SyncCompleter.complete
| | package:pub/src/command_runner.dart PubCommandRunner._validatePlatform.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
00:44 +62 -10: test/cache/add/no_matching_version_test.dart: fails if no version matches the version constraint
The schedule had 2 errors:
ScheduleError:
| Expected stderr:
| | Package foo has no versions that match >2.0.0.
| Got:
| X Could not find package foo at http://localhost:55522.
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/add/no_matching_version_test.dart 16:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub cache'
> waiting for process 'pub cache' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/add/no_matching_version_test.dart 16:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
================================================================================
ScheduleError:
| Expected: <1>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub cache'
* clearing the port completer
> #4
|
| 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
| | test/test_pub.dart 215:36 serve.<fn>.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 212:26 serve.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 202:27 serve.<fn>
| | dart:async Future.Future.sync
| | package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| | package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| | dart:async Future.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
|
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get versions from http://localhost:55522/api/packages/foo.
| FINE: HTTP GET http://localhost:55522/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55522/api/packages/foo
| | took 0:00:00.064815
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:52 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Could not find package foo at http://localhost:55522.
| FINE: Exception type: PackageNotFoundException
| FINE: package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.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: Wrapped exception: HTTP error 404: Not Found
| | package:pub/src/http.dart 105:5 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/future_impl.dart 22 _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async-patch/async_patch.dart 27 _asyncThenWrapperHelper
| | package:pub/src/http.dart _PubHttpClient.send
| | package:http_throttle/http_throttle.dart 32:21 ThrottleClient.send.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 134:26 StackZoneSpecification.registerUnaryCallback.<fn>.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 134:14 StackZoneSpecification.registerUnaryCallback.<fn>
| | dart:async/zone.dart 910 _rootRunUnary
| | dart:async/zone.dart 810 _CustomZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 376 _Future._completeWithValue
| | dart:async/future_impl.dart 430 _Future._asyncComplete.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 835 _CustomZone.registerUnaryCallback
| | dart:async/future_impl.dart 209 _Future.then
| | package:http_throttle/http_throttle.dart 31:28 ThrottleClient.send
| | package:http/src/base_client.dart 150:14 BaseClient._sendUnstreamed.<fn>
| | dart:async/future.dart 168 Future.Future.sync
| | package:http/src/utils.dart 201:50 syncFuture
| | package:http/src/base_client.dart 132:12 BaseClient._sendUnstreamed
| | package:http/src/base_client.dart 35:5 BaseClient.get
| | package:http/src/base_client.dart 98:12 BaseClient.read
| | package:pub/src/source/hosted.dart 48:31 HostedSource.getVersions.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/command/cache_add.dart 62:33 CacheAddCommand.run.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 899 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | package:stack_trace/src/stack_zone_specification.dart 205:15 StackZoneSpecification._run
| | package:stack_trace/src/stack_zone_specification.dart 124:48 StackZoneSpecification.registerCallback.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 708 _CustomZone.runGuarded
| | dart:async/zone.dart 733 _CustomZone.bindCallback.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
| | ===== asynchronous gap ===========================
| | dart:async/zone.dart 827 _CustomZone.registerCallback
| | dart:async/zone.dart 731 _CustomZone.bindCallback
| | dart:async/schedule_microtask.dart 149 scheduleMicrotask
| | dart:async/future.dart 142 Future.Future.microtask
| | package:pub/src/command/cache_add.dart CacheAddCommand.run
| | package:args/command_runner.dart 178:22 CommandRunner.runCommand.<fn>
| | dart:async/future.dart 168 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.dart 168 Future.Future.sync
| | package:pub/src/utils.dart 103:9 captureErrors.<fn>
| | package:stack_trace/src/chain.dart 75:24 Chain.capture.<fn>
| | dart:async/zone.dart 903 _rootRun
| | dart:async/zone.dart 802 _CustomZone.run
| | dart:async/zone.dart 1261 runZoned
| | package:stack_trace/src/chain.dart 73:12 Chain.capture
| | package:pub/src/utils.dart 117:11 captureErrors
| | package:pub/src/command_runner.dart 130:13 PubCommandRunner.runCommand.<async>
| | dart:async/zone.dart 1165 _RootZone.runUnary
| | dart:async/future_impl.dart 502 _Future._propagateToListeners.handleValueCallback
| | dart:async/future_impl.dart 585 _Future._propagateToListeners
| | dart:async/future_impl.dart 366 _Future._complete
| | dart:async/future_impl.dart 52 _SyncCompleter.complete
| | package:pub/src/command_runner.dart PubCommandRunner._validatePlatform.<async>
| | dart:async/future.dart 144 Future.Future.microtask.<fn>
| | dart:async/schedule_microtask.dart 43 _microtaskLoop
| | dart:async/schedule_microtask.dart 52 _microtaskLoopEntry
| | dart:isolate-patch/isolate_patch.dart 96 _runPendingImmediateCallback
| | dart:isolate-patch/isolate_patch.dart 149 _RawReceivePortImpl._handleMessage
00:49 +69 -11: test/cache/repair/handles_corrupted_binstub_test.dart: handles a corrupted binstub script
The schedule had 2 errors:
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub global'
> waiting for process 'pub global' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/repair/handles_corrupted_binstub_test.dart 24:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* creating directory:
| cache
| '-- bin
| '-- script
* ensuring myapp exists
* #8
* starting process 'pub cache'
* waiting for process 'pub cache' to exit
================================================================================
ScheduleError:
| Expected: contains 'Error reading binstub for "script":'
| Actual: ''
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| test/test_pub.dart 913:5 _validateOutput
| test/test_pub.dart 461:5 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/repair/handles_corrupted_binstub_test.dart 32:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub global'
> cleaning up process 'pub cache'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/cache/repair/handles_corrupted_binstub_test.dart 32:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* clearing the port completer
* #5
================================================================================
Debug info:
Results of running 'pub global':
Process exited with exit code 69.
Standard output:
| MSG : Resolving dependencies...
Standard error:
| FINE: Pub 0.1.2+3
| SLVR: Solving dependencies:
| | - foo any from hosted (foo)
| IO : Get versions from http://localhost:55535/api/packages/foo.
| FINE: HTTP GET http://localhost:55535/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55535/api/packages/foo
| | took 0:00:00.058879
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:56 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| SLVR: Could not get versions for foo from hosted:
| | Could not find package foo at http://localhost:55535.
| |
| | package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/solver/version_solver.dart 238:31 PubspecCache.getVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/global_packages.dart 159:24 GlobalPackages._installInCache.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
| SLVR: Could not get versions for foo from hosted:
| | Could not find package foo at http://localhost:55535.
| |
| | package:pub/src/solver/version_solver.dart 246:7 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/solver/version_solver.dart 268:3 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/global_packages.dart 159:24 GlobalPackages._installInCache.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
| SLVR: * start at root
| SLVR: BacktrackingSolver took 0:00:00.241989 seconds.
| | - Requested 1 version lists
| | - Looked up 1 cached version lists
| | - Requested 0 pubspecs
| | - Looked up 1 cached pubspecs
| |
| FINE: Resolving dependencies finished (0.252s).
| ERR : Could not find package foo at http://localhost:55535.
| | Depended on by:
| | - pub global activate
| FINE: Exception type: DependencyNotFoundException
| FINE: package:pub/src/global_packages.dart 165:7 GlobalPackages._installInCache.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/global_packages.dart 189:3 GlobalPackages._installInCache.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
00:51 +71 -12: test/cache/repair/handles_failure_test.dart: handles failure to reinstall some packages
The schedule had 1 errors:
ScheduleError:
| Expected: a string starting with 'Failed to repair foo 1.2.4. Error:'
| Emitted: * Failed to repair foo 1.2.3. Error:
| * HTTP error 404: Not Found
| * Failed to repair foo 1.2.4. Error:
| * HTTP error 404: Not Found
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:scheduled_test/scheduled_stream.dart 146:9 ScheduledStream.expect.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/scheduled_stream.dart 126:43 ScheduledStream.expect.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* creating directory:
| cache
| '-- hosted
| '-- async descriptor
* ensuring myapp exists
* #4
* starting process 'pub cache'
* stream emits 'Downloading foo 1.2.3...'
* stream emits 'Downloading foo 1.2.4...'
* stream emits 'Downloading foo 1.2.5...'
> stream emits a string starting with 'Failed to repair foo 1.2.4. Error:'
|
| 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_stream.dart 125:5 ScheduledStream.expect
| | test/cache/repair/handles_failure_test.dart 48:16 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* stream emits 'HTTP error 404: Not Found'
* stream emits 'Reinstalled 2 packages.'
* stream emits 'Failed to reinstall 1 package:'
* stream emits '- foo 1.2.4'
* waiting for process 'pub cache' to exit
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
| MSG : Downloading foo 1.2.3...
| MSG : Downloading foo 1.2.4...
| MSG : Downloading foo 1.2.5...
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get package from http://localhost:55537/packages/foo/versions/1.2.3.tar.gz.
| IO : Created temp directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_Ucx3FO/cache/_temp/direnfo9z
| FINE: HTTP GET http://localhost:55537/packages/foo/versions/1.2.3.tar.gz
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55537/packages/foo/versions/1.2.3.tar.gz
| | took 0:00:00.059803
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:58 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Failed to repair foo 1.2.3. Error:
| | HTTP error 404: Not Found
| FINE: #0 _PubHttpClient.send.<send_async_body> (package:pub/src/http.dart:105:5)
| | #1 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:27)
| | #2 StackZoneSpecification.registerUnaryCallback.<anonymous closure>.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:26)
| | #3 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #4 StackZoneSpecification.registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:14)
| | #5 _rootRunUnary (dart:async/zone.dart:910)
| | #6 _CustomZone.runUnary (dart:async/zone.dart:810)
| | #7 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
| | #8 _Future._propagateToListeners (dart:async/future_impl.dart:585)
| | #9 _Future._completeWithValue (dart:async/future_impl.dart:376)
| | #10 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
| | #11 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #12 StackZoneSpecification.registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:48)
| | #13 _rootRun (dart:async/zone.dart:903)
| | #14 _CustomZone.run (dart:async/zone.dart:802)
| | #15 _CustomZone.runGuarded (dart:async/zone.dart:708)
| | #16 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
| | #17 _microtaskLoop (dart:async/schedule_microtask.dart:43)
| | #18 _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
| | #19 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
| | #20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
| IO : Deleting directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_Ucx3FO/cache/hosted/localhost%5855537/foo-1.2.3.
| IO : Get package from http://localhost:55537/packages/foo/versions/1.2.4.tar.gz.
| IO : Created temp directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_Ucx3FO/cache/_temp/dirXGV6Fa
| FINE: HTTP GET http://localhost:55537/packages/foo/versions/1.2.4.tar.gz
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55537/packages/foo/versions/1.2.4.tar.gz
| | took 0:00:00.002445
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:58 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Failed to repair foo 1.2.4. Error:
| | HTTP error 404: Not Found
| FINE: #0 _PubHttpClient.send.<send_async_body> (package:pub/src/http.dart:105:5)
| | #1 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:27)
| | #2 StackZoneSpecification.registerUnaryCallback.<anonymous closure>.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:26)
| | #3 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #4 StackZoneSpecification.registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:14)
| | #5 _rootRunUnary (dart:async/zone.dart:910)
| | #6 _CustomZone.runUnary (dart:async/zone.dart:810)
| | #7 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
| | #8 _Future._propagateToListeners (dart:async/future_impl.dart:585)
| | #9 _Future._completeWithValue (dart:async/future_impl.dart:376)
| | #10 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
| | #11 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #12 StackZoneSpecification.registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:48)
| | #13 _rootRun (dart:async/zone.dart:903)
| | #14 _CustomZone.run (dart:async/zone.dart:802)
| | #15 _CustomZone.runGuarded (dart:async/zone.dart:708)
| | #16 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
| | #17 _microtaskLoop (dart:async/schedule_microtask.dart:43)
| | #18 _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
| | #19 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
| | #20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
| IO : Deleting directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_Ucx3FO/cache/hosted/localhost%5855537/foo-1.2.4.
| IO : Get package from http://localhost:55537/packages/foo/versions/1.2.5.tar.gz.
| IO : Created temp directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_Ucx3FO/cache/_temp/dirJr6GHW
| FINE: HTTP GET http://localhost:55537/packages/foo/versions/1.2.5.tar.gz
| | user-agent: Dart pub 0.1.2+3
00:51 +71 -13: test/cache/repair/recompiles_snapshots_test.dart: recompiles activated executable snapshots
The schedule had 2 errors:
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub global'
> waiting for process 'pub global' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/repair/recompiles_snapshots_test.dart 22:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* creating directory:
| cache
| '-- global_packages/foo/bin
| '-- script.dart.snapshot
* ensuring myapp exists
* #8
* starting process 'pub cache'
* waiting for process 'pub cache' to exit
* ensuring myapp exists
* #12
* starting process 'pub global'
* stream emits any number of a string starting with 'Loading'
* stream emits 'ok'
* waiting for process 'pub global' to exit
================================================================================
ScheduleError:
| Expected stdout:
| | Downloading foo 1.0.0...
| | Reinstalled 1 package.
| | Reactivating foo 1.0.0...
| | Precompiling executables...
| | Loading source assets...
| | Precompiled foo:script.
| | Reactivated 1 package.
| Got:
| X
| ? Reinstalled 1 package.
| ? Reactivating foo 1.0.0...
| ? Precompiling executables...
| ? Loading source assets...
| ? Precompiled foo:script.
| ? Reactivated 1 package.
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/repair/recompiles_snapshots_test.dart 30:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub global'
> cleaning up process 'pub cache'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/cache/repair/recompiles_snapshots_test.dart 30:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* cleaning up process 'pub global'
* clearing the port completer
* #6
================================================================================
Debug info:
Results of running 'pub global':
Process exited with exit code 69.
Standard output:
| MSG : Resolving dependencies...
Standard error:
| FINE: Pub 0.1.2+3
| SLVR: Solving dependencies:
| | - foo any from hosted (foo)
| IO : Get versions from http://localhost:55538/api/packages/foo.
| FINE: HTTP GET http://localhost:55538/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55538/api/packages/foo
| | took 0:00:00.064753
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:26:59 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| SLVR: Could not get versions for foo from hosted:
| | Could not find package foo at http://localhost:55538.
| |
| | package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/solver/version_solver.dart 238:31 PubspecCache.getVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/global_packages.dart 159:24 GlobalPackages._installInCache.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
| SLVR: Could not get versions for foo from hosted:
| | Could not find package foo at http://localhost:55538.
| |
| | package:pub/src/solver/version_solver.dart 246:7 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/solver/version_solver.dart 268:3 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/global_packages.dart 159:24 GlobalPackages._installInCache.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
| SLVR: * start at root
| SLVR: BacktrackingSolver took 0:00:00.259099 seconds.
| | - Requested 1 version lists
| | - Looked up 1 cached version lists
| | - Requested 0 pubspecs
| | - Looked up 1 cached pubspecs
| |
| FINE: Resolving dependencies finished (0.266s).
| ERR : Could not find package foo at http://localhost:55538.
| | Depended on by:
| | - pub global activate
| FINE: Exception type: DependencyNotFoundException
| FINE: package:pub/src/global_packages.dart 165:7 GlobalPackages._installInCache.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/global_packages.dart 189:3 GlobalPackages._installInCache.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
00:53 +72 -14: test/cache/repair/reinstalls_hosted_packages_test.dart: reinstalls previously cached hosted packages
The schedule had 2 errors:
ScheduleError:
| Expected stdout:
| | Downloading bar 1.2.4...
| | Downloading foo 1.2.3...
| | Downloading foo 1.2.5...
| | Reinstalled 3 packages.
| Got:
| | Downloading bar 1.2.4...
| | Downloading foo 1.2.3...
| | Downloading foo 1.2.5...
| X Failed to reinstall 3 packages:
| X - bar 1.2.4
| X - foo 1.2.3
| X - foo 1.2.5
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/repair/reinstalls_hosted_packages_test.dart 41:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* creating directory:
| cache
| '-- hosted
| '-- async descriptor
* ensuring myapp exists
* #4
* starting process 'pub cache'
> waiting for process 'pub cache' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/repair/reinstalls_hosted_packages_test.dart 41:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* validating directory:
| cache
| '-- hosted
| '-- async descriptor
================================================================================
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* clearing the port completer
* cleaning up process 'pub cache'
> #4
|
| 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
| | test/test_pub.dart 215:36 serve.<fn>.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 212:26 serve.<fn>.<fn>
| | ===== asynchronous gap ===========================
| | dart:async _Future.then
| | test/test_pub.dart 202:27 serve.<fn>
| | dart:async Future.Future.sync
| | package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| | package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| | dart:async Future.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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.forEach
| | package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| | package:scheduled_test/src/schedule.dart 94:22 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
================================================================================
Debug info:
Results of running 'pub cache':
Process was killed prematurely.
Standard output:
| MSG : Downloading bar 1.2.4...
| MSG : Downloading foo 1.2.3...
| MSG : Downloading foo 1.2.5...
| MSG : Failed to reinstall 3 packages:
| | - bar 1.2.4
| | - foo 1.2.3
| | - foo 1.2.5
Standard error:
| FINE: Pub 0.1.2+3
| IO : Get package from http://localhost:55541/packages/bar/versions/1.2.4.tar.gz.
| IO : Created temp directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_AX708J/cache/_temp/dirrFF9SK
| FINE: HTTP GET http://localhost:55541/packages/bar/versions/1.2.4.tar.gz
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55541/packages/bar/versions/1.2.4.tar.gz
| | took 0:00:00.080853
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:27:01 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Failed to repair bar 1.2.4. Error:
| | HTTP error 404: Not Found
| FINE: #0 _PubHttpClient.send.<send_async_body> (package:pub/src/http.dart:105:5)
| | #1 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:27)
| | #2 StackZoneSpecification.registerUnaryCallback.<anonymous closure>.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:26)
| | #3 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #4 StackZoneSpecification.registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:14)
| | #5 _rootRunUnary (dart:async/zone.dart:910)
| | #6 _CustomZone.runUnary (dart:async/zone.dart:810)
| | #7 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
| | #8 _Future._propagateToListeners (dart:async/future_impl.dart:585)
| | #9 _Future._completeWithValue (dart:async/future_impl.dart:376)
| | #10 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
| | #11 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #12 StackZoneSpecification.registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:48)
| | #13 _rootRun (dart:async/zone.dart:903)
| | #14 _CustomZone.run (dart:async/zone.dart:802)
| | #15 _CustomZone.runGuarded (dart:async/zone.dart:708)
| | #16 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
| | #17 _microtaskLoop (dart:async/schedule_microtask.dart:43)
| | #18 _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
| | #19 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
| | #20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
| IO : Deleting directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_AX708J/cache/hosted/localhost%5855541/bar-1.2.4.
| IO : Get package from http://localhost:55541/packages/foo/versions/1.2.3.tar.gz.
| IO : Created temp directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_AX708J/cache/_temp/dirJ3iYjg
| FINE: HTTP GET http://localhost:55541/packages/foo/versions/1.2.3.tar.gz
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55541/packages/foo/versions/1.2.3.tar.gz
| | took 0:00:00.003265
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:27:01 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Failed to repair foo 1.2.3. Error:
| | HTTP error 404: Not Found
| FINE: #0 _PubHttpClient.send.<send_async_body> (package:pub/src/http.dart:105:5)
| | #1 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:27)
| | #2 StackZoneSpecification.registerUnaryCallback.<anonymous closure>.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:26)
| | #3 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #4 StackZoneSpecification.registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:14)
| | #5 _rootRunUnary (dart:async/zone.dart:910)
| | #6 _CustomZone.runUnary (dart:async/zone.dart:810)
| | #7 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
| | #8 _Future._propagateToListeners (dart:async/future_impl.dart:585)
| | #9 _Future._completeWithValue (dart:async/future_impl.dart:376)
| | #10 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
| | #11 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #12 StackZoneSpecification.registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:48)
| | #13 _rootRun (dart:async/zone.dart:903)
| | #14 _CustomZone.run (dart:async/zone.dart:802)
| | #15 _CustomZone.runGuarded (dart:async/zone.dart:708)
| | #16 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
| | #17 _microtaskLoop (dart:async/schedule_microtask.dart:43)
| | #18 _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
| | #19 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
| | #20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
| IO : Deleting directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_AX708J/cache/hosted/localhost%5855541/foo-1.2.3.
| IO : Get package from http://localhost:55541/packages/foo/versions/1.2.5.tar.gz.
| IO : Created temp directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_AX708J/cache/_temp/dirpd5Ifr
| FINE: HTTP GET http://localhost:55541/packages/foo/versions/1.2.5.tar.gz
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55541/packages/foo/versions/1.2.5.tar.gz
| | took 0:00:00.004422
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:27:01 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| ERR : Failed to repair foo 1.2.5. Error:
| | HTTP error 404: Not Found
| FINE: #0 _PubHttpClient.send.<send_async_body> (package:pub/src/http.dart:105:5)
| | #1 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:27)
| | #2 StackZoneSpecification.registerUnaryCallback.<anonymous closure>.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:26)
| | #3 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #4 StackZoneSpecification.registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:134:14)
| | #5 _rootRunUnary (dart:async/zone.dart:910)
| | #6 _CustomZone.runUnary (dart:async/zone.dart:810)
| | #7 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
| | #8 _Future._propagateToListeners (dart:async/future_impl.dart:585)
| | #9 _Future._completeWithValue (dart:async/future_impl.dart:376)
| | #10 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
| | #11 StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:205:15)
| | #12 StackZoneSpecification.registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:48)
| | #13 _rootRun (dart:async/zone.dart:903)
| | #14 _CustomZone.run (dart:async/zone.dart:802)
| | #15 _CustomZone.runGuarded (dart:async/zone.dart:708)
| | #16 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:733)
| | #17 _microtaskLoop (dart:async/schedule_microtask.dart:43)
| | #18 _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
| | #19 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
| | #20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
| IO : Deleting directory /var/folders/vw/b46gfymx10ddqfg1m_tr72sw003cg5/T/pub_AX708J/cache/hosted/localhost%5855541/foo-1.2.5.
00:53 +72 -15: test/cache/repair/updates_binstubs_test.dart: updates an outdated binstub script
The schedule had 2 errors:
ScheduleError:
| Expected: <0>
| Actual: <69>
Stack chain:
| package:test/src/frontend/expect.dart 63:30 fail
| package:test/src/frontend/expect.dart 58:3 expect
| package:scheduled_test/scheduled_process.dart 321:11 ScheduledProcess.shouldExit.<fn>.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| package:scheduled_test/src/value_future.dart 36:13 ValueFuture.then
| package:scheduled_test/scheduled_process.dart 319:24 ScheduledProcess.shouldExit.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async Future.forEach
| package:scheduled_test/src/schedule.dart 245:19 TaskQueue._run
| package:scheduled_test/src/schedule.dart 94:22 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "tasks":
* starting a server serving:
| serve-dir
| |-- api
| | '-- packages
| '-- packages
* initializing the package server
* ensuring myapp exists
* #3
* starting process 'pub global'
> waiting for process 'pub global' to exit
|
| 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 318:5 ScheduledProcess.shouldExit
| | test/test_pub.dart 439:7 schedulePub
| | test/cache/repair/updates_binstubs_test.dart 36:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* creating directory:
| cache
| '-- bin
| '-- foo-script
* ensuring myapp exists
* #8
* starting process 'pub cache'
* waiting for process 'pub cache' to exit
* validating directory:
| cache
| '-- bin
| '-- foo-script
================================================================================
ScheduleError:
| Expected stdout:
| | Downloading foo 1.0.0...
| | Reinstalled 1 package.
| | Reactivating foo 1.0.0...
| | Precompiling executables...
| | Loading source assets...
| | Precompiled foo:script.
| | Installed executable foo-script.
| | Reactivated 1 package.
| Got:
| X
| ? Reinstalled 1 package.
| ? Reactivating foo 1.0.0...
| ? Precompiling executables...
| ? Loading source assets...
| ? Precompiled foo:script.
| ? Installed executable foo-script.
| ? Reactivated 1 package.
Stack chain:
| test/test_pub.dart 463:28 schedulePub.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 576:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 577:17 tee.<fn>
| dart:async _StreamController.close
| package:pub/src/utils.dart 594:38 mergeStreams.<fn>
| dart:async _StreamController.close
| package:scheduled_test/src/utils.dart 266:17 tee.<fn>
| dart:async _StreamController.close
| package:scheduled_test/scheduled_process.dart 205:23 ScheduledProcess._scheduleExceptionCleanup.<fn>
| dart:async Future.Future.sync
| package:scheduled_test/src/task.dart 81:24 Task.Task._.<fn>
| package:scheduled_test/src/schedule.dart 249:19 TaskQueue._run.<fn>
| ===== asynchronous gap ===========================
| dart:async _Future.then
| test/test_pub.dart 460:6 schedulePub
| test/cache/repair/updates_binstubs_test.dart 45:5 main.<fn>
| 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
| package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
Error detected during task in queue "onComplete":
* deleting the sandbox directory
* cleaning up served packages
* cleaning up process 'pub global'
> cleaning up process 'pub cache'
|
| 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_process.dart 201:32 ScheduledProcess._scheduleExceptionCleanup
| | package:scheduled_test/scheduled_process.dart 104:5 ScheduledProcess.ScheduledProcess.start
| | test/test_pub.dart 580:7 PubProcess.PubProcess.start
| | test/test_pub.dart 564:14 startPub
| | test/test_pub.dart 438:13 schedulePub
| | test/cache/repair/updates_binstubs_test.dart 45:5 main.<fn>
| | 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
| | package:test/src/runner/vm/isolate_listener.dart 160:14 IsolateListener._runTest
| | package:test/src/runner/vm/isolate_listener.dart 118:9 IsolateListener._listen.<fn>
* clearing the port completer
* #5
================================================================================
Debug info:
Results of running 'pub global':
Process exited with exit code 69.
Standard output:
| MSG : Resolving dependencies...
Standard error:
| FINE: Pub 0.1.2+3
| SLVR: Solving dependencies:
| | - foo any from hosted (foo)
| IO : Get versions from http://localhost:55542/api/packages/foo.
| FINE: HTTP GET http://localhost:55542/api/packages/foo
| | Accept: application/vnd.pub.v2+json
| | user-agent: Dart pub 0.1.2+3
| FINE: HTTP response 404 Not Found for GET http://localhost:55542/api/packages/foo
| | took 0:00:00.069960
| | transfer-encoding: chunked
| | date: Thu, 03 Sep 2015 20:27:01 GMT
| | x-frame-options: SAMEORIGIN
| | content-type: text/plain; charset=utf-8
| | x-xss-protection: 1; mode=block
| | x-content-type-options: nosniff
| | server: dart:io with Shelf
| SLVR: Could not get versions for foo from hosted:
| | Could not find package foo at http://localhost:55542.
| |
| | package:pub/src/source/hosted.dart 206:7 HostedSource._throwFriendlyError
| | package:pub/src/source/hosted.dart 51:7 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/source/hosted.dart HostedSource.getVersions
| | package:pub/src/solver/version_solver.dart 238:31 PubspecCache.getVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/global_packages.dart 159:24 GlobalPackages._installInCache.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
| SLVR: Could not get versions for foo from hosted:
| | Could not find package foo at http://localhost:55542.
| |
| | package:pub/src/solver/version_solver.dart 246:7 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/solver/version_solver.dart 268:3 PubspecCache.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/source/hosted.dart 64:3 HostedSource.getVersions.<async>
| | dart:async _Completer.completeError
| | package:pub/src/http.dart 110:3 _PubHttpClient.send.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncErrorWrapperHelper
| | package:pub/src/solver/version_solver.dart PubspecCache.getVersions
| | package:pub/src/solver/unselected_package_queue.dart 123:38 UnselectedPackageQueue._getNumVersions.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue._getNumVersions
| | package:pub/src/solver/unselected_package_queue.dart 52:33 UnselectedPackageQueue.add.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/unselected_package_queue.dart UnselectedPackageQueue.add
| | package:pub/src/solver/version_selection.dart 70:27 VersionSelection.select.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.forEach
| | package:pub/src/solver/version_selection.dart 63:18 VersionSelection.select.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/solver/version_selection.dart VersionSelection.select
| | package:pub/src/solver/backtracking_solver.dart 156:24 BacktrackingSolver.solve.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/solver/backtracking_solver.dart BacktrackingSolver.solve
| | package:pub/src/solver/version_solver.dart 40:10 resolveVersions.<fn>
| | package:pub/src/log.dart 393:18 progress
| | package:pub/src/solver/version_solver.dart 38:10 resolveVersions
| | package:pub/src/global_packages.dart 159:24 GlobalPackages._installInCache.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
| SLVR: * start at root
| SLVR: BacktrackingSolver took 0:00:00.299928 seconds.
| | - Requested 1 version lists
| | - Looked up 1 cached version lists
| | - Requested 0 pubspecs
| | - Looked up 1 cached pubspecs
| |
| FINE: Resolving dependencies finished (0.309s).
| ERR : Could not find package foo at http://localhost:55542.
| | Depended on by:
| | - pub global activate
| FINE: Exception type: DependencyNotFoundException
| FINE: package:pub/src/global_packages.dart 165:7 GlobalPackages._installInCache.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _Completer.completeError
| | package:pub/src/global_packages.dart 189:3 GlobalPackages._installInCache.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 329:3 BacktrackingSolver._solve.<async>
| | dart:async _Completer.completeError
| | package:pub/src/solver/backtracking_solver.dart 318:6 BacktrackingSolver._solve.<async>.<fn>.<async>
| | ===== asynchronous gap ===========================
| | dart:async _asyncThenWrapperHelper
| | package:pub/src/global_packages.dart GlobalPackages._installInCache
| | package:pub/src/global_packages.dart 111:11 GlobalPackages.activateHosted.<async>
| | ===== asynchronous gap ===========================
| | dart:async Future.Future.microtask
| | package:pub/src/global_packages.dart GlobalPackages.activateHosted
| | package:pub/src/command/global_activate.dart 91:24 GlobalActivateCommand.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>
01:15 +87 -15: test/dart2js/compiles_imported_generated_file_test.dart: ... a generated file to JS ^C
~/dev/dart/sdk/third_party/pkg/pub ((1c08b84...)) →
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment