Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky standalone_2/io/http_server_close_response_after_error_test: Timeout #28370

Open
bkonyi opened this issue Jan 12, 2017 · 2 comments
Open
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. gardening

Comments

@bkonyi
Copy link
Contributor

bkonyi commented Jan 12, 2017

Failure occurred on vm-win-release-x64-be

=== Failure summary:


FAILED: none-vm release_x64 standalone/io/http_server_close_response_after_error_test
Expected: Pass 
Actual: Timeout
CommandOutput[vm]:

Command[vm]: set DART_CONFIGURATION=ReleaseX64 & out\ReleaseX64\dart.exe --ignore-unrecognized-flags --packages=E:\b\build\slave\vm-win-release-x64-be\build\sdk\.packages E:\b\build\slave\vm-win-release-x64-be\build\sdk\tests\standalone\io\http_server_close_response_after_error_test.dart
Took 0:01:00.014001

Short reproduction command (experimental):
    python tools/test.py -mrelease -t60 standalone/io/http_server_close_response_after_error_test
@bkonyi bkonyi added area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. gardening labels Jan 12, 2017
bkonyi added a commit that referenced this issue Jan 12, 2017
…ter_error_test on vm-win-release-x64-be due to flakiness. See issue #28370.

BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2626193003 .
@mraleph
Copy link
Member

mraleph commented Nov 16, 2017

This issue has been last updated 279 days ago. Please consider investigating whether it is still meaningful and if not close it. If the issue is still meaningful please find a relevant owner. Thank you.

@dcharkes
Copy link
Contributor

This test also flakes on mac simdbc. log

As this is on mac, it could have the same cause as: #29764

Marking test as flaky in status file.

N.b. this test and the status file was migrated to Dart2.

FAILED: dartk-vm release_simdbc64 standalone_2/io/http_server_close_response_after_error_test
Expected: Pass
Actual: Timeout

--- Command "vm_compile_to_kernel" (took 597ms):
DART_CONFIGURATION=ReleaseSIMDBC64 /b/s/w/ir/pkg/vm/tool/gen_kernel --no-aot --platform=xcodebuild/ReleaseSIMDBC64/vm_platform_strong.dill -o /b/s/w/ir/xcodebuild/ReleaseSIMDBC64/generated_compilations/dartk/tests_standalone_2_io_http_server_close_response_after_error_test.dart_1/out.dill /b/s/w/ir/tests/standalone_2/io/http_server_close_response_after_error_test.dart --packages=/b/s/w/ir/.packages -Ddart.developer.causal_async_stacks=true

exit code:
0

--- Command "vm" (took 04:38.000981s):
DART_CONFIGURATION=ReleaseSIMDBC64 xcodebuild/ReleaseSIMDBC64/dart --short_socket_read --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/xcodebuild/ReleaseSIMDBC64/generated_compilations/dartk/tests_standalone_2_io_http_server_close_response_after_error_test.dart_1/out.dill

exit code:
-15

diagnostics:
Process list including children: [77103, 77104]
Trying to capture stack trace for pid 77103

Analysis of sampling dart (pid 77103) every 4000 milliseconds
Process:         dart [77103]
Path:            /b/s/w/ir/xcodebuild/ReleaseSIMDBC64/dart
Load Address:    0x103e59000
Identifier:      dart
Version:         0
Code Type:       X86-64
Parent Process:  dart [76410]

Date/Time:       2019-01-10 14:55:49.839 -0800
Launch Time:     2019-01-10 14:51:49.602 -0800
OS Version:      Mac OS X 10.13.6 (17G65)
Report Version:  7
Analysis Tool:   /usr/bin/sample

Physical footprint:         35.1M
Physical footprint (peak):  39.7M
----

