You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (Jira)" <ji...@apache.org> on 2026/02/06 17:39:00 UTC

[jira] [Commented] (KUDU-3596) TsTabletManagerITest.TestTableStats fails from time to time (TSAN build)

    [ https://issues.apache.org/jira/browse/KUDU-3596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056955#comment-18056955 ] 

Alexey Serbin commented on KUDU-3596:
-------------------------------------

Another example of flakiness; full log is attached. [^ts_tablet_manager-itest.20260206.txt.xz] 

{noformat}
src/kudu/integration-tests/ts_tablet_manager-itest.cc:784: Failure
Expected equality of these values:
  live_row_count
    Which is: 802
  table_info->GetMetrics()->live_row_count->value()
    Which is: 1604
src/kudu/util/test_util.cc:403: Failure
Failed
Timed out waiting for assertion to pass.
src/kudu/integration-tests/ts_tablet_manager-itest.cc:768: Failure
{noformat}

> TsTabletManagerITest.TestTableStats fails from time to time (TSAN build)
> ------------------------------------------------------------------------
>
>                 Key: KUDU-3596
>                 URL: https://issues.apache.org/jira/browse/KUDU-3596
>             Project: Kudu
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.17.0
>            Reporter: Alexey Serbin
>            Priority: Major
>         Attachments: ts_tablet_manager-itest.20260206.txt.xz, ts_tablet_manager-itest.txt.xz
>
>
> The {{TsTabletManagerITest.TestTableStats}} test scenario fails from time to time, at least in TSAN builds.  I'm not sure whether that's something related to the test itself, an issue related to stack collection, or a bug somewhere else.  When it fails, it reports something like below.  The full log is attached.
> {noformat}
> /home/jenkins-slave/workspace/build_and_test@2/src/kudu/integration-tests/ts_tablet_manager-itest.cc:783: Failure
> Expected equality of these values:                                              
>   live_row_count                                                                
>     Which is: 67                                                                
>   table_info->GetMetrics()->live_row_count->value()                             
>     Which is: 0                                                                 
> /home/jenkins-slave/workspace/build_and_test@2/src/kudu/util/test_util.cc:395: Failure
> Failed                                                                          
> Timed out waiting for assertion to pass.                                        
> /home/jenkins-slave/workspace/build_and_test@2/src/kudu/integration-tests/ts_tablet_manager-itest.cc:767: Failure
> Expected: check_function(table_infos[0].get(), live_row_count) doesn't generate new fatal failures in the current thread.
>   Actual: it does.                                                              
> /home/jenkins-slave/workspace/build_and_test@2/src/kudu/integration-tests/ts_tablet_manager-itest.cc:785: Failure
> Expected: GetLeaderMasterAndRun(live_row_count, [&] ( TableInfo* table_info, int64_t live_row_count) { do { AssertEventually([&] () { switch (0) case 0: default: if (const ::testing::AssertionResult gtest_ar_ = ::testing::AssertionResult(table_info->GetMetrics()->TableSupportsLiveRowCount())) ; else return ::testing::internal::AssertHelper(::testing::TestPartResult::kFatalFailure, "/home/jenkins-slave/workspace/build_and_test@2/src/kudu/integration-tests/ts_tablet_manager-itest.cc", 782, ::testing::internal::GetBoolAssertionFailureMessage( gtest_ar_, "table_info->GetMetrics()->TableSupportsLiveRowCount()", "false", "true") .c_str()) = ::testing::Message(); switch (0) case 0: default: if (const ::testing::AssertionResult gtest_ar = (::testing::internal::EqHelper::Compare("live_row_count", "table_info->GetMetrics()->live_row_count->value()", live_row_count, table_info->GetMetrics()->live_row_count->value()))) ; else return ::testing::internal::AssertHelper(::testing::TestPartResult::kFatalFailure, "/home/jenkins-slave/workspace/build_and_test@2/src/kudu/integration-tests/ts_tablet_manager-itest.cc", 783, gtest_ar.failure_message()) = ::testing::Message(); }); do { if (testing::Test::HasFatalFailure()) { return; } } while (0); } while (0); }) doesn't generate new fatal failures in the current thread.
>   Actual: it does.                                                              
> /home/jenkins-slave/workspace/build_and_test@2/src/kudu/integration-tests/ts_tablet_manager-itest.cc:895: Failure
> Expected: CheckStats(kRowsCount) doesn't generate new fatal failures in the current thread.
>   Actual: it does.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)