dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.08k stars 1.56k forks source link

standalone_2/io/async_catch_errors_test turned from flaky to Timeout on dartkp-linux-product-x64 #46354

Open alexmarkov opened 3 years ago

alexmarkov commented 3 years ago

There are new test failures on [cfe] Don't show context on type argument issues if location is null...Revert "Revert "Move most of the code from u/b/kernel_worker.dart to p/frontend_server"".

The tests

standalone_2/io/async_catch_errors_test Timeout (expected Pass)

are failing on configurations

dartkp-linux-product-x64

Could be related to https://github.com/dart-lang/sdk/issues/46168.

alexmarkov commented 3 years ago

The test standalone/io/async_catch_errors_test also turned from flaky to Timeout on dartk-strong-linux-release-x64 and dartk-weak-asserts-linux-release-x64 configurations.

Log:

--- Command "vm" (took 01:00.000452s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --sound-null-safety --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/standalone/io/async_catch_errors_test.dart

exit code:
null

diagnostics:
Process list including children: [12240]
Trying to capture stack trace for pid 12240
PID 12240 - process
TID 12240:
#0  0x00007f2030c69ad3 pthread_cond_wait@@GLIBC_2.3.2
#1  0x00005624566b62f8 dart::Monitor::WaitMicros(long)
#2  0x0000562456b3ce4a Dart_RunLoop
#3  0x000056245642b052 dart::bin::RunMainIsolate(char const*, char const*, dart::bin::CommandLineOptions*)
#4  0x000056245642bfd7 dart::bin::main(int, char**)
#5  0x000056245642cd69 main
#6  0x00007f20304eebf7 __libc_start_main
#7  0x00005624564254e9 _start
TID 12241:
#0  0x00007f20305eea47 epoll_wait
#1  0x000056245643b6f8 dart::bin::EventHandlerImplementation::Poll(unsigned long)
#2  0x000056245656c1c0 dart::bin::ThreadStart(void*)
#3  0x00007f2030c636db start_thread
#4  0x00007f20305ee71f __clone
TID 12245:
#0  0x00007f2030c69ad3 pthread_cond_wait@@GLIBC_2.3.2
#1  0x00005624566b62f8 dart::Monitor::WaitMicros(long)
#2  0x00005624567568e7 dart::BackgroundCompiler::Run()
#3  0x00005624567439b8 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)
#4  0x0000562456743dec dart::ThreadPool::Worker::Main(unsigned long)
#5  0x00005624566b5ba8 dart::ThreadStart(void*)
#6  0x00007f2030c636db start_thread
#7  0x00007f20305ee71f __clone

stdout:
unittest-suite-wait-for-done

--- Re-run this test:
python3 tools/test.py -n dartk-strong-linux-release-x64 standalone/io/async_catch_errors_test
alexmarkov commented 3 years ago

Same happened on dartk-strong-linux-debug-x64 and dartk-weak-asserts-linux-debug-x64 configurations.

https://dart-ci.appspot.com/log/vm-kernel-nnbd-linux-debug-x64/dartk-strong-linux-debug-x64/4127/standalone/io/async_catch_errors_test

https://dart-ci.appspot.com/log/vm-kernel-nnbd-linux-debug-x64/dartk-weak-asserts-linux-debug-x64/4127/standalone/io/async_catch_errors_test

dcharkes commented 11 months ago

Also on https://dart-ci.web.app/#showLatestFailures=false&test=standalone/io/async_catch_errors_test&configurations=vm-eager-optimization-linux-release-ia32