Description
On debug linux, builder
https://ci.chromium.org/p/dart/builders/luci.dart.ci.sandbox/pkg-linux-debug
The subtest "test_exit_afterShutdown" of test pkg/analysis_server/test/integration/lsp_server/server_test
times out (in the pkg:test framework) after 30 seconds.
I know there is a way to give a test a longer timeout in the pkg:test framework, but these tests are generated tests, made with the test_reflective_loader system, so there is no obvious place to add this custom timeout. This failure is approved on the builder, so it won't be listed in the test results after this.
Test source:
Log is:
/========================================================================================================
| pkg/analysis_server/test/integration/lsp_server/server_test failed again (RuntimeError, expected Pass) |
========================================================================================================/
--- Command "vm" (took 01:10.000685s):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart-sdk/bin/dart --no-background-compilation --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/analysis_server/test/integration/lsp_server/server_test.dart
exit code:
255
stdout:
00:00 �[32m+0�[0m: ServerTest | test_exit_afterShutdown�[0m
00:30 �[32m+0�[0m�[31m -1�[0m: ServerTest | test_exit_afterShutdown �[1m�[31m[E]�[0m�[0m
TimeoutException after 0:00:30.000000: Test timed out after 30 seconds.
third_party/pkg/test/lib/src/backend/invoker.dart 332:28 Invoker._handleError.
dart:async/zone.dart 1120:38 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
third_party/pkg/test/lib/src/backend/invoker.dart 330:10 Invoker._handleError
third_party/pkg/test/lib/src/backend/invoker.dart 283:9 Invoker.heartbeat..
dart:async/zone.dart 1124:13 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
third_party/pkg/test/lib/src/backend/invoker.dart 281:38 Invoker.heartbeat.
third_party/pkg/stack_trace/lib/src/stack_zone_specification.dart 209:15 StackZoneSpecification._run
third_party/pkg/stack_trace/lib/src/stack_zone_specification.dart 119:48 StackZoneSpecification._registerCallback.
dart:async/zone.dart 1124:13 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
dart:async/zone.dart 947:23 _CustomZone.bindCallback.
dart:async/runtime/lib/timer_patch.dart 21:15 Timer._createTimer.
dart:isolate/runtime/lib/timer_impl.dart 382:19 _Timer._runTimers
dart:isolate/runtime/lib/timer_impl.dart 416:5 _Timer._handleMessage
dart:isolate/runtime/lib/isolate_patch.dart 171:12 _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async/zone.dart 1045:19 _CustomZone.registerCallback
dart:async/zone.dart 946:22 _CustomZone.bindCallback
dart:async/zone.dart 1191:21 _rootCreateTimer
dart:async/zone.dart 1088:19 _CustomZone.createTimer
third_party/pkg/test/lib/src/backend/invoker.dart 280:34 Invoker.heartbeat
third_party/pkg/test/lib/src/backend/invoker.dart 243:5 Invoker.waitForOutstandingCallbacks
third_party/pkg/test/lib/src/backend/declarer.dart 166:33 Declarer.test..
dart:async/zone.dart 1124:13 _rootRun
dart:async/zone.dart 1021:19 _CustomZone.run
dart:async/zone.dart 1516:10 _runZoned
dart:async/zone.dart 1463:12 runZoned
third_party/pkg/test/lib/src/backend/declarer.dart 165:13 Declarer.test.
===== 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
third_party/pkg/test/lib/src/backend/invoker.dart 402:11 Invoker._onRun...
00:30 �[32m+0�[0m�[31m -1�[0m: ServerTest | test_exit_withoutShutdown�[0m
00:40 �[32m+1�[0m�[31m -1�[0m: �[31mSome tests failed.�[0m
stderr:
Unhandled exception:
Dummy exception to set exit code.
#0 _rootHandleUncaughtError. (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/runtime/lib/timer_impl.dart:391:30)
#4 _Timer._handleMessage (dart:isolate/runtime/lib/timer_impl.dart:416:5)
#5 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:171:12)
--- Re-run this test:
python tools/test.py -n unittest-asserts-debug-linux pkg/analysis_server/test/integration/lsp_server/server_test