Call graph:
    1 Thread_651277   DispatchQueue_1: com.apple.main-thread  (serial)
    + 1 start  (in libdyld.dylib) + 1  [0x7fff632f9015]
    +   1 main  (in dart) + 9  [0x103e5c0d9]
    +     1 dart::bin::main(int, char**)  (in dart) + 1095  [0x103e5b787]
    +       1 dart::bin::RunMainIsolate(char const*, dart::bin::CommandLineOptions*)  (in dart) + 1276  [0x103e5aa3c]
    +         1 Dart_RunLoop  (in dart) + 346  [0x1043541fa]
    +           1 dart::Monitor::Wait(long long)  (in dart) + 180  [0x1041608c4]
    +             1 _pthread_cond_wait  (in libsystem_pthread.dylib) + 732  [0x7fff63612589]
    +               1 __psynch_cvwait  (in libsystem_kernel.dylib) + 10  [0x7fff63449a16]
    1 Thread_651278
    + 1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff63610bf9]
    +   1 _pthread_start  (in libsystem_pthread.dylib) + 377  [0x7fff6361150d]
    +     1 _pthread_body  (in libsystem_pthread.dylib) + 340  [0x7fff63611661]
    +       1 dart::bin::ThreadStart(void*)  (in dart) + 30  [0x103e83cae]
    +         1 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long)  (in dart) + 264  [0x103e63e68]
    +           1 kevent  (in libsystem_kernel.dylib) + 10  [0x7fff6344abea]
    1 Thread_651279
    + 1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff63610bf9]
    +   1 _pthread_start  (in libsystem_pthread.dylib) + 377  [0x7fff6361150d]
    +     1 _pthread_body  (in libsystem_pthread.dylib) + 340  [0x7fff63611661]
    +       1 dart::ThreadStart(void*)  (in dart) + 71  [0x10415fec7]
    +         1 dart::ThreadPool::Worker::Main(unsigned long)  (in dart) + 135  [0x1041fa1b7]
    +           1 dart::ThreadPool::Worker::Loop()  (in dart) + 47  [0x1041fa32f]
    +             1 dart::BackgroundCompiler::Run()  (in dart) + 1034  [0x10431ec7a]
    +               1 dart::Monitor::Wait(long long)  (in dart) + 180  [0x1041608c4]
    +                 1 _pthread_cond_wait  (in libsystem_pthread.dylib) + 732  [0x7fff63612589]
    +                   1 __psynch_cvwait  (in libsystem_kernel.dylib) + 10  [0x7fff63449a16]
    1 Thread_651282
    + 1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff63610bf9]
    +   1 _pthread_start  (in libsystem_pthread.dylib) + 377  [0x7fff6361150d]
    +     1 _pthread_body  (in libsystem_pthread.dylib) + 340  [0x7fff63611661]
    +       1 dart::ThreadStart(void*)  (in dart) + 71  [0x10415fec7]
    +         1 dart::ThreadPool::Worker::Main(unsigned long)  (in dart) + 135  [0x1041fa1b7]
    +           1 dart::ThreadPool::Worker::Loop()  (in dart) + 47  [0x1041fa32f]
    +             1 dart::MessageHandler::TaskCallback()  (in dart) + 534  [0x1040d10c6]
    +               1 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)  (in dart) + 222  [0x1040d0a4e]
    +                 1 dart::IsolateMessageHandler::HandleMessage(dart::Message*)  (in dart) + 1307  [0x1040a110b]
    +                   1 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)  (in dart) + 735  [0x10407292f]
    +                     1 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)  (in dart) + 957  [0x10406f97d]
    +                       1 dart::Simulator::Call(dart::Code const&, dart::Array const&, dart::Array const&, dart::Thread*)  (in dart) + 8422  [0x1041dafb6]
    +                         1 dart::InvokeNative(dart::Thread*, dart::Simulator*, void (*)(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)), void (*)(_Dart_NativeArguments*), _Dart_NativeArguments*)  (in dart) + 87  [0x1041e00f7]
    +                           1 dart::NativeEntry::AutoScopeNativeCallWrapperNoStackCheck(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*))  (in dart) + 135  [0x1040d2f87]
    +                             1 dart::bin::Builtin_Process_Start(_Dart_NativeArguments*)  (in dart) + 646  [0x103e680c6]
    +                               1 dart::bin::Process::Start(dart::bin::Namespace*, char const*, char**, long, char const*, char**, long, dart::bin::ProcessStartMode, long*, long*, long*, long*, long*, char**)  (in dart) + 504  [0x103e68c68]
    +                                 1 dart::bin::ProcessStarter::Start()  (in dart) + 451  [0x103e68e43]
    +                                   1 dart::bin::FDUtils::ReadFromBlocking(int, void*, unsigned long)  (in dart) + 94  [0x103e7ce5e]
    +                                     1 read  (in libsystem_kernel.dylib) + 10  [0x7fff6344b142]
    1 Thread_651285
      1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff63610bf9]
        1 _pthread_start  (in libsystem_pthread.dylib) + 377  [0x7fff6361150d]
          1 _pthread_body  (in libsystem_pthread.dylib) + 340  [0x7fff63611661]
            1 dart::bin::ThreadStart(void*)  (in dart) + 30  [0x103e83cae]
              1 dart::bin::ExitCodeHandler::ExitCodeHandlerEntry(unsigned long)  (in dart) + 184  [0x103e6b3f8]
                1 __wait4  (in libsystem_kernel.dylib) + 10  [0x7fff6344a22a]

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):

Binary Images:
...

Sampling process 77103 for 1 second with 4000 milliseconds of run time between samples
Sampling completed, processing symbols...
Sample analysis of process 77103 written to file /tmp/dart_2019-01-10_145549_K33X.sample.txt

Trying to capture stack trace for pid 77104

Analysis of sampling dart (pid 77104) every 4000 milliseconds
Process:         dart [77104]
Path:            /b/s/w/ir/xcodebuild/ReleaseSIMDBC64/dart
Load Address:    0x103e59000
Identifier:      dart
Version:         0
Code Type:       X86-64
Parent Process:  dart [77103]

Date/Time:       2019-01-10 14:55:54.184 -0800
Launch Time:     2019-01-10 14:51:49.863 -0800
OS Version:      Mac OS X 10.13.6 (17G65)
Report Version:  7
Analysis Tool:   /usr/bin/sample

Physical footprint:         256K
Physical footprint (peak):  256K
----

Call graph:
    1 Thread_651284: Main Thread   DispatchQueue_<multiple>
      1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff63610bf9]
        1 _pthread_start  (in libsystem_pthread.dylib) + 377  [0x7fff6361150d]
          1 _pthread_body  (in libsystem_pthread.dylib) + 340  [0x7fff63611661]
            1 dart::ThreadStart(void*)  (in dart) + 71  [0x10415fec7]
              1 dart::ThreadPool::Worker::Main(unsigned long)  (in dart) + 135  [0x1041fa1b7]
                1 dart::ThreadPool::Worker::Loop()  (in dart) + 47  [0x1041fa32f]
                  1 dart::MessageHandler::TaskCallback()  (in dart) + 534  [0x1040d10c6]
                    1 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)  (in dart) + 222  [0x1040d0a4e]
                      1 dart::IsolateMessageHandler::HandleMessage(dart::Message*)  (in dart) + 1307  [0x1040a110b]
                        1 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)  (in dart) + 735  [0x10407292f]
                          1 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)  (in dart) + 957  [0x10406f97d]
                            1 dart::Simulator::Call(dart::Code const&, dart::Array const&, dart::Array const&, dart::Thread*)  (in dart) + 8422  [0x1041dafb6]
                              1 dart::InvokeNative(dart::Thread*, dart::Simulator*, void (*)(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)), void (*)(_Dart_NativeArguments*), _Dart_NativeArguments*)  (in dart) + 87  [0x1041e00f7]
                                1 dart::NativeEntry::AutoScopeNativeCallWrapperNoStackCheck(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*))  (in dart) + 135  [0x1040d2f87]
                                  1 dart::bin::Builtin_Process_Start(_Dart_NativeArguments*)  (in dart) + 646  [0x103e680c6]
                                    1 dart::bin::Process::Start(dart::bin::Namespace*, char const*, char**, long, char const*, char**, long, dart::bin::ProcessStartMode, long*, long*, long*, long*, long*, char**)  (in dart) + 504  [0x103e68c68]
                                      1 dart::bin::ProcessStarter::Start()  (in dart) + 85  [0x103e68cd5]
                                        1 fork  (in libsystem_c.dylib) + 47  [0x7fff63358683]
                                          1 libSystem_atfork_child  (in libSystem.B.dylib) + 39  [0x7fff60f94b09]
                                            1 _os_once  (in libsystem_platform.dylib) + 33  [0x7fff63606f00]
                                              1 _dirhelper_init  (in libsystem_coreservices.dylib) + 74  [0x7fff633d7cb7]
                                                1 calloc  (in libsystem_malloc.dylib) + 30  [0x7fff634a458e]
                                                  1 malloc_zone_calloc  (in libsystem_malloc.dylib) + 87  [0x7fff634a3c7c]
                                                    1 szone_malloc_should_clear  (in libsystem_malloc.dylib) + 1743  [0x7fff634a28e8]
                                                      1 syscall_thread_switch  (in libsystem_kernel.dylib) + 10  [0x7fff6344031e]

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):

Binary Images:
...


Sampling process 77104 for 1 second with 4000 milliseconds of run time between samples
Sampling completed, processing symbols...
Sample analysis of process 77104 written to file /tmp/dart_2019-01-10_145554_kk9D.sample.txt


--- Re-run this test:
python tools/test.py -n dartk-mac-release-simdbc64 standalone_2/io/http_server_close_response_after_error_test

@dcharkes dcharkes changed the title Flaky standalone/io/http_server_close_response_after_error_test: Timeout Flaky standalone_2/io/http_server_close_response_after_error_test: Timeout Jan 11, 2019
dart-bot pushed a commit that referenced this issue Jan 11, 2019
Issue: #28370
Change-Id: I91ae1099747d72eb2069fa0d0d228979ae6df2a3
Reviewed-on: https://dart-review.googlesource.com/c/89003
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Samir Jindel <sjindel@google.com>
Commit-Queue: Samir Jindel <sjindel@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. gardening
Projects
None yet
Development

No branches or pull requests

4 participants