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

Test 'MessagePopupCollectionTest.LeftPositioningWithLeftTaskbar' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'MessagePopupCollectionTest.LeftPositioningWithLeftTaskbar' had the following logs when run: ================================================================================ [ RUN ] MessagePopupCollectionTest.LeftPositioningWithLeftTaskbar [ OK ] MessagePopupCollectionTest.LeftPositioningWithLeftTaskbar (162 ms) [ RUN ] MessagePopupCollectionTest.PopupWidgetClosedOutsideDuringFadeOut [ OK ] MessagePopupCollectionTest.PopupWidgetClosedOutsideDuringFadeOut (137 ms) [ RUN ] MessagePopupCollectionTest.HighPriorityNotificationShownAgain [ OK ] MessagePopupCollectionTest.HighPriorityNotificationShownAgain (170 ms) [ RUN ] MessagePopupCollectionTest.RemoveNotificationWhileAnimating [ OK ] MessagePopupCollectionTest.RemoveNotificationWhileAnimating (175 ms) [----------] 5 tests from MessagePopupCollectionTest (830 ms total) [----------] 1 test from NotificationHeaderViewTest [ RUN ] NotificationHeaderViewTest.UpdatesTimestampOverTime ================== WARNING: ThreadSanitizer: data race (pid=4100) Read of size 8 at 0x55e1ecae6c70 by thread T5: #0 base::TimeTicks::Now() base/time/time.cc:369:10 (message_center_unittests+0xeaddba) #1 base::DefaultTickClock::NowTicks() const base/time/default_tick_clock.cc:14:10 (message_center_unittests+0xead5b3) #2 base::sequence_manager::LazyNow::Now() base/task/sequence_manager/lazy_now.cc:30:25 (message_center_unittests+0xe751c3) #3 base::sequence_manager::internal::RealTimeDomain::DelayTillNextTask(base::sequence_manager::LazyNow*) base/task/sequence_manager/real_time_domain.cc:36:29 (message_center_unittests+0xe76346) #4 base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc:611:46 (message_center_unittests+0xe71214) #5 non-virtual thunk to base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc (message_center_unittests+0xe71304) #6 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:382:39 (message_center_unittests+0xe7edf8) #7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:214:7 (message_center_unittests+0xe7e58d) #8 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7eeee) #9 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (message_center_unittests+0xe3dc31) #10 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #11 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #12 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #13 base::RunLoop::Run() base/run_loop.cc:129:3 (message_center_unittests+0xe58f63) #14 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (message_center_unittests+0xeaa359) #15 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (message_center_unittests+0xeaa611) #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (message_center_unittests+0xee6404) Previous write of size 8 at 0x55e1ecae6c70 by main thread: #0 base::subtle::ScopedTimeClockOverrides::ScopedTimeClockOverrides(base::Time (*)(), base::TimeTicks (*)(), base::ThreadTicks (*)()) base/time/time_override.cc:28:41 (message_center_unittests+0xeec7eb) #1 make_unique<base::subtle::ScopedTimeClockOverrides, base::Time (*)(), base::TimeTicks (*)(), nullptr_t> buildtools/third_party/libc++/trunk/include/memory:3131:32 (message_center_unittests+0xeebb35) #2 base::test::ScopedTaskEnvironment::MockTimeDomain::MockTimeDomain(base::test::ScopedTaskEnvironment::NowSource, base::sequence_manager::SequenceManager*) base/test/scoped_task_environment.cc:102 (message_center_unittests+0xeebb35) #3 make_unique<base::test::ScopedTaskEnvironment::MockTimeDomain, base::test::ScopedTaskEnvironment::NowSource &, base::sequence_manager::SequenceManager *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (message_center_unittests+0xeea71a) #4 CreateAndRegister base/test/scoped_task_environment.cc:137 (message_center_unittests+0xeea71a) #5 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:325 (message_center_unittests+0xeea71a) #6 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource, void>(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource) base/test/scoped_task_environment.h:143:9 (message_center_unittests+0x7c5241) #7 message_center::NotificationHeaderViewTest::SetUp() ui/message_center/views/notification_header_view_unittest.cc:30:36 (message_center_unittests+0x7c4f6e) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd23232) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (message_center_unittests+0xd23232) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #16 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #17 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #18 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #20 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #21 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #22 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #24 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) Location is global 'base::internal::g_time_ticks_now_function' of size 8 at 0x55e1ecae6c70 (message_center_unittests+0x0000020bac70) Thread T5 'GpuThread' (tid=4134, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (message_center_unittests+0x6eb05b) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (message_center_unittests+0xee5f47) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (message_center_unittests+0xee5e45) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (message_center_unittests+0xeaa070) #4 base::Thread::Start() base/threading/thread.cc:77:10 (message_center_unittests+0xea9ce3) #5 gpu::InProcessGpuThreadHolder::InProcessGpuThreadHolder() gpu/ipc/in_process_gpu_thread_holder.cc:33:3 (message_center_unittests+0x1fefea7) #6 NoDestructor<> base/no_destructor.h:54:20 (message_center_unittests+0x1ff1201) #7 gpu::GetTestGpuThreadHolder() gpu/ipc/test_gpu_thread_holder.cc:12 (message_center_unittests+0x1ff1201) #8 ui::InProcessContextProvider::BindToCurrentThread() ui/compositor/test/in_process_context_provider.cc:102:7 (message_center_unittests+0x1fe0684) #9 ui::InProcessContextFactory::CreateLayerTreeFrameSink(base::WeakPtr<ui::Compositor>) ui/compositor/test/in_process_context_factory.cc:205:52 (message_center_unittests+0x1fd9e27) #10 ui::Compositor::RequestNewLayerTreeFrameSink() ui/compositor/compositor.cc:629:23 (message_center_unittests+0x12bf8fe) #11 cc::LayerTreeHost::RequestNewLayerTreeFrameSink() cc/trees/layer_tree_host.cc:487:12 (message_center_unittests+0x1a2bcff) #12 cc::SingleThreadProxy::RequestNewLayerTreeFrameSink() cc/trees/single_thread_proxy.cc:127:21 (message_center_unittests+0x1ae7647) #13 Invoke<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:499:12 (message_center_unittests+0x1aeb48a) #14 MakeItSo<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:619 (message_center_unittests+0x1aeb48a) #15 RunImpl<void (cc::SingleThreadProxy::*)(), std::__1::tuple<base::WeakPtr<cc::SingleThreadProxy> >, 0> base/bind_internal.h:672 (message_center_unittests+0x1aeb48a) #16 base::internal::Invoker<base::internal::BindState<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x1aeb48a) #17 Run base/callback.h:97:12 (message_center_unittests+0xe5adcd) #18 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (message_center_unittests+0xe5adcd) #19 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (message_center_unittests+0xe5ae8a) #20 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (message_center_unittests+0xe5ae8a) #21 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (message_center_unittests+0xe5ae8a) #22 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0xe5ae8a) #23 Run base/callback.h:97:12 (message_center_unittests+0xe6a2aa) #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (message_center_unittests+0xe6a2aa) #25 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:363:23 (message_center_unittests+0xe7e9c8) #26 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:260:7 (message_center_unittests+0xe7effd) #27 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7effd) #28 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:309:49 (message_center_unittests+0xe3e29b) #29 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #30 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #31 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #32 Run base/run_loop.cc:129:3 (message_center_unittests+0xe59d70) #33 base::RunLoop::RunUntilIdle() base/run_loop.cc:174 (message_center_unittests+0xe59d70) #34 RunPendingMessages ui/views/test/views_test_base.cc:197:12 (message_center_unittests+0x8120f5) #35 views::ViewsTestBase::TearDown() ui/views/test/views_test_base.cc:157 (message_center_unittests+0x8120f5) #36 message_center::MessagePopupCollectionTest::TearDown() ui/message_center/views/message_popup_collection_unittest.cc:233:27 (message_center_unittests+0x7b7d0f) #37 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd234ea) #38 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2520 (message_center_unittests+0xd234ea) #39 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #40 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #41 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #42 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #43 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #44 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #45 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #46 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #47 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #48 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #49 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #50 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #51 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #52 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #53 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) SUMMARY: ThreadSanitizer: data race base/time/time.cc:369:10 in base::TimeTicks::Now() ================== ================== WARNING: ThreadSanitizer: data race (pid=4100) Read of size 8 at 0x55e1ed5af650 by thread T5: #0 base::test::ScopedTaskEnvironment::MockTimeDomain::GetTimeTicks() base/test/scoped_task_environment.cc:118:44 (message_center_unittests+0xeebbfa) #1 base::TimeTicks::Now() base/time/time.cc:369:10 (message_center_unittests+0xeaddc0) #2 base::DefaultTickClock::NowTicks() const base/time/default_tick_clock.cc:14:10 (message_center_unittests+0xead5b3) #3 base::sequence_manager::LazyNow::Now() base/task/sequence_manager/lazy_now.cc:30:25 (message_center_unittests+0xe751c3) #4 base::sequence_manager::internal::RealTimeDomain::DelayTillNextTask(base::sequence_manager::LazyNow*) base/task/sequence_manager/real_time_domain.cc:36:29 (message_center_unittests+0xe76346) #5 base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc:611:46 (message_center_unittests+0xe71214) #6 non-virtual thunk to base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc (message_center_unittests+0xe71304) #7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:382:39 (message_center_unittests+0xe7edf8) #8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:214:7 (message_center_unittests+0xe7e58d) #9 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7eeee) #10 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (message_center_unittests+0xe3dc31) #11 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #13 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #14 base::RunLoop::Run() base/run_loop.cc:129:3 (message_center_unittests+0xe58f63) #15 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (message_center_unittests+0xeaa359) #16 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (message_center_unittests+0xeaa611) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (message_center_unittests+0xee6404) Previous write of size 8 at 0x55e1ed5af650 by main thread: #0 base::test::ScopedTaskEnvironment::MockTimeDomain::MockTimeDomain(base::test::ScopedTaskEnvironment::NowSource, base::sequence_manager::SequenceManager*) base/test/scoped_task_environment.cc:100:31 (message_center_unittests+0xeebb03) #1 make_unique<base::test::ScopedTaskEnvironment::MockTimeDomain, base::test::ScopedTaskEnvironment::NowSource &, base::sequence_manager::SequenceManager *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (message_center_unittests+0xeea71a) #2 CreateAndRegister base/test/scoped_task_environment.cc:137 (message_center_unittests+0xeea71a) #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:325 (message_center_unittests+0xeea71a) #4 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource, void>(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource) base/test/scoped_task_environment.h:143:9 (message_center_unittests+0x7c5241) #5 message_center::NotificationHeaderViewTest::SetUp() ui/message_center/views/notification_header_view_unittest.cc:30:36 (message_center_unittests+0x7c4f6e) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd23232) #7 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (message_center_unittests+0xd23232) #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #14 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #15 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #16 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #17 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #18 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #19 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #20 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #21 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #22 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) Location is global 'base::test::ScopedTaskEnvironment::MockTimeDomain::current_mock_time_domain_' of size 8 at 0x55e1ed5af650 (message_center_unittests+0x000002b83650) Thread T5 'GpuThread' (tid=4134, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (message_center_unittests+0x6eb05b) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (message_center_unittests+0xee5f47) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (message_center_unittests+0xee5e45) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (message_center_unittests+0xeaa070) #4 base::Thread::Start() base/threading/thread.cc:77:10 (message_center_unittests+0xea9ce3) #5 gpu::InProcessGpuThreadHolder::InProcessGpuThreadHolder() gpu/ipc/in_process_gpu_thread_holder.cc:33:3 (message_center_unittests+0x1fefea7) #6 NoDestructor<> base/no_destructor.h:54:20 (message_center_unittests+0x1ff1201) #7 gpu::GetTestGpuThreadHolder() gpu/ipc/test_gpu_thread_holder.cc:12 (message_center_unittests+0x1ff1201) #8 ui::InProcessContextProvider::BindToCurrentThread() ui/compositor/test/in_process_context_provider.cc:102:7 (message_center_unittests+0x1fe0684) #9 ui::InProcessContextFactory::CreateLayerTreeFrameSink(base::WeakPtr<ui::Compositor>) ui/compositor/test/in_process_context_factory.cc:205:52 (message_center_unittests+0x1fd9e27) #10 ui::Compositor::RequestNewLayerTreeFrameSink() ui/compositor/compositor.cc:629:23 (message_center_unittests+0x12bf8fe) #11 cc::LayerTreeHost::RequestNewLayerTreeFrameSink() cc/trees/layer_tree_host.cc:487:12 (message_center_unittests+0x1a2bcff) #12 cc::SingleThreadProxy::RequestNewLayerTreeFrameSink() cc/trees/single_thread_proxy.cc:127:21 (message_center_unittests+0x1ae7647) #13 Invoke<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:499:12 (message_center_unittests+0x1aeb48a) #14 MakeItSo<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:619 (message_center_unittests+0x1aeb48a) #15 RunImpl<void (cc::SingleThreadProxy::*)(), std::__1::tuple<base::WeakPtr<cc::SingleThreadProxy> >, 0> base/bind_internal.h:672 (message_center_unittests+0x1aeb48a) #16 base::internal::Invoker<base::internal::BindState<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x1aeb48a) #17 Run base/callback.h:97:12 (message_center_unittests+0xe5adcd) #18 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (message_center_unittests+0xe5adcd) #19 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (message_center_unittests+0xe5ae8a) #20 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (message_center_unittests+0xe5ae8a) #21 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (message_center_unittests+0xe5ae8a) #22 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0xe5ae8a) #23 Run base/callback.h:97:12 (message_center_unittests+0xe6a2aa) #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (message_center_unittests+0xe6a2aa) #25 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:363:23 (message_center_unittests+0xe7e9c8) #26 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:260:7 (message_center_unittests+0xe7effd) #27 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7effd) #28 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:309:49 (message_center_unittests+0xe3e29b) #29 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #30 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #31 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #32 Run base/run_loop.cc:129:3 (message_center_unittests+0xe59d70) #33 base::RunLoop::RunUntilIdle() base/run_loop.cc:174 (message_center_unittests+0xe59d70) #34 RunPendingMessages ui/views/test/views_test_base.cc:197:12 (message_center_unittests+0x8120f5) #35 views::ViewsTestBase::TearDown() ui/views/test/views_test_base.cc:157 (message_center_unittests+0x8120f5) #36 message_center::MessagePopupCollectionTest::TearDown() ui/message_center/views/message_popup_collection_unittest.cc:233:27 (message_center_unittests+0x7b7d0f) #37 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd234ea) #38 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2520 (message_center_unittests+0xd234ea) #39 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #40 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #41 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #42 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #43 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #44 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #45 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #46 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #47 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #48 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #49 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #50 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #51 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #52 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #53 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) SUMMARY: ThreadSanitizer: data race base/test/scoped_task_environment.cc:118:44 in base::test::ScopedTaskEnvironment::MockTimeDomain::GetTimeTicks() ================== ================== WARNING: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) (pid=4100) Read of size 8 at 0x7b28000005a0 by thread T5: #0 base::test::ScopedTaskEnvironment::MockTimeDomain::GetTimeTicks() base/test/scoped_task_environment.cc:118:71 (message_center_unittests+0xeebc09) #1 base::TimeTicks::Now() base/time/time.cc:369:10 (message_center_unittests+0xeaddc0) #2 base::DefaultTickClock::NowTicks() const base/time/default_tick_clock.cc:14:10 (message_center_unittests+0xead5b3) #3 base::sequence_manager::LazyNow::Now() base/task/sequence_manager/lazy_now.cc:30:25 (message_center_unittests+0xe751c3) #4 base::sequence_manager::internal::RealTimeDomain::DelayTillNextTask(base::sequence_manager::LazyNow*) base/task/sequence_manager/real_time_domain.cc:36:29 (message_center_unittests+0xe76346) #5 base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc:611:46 (message_center_unittests+0xe71214) #6 non-virtual thunk to base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc (message_center_unittests+0xe71304) #7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:382:39 (message_center_unittests+0xe7edf8) #8 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:214:7 (message_center_unittests+0xe7e58d) #9 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7eeee) #10 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (message_center_unittests+0xe3dc31) #11 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #12 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #13 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #14 base::RunLoop::Run() base/run_loop.cc:129:3 (message_center_unittests+0xe58f63) #15 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (message_center_unittests+0xeaa359) #16 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (message_center_unittests+0xeaa611) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (message_center_unittests+0xee6404) Previous write of size 8 at 0x7b28000005a0 by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (message_center_unittests+0x75ac5b) #1 make_unique<base::test::ScopedTaskEnvironment::MockTimeDomain, base::test::ScopedTaskEnvironment::NowSource &, base::sequence_manager::SequenceManager *&> buildtools/third_party/libc++/trunk/include/memory:3131:28 (message_center_unittests+0xeea706) #2 CreateAndRegister base/test/scoped_task_environment.cc:137 (message_center_unittests+0xeea706) #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:325 (message_center_unittests+0xeea706) #4 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource, void>(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource) base/test/scoped_task_environment.h:143:9 (message_center_unittests+0x7c5241) #5 message_center::NotificationHeaderViewTest::SetUp() ui/message_center/views/notification_header_view_unittest.cc:30:36 (message_center_unittests+0x7c4f6e) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd23232) #7 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (message_center_unittests+0xd23232) #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #14 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #15 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #16 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #17 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #18 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #19 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #20 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #21 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #22 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) Location is heap block of size 152 at 0x7b28000005a0 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (message_center_unittests+0x75ac5b) #1 make_unique<base::test::ScopedTaskEnvironment::MockTimeDomain, base::test::ScopedTaskEnvironment::NowSource &, base::sequence_manager::SequenceManager *&> buildtools/third_party/libc++/trunk/include/memory:3131:28 (message_center_unittests+0xeea706) #2 CreateAndRegister base/test/scoped_task_environment.cc:137 (message_center_unittests+0xeea706) #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:325 (message_center_unittests+0xeea706) #4 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource, void>(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource) base/test/scoped_task_environment.h:143:9 (message_center_unittests+0x7c5241) #5 message_center::NotificationHeaderViewTest::SetUp() ui/message_center/views/notification_header_view_unittest.cc:30:36 (message_center_unittests+0x7c4f6e) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd23232) #7 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (message_center_unittests+0xd23232) #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #14 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #15 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #16 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #17 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #18 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #19 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #20 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #21 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #22 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) Thread T5 'GpuThread' (tid=4134, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (message_center_unittests+0x6eb05b) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (message_center_unittests+0xee5f47) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (message_center_unittests+0xee5e45) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (message_center_unittests+0xeaa070) #4 base::Thread::Start() base/threading/thread.cc:77:10 (message_center_unittests+0xea9ce3) #5 gpu::InProcessGpuThreadHolder::InProcessGpuThreadHolder() gpu/ipc/in_process_gpu_thread_holder.cc:33:3 (message_center_unittests+0x1fefea7) #6 NoDestructor<> base/no_destructor.h:54:20 (message_center_unittests+0x1ff1201) #7 gpu::GetTestGpuThreadHolder() gpu/ipc/test_gpu_thread_holder.cc:12 (message_center_unittests+0x1ff1201) #8 ui::InProcessContextProvider::BindToCurrentThread() ui/compositor/test/in_process_context_provider.cc:102:7 (message_center_unittests+0x1fe0684) #9 ui::InProcessContextFactory::CreateLayerTreeFrameSink(base::WeakPtr<ui::Compositor>) ui/compositor/test/in_process_context_factory.cc:205:52 (message_center_unittests+0x1fd9e27) #10 ui::Compositor::RequestNewLayerTreeFrameSink() ui/compositor/compositor.cc:629:23 (message_center_unittests+0x12bf8fe) #11 cc::LayerTreeHost::RequestNewLayerTreeFrameSink() cc/trees/layer_tree_host.cc:487:12 (message_center_unittests+0x1a2bcff) #12 cc::SingleThreadProxy::RequestNewLayerTreeFrameSink() cc/trees/single_thread_proxy.cc:127:21 (message_center_unittests+0x1ae7647) #13 Invoke<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:499:12 (message_center_unittests+0x1aeb48a) #14 MakeItSo<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:619 (message_center_unittests+0x1aeb48a) #15 RunImpl<void (cc::SingleThreadProxy::*)(), std::__1::tuple<base::WeakPtr<cc::SingleThreadProxy> >, 0> base/bind_internal.h:672 (message_center_unittests+0x1aeb48a) #16 base::internal::Invoker<base::internal::BindState<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x1aeb48a) #17 Run base/callback.h:97:12 (message_center_unittests+0xe5adcd) #18 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (message_center_unittests+0xe5adcd) #19 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (message_center_unittests+0xe5ae8a) #20 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (message_center_unittests+0xe5ae8a) #21 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (message_center_unittests+0xe5ae8a) #22 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0xe5ae8a) #23 Run base/callback.h:97:12 (message_center_unittests+0xe6a2aa) #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (message_center_unittests+0xe6a2aa) #25 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:363:23 (message_center_unittests+0xe7e9c8) #26 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:260:7 (message_center_unittests+0xe7effd) #27 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7effd) #28 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:309:49 (message_center_unittests+0xe3e29b) #29 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #30 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #31 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #32 Run base/run_loop.cc:129:3 (message_center_unittests+0xe59d70) #33 base::RunLoop::RunUntilIdle() base/run_loop.cc:174 (message_center_unittests+0xe59d70) #34 RunPendingMessages ui/views/test/views_test_base.cc:197:12 (message_center_unittests+0x8120f5) #35 views::ViewsTestBase::TearDown() ui/views/test/views_test_base.cc:157 (message_center_unittests+0x8120f5) #36 message_center::MessagePopupCollectionTest::TearDown() ui/message_center/views/message_popup_collection_unittest.cc:233:27 (message_center_unittests+0x7b7d0f) #37 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd234ea) #38 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2520 (message_center_unittests+0xd234ea) #39 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #40 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #41 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #42 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #43 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #44 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #45 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #46 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #47 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #48 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #49 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #50 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #51 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #52 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #53 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) SUMMARY: ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) base/test/scoped_task_environment.cc:118:71 in base::test::ScopedTaskEnvironment::MockTimeDomain::GetTimeTicks() ================== ================== WARNING: ThreadSanitizer: data race (pid=4100) Atomic read of size 1 at 0x7b2800000608 by thread T5: #0 pthread_mutex_lock /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:4134:3 (message_center_unittests+0x709396) #1 base::internal::LockImpl::Lock() base/synchronization/lock_impl_posix.cc:102:12 (message_center_unittests+0xee241d) #2 Acquire base/synchronization/lock.h:31:26 (message_center_unittests+0xeebe1e) #3 BasicAutoLock base/synchronization/lock_impl.h:84 (message_center_unittests+0xeebe1e) #4 base::test::ScopedTaskEnvironment::MockTimeDomain::Now() const base/test/scoped_task_environment.cc:154 (message_center_unittests+0xeebe1e) #5 base::test::ScopedTaskEnvironment::MockTimeDomain::GetTimeTicks() base/test/scoped_task_environment.cc:118:71 (message_center_unittests+0xeebc12) #6 base::TimeTicks::Now() base/time/time.cc:369:10 (message_center_unittests+0xeaddc0) #7 base::DefaultTickClock::NowTicks() const base/time/default_tick_clock.cc:14:10 (message_center_unittests+0xead5b3) #8 base::sequence_manager::LazyNow::Now() base/task/sequence_manager/lazy_now.cc:30:25 (message_center_unittests+0xe751c3) #9 base::sequence_manager::internal::RealTimeDomain::DelayTillNextTask(base::sequence_manager::LazyNow*) base/task/sequence_manager/real_time_domain.cc:36:29 (message_center_unittests+0xe76346) #10 base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc:611:46 (message_center_unittests+0xe71214) #11 non-virtual thunk to base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc (message_center_unittests+0xe71304) #12 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:382:39 (message_center_unittests+0xe7edf8) #13 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:214:7 (message_center_unittests+0xe7e58d) #14 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7eeee) #15 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:39:55 (message_center_unittests+0xe3dc31) #16 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #17 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #18 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #19 base::RunLoop::Run() base/run_loop.cc:129:3 (message_center_unittests+0xe58f63) #20 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (message_center_unittests+0xeaa359) #21 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (message_center_unittests+0xeaa611) #22 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (message_center_unittests+0xee6404) Previous write of size 8 at 0x7b2800000608 by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (message_center_unittests+0x75ac5b) #1 make_unique<base::test::ScopedTaskEnvironment::MockTimeDomain, base::test::ScopedTaskEnvironment::NowSource &, base::sequence_manager::SequenceManager *&> buildtools/third_party/libc++/trunk/include/memory:3131:28 (message_center_unittests+0xeea706) #2 CreateAndRegister base/test/scoped_task_environment.cc:137 (message_center_unittests+0xeea706) #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:325 (message_center_unittests+0xeea706) #4 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource, void>(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource) base/test/scoped_task_environment.h:143:9 (message_center_unittests+0x7c5241) #5 message_center::NotificationHeaderViewTest::SetUp() ui/message_center/views/notification_header_view_unittest.cc:30:36 (message_center_unittests+0x7c4f6e) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd23232) #7 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (message_center_unittests+0xd23232) #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #14 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #15 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #16 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #17 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #18 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #19 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #20 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #21 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #22 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) Location is heap block of size 152 at 0x7b28000005a0 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (message_center_unittests+0x75ac5b) #1 make_unique<base::test::ScopedTaskEnvironment::MockTimeDomain, base::test::ScopedTaskEnvironment::NowSource &, base::sequence_manager::SequenceManager *&> buildtools/third_party/libc++/trunk/include/memory:3131:28 (message_center_unittests+0xeea706) #2 CreateAndRegister base/test/scoped_task_environment.cc:137 (message_center_unittests+0xeea706) #3 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::ExecutionMode, base::test::ScopedTaskEnvironment::NowSource, bool, base::trait_helpers::NotATraitTag) base/test/scoped_task_environment.cc:325 (message_center_unittests+0xeea706) #4 base::test::ScopedTaskEnvironment::ScopedTaskEnvironment<base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource, void>(base::test::ScopedTaskEnvironment::MainThreadType, base::test::ScopedTaskEnvironment::NowSource) base/test/scoped_task_environment.h:143:9 (message_center_unittests+0x7c5241) #5 message_center::NotificationHeaderViewTest::SetUp() ui/message_center/views/notification_header_view_unittest.cc:30:36 (message_center_unittests+0x7c4f6e) #6 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd23232) #7 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (message_center_unittests+0xd23232) #8 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #9 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #10 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #11 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #14 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #15 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #16 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #17 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #18 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #19 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #20 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #21 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #22 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) Thread T5 'GpuThread' (tid=4134, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (message_center_unittests+0x6eb05b) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (message_center_unittests+0xee5f47) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (message_center_unittests+0xee5e45) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (message_center_unittests+0xeaa070) #4 base::Thread::Start() base/threading/thread.cc:77:10 (message_center_unittests+0xea9ce3) #5 gpu::InProcessGpuThreadHolder::InProcessGpuThreadHolder() gpu/ipc/in_process_gpu_thread_holder.cc:33:3 (message_center_unittests+0x1fefea7) #6 NoDestructor<> base/no_destructor.h:54:20 (message_center_unittests+0x1ff1201) #7 gpu::GetTestGpuThreadHolder() gpu/ipc/test_gpu_thread_holder.cc:12 (message_center_unittests+0x1ff1201) #8 ui::InProcessContextProvider::BindToCurrentThread() ui/compositor/test/in_process_context_provider.cc:102:7 (message_center_unittests+0x1fe0684) #9 ui::InProcessContextFactory::CreateLayerTreeFrameSink(base::WeakPtr<ui::Compositor>) ui/compositor/test/in_process_context_factory.cc:205:52 (message_center_unittests+0x1fd9e27) #10 ui::Compositor::RequestNewLayerTreeFrameSink() ui/compositor/compositor.cc:629:23 (message_center_unittests+0x12bf8fe) #11 cc::LayerTreeHost::RequestNewLayerTreeFrameSink() cc/trees/layer_tree_host.cc:487:12 (message_center_unittests+0x1a2bcff) #12 cc::SingleThreadProxy::RequestNewLayerTreeFrameSink() cc/trees/single_thread_proxy.cc:127:21 (message_center_unittests+0x1ae7647) #13 Invoke<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:499:12 (message_center_unittests+0x1aeb48a) #14 MakeItSo<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:619 (message_center_unittests+0x1aeb48a) #15 RunImpl<void (cc::SingleThreadProxy::*)(), std::__1::tuple<base::WeakPtr<cc::SingleThreadProxy> >, 0> base/bind_internal.h:672 (message_center_unittests+0x1aeb48a) #16 base::internal::Invoker<base::internal::BindState<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x1aeb48a) #17 Run base/callback.h:97:12 (message_center_unittests+0xe5adcd) #18 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (message_center_unittests+0xe5adcd) #19 Invoke<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:499:12 (message_center_unittests+0xe5ae8a) #20 MakeItSo<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > >> base/bind_internal.h:619 (message_center_unittests+0xe5ae8a) #21 RunImpl<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), std::__1::tuple<base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, 0> base/bind_internal.h:672 (message_center_unittests+0xe5ae8a) #22 base::internal::Invoker<base::internal::BindState<void (base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::*)(), base::WeakPtr<base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> > > >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0xe5ae8a) #23 Run base/callback.h:97:12 (message_center_unittests+0xe6a2aa) #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (message_center_unittests+0xe6a2aa) #25 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:363:23 (message_center_unittests+0xe7e9c8) #26 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:260:7 (message_center_unittests+0xe7effd) #27 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7effd) #28 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:309:49 (message_center_unittests+0xe3e29b) #29 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (message_center_unittests+0xe7f6d9) #30 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe7f6d9) #31 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (message_center_unittests+0xe59170) #32 Run base/run_loop.cc:129:3 (message_center_unittests+0xe59d70) #33 base::RunLoop::RunUntilIdle() base/run_loop.cc:174 (message_center_unittests+0xe59d70) #34 RunPendingMessages ui/views/test/views_test_base.cc:197:12 (message_center_unittests+0x8120f5) #35 views::ViewsTestBase::TearDown() ui/views/test/views_test_base.cc:157 (message_center_unittests+0x8120f5) #36 message_center::MessagePopupCollectionTest::TearDown() ui/message_center/views/message_popup_collection_unittest.cc:233:27 (message_center_unittests+0x7b7d0f) #37 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd234ea) #38 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2520 (message_center_unittests+0xd234ea) #39 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (message_center_unittests+0xd24058) #40 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (message_center_unittests+0xd24c36) #41 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (message_center_unittests+0xd370b6) #42 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xd36519) #43 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (message_center_unittests+0xd36519) #44 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (message_center_unittests+0xeeef82) #45 base::TestSuite::Run() base/test/test_suite.cc:316 (message_center_unittests+0xeeef82) #46 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x78f728) #47 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x78f728) #48 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x78f728) #49 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (message_center_unittests+0x78f728) #50 Run base/callback.h:97:12 (message_center_unittests+0xef202d) #51 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (message_center_unittests+0xef202d) #52 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xef1e90) #53 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x78f487) SUMMARY: ThreadSanitizer: data race base/synchronization/lock_impl_posix.cc:102:12 in base::internal::LockImpl::Lock() ================== [ OK ] NotificationHeaderViewTest.UpdatesTimestampOverTime (991 ms) [----------] 1 test from NotificationHeaderViewTest (991 ms total) [----------] 4 tests from NotificationViewMDTest [ RUN ] NotificationViewMDTest.CreateOrUpdateTest [ OK ] NotificationViewMDTest.CreateOrUpdateTest (124 ms) [ RUN ] NotificationViewMDTest.UpdateViewsOrderingTest [ OK ] NotificationViewMDTest.UpdateViewsOrderingTest (107 ms) [ RUN ] NotificationViewMDTest.TestIconSizing [ OK ] NotificationViewMDTest.TestIconSizing (110 ms) [ RUN ] NotificationViewMDTest.UpdateButtonsStateTest [ OK ] NotificationViewMDTest.UpdateButtonsStateTest (122 ms) [----------] 4 tests from NotificationViewMDTest (464 ms total) [----------] Global test environment tear-down [==========] 10 tests from 3 test suites ran. (2286 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 4 warnings [ RUN ] MessagePopupCollectionTest.LeftPositioningWithLeftTaskbar [ OK ] MessagePopupCollectionTest.LeftPositioningWithLeftTaskbar (100 ms) ================================================================================