Skip to content

Timeouts on new vm-dartkb-linux-release-x64-abi bot #37630

@mkustermann

Description

@mkustermann

The vm-dartkb-linux-release-x64-abi bot started to have infra failures caused by timeouts, see for example (vm-dartkb-linux-release-x64-abi/252)[https://ci.chromium.org/p/dart/builders/ci.sandbox/vm-dartkb-linux-release-x64-abi/252].

This can be reproduced locally by:

% tools/gn.py '--mode=release' '--arch=x64' --bytecode
% ninja -C out/ReleaseX64 -j200 -l64 create_sdk_with_abi_versions
% mkdir -p out/ReleaseX64/test/logs
% python tools/test.py -t60 -m release -c dartkb --vm-options "--enable-interpreter --use-abi-version=6" lib_2/collection/hash_map_test
...
#1  0x00005555a931a7c5 dart::bin::EventHandlerImplementation::Poll(unsigned long)
#2  0x00005555a9362f05 dart::bin::ThreadStart(void*)
#3  0x00007face6908c73 start_thread
#4  0x00007face60b2def __clone
TID 121685:
#0  0x00007face690ecdc pthread_cond_wait@@GLIBC_2.3.2
#1  0x00005555a964d8a8 dart::Monitor::WaitMicros(long)
#2  0x00005555a98401ca dart::BackgroundCompiler::Run()
#3  0x00005555a96e5637 dart::ThreadPool::Worker::Loop()
#4  0x00005555a96e54d5 dart::ThreadPool::Worker::Main(unsigned long)
#5  0x00005555a964d199 dart::ThreadStart(void*)
#6  0x00007face6908c73 start_thread
#7  0x00007face60b2def __clone
TID 121686:
#0  0x00007face690ecdc pthread_cond_wait@@GLIBC_2.3.2
#1  0x00005555a964d8a8 dart::Monitor::WaitMicros(long)
#2  0x00005555a98401ca dart::BackgroundCompiler::Run()
#3  0x00005555a96e5637 dart::ThreadPool::Worker::Loop()
#4  0x00005555a96e54d5 dart::ThreadPool::Worker::Main(unsigned long)
#5  0x00005555a964d199 dart::ThreadStart(void*)
#6  0x00007face6908c73 start_thread
#7  0x00007face60b2def __clone
TID 121687:
#0  0x00007face690ecdc pthread_cond_wait@@GLIBC_2.3.2
#1  0x00005555a964d8a8 dart::Monitor::WaitMicros(long)
#2  0x00005555a98401ca dart::BackgroundCompiler::Run()
#3  0x00005555a96e5637 dart::ThreadPool::Worker::Loop()
#4  0x00005555a96e54d5 dart::ThreadPool::Worker::Main(unsigned long)
#5  0x00005555a964d199 dart::ThreadStart(void*)
#6  0x00007face6908c73 start_thread
#7  0x00007face60b2def __clone
TID 121688:
#0  0x00007face690ecdc pthread_cond_wait@@GLIBC_2.3.2
#1  0x00005555a964d8a8 dart::Monitor::WaitMicros(long)
#2  0x00005555a98401ca dart::BackgroundCompiler::Run()
#3  0x00005555a96e5637 dart::ThreadPool::Worker::Loop()
#4  0x00005555a96e54d5 dart::ThreadPool::Worker::Main(unsigned long)
#5  0x00005555a964d199 dart::ThreadStart(void*)
#6  0x00007face6908c73 start_thread
#7  0x00007face60b2def __clone

stderr:
kernel-service: Error: Unhandled exception:
NoSuchMethodError: Class 'bool' has no instance method 'cast'.
Receiver: false
Tried calling: cast<String>()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
#1      _processLoadRequest (file:///b/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:502:39)
<asynchronous suspension>
#2      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

Unhandled exception:
NoSuchMethodError: Class 'bool' has no instance method 'cast'.
Receiver: false
Tried calling: cast<String>()
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
#1      _processLoadRequest (file:///b/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:502:39)
<asynchronous suspension>
#2      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

--- Re-run this test:
python tools/test.py -m release -c dartkb -t 60 --vm-options "--enable-interpreter --use-abi-version=6" lib_2/collection/hash_map_test                                                                                                                       

Done dartkb-vm release_x64 lib_2/collection/hash_map_test: fail

So there seems to be some issue with starting the kernel service.

I'm not quite sure what this bot is testing. @liamappelbe @a-siva maybe you know what's happening here?

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions