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 2022/04/26 16:54:00 UTC

[jira] [Resolved] (KUDU-3361) UT SocketTest.TestRecvReset should fix correct

     [ https://issues.apache.org/jira/browse/KUDU-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Serbin resolved KUDU-3361.
---------------------------------
    Fix Version/s: 1.17.0
       Resolution: Fixed

> UT SocketTest.TestRecvReset should fix correct
> ----------------------------------------------
>
>                 Key: KUDU-3361
>                 URL: https://issues.apache.org/jira/browse/KUDU-3361
>             Project: Kudu
>          Issue Type: Test
>            Reporter: shenxingwuying
>            Assignee: shenxingwuying
>            Priority: Trivial
>             Fix For: 1.17.0
>
>
> SocketTest.TestRecvReset running not steady, and can cause the whole jenkins task rerun.
>  
> I change the time param, 
> 1ms, coredump
> F0420 17:11:05.293507 1671945 socket-test.cc:118] Check failed: _s.ok() Bad status: Network error: connect(2) error: Connection reset by peer (error 104)
> *** Check failure stack trace: ***
> *** Aborted at 1650445865 (unix time) try "date -d @1650445865" if you are using GNU date ***
> PC: @     0x7fd63d0092e7 __GI_raise
> *** SIGABRT (@0x198309) received by PID 1671945 (TID 0x7fd640cb7980) from PID 1671945; stack trace: ***
>     @     0x7fd63e8881d1 google::(anonymous namespace)::FailureSignalHandler()
>     @     0x7fd63d390140 (unknown)
>     @     0x7fd63d0092e7 __GI_raise
>     @     0x7fd63d00a6c8 __GI_abort
>     @     0x7fd63e878419 google::logging_fail()
>     @     0x7fd63e87be9d google::LogMessage::Fail()
>     @     0x7fd63e87daae google::LogMessage::SendToLog()
>     @     0x7fd63e87ba20 google::LogMessage::Flush()
>     @     0x7fd63e87e399 google::LogMessageFatal::~LogMessageFatal()
>     @           0x21ff23 kudu::SocketTest::ConnectToListeningServer()
>     @           0x21cc4a kudu::SocketTest::DoTestServerDisconnects()
>     @           0x21b29c kudu::SocketTest_TestRecvReset_Test::TestBody()
>     @     0x7fd63e219f2e testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0x7fd63e20fa2b testing::Test::Run()
>     @     0x7fd63e20fb95 testing::TestInfo::Run()
>     @     0x7fd63e20fc85 testing::TestSuite::Run()
>     @     0x7fd63e210144 testing::internal::UnitTestImpl::RunAllTests()
>     @     0x7fd63e21a46e testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @     0x7fd63e210340 testing::UnitTest::Run()
>     @     0x7fd640e933c1 RUN_ALL_TESTS()
>     @     0x7fd640e92316 main
>     @     0x7fd63cff5ac5 __libc_start_main
>     @           0x219029 (unknown)
> Aborted (core dumped)
>  
> 50ms, failed.
>  
>  
> Failure
> Value of: s.message().ToString()
> Expected: contains regular expression "recv error from 127.0.0.1:[0-9]+: Resource temporarily unavailable"
>   Actual: "recv error from unknown peer: Transport endpoint is not connected" (of type std::string)
> WARNING: Logging before InitGoogleLogging() is written to STDERR
>  
> So, Simple use the time parameter is no good enough, should improve it.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)