Skip to content

service/gc_test is failing locally in debug mode #34640

@mraleph

Description

@mraleph

The bot is green however for unclear reason.

$ tools/test.py -c dartk -a x64 -m debug service/gc_test                                                                                    
Test configuration:
    custom configuration(architecture: x64, compiler: dartk, mode: debug, runtime: vm, system: linux, vm-options: [], timeout: null, preview-dart-2)
Suites tested: service

FAILED: dartk-vm debug_x64 service/gc_test
Expected: Pass
Actual: RuntimeError

--- Command "vm" (took 08.000402s):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart --no-background-compilation --error_on_bad_type --error_on_bad_override --ignore-unrecognized-flags --packages=/usr/local/google/home/vegorov/src/dart/sdk/.packages /usr/local/google/home/vegorov/src/dart/sdk/runtime/observatory/tests/service/gc_test.dart

exit code:
255

stdout:
** Launching SERVICE_TEST_TESTEE=true out/DebugX64/dart -DDART_SERVICE_USE_AUTH=false --profiler --no-background-compilation --error_on_bad_type --error_on_bad_override --ignore-unrecognized-flags --packages=/usr/local/google/home/vegorov/src/dart/sdk/.packages --enable-vm-service:0 /usr/local/google/home/vegorov/src/dart/sdk/runtime/observatory/tests/service/gc_test.dart
>testee>out> Observatory listening on http://127.0.0.1:33139/
** Signaled to run test queries on http://127.0.0.1:33139/
>testee>out> 
Loading VM...
Done loading VM
Running gc_test.dart [1/1]
>testee>err> ../../../../../../usr/local/google/home/vegorov/src/dart/sdk/runtime/vm/service_event.cc: 36: error: expected: isolate == NULL || !Isolate::IsVMInternalIsolate(isolate)
>testee>err> Dumping native stack trace for thread 2b40a
>testee>err> ../../../../../../usr/local/google/home/vegorov/src/dart/sdk/runtime/vm/handles_impl.h: 84: error: expected: thread->top_handle_scope() != NULL
>testee>err> Aborting re-entrant request for stack trace.
** Killing script
Unexpected exception in service tests: Testee exited with -6
#0      _ServiceTesteeLauncher.launch.<anonymous closure>.<anonymous closure> (file:///usr/local/google/home/vegorov/src/dart/sdk/runtime/observatory/tests/service/test_helper.dart:253:11)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:486:5)
#7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:516:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#12     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#13     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#14     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#15     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

stderr:
Unhandled exception:
Testee exited with -6
#0      _ServiceTesteeLauncher.launch.<anonymous closure>.<anonymous closure> (file:///usr/local/google/home/vegorov/src/dart/sdk/runtime/observatory/tests/service/test_helper.dart:253:11)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:486:5)
#7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:516:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#12     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#13     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#14     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#15     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

--- Re-run this test:
python tools/test.py -m debug -c dartk service/gc_test

[00:08 | 100% | +    0 | -    1]

Metadata

Metadata

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions