Back to build
Raw log | Switch to full mode | Login

Test 'WebSocketThrottlerTest.TooManyPendingConnections' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'WebSocketThrottlerTest.TooManyPendingConnections' had the following logs when run: ================================================================================ [ RUN ] WebSocketThrottlerTest.TooManyPendingConnections [ OK ] WebSocketThrottlerTest.TooManyPendingConnections (2 ms) [----------] 2 tests from WebSocketThrottlerTest (2 ms total) [----------] 6 tests from ExpectCTReporterTest [ RUN ] ExpectCTReporterTest.FeatureDisabled [ OK ] ExpectCTReporterTest.FeatureDisabled (23 ms) [ RUN ] ExpectCTReporterTest.EmptyReportURI [ OK ] ExpectCTReporterTest.EmptyReportURI (10 ms) [ RUN ] ExpectCTReporterTest.SendReport [ OK ] ExpectCTReporterTest.SendReport (18 ms) [ RUN ] ExpectCTReporterTest.SendReportSuccessCallback [ OK ] ExpectCTReporterTest.SendReportSuccessCallback (13 ms) [ RUN ] ExpectCTReporterTest.PreflightContainsWhitespace [ OK ] ExpectCTReporterTest.PreflightContainsWhitespace (11 ms) [ RUN ] ExpectCTReporterTest.BadCorsPreflightResponseOrigin ================== WARNING: ThreadSanitizer: heap-use-after-free (pid=17799) Read of size 8 at 0x7b0c0002db80 by main thread: #0 operator-> base/memory/scoped_refptr.h:221:12 (services_unittests+0x42c0277) #1 base::RunLoop::Quit() base/run_loop.cc:179 (services_unittests+0x42c0277) #2 Invoke<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:499:12 (services_unittests+0x42c1198) #3 MakeItSo<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:599 (services_unittests+0x42c1198) #4 RunImpl<void (base::RunLoop::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::RunLoop> >, 0> base/bind_internal.h:672 (services_unittests+0x42c1198) #5 base::internal::Invoker<base::internal::BindState<void (base::RunLoop::*)(), base::internal::UnretainedWrapper<base::RunLoop> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x42c1198) #6 Run base/callback.h:97:12 (services_unittests+0x42f26ca) #7 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (services_unittests+0x42f26ca) #8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (services_unittests+0x42f39c2) #9 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 (services_unittests+0x42f367b) #10 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (services_unittests+0x42f3e2e) #11 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (services_unittests+0x437a5ef) #12 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (services_unittests+0x42f4420) #13 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (services_unittests+0x42f4420) #14 base::RunLoop::Run() base/run_loop.cc:157:14 (services_unittests+0x42bf60e) #15 net::test_server::EmbeddedTestServer::PostTaskToIOThreadAndWait(base::RepeatingCallback<void ()> const&) net/test/embedded_test_server/embedded_test_server.cc:520:12 (services_unittests+0x5caf4c0) #16 ShutdownAndWaitUntilComplete net/test/embedded_test_server/embedded_test_server.cc:191:10 (services_unittests+0x5cad85a) #17 net::test_server::EmbeddedTestServer::~EmbeddedTestServer() net/test/embedded_test_server/embedded_test_server.cc:65 (services_unittests+0x5cad85a) #18 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337:37 (services_unittests+0x1ed09a8) #19 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed09a8) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d2be7e) #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d2be7e) #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d2c6b6) #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d3ddd6) #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d3d5c9) #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d3d5c9) #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5bfce12) #27 base::TestSuite::Run() base/test/test_suite.cc:314 (services_unittests+0x5bfce12) #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1f9c728) #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1f9c728) #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1f9c728) #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1f9c728) #32 Run base/callback.h:97:12 (services_unittests+0x5c0640d) #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5c0640d) #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5c06270) #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1f9c35f) Previous write of size 8 at 0x7b0c0002db80 by main thread: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b1552e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1ed099c) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1ed099c) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1ed099c) #4 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337 (services_unittests+0x1ed099c) #5 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed099c) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d2be7e) #7 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d2be7e) #8 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d2c6b6) #9 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d3ddd6) #10 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d3d5c9) #11 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d3d5c9) #12 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5bfce12) #13 base::TestSuite::Run() base/test/test_suite.cc:314 (services_unittests+0x5bfce12) #14 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1f9c728) #15 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1f9c728) #16 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1f9c728) #17 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1f9c728) #18 Run base/callback.h:97:12 (services_unittests+0x5c0640d) #19 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5c0640d) #20 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5c06270) #21 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1f9c35f) SUMMARY: ThreadSanitizer: heap-use-after-free base/memory/scoped_refptr.h:221:12 in operator-> ================== ================== WARNING: ThreadSanitizer: heap-use-after-free (pid=17799) Write of size 1 at 0x7b0c0002db7c by main thread: #0 base::RunLoop::Quit() base/run_loop.cc:185:16 (services_unittests+0x42c029b) #1 Invoke<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:499:12 (services_unittests+0x42c1198) #2 MakeItSo<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:599 (services_unittests+0x42c1198) #3 RunImpl<void (base::RunLoop::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::RunLoop> >, 0> base/bind_internal.h:672 (services_unittests+0x42c1198) #4 base::internal::Invoker<base::internal::BindState<void (base::RunLoop::*)(), base::internal::UnretainedWrapper<base::RunLoop> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x42c1198) #5 Run base/callback.h:97:12 (services_unittests+0x42f26ca) #6 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (services_unittests+0x42f26ca) #7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (services_unittests+0x42f39c2) #8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 (services_unittests+0x42f367b) #9 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (services_unittests+0x42f3e2e) #10 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (services_unittests+0x437a5ef) #11 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (services_unittests+0x42f4420) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (services_unittests+0x42f4420) #13 base::RunLoop::Run() base/run_loop.cc:157:14 (services_unittests+0x42bf60e) #14 net::test_server::EmbeddedTestServer::PostTaskToIOThreadAndWait(base::RepeatingCallback<void ()> const&) net/test/embedded_test_server/embedded_test_server.cc:520:12 (services_unittests+0x5caf4c0) #15 ShutdownAndWaitUntilComplete net/test/embedded_test_server/embedded_test_server.cc:191:10 (services_unittests+0x5cad85a) #16 net::test_server::EmbeddedTestServer::~EmbeddedTestServer() net/test/embedded_test_server/embedded_test_server.cc:65 (services_unittests+0x5cad85a) #17 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337:37 (services_unittests+0x1ed09a8) #18 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed09a8) #19 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d2be7e) #20 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d2be7e) #21 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d2c6b6) #22 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d3ddd6) #23 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d3d5c9) #24 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d3d5c9) #25 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5bfce12) #26 base::TestSuite::Run() base/test/test_suite.cc:314 (services_unittests+0x5bfce12) #27 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1f9c728) #28 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1f9c728) #29 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1f9c728) #30 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1f9c728) #31 Run base/callback.h:97:12 (services_unittests+0x5c0640d) #32 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5c0640d) #33 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5c06270) #34 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1f9c35f) Previous write of size 8 at 0x7b0c0002db78 by main thread: #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b1552e) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1ed099c) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1ed099c) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1ed099c) #4 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337 (services_unittests+0x1ed099c) #5 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed099c) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d2be7e) #7 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d2be7e) #8 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d2c6b6) #9 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d3ddd6) #10 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d3d5c9) #11 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d3d5c9) #12 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5bfce12) #13 base::TestSuite::Run() base/test/test_suite.cc:314 (services_unittests+0x5bfce12) #14 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1f9c728) #15 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1f9c728) #16 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1f9c728) #17 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1f9c728) #18 Run base/callback.h:97:12 (services_unittests+0x5c0640d) #19 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5c0640d) #20 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5c06270) #21 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1f9c35f) SUMMARY: ThreadSanitizer: heap-use-after-free base/run_loop.cc:185:16 in base::RunLoop::Quit() ================== [ OK ] ExpectCTReporterTest.BadCorsPreflightResponseOrigin (908 ms) [----------] 6 tests from ExpectCTReporterTest (984 ms total) [----------] Global test environment tear-down [==========] 10 tests from 3 test suites ran. (988 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 2 warnings [ RUN ] WebSocketThrottlerTest.TooManyPendingConnections [ OK ] WebSocketThrottlerTest.TooManyPendingConnections (1 ms) ================================================================================