cpp_client_telemetry icon indicating copy to clipboard operation
cpp_client_telemetry copied to clipboard

Intermittent test failures in APITest.LogManager_Reinitialize_UploadNow

Open maxgolov opened this issue 5 years ago • 0 comments

Unclear what triggers it. It seems like it's been there for a while.

Re-triggering the test fixes it.

Seems to be specific to POSIX (Linux only?), most likely only libcurl-based.

[==========] 38 tests from 4 test cases ran. (408260 ms total)
[  PASSED  ] 37 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] APITest.LogManager_Reinitialize_UploadNow

Seems like it's a slow shutdown issue:

[ RUN      ] APITest.LogManager_Reinitialize_UploadNow
/home/runner/work/cpp_client_telemetry/cpp_client_telemetry/tests/functests/APITest.cpp:1044: Failure
Expected: (shutdownSec + 1) >= (total_time), actual: 21 vs 304
[  FAILED  ] APITest.LogManager_Reinitialize_UploadNow (304703 ms)

We can try to write a script to scan all merges, and find what was the first build causing it.

maxgolov avatar Sep 08 '20 17:09 maxgolov