Back to build
Raw log | Switch to full mode | Login

/=====================================================================================\ | pkg/dartfix/test/src/driver_exclude_test failed again (RuntimeError, expected Pass) | \=====================================================================================/ --- Command "vm" (took 30.000166s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/dartfix/test/src/driver_exclude_test.dart exit code: 255 stdout: 00:00 +0: exclude fix [ 0.002s] Targets: [ 0.007s] /b/s/w/ir/cache/builder/sdk/pkg/dartfix/example Failed to connect to server Dart SDK version 2.2.1-dev.4.0 (Wed Apr 10 21:16:14 2019 +0200) on "linux_x64" /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/dart-sdk/bin/dart dartfix /b/s/w/ir/cache/builder/sdk/pkg/dartfix/test/src/driver_exclude_test.dart Starting analysis server: out/ReleaseX64/dart-sdk/bin/dart --packages=file:///b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/analysis_server/bin/server.dart --client-id dartfix --client-version unspecified --suppress-analytics --sdk=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/dart-sdk ==> {"id":"0","method":"server.shutdown"} --- original example // This file contains code that is modified by running dartfix. // After running dartfix, the content of this file matches example-fixed.dart. // Dart will automatically convert int literals to doubles. // Running dartfix converts this double literal to an int. const double myDouble = 4.0; // This class is used as a mixin but does not use the new mixin syntax. // Running dartfix converts this class to use the new syntax. class MyMixin { final someValue = myDouble; } class MyClass with MyMixin {} main() { print('myDouble = ${MyClass().someValue}'); } 00:15 +0 -1: exclude fix [E] TestExit(15) pkg/dartfix/test/src/test_context.dart 22:5 TestContext.exit package:dartfix/src/driver.dart 47:15 Driver.start ===== asynchronous gap =========================== dart:async/future_impl.dart 22:43 _Completer.completeError dart:async-patch/async_patch.dart 40:18 _AsyncAwaitCompleter.completeError package:dartfix/src/driver.dart Driver.start ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:dartfix/src/driver.dart Driver.start pkg/dartfix/test/src/driver_exclude_test.dart 32:20 main.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper pkg/dartfix/test/src/driver_exclude_test.dart main.<fn> package:test/src/backend/declarer.dart 168:27 Declarer.test.<fn>.<fn>.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.<fn>.<fn>.<fn> package:test/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1045:19 _CustomZone.registerCallback dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded dart:async/timer.dart 52:45 new Timer dart:async/timer.dart 87:9 Timer.run dart:async/future.dart 174:11 new Future package:test/src/backend/invoker.dart 402:11 Invoker._onRun.<fn>.<fn>.<fn> 00:15 +0 -1: Some tests failed. stderr: Unhandled exception: Dummy exception to set exit code. #0 _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29) #1 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #2 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #3 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30) #4 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12) --- Re-run this test: python tools/test.py -n unittest-asserts-release-linux pkg/dartfix/test/src/driver_exclude_test /=====================================================================================\ | pkg/dartfix/test/src/driver_include_test failed again (RuntimeError, expected Pass) | \=====================================================================================/ --- Command "vm" (took 30.000089s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/dartfix/test/src/driver_include_test.dart exit code: 255 stdout: 00:00 +0: include fix 00:15 +0 -1: include fix [E] TestExit(15) pkg/dartfix/test/src/test_context.dart 22:5 TestContext.exit package:dartfix/src/driver.dart 47:15 Driver.start ===== asynchronous gap =========================== dart:async/future_impl.dart 22:43 _Completer.completeError dart:async-patch/async_patch.dart 40:18 _AsyncAwaitCompleter.completeError package:dartfix/src/driver.dart Driver.start ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:dartfix/src/driver.dart Driver.start pkg/dartfix/test/src/driver_include_test.dart 27:18 main.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper pkg/dartfix/test/src/driver_include_test.dart main.<fn> package:test/src/backend/declarer.dart 168:27 Declarer.test.<fn>.<fn>.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.<fn>.<fn>.<fn> package:test/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1045:19 _CustomZone.registerCallback dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded dart:async/timer.dart 52:45 new Timer dart:async/timer.dart 87:9 Timer.run dart:async/future.dart 174:11 new Future package:test/src/backend/invoker.dart 402:11 Invoker._onRun.<fn>.<fn>.<fn> 00:15 +0 -1: Some tests failed. stderr: Unhandled exception: Dummy exception to set exit code. #0 _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29) #1 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #2 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #3 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30) #4 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12) --- Re-run this test: python tools/test.py -n unittest-asserts-release-linux pkg/dartfix/test/src/driver_include_test /==================================================================================\ | pkg/dartfix/test/src/driver_list_test failed again (RuntimeError, expected Pass) | \==================================================================================/ --- Command "vm" (took 28.000899s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/dartfix/test/src/driver_list_test.dart exit code: 255 stdout: 00:00 +0: list fixes 00:15 +0 -1: list fixes [E] TestExit(15) pkg/dartfix/test/src/test_context.dart 22:5 TestContext.exit package:dartfix/src/driver.dart 47:15 Driver.start ===== asynchronous gap =========================== dart:async/future_impl.dart 22:43 _Completer.completeError dart:async-patch/async_patch.dart 40:18 _AsyncAwaitCompleter.completeError package:dartfix/src/driver.dart Driver.start ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:dartfix/src/driver.dart Driver.start pkg/dartfix/test/src/driver_list_test.dart 15:18 main.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.<fn>.<fn>.<fn> package:test/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1045:19 _CustomZone.registerCallback dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded dart:async/timer.dart 52:45 new Timer dart:async/timer.dart 87:9 Timer.run dart:async/future.dart 174:11 new Future package:test/src/backend/invoker.dart 402:11 Invoker._onRun.<fn>.<fn>.<fn> 00:15 +0 -1: Some tests failed. stderr: Usage: dartfix [options...] <directory paths> Choosing fixes to be applied: -i, --include=<name-of-fix> Include a specific fix. -x, --exclude=<name-of-fix> Exclude a specific fix. -r, --required Apply required fixes. -l, --list Display a list of fixes that can be applied. Modifying files: -w, --overwrite Overwrite files with the changes. -f, --force Overwrite files even if there are errors. Miscelaneous: --[no-]color Use ansi colors when printing messages. -h, --help Display this help message. -v, --verbose Verbose output. If neither --include nor --required is specified, then all fixes will be applied. Any fixes specified using --exclude will not be applied regardless of whether they are required or specifed using --include. Unhandled exception: Dummy exception to set exit code. #0 _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29) #1 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #2 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #3 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30) #4 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12) --- Re-run this test: python tools/test.py -n unittest-asserts-release-linux pkg/dartfix/test/src/driver_list_test /======================================================================================\ | pkg/dartfix/test/src/driver_required_test failed again (RuntimeError, expected Pass) | \======================================================================================/ --- Command "vm" (took 30.000075s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/dartfix/test/src/driver_required_test.dart exit code: 255 stdout: 00:00 +0: required fixes 00:15 +0 -1: required fixes [E] TestExit(15) pkg/dartfix/test/src/test_context.dart 22:5 TestContext.exit package:dartfix/src/driver.dart 47:15 Driver.start ===== asynchronous gap =========================== dart:async/future_impl.dart 22:43 _Completer.completeError dart:async-patch/async_patch.dart 40:18 _AsyncAwaitCompleter.completeError package:dartfix/src/driver.dart Driver.start ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:dartfix/src/driver.dart Driver.start pkg/dartfix/test/src/driver_required_test.dart 27:18 main.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper pkg/dartfix/test/src/driver_required_test.dart main.<fn> package:test/src/backend/declarer.dart 168:27 Declarer.test.<fn>.<fn>.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.<fn>.<fn>.<fn> package:test/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1045:19 _CustomZone.registerCallback dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded dart:async/timer.dart 52:45 new Timer dart:async/timer.dart 87:9 Timer.run dart:async/future.dart 174:11 new Future package:test/src/backend/invoker.dart 402:11 Invoker._onRun.<fn>.<fn>.<fn> 00:15 +0 -1: Some tests failed. stderr: Unhandled exception: Dummy exception to set exit code. #0 _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29) #1 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #2 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #3 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30) #4 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12) --- Re-run this test: python tools/test.py -n unittest-asserts-release-linux pkg/dartfix/test/src/driver_required_test /=============================================================================\ | pkg/dartfix/test/src/driver_test failed again (RuntimeError, expected Pass) | \=============================================================================/ --- Command "vm" (took 30.000256s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/dartfix/test/src/driver_test.dart exit code: 255 stdout: 00:00 +0: fix example 00:15 +0 -1: fix example [E] TestExit(15) pkg/dartfix/test/src/test_context.dart 22:5 TestContext.exit package:dartfix/src/driver.dart 47:15 Driver.start ===== asynchronous gap =========================== dart:async/future_impl.dart 22:43 _Completer.completeError dart:async-patch/async_patch.dart 40:18 _AsyncAwaitCompleter.completeError package:dartfix/src/driver.dart Driver.start ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:dartfix/src/driver.dart Driver.start pkg/dartfix/test/src/driver_test.dart 33:18 main.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper pkg/dartfix/test/src/driver_test.dart main.<fn> package:test/src/backend/declarer.dart 168:27 Declarer.test.<fn>.<fn>.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1053:19 _CustomZone.registerUnaryCallback dart:async-patch/async_patch.dart 77:23 _asyncThenWrapperHelper package:test/src/backend/declarer.dart Declarer.test.<fn>.<fn>.<fn> package:test/src/backend/invoker.dart 250:15 Invoker.waitForOutstandingCallbacks.<fn> ===== asynchronous gap =========================== dart:async/zone.dart 1045:19 _CustomZone.registerCallback dart:async/zone.dart 962:22 _CustomZone.bindCallbackGuarded dart:async/timer.dart 52:45 new Timer dart:async/timer.dart 87:9 Timer.run dart:async/future.dart 174:11 new Future package:test/src/backend/invoker.dart 402:11 Invoker._onRun.<fn>.<fn>.<fn> 00:15 +0 -1: run example 00:16 +1 -1: Some tests failed. stderr: Unhandled exception: Dummy exception to set exit code. #0 _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29) #1 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #2 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #3 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30) #4 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12) --- Re-run this test: python tools/test.py -n unittest-asserts-release-linux pkg/dartfix/test/src/driver_test