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

Test 'AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.ThreadNamesSet/1' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.ThreadNamesSet/1' had the following logs when run: ================================================================================ [ RUN ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.ThreadNamesSet/1 [ OK ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.ThreadNamesSet/1 (5 ms) [ RUN ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostTaskAfterShutdown/0 [ OK ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostTaskAfterShutdown/0 (4 ms) [ RUN ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostTaskAfterShutdown/1 [ OK ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostTaskAfterShutdown/1 (3 ms) [ RUN ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostDelayedTask/0 ================== WARNING: ThreadSanitizer: data race (pid=24484) Write of size 1 at 0x56512fd58b08 by main thread: #0 base::internal::SchedulerSingleThreadTaskRunnerManager::~SchedulerSingleThreadTaskRunnerManager() base/task/thread_pool/scheduler_single_thread_task_runner_manager.cc:454:22 (base_unittests+0x13f9d28) #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (base_unittests+0xf78a27) #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (base_unittests+0xf78a27) #3 base::internal::(anonymous namespace)::ThreadPoolSingleThreadTaskRunnerManagerTest::TearDownSingleThreadTaskRunnerManager() base/task/thread_pool/scheduler_single_thread_task_runner_manager_unittest.cc:69 (base_unittests+0xf78a27) #4 base::internal::(anonymous namespace)::ThreadPoolSingleThreadTaskRunnerManagerTest::TearDown() base/task/thread_pool/scheduler_single_thread_task_runner_manager_unittest.cc:59:7 (base_unittests+0xf78968) #5 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12b2e3a) #6 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2520 (base_unittests+0x12b2e3a) #7 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (base_unittests+0x12b3d68) #8 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (base_unittests+0x12b4946) #9 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (base_unittests+0x12c6dc6) #10 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12c6229) #11 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (base_unittests+0x12c6229) #12 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (base_unittests+0x149e8d2) #13 base::TestSuite::Run() base/test/test_suite.cc:316 (base_unittests+0x149e8d2) #14 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (base_unittests+0x148adf8) #15 MakeItSo<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:599 (base_unittests+0x148adf8) #16 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> >, 0> base/bind_internal.h:672 (base_unittests+0x148adf8) #17 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (base_unittests+0x148adf8) #18 Run base/callback.h:97:12 (base_unittests+0x14be41b) #19 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (base_unittests+0x14be41b) #20 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (base_unittests+0x14be280) #21 main base/test/run_all_base_unittests.cc:12:10 (base_unittests+0x148ad45) Previous read of size 1 at 0x56512fd58b08 by thread T17: #0 ~SchedulerSingleThreadTaskRunner base/task/thread_pool/scheduler_single_thread_task_runner_manager.cc:409:9 (base_unittests+0x13fc126) #1 base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner::~SchedulerSingleThreadTaskRunner() base/task/thread_pool/scheduler_single_thread_task_runner_manager.cc:390 (base_unittests+0x13fc126) #2 base::TaskRunner::OnDestruct() const base/task_runner.cc:59:3 (base_unittests+0x140b817) #3 base::TaskRunnerTraits::Destruct(base::TaskRunner const*) base/task_runner.cc:63:16 (base_unittests+0x140b852) #4 Release base/memory/ref_counted.h:403:7 (base_unittests+0x13f665f) #5 Release base/memory/scoped_refptr.h:297 (base_unittests+0x13f665f) #6 ~scoped_refptr base/memory/scoped_refptr.h:209 (base_unittests+0x13f665f) #7 ~DelayedTask base/task/thread_pool/delayed_task_manager.cc:31 (base_unittests+0x13f665f) #8 destroy buildtools/third_party/libc++/trunk/include/memory:1880 (base_unittests+0x13f665f) #9 __destroy<base::internal::DelayedTaskManager::DelayedTask> buildtools/third_party/libc++/trunk/include/memory:1742 (base_unittests+0x13f665f) #10 destroy<base::internal::DelayedTaskManager::DelayedTask> buildtools/third_party/libc++/trunk/include/memory:1595 (base_unittests+0x13f665f) #11 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:426 (base_unittests+0x13f665f) #12 clear buildtools/third_party/libc++/trunk/include/vector:369 (base_unittests+0x13f665f) #13 ~__vector_base buildtools/third_party/libc++/trunk/include/vector:463 (base_unittests+0x13f665f) #14 ~vector buildtools/third_party/libc++/trunk/include/vector:555 (base_unittests+0x13f665f) #15 base::internal::DelayedTaskManager::ProcessRipeTasks() base/task/thread_pool/delayed_task_manager.cc:121 (base_unittests+0x13f665f) #16 Invoke<void (base::internal::DelayedTaskManager::*)(), base::internal::DelayedTaskManager *> base/bind_internal.h:499:12 (base_unittests+0x13f6e18) #17 MakeItSo<void (base::internal::DelayedTaskManager::*const &)(), base::internal::DelayedTaskManager *> base/bind_internal.h:599 (base_unittests+0x13f6e18) #18 RunImpl<void (base::internal::DelayedTaskManager::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<base::internal::DelayedTaskManager> > &, 0> base/bind_internal.h:672 (base_unittests+0x13f6e18) #19 base::internal::Invoker<base::internal::BindState<void (base::internal::DelayedTaskManager::*)(), base::internal::UnretainedWrapper<base::internal::DelayedTaskManager> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (base_unittests+0x13f6e18) #20 Run base/callback.h:97:12 (base_unittests+0x13d4b8a) #21 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (base_unittests+0x13d4b8a) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:363:23 (base_unittests+0x13ef538) #23 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:214:7 (base_unittests+0x13ef0fd) #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (base_unittests+0x13efa5e) #25 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (base_unittests+0x137e561) #26 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (base_unittests+0x13f0249) #27 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (base_unittests+0x13f0249) #28 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (base_unittests+0x13b4f70) #29 base::RunLoop::Run() base/run_loop.cc:129:3 (base_unittests+0x13b4d63) #30 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (base_unittests+0x141fed9) #31 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (base_unittests+0x1420191) #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (base_unittests+0x147a6e4) Location is global 'base::internal::(anonymous namespace)::g_manager_is_alive' of size 1 at 0x56512fd58b08 (base_unittests+0x0000022beb08) Thread T17 'ThreadPoolServiceThread' (tid=24511, running) created by main thread at: #0 pthread_create /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976 (base_unittests+0x482b29) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (base_unittests+0x147a0f7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (base_unittests+0x1479ff5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (base_unittests+0x141f8d0) #4 base::Thread::Start() base/threading/thread.cc:77:10 (base_unittests+0x141f543) #5 base::internal::(anonymous namespace)::ThreadPoolSingleThreadTaskRunnerManagerTest::SetUp() base/task/thread_pool/scheduler_single_thread_task_runner_manager_unittest.cc:49:21 (base_unittests+0xf78786) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12b2b82) #7 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (base_unittests+0x12b2b82) #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (base_unittests+0x12b3d68) #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (base_unittests+0x12b4946) #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (base_unittests+0x12c6dc6) #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12c6229) #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (base_unittests+0x12c6229) #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (base_unittests+0x149e8d2) #14 base::TestSuite::Run() base/test/test_suite.cc:316 (base_unittests+0x149e8d2) #15 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (base_unittests+0x148adf8) #16 MakeItSo<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:599 (base_unittests+0x148adf8) #17 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> >, 0> base/bind_internal.h:672 (base_unittests+0x148adf8) #18 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (base_unittests+0x148adf8) #19 Run base/callback.h:97:12 (base_unittests+0x14be41b) #20 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (base_unittests+0x14be41b) #21 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (base_unittests+0x14be280) #22 main base/test/run_all_base_unittests.cc:12:10 (base_unittests+0x148ad45) SUMMARY: ThreadSanitizer: data race base/task/thread_pool/scheduler_single_thread_task_runner_manager.cc:454:22 in base::internal::SchedulerSingleThreadTaskRunnerManager::~SchedulerSingleThreadTaskRunnerManager() ================== [ OK ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostDelayedTask/0 (327 ms) [ RUN ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostDelayedTask/1 [ OK ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostDelayedTask/1 (203 ms) [ RUN ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostTaskAfterDestroy/0 [ OK ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.PostTaskAfterDestroy/0 (6 ms) [----------] 9 tests from AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest (607 ms total) [----------] Global test environment tear-down [==========] 10 tests from 2 test suites ran. (608 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 1 warnings [ RUN ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.ThreadNamesSet/1 [ OK ] AllModes/ThreadPoolSingleThreadTaskRunnerManagerCommonTest.ThreadNamesSet/1 (8 ms) ================================================================================