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

Test 'ExpectCTReporterTest.SendReport' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'ExpectCTReporterTest.SendReport' had the following logs when run: ================================================================================ [ RUN ] ExpectCTReporterTest.SendReport [ OK ] ExpectCTReporterTest.SendReport (24 ms) [ RUN ] ExpectCTReporterTest.SendReportSuccessCallback [ OK ] ExpectCTReporterTest.SendReportSuccessCallback (23 ms) [ RUN ] ExpectCTReporterTest.PreflightContainsWhitespace [ OK ] ExpectCTReporterTest.PreflightContainsWhitespace (21 ms) [ RUN ] ExpectCTReporterTest.BadCorsPreflightResponseOrigin ================== WARNING: ThreadSanitizer: heap-use-after-free (pid=7433) Read of size 8 at 0x7b0c0002df40 by main thread: #0 operator-> base/memory/scoped_refptr.h:221:12 (services_unittests+0x432d837) #1 base::RunLoop::Quit() base/run_loop.cc:179 (services_unittests+0x432d837) #2 Invoke<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:499:12 (services_unittests+0x432ea38) #3 MakeItSo<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:599 (services_unittests+0x432ea38) #4 RunImpl<void (base::RunLoop::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::RunLoop> >, 0> base/bind_internal.h:672 (services_unittests+0x432ea38) #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+0x432ea38) #6 Run base/callback.h:97:12 (services_unittests+0x4348151) #7 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (services_unittests+0x4348151) #8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (services_unittests+0x4361e15) #9 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 (services_unittests+0x4361b0b) #10 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (services_unittests+0x43621de) #11 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (services_unittests+0x43e933f) #12 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (services_unittests+0x43627d0) #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+0x43627d0) #14 base::RunLoop::Run() base/run_loop.cc:157:14 (services_unittests+0x432cbfe) #15 net::test_server::EmbeddedTestServer::PostTaskToIOThreadAndWait(base::RepeatingCallback<void ()> const&) net/test/embedded_test_server/embedded_test_server.cc:520:12 (services_unittests+0x5d558c0) #16 ShutdownAndWaitUntilComplete net/test/embedded_test_server/embedded_test_server.cc:191:10 (services_unittests+0x5d53c6a) #17 net::test_server::EmbeddedTestServer::~EmbeddedTestServer() net/test/embedded_test_server/embedded_test_server.cc:65 (services_unittests+0x5d53c6a) #18 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337:37 (services_unittests+0x1ed8538) #19 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed8538) #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d38d7e) #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d38d7e) #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d398c6) #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d4b146) #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d4a929) #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d4a929) #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5ca2f62) #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5ca2f62) #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fa4508) #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fa4508) #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fa4508) #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+0x1fa4508) #32 Run base/callback.h:97:12 (services_unittests+0x5cac45d) #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+0x5cac45d) #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5cac2c0) #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fa413f) Previous write of size 8 at 0x7b0c0002df40 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+0x1b1c1de) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1ed852c) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1ed852c) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1ed852c) #4 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337 (services_unittests+0x1ed852c) #5 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed852c) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d38d7e) #7 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d38d7e) #8 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d398c6) #9 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d4b146) #10 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d4a929) #11 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d4a929) #12 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5ca2f62) #13 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5ca2f62) #14 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fa4508) #15 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fa4508) #16 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fa4508) #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+0x1fa4508) #18 Run base/callback.h:97:12 (services_unittests+0x5cac45d) #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+0x5cac45d) #20 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5cac2c0) #21 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fa413f) SUMMARY: ThreadSanitizer: heap-use-after-free base/memory/scoped_refptr.h:221:12 in operator-> ================== ================== WARNING: ThreadSanitizer: heap-use-after-free (pid=7433) Write of size 1 at 0x7b0c0002df3c by main thread: #0 base::RunLoop::Quit() base/run_loop.cc:185:16 (services_unittests+0x432d85b) #1 Invoke<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:499:12 (services_unittests+0x432ea38) #2 MakeItSo<void (base::RunLoop::*)(), base::RunLoop *> base/bind_internal.h:599 (services_unittests+0x432ea38) #3 RunImpl<void (base::RunLoop::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::RunLoop> >, 0> base/bind_internal.h:672 (services_unittests+0x432ea38) #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+0x432ea38) #5 Run base/callback.h:97:12 (services_unittests+0x4348151) #6 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:119 (services_unittests+0x4348151) #7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:335:21 (services_unittests+0x4361e15) #8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 (services_unittests+0x4361b0b) #9 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (services_unittests+0x43621de) #10 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (services_unittests+0x43e933f) #11 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:402:12 (services_unittests+0x43627d0) #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+0x43627d0) #13 base::RunLoop::Run() base/run_loop.cc:157:14 (services_unittests+0x432cbfe) #14 net::test_server::EmbeddedTestServer::PostTaskToIOThreadAndWait(base::RepeatingCallback<void ()> const&) net/test/embedded_test_server/embedded_test_server.cc:520:12 (services_unittests+0x5d558c0) #15 ShutdownAndWaitUntilComplete net/test/embedded_test_server/embedded_test_server.cc:191:10 (services_unittests+0x5d53c6a) #16 net::test_server::EmbeddedTestServer::~EmbeddedTestServer() net/test/embedded_test_server/embedded_test_server.cc:65 (services_unittests+0x5d53c6a) #17 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337:37 (services_unittests+0x1ed8538) #18 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed8538) #19 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d38d7e) #20 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d38d7e) #21 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d398c6) #22 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d4b146) #23 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d4a929) #24 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d4a929) #25 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5ca2f62) #26 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5ca2f62) #27 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fa4508) #28 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fa4508) #29 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fa4508) #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+0x1fa4508) #31 Run base/callback.h:97:12 (services_unittests+0x5cac45d) #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+0x5cac45d) #33 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5cac2c0) #34 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fa413f) Previous write of size 8 at 0x7b0c0002df38 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+0x1b1c1de) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1ed852c) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1ed852c) #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1ed852c) #4 ~ExpectCTReporterTest services/network/expect_ct_reporter_unittest.cc:337 (services_unittests+0x1ed852c) #5 network::ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test::~ExpectCTReporterTest_BadCorsPreflightResponseOrigin_Test() services/network/expect_ct_reporter_unittest.cc:726 (services_unittests+0x1ed852c) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d38d7e) #7 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (services_unittests+0x2d38d7e) #8 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (services_unittests+0x2d398c6) #9 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (services_unittests+0x2d4b146) #10 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2d4a929) #11 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (services_unittests+0x2d4a929) #12 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (services_unittests+0x5ca2f62) #13 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5ca2f62) #14 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fa4508) #15 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fa4508) #16 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fa4508) #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+0x1fa4508) #18 Run base/callback.h:97:12 (services_unittests+0x5cac45d) #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+0x5cac45d) #20 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5cac2c0) #21 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fa413f) SUMMARY: ThreadSanitizer: heap-use-after-free base/run_loop.cc:185:16 in base::RunLoop::Quit() ================== [ OK ] ExpectCTReporterTest.BadCorsPreflightResponseOrigin (1068 ms) [----------] 6 tests from ExpectCTReporterTest (1185 ms total) [----------] Global test environment tear-down [==========] 10 tests from 3 test suites ran. (1191 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 2 warnings [ RUN ] ExpectCTReporterTest.SendReport [ OK ] ExpectCTReporterTest.SendReport (39 ms) ================================================================================