Skip to content

Instantly share code, notes, and snippets.

@jmarantz
Created July 20, 2020 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmarantz/edc6a4349344c7620f98b00180e69ed7 to your computer and use it in GitHub Desktop.
Save jmarantz/edc6a4349344c7620f98b00180e69ed7 to your computer and use it in GitHub Desktop.
[ RUN ] IpVersionsClientType/HdsIntegrationTest.SingleEndpointTimeoutHttp/4
==================
WARNING: ThreadSanitizer: data race (pid=14)
Write of size 4 at 0x7b08000bb3e8 by thread T10:
#0 Envoy::Network::IoSocketHandleImpl::close() ??:? (hds_integration_test+0x55d3a10)
#1 Envoy::Network::SocketImpl::close() ??:? (hds_integration_test+0x2aa670a)
#2 Envoy::Network::ConnectionImpl::closeSocket(Envoy::Network::ConnectionEvent) ??:? (hds_integration_test+0x51c9e48)
#3 Envoy::Network::ConnectionImpl::onFileEvent(unsigned int) ??:? (hds_integration_test+0x51ce279)
#4 Envoy::Network::ConnectionImpl::ConnectionImpl(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::Network::ConnectionSocket, std::__1::default_delete<Envoy::Network::ConnectionSocket> >&&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, Envoy::StreamInfo::StreamInfo&, bool)::$_6::operator()(unsigned int) const connection_impl.cc:? (hds_integration_test+0x51e2017)
#5 _ZNSt3__18__invokeIRZN5Envoy7Network14ConnectionImplC1ERNS1_5Event10DispatcherEONS_10unique_ptrINS2_16ConnectionSocketENS_14default_deleteIS8_EEEEONS7_INS2_15TransportSocketENS9_ISD_EEEERNS1_10StreamInfo10StreamInfoEbE3$_6JjEEEDTclclsr3std3__1E7forwardIT_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSM_DpOSN_ connection_impl.cc:? (hds_integration_test+0x51e1f8c)
#6 void std::__1::__invoke_void_return_wrapper<void>::__call<Envoy::Network::ConnectionImpl::ConnectionImpl(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::Network::ConnectionSocket, std::__1::default_delete<Envoy::Network::ConnectionSocket> >&&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, Envoy::StreamInfo::StreamInfo&, bool)::$_6&, unsigned int>(Envoy::Network::ConnectionImpl::ConnectionImpl(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::Network::ConnectionSocket, std::__1::default_delete<Envoy::Network::ConnectionSocket> >&&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, Envoy::StreamInfo::StreamInfo&, bool)::$_6&, unsigned int&&) connection_impl.cc:? (hds_integration_test+0x51e1ebd)
#7 std::__1::__function::__alloc_func<Envoy::Network::ConnectionImpl::ConnectionImpl(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::Network::ConnectionSocket, std::__1::default_delete<Envoy::Network::ConnectionSocket> >&&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, Envoy::StreamInfo::StreamInfo&, bool)::$_6, std::__1::allocator<Envoy::Network::ConnectionImpl::ConnectionImpl(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::Network::ConnectionSocket, std::__1::default_delete<Envoy::Network::ConnectionSocket> >&&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, Envoy::StreamInfo::StreamInfo&, bool)::$_6>, void (unsigned int)>::operator()(unsigned int&&) connection_impl.cc:? (hds_integration_test+0x51e1e3d)
#8 std::__1::__function::__func<Envoy::Network::ConnectionImpl::ConnectionImpl(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::Network::ConnectionSocket, std::__1::default_delete<Envoy::Network::ConnectionSocket> >&&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, Envoy::StreamInfo::StreamInfo&, bool)::$_6, std::__1::allocator<Envoy::Network::ConnectionImpl::ConnectionImpl(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::Network::ConnectionSocket, std::__1::default_delete<Envoy::Network::ConnectionSocket> >&&, std::__1::unique_ptr<Envoy::Network::TransportSocket, std::__1::default_delete<Envoy::Network::TransportSocket> >&&, Envoy::StreamInfo::StreamInfo&, bool)::$_6>, void (unsigned int)>::operator()(unsigned int&&) connection_impl.cc:? (hds_integration_test+0x51e047c)
#9 std::__1::__function::__value_func<void (unsigned int)>::operator()(unsigned int&&) const mocks.cc:? (hds_integration_test+0x4041944)
#10 std::__1::function<void (unsigned int)>::operator()(unsigned int) const ??:? (hds_integration_test+0x4041838)
#11 Envoy::Event::FileEventImpl::mergeInjectedEventsAndRunCb(unsigned int) ??:? (hds_integration_test+0x51b7499)
#12 Envoy::Event::FileEventImpl::assignEvents(unsigned int, event_base*)::$_1::operator()(int, short, void*) const file_event_impl.cc:? (hds_integration_test+0x51b778d)
#13 Envoy::Event::FileEventImpl::assignEvents(unsigned int, event_base*)::$_1::__invoke(int, short, void*) file_event_impl.cc:? (hds_integration_test+0x51b7516)
#14 event_persist_closure event.c:? (hds_integration_test+0x7465740)
#15 event_process_active_single_queue event.c:? (hds_integration_test+0x7464168)
#16 event_process_active event.c:? (hds_integration_test+0x7459ab8)
#17 event_base_loop ??:? (hds_integration_test+0x7457763)
#18 Envoy::Event::LibeventScheduler::run(Envoy::Event::Dispatcher::RunType) ??:? (hds_integration_test+0x547ec0f)
#19 Envoy::Event::DispatcherImpl::run(Envoy::Event::Dispatcher::RunType) ??:? (hds_integration_test+0x51a47e1)
#20 Envoy::FakeUpstream::threadRoutine() ??:? (hds_integration_test+0x2b93234)
#21 Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12::operator()() const fake_upstream.cc:? (hds_integration_test+0x2bb493b)
#22 _ZNSt3__18__invokeIRZN5Envoy12FakeUpstreamC1EONS_10unique_ptrINS1_7Network22TransportSocketFactoryENS_14default_deleteIS5_EEEEONS3_INS4_6SocketENS6_ISA_EEEENS1_18FakeHttpConnection4TypeERNS1_5Event14TestTimeSystemEbE4$_12JEEEDTclclsr3std3__1E7forwardIT_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSL_DpOSM_ fake_upstream.cc:? (hds_integration_test+0x2bb48c0)
#23 void std::__1::__invoke_void_return_wrapper<void>::__call<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12&>(Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12&) fake_upstream.cc:? (hds_integration_test+0x2bb4820)
#24 std::__1::__function::__alloc_func<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12, std::__1::allocator<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12>, void ()>::operator()() fake_upstream.cc:? (hds_integration_test+0x2bb47c0)
#25 std::__1::__function::__func<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12, std::__1::allocator<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12>, void ()>::operator()() fake_upstream.cc:? (hds_integration_test+0x2bb2e1f)
#26 std::__1::__function::__value_func<void ()>::operator()() const autonomous_upstream.cc:? (hds_integration_test+0x2b767c6)
#27 std::__1::function<void ()>::operator()() const ??:? (hds_integration_test+0x2b76488)
#28 Envoy::Thread::ThreadImplPosix::ThreadImplPosix(std::__1::function<void ()>, std::__1::optional<Envoy::Thread::Options> const&)::{lambda(void*)#1}::operator()(void*) const ??:? (hds_integration_test+0x743bc4b)
#29 Envoy::Thread::ThreadImplPosix::ThreadImplPosix(std::__1::function<void ()>, std::__1::optional<Envoy::Thread::Options> const&)::{lambda(void*)#1}::__invoke(void*) ??:? (hds_integration_test+0x743bbd8)
Previous read of size 4 at 0x7b08000bb3e8 by main thread:
#0 Envoy::Network::IoSocketHandleImpl::isOpen() const ??:? (hds_integration_test+0x55d3ba9)
#1 Envoy::Network::ConnectionImpl::state() const ??:? (hds_integration_test+0x51c9914)
#2 virtual thunk to Envoy::Network::ConnectionImpl::state() const ??:? (hds_integration_test+0x51c99f6)
#3 Envoy::Network::FilterManagerImpl::addReadFilter(std::__1::shared_ptr<Envoy::Network::ReadFilter>) ??:? (hds_integration_test+0x51ef22c)
#4 Envoy::Network::ConnectionImpl::addReadFilter(std::__1::shared_ptr<Envoy::Network::ReadFilter>) ??:? (hds_integration_test+0x51c8c60)
#5 virtual thunk to Envoy::Network::ConnectionImpl::addReadFilter(std::__1::shared_ptr<Envoy::Network::ReadFilter>) ??:? (hds_integration_test+0x51c8d15)
#6 Envoy::FakeHttpConnection::FakeHttpConnection(Envoy::FakeUpstream&, Envoy::SharedConnectionWrapper&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, unsigned int, unsigned int, envoy::config::core::v3::HttpProtocolOptions_HeadersWithUnderscoresAction) ??:? (hds_integration_test+0x2b8f4df)
#7 std::__1::__unique_if<Envoy::FakeHttpConnection>::__unique_single std::__1::make_unique<Envoy::FakeHttpConnection, Envoy::FakeUpstream&, Envoy::SharedConnectionWrapper&, Envoy::FakeHttpConnection::Type const&, Envoy::Event::TestTimeSystem&, unsigned int&, unsigned int&, envoy::config::core::v3::HttpProtocolOptions_HeadersWithUnderscoresAction&>(Envoy::FakeUpstream&, Envoy::SharedConnectionWrapper&, Envoy::FakeHttpConnection::Type const&, Envoy::Event::TestTimeSystem&, unsigned int&, unsigned int&, envoy::config::core::v3::HttpProtocolOptions_HeadersWithUnderscoresAction&) fake_upstream.cc:? (hds_integration_test+0x2bc0284)
#8 Envoy::FakeUpstream::waitForHttpConnection(Envoy::Event::Dispatcher&, std::__1::unique_ptr<Envoy::FakeHttpConnection, std::__1::default_delete<Envoy::FakeHttpConnection> >&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >, unsigned int, unsigned int, envoy::config::core::v3::HttpProtocolOptions_HeadersWithUnderscoresAction) ??:? (hds_integration_test+0x2b93734)
#9 Envoy::(anonymous namespace)::HdsIntegrationTest::healthcheckEndpoints(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) hds_integration_test.cc:? (hds_integration_test+0x28ec959)
#10 Envoy::(anonymous namespace)::HdsIntegrationTest_SingleEndpointTimeoutHttp_Test::TestBody() hds_integration_test.cc:? (hds_integration_test+0x28f2714)
#11 non-virtual thunk to Envoy::(anonymous namespace)::HdsIntegrationTest_SingleEndpointTimeoutHttp_Test::TestBody() hds_integration_test.cc:? (hds_integration_test+0x28f28cf)
#12 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) ??:? (hds_integration_test+0x75e38ec)
#13 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) ??:? (hds_integration_test+0x75c96fe)
#14 testing::Test::Run() ??:? (hds_integration_test+0x75aea41)
#15 testing::TestInfo::Run() ??:? (hds_integration_test+0x75af8e3)
#16 testing::TestSuite::Run() ??:? (hds_integration_test+0x75b031a)
#17 testing::internal::UnitTestImpl::RunAllTests() ??:? (hds_integration_test+0x75bfa7d)
#18 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) ??:? (hds_integration_test+0x75ea00c)
#19 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) ??:? (hds_integration_test+0x75cd54e)
#20 testing::UnitTest::Run() ??:? (hds_integration_test+0x75bf33b)
#21 RUN_ALL_TESTS() ??:? (hds_integration_test+0x50d7487)
#22 Envoy::TestRunner::RunTests(int, char**) ??:? (hds_integration_test+0x50d673f)
#23 main ??:? (hds_integration_test+0x50d44e4)
Location is heap block of size 24 at 0x7b08000bb3e0 allocated by thread T10:
#0 malloc ??:? (hds_integration_test+0x2872ea4)
#1 operator new(unsigned long) ??:? (libc++.so.1+0x8ab49)
#2 Envoy::Network::SocketInterfaceImpl::socket(int) ??:? (hds_integration_test+0x55c6a18)
#3 Envoy::Network::ListenerImpl::listenCallback(evconnlistener*, int, sockaddr*, int, void*) ??:? (hds_integration_test+0x5387a55)
#4 listener_read_cb listener.c:? (hds_integration_test+0x7479bdc)
#5 event_persist_closure event.c:? (hds_integration_test+0x7465740)
#6 event_process_active_single_queue event.c:? (hds_integration_test+0x7464168)
#7 event_process_active event.c:? (hds_integration_test+0x7459ab8)
#8 event_base_loop ??:? (hds_integration_test+0x7457763)
#9 Envoy::Event::LibeventScheduler::run(Envoy::Event::Dispatcher::RunType) ??:? (hds_integration_test+0x547ec0f)
#10 Envoy::Event::DispatcherImpl::run(Envoy::Event::Dispatcher::RunType) ??:? (hds_integration_test+0x51a47e1)
#11 Envoy::FakeUpstream::threadRoutine() ??:? (hds_integration_test+0x2b93234)
#12 Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12::operator()() const fake_upstream.cc:? (hds_integration_test+0x2bb493b)
#13 _ZNSt3__18__invokeIRZN5Envoy12FakeUpstreamC1EONS_10unique_ptrINS1_7Network22TransportSocketFactoryENS_14default_deleteIS5_EEEEONS3_INS4_6SocketENS6_ISA_EEEENS1_18FakeHttpConnection4TypeERNS1_5Event14TestTimeSystemEbE4$_12JEEEDTclclsr3std3__1E7forwardIT_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSL_DpOSM_ fake_upstream.cc:? (hds_integration_test+0x2bb48c0)
#14 void std::__1::__invoke_void_return_wrapper<void>::__call<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12&>(Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12&) fake_upstream.cc:? (hds_integration_test+0x2bb4820)
#15 std::__1::__function::__alloc_func<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12, std::__1::allocator<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12>, void ()>::operator()() fake_upstream.cc:? (hds_integration_test+0x2bb47c0)
#16 std::__1::__function::__func<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12, std::__1::allocator<Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool)::$_12>, void ()>::operator()() fake_upstream.cc:? (hds_integration_test+0x2bb2e1f)
#17 std::__1::__function::__value_func<void ()>::operator()() const autonomous_upstream.cc:? (hds_integration_test+0x2b767c6)
#18 std::__1::function<void ()>::operator()() const ??:? (hds_integration_test+0x2b76488)
#19 Envoy::Thread::ThreadImplPosix::ThreadImplPosix(std::__1::function<void ()>, std::__1::optional<Envoy::Thread::Options> const&)::{lambda(void*)#1}::operator()(void*) const ??:? (hds_integration_test+0x743bc4b)
#20 Envoy::Thread::ThreadImplPosix::ThreadImplPosix(std::__1::function<void ()>, std::__1::optional<Envoy::Thread::Options> const&)::{lambda(void*)#1}::__invoke(void*) ??:? (hds_integration_test+0x743bbd8)
Thread T10 (tid=235, running) created by main thread at:
#0 pthread_create ??:? (hds_integration_test+0x287478b)
#1 Envoy::Thread::ThreadImplPosix::ThreadImplPosix(std::__1::function<void ()>, std::__1::optional<Envoy::Thread::Options> const&) ??:? (hds_integration_test+0x743a727)
#2 std::__1::__unique_if<Envoy::Thread::ThreadImplPosix>::__unique_single std::__1::make_unique<Envoy::Thread::ThreadImplPosix, std::__1::function<void ()>&, std::__1::optional<Envoy::Thread::Options> const&>(std::__1::function<void ()>&, std::__1::optional<Envoy::Thread::Options> const&) thread_impl.cc:? (hds_integration_test+0x743a0af)
#3 Envoy::Thread::ThreadFactoryImplPosix::createThread(std::__1::function<void ()>, std::__1::optional<Envoy::Thread::Options> const&) ??:? (hds_integration_test+0x7439df3)
#4 Envoy::FakeUpstream::FakeUpstream(std::__1::unique_ptr<Envoy::Network::TransportSocketFactory, std::__1::default_delete<Envoy::Network::TransportSocketFactory> >&&, std::__1::unique_ptr<Envoy::Network::Socket, std::__1::default_delete<Envoy::Network::Socket> >&&, Envoy::FakeHttpConnection::Type, Envoy::Event::TestTimeSystem&, bool) ??:? (hds_integration_test+0x2b915db)
#5 Envoy::FakeUpstream::FakeUpstream(unsigned int, Envoy::FakeHttpConnection::Type, Envoy::Network::Address::IpVersion, Envoy::Event::TestTimeSystem&, bool) ??:? (hds_integration_test+0x2b9240f)
#6 std::__1::__unique_if<Envoy::FakeUpstream>::__unique_single std::__1::make_unique<Envoy::FakeUpstream, int, Envoy::FakeHttpConnection::Type, Envoy::Network::Address::IpVersion&, Envoy::Event::TestTimeSystem&>(int&&, Envoy::FakeHttpConnection::Type&&, Envoy::Network::Address::IpVersion&, Envoy::Event::TestTimeSystem&) hds_integration_test.cc:? (hds_integration_test+0x292482d)
#7 Envoy::(anonymous namespace)::HdsIntegrationTest::initialize() hds_integration_test.cc:? (hds_integration_test+0x28e87e5)
#8 Envoy::(anonymous namespace)::HdsIntegrationTest_SingleEndpointTimeoutHttp_Test::TestBody() hds_integration_test.cc:? (hds_integration_test+0x28f22be)
#9 non-virtual thunk to Envoy::(anonymous namespace)::HdsIntegrationTest_SingleEndpointTimeoutHttp_Test::TestBody() hds_integration_test.cc:? (hds_integration_test+0x28f28cf)
#10 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) ??:? (hds_integration_test+0x75e38ec)
#11 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) ??:? (hds_integration_test+0x75c96fe)
#12 testing::Test::Run() ??:? (hds_integration_test+0x75aea41)
#13 testing::TestInfo::Run() ??:? (hds_integration_test+0x75af8e3)
#14 testing::TestSuite::Run() ??:? (hds_integration_test+0x75b031a)
#15 testing::internal::UnitTestImpl::RunAllTests() ??:? (hds_integration_test+0x75bfa7d)
#16 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) ??:? (hds_integration_test+0x75ea00c)
#17 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) ??:? (hds_integration_test+0x75cd54e)
#18 testing::UnitTest::Run() ??:? (hds_integration_test+0x75bf33b)
#19 RUN_ALL_TESTS() ??:? (hds_integration_test+0x50d7487)
#20 Envoy::TestRunner::RunTests(int, char**) ??:? (hds_integration_test+0x50d673f)
#21 main ??:? (hds_integration_test+0x50d44e4)
SUMMARY: ThreadSanitizer: data race ??:? in Envoy::Network::IoSocketHandleImpl::close()
==================
test/integration/hds_integration_test.cc:79: Failure
Value of: host_upstream_->waitForHttpConnection(*dispatcher_, host_fake_connection_)
Actual: false (The connection disconnected unexpectedly, and allow_unexpected_disconnects_ is false.
See https://github.com/envoyproxy/envoy/blob/master/test/integration/README.md#unexpected-disconnects)
Expected: true
Stack trace:
0x28eca36: Envoy::(anonymous namespace)::HdsIntegrationTest::healthcheckEndpoints()
0x28f2715: Envoy::(anonymous namespace)::HdsIntegrationTest_SingleEndpointTimeoutHttp_Test::TestBody()
0x28f28d0: Envoy::(anonymous namespace)::HdsIntegrationTest_SingleEndpointTimeoutHttp_Test::TestBody()
0x75e38ed: testing::internal::HandleSehExceptionsInMethodIfSupported<>()
0x75c96ff: testing::internal::HandleExceptionsInMethodIfSupported<>()
0x75aea42: testing::Test::Run()
0x75af8e4: testing::TestInfo::Run()
... Google Test internal frames ...
[ FAILED ] IpVersionsClientType/HdsIntegrationTest.SingleEndpointTimeoutHttp/4, where GetParam() = (4-byte object <00-00 00-00>, 4-byte object <01-00 00-00>, 1) (3979 ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment