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

Test 'NotificationViewMDTest.TestClickExpanded' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'NotificationViewMDTest.TestClickExpanded' had the following logs when run: ================================================================================ [ RUN ] NotificationViewMDTest.TestClickExpanded [ OK ] NotificationViewMDTest.TestClickExpanded (143 ms) [ RUN ] NotificationViewMDTest.TestDeleteOnToggleExpanded [ OK ] NotificationViewMDTest.TestDeleteOnToggleExpanded (198 ms) [ RUN ] NotificationViewMDTest.TestDeleteOnDisableNotification [ OK ] NotificationViewMDTest.TestDeleteOnDisableNotification (151 ms) [----------] 5 tests from NotificationViewMDTest (1091 ms total) [----------] 1 test from SlideOutControllerTest [ RUN ] SlideOutControllerTest.OnGestureEventAndDelegate [ OK ] SlideOutControllerTest.OnGestureEventAndDelegate (104 ms) [----------] 1 test from SlideOutControllerTest (104 ms total) [----------] 1 test from TimestampViewTest [ RUN ] TimestampViewTest.FormatToRelativeTime ================== WARNING: ThreadSanitizer: data race (pid=2500) Write of size 8 at 0x55f12e064c70 by main thread: #0 base::subtle::ScopedTimeClockOverrides::ScopedTimeClockOverrides(base::Time (*)(), base::TimeTicks (*)(), base::ThreadTicks (*)()) base/time/time_override.cc:28:41 (message_center_unittests+0xeae89b) #1 make_unique<base::subtle::ScopedTimeClockOverrides, base::Time (*)(), base::TimeTicks (*)(), nullptr_t> buildtools/third_party/libc++/trunk/include/memory:3131:32 (message_center_unittests+0xeadbe3) #2 base::test::ScopedTaskEnvironment::MockTimeDomain::MockTimeDomain(base::test::ScopedTaskEnvironment::NowSource, base::sequence_manager::SequenceManager*) base/test/scoped_task_environment.cc:102 (message_center_unittests+0xeadbe3) #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+0xeac9aa) #4 CreateAndRegister base/test/scoped_task_environment.cc:137 (message_center_unittests+0xeac9aa) #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+0xeac9aa) #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+0x7c54d1) #7 message_center::TimestampViewTest::SetUp() ui/message_center/views/timestamp_view_unittest.cc:32:36 (message_center_unittests+0x7c51de) #8 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xce6182) #9 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2494 (message_center_unittests+0xce6182) #10 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (message_center_unittests+0xce7068) #11 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (message_center_unittests+0xce7936) #12 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (message_center_unittests+0xcf9056) #13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xcf8849) #14 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (message_center_unittests+0xcf8849) #15 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (message_center_unittests+0xeb0ff2) #16 base::TestSuite::Run() base/test/test_suite.cc:314 (message_center_unittests+0xeb0ff2) #17 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x76c9d8) #18 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x76c9d8) #19 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x76c9d8) #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+0x76c9d8) #21 Run base/callback.h:97:12 (message_center_unittests+0xeb401d) #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+0xeb401d) #23 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xeb3e80) #24 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x76c737) Previous read of size 8 at 0x55f12e064c70 by thread T5 (mutexes: write M0): #0 base::TimeTicks::Now() base/time/time.cc:369:10 (message_center_unittests+0xe70c9a) #1 base::WaitableEvent::TimedWaitUntil(base::TimeTicks const&) base/synchronization/waitable_event_posix.cc:206:22 (message_center_unittests+0xea5596) #2 base::WaitableEvent::TimedWait(base::TimeDelta const&) base/synchronization/waitable_event_posix.cc:162:10 (message_center_unittests+0xea5763) #3 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:57:14 (message_center_unittests+0xdfe65a) #4 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (message_center_unittests+0xe40d10) #5 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe40d10) #6 base::RunLoop::Run() base/run_loop.cc:157:14 (message_center_unittests+0xe18dce) #7 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (message_center_unittests+0xe6d239) #8 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (message_center_unittests+0xe6d4f1) #9 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (message_center_unittests+0xea8ba4) Location is global 'base::internal::g_time_ticks_now_function' of size 8 at 0x55f12e064c70 (message_center_unittests+0x000001f66c70) Mutex M0 (0x7f40d8b7ed28) created at: #0 pthread_mutex_init /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1234:3 (message_center_unittests+0x6caa7d) #1 base::internal::LockImpl::LockImpl() base/synchronization/lock_impl_posix.cc:72:8 (message_center_unittests+0xea4b6d) #2 Lock base/synchronization/lock.h:25:12 (message_center_unittests+0xea544f) #3 SyncWaiter base/synchronization/waitable_event_posix.cc:93 (message_center_unittests+0xea544f) #4 base::WaitableEvent::TimedWaitUntil(base::TimeTicks const&) base/synchronization/waitable_event_posix.cc:191 (message_center_unittests+0xea544f) #5 base::WaitableEvent::TimedWait(base::TimeDelta const&) base/synchronization/waitable_event_posix.cc:162:10 (message_center_unittests+0xea5763) #6 base::MessagePumpDefault::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_default.cc:57:14 (message_center_unittests+0xdfe65a) #7 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (message_center_unittests+0xe40d10) #8 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe40d10) #9 base::RunLoop::Run() base/run_loop.cc:157:14 (message_center_unittests+0xe18dce) #10 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (message_center_unittests+0xe6d239) #11 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (message_center_unittests+0xe6d4f1) #12 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (message_center_unittests+0xea8ba4) Thread T5 'GpuThread' (tid=2570, 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+0x6c93bb) #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+0xea86e7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (message_center_unittests+0xea85e5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (message_center_unittests+0xe6cf50) #4 base::Thread::Start() base/threading/thread.cc:77:10 (message_center_unittests+0xe6cbc3) #5 gpu::InProcessGpuThreadHolder::InProcessGpuThreadHolder() gpu/ipc/in_process_gpu_thread_holder.cc:33:3 (message_center_unittests+0x1f4ec77) #6 NoDestructor<> base/no_destructor.h:54:20 (message_center_unittests+0x1f4ffc1) #7 gpu::GetTestGpuThreadHolder() gpu/ipc/test_gpu_thread_holder.cc:12 (message_center_unittests+0x1f4ffc1) #8 ui::InProcessContextProvider::BindToCurrentThread() ui/compositor/test/in_process_context_provider.cc:102:7 (message_center_unittests+0x1f3f6a4) #9 ui::InProcessContextFactory::CreateLayerTreeFrameSink(base::WeakPtr<ui::Compositor>) ui/compositor/test/in_process_context_factory.cc:205:52 (message_center_unittests+0x1f39137) #10 ui::Compositor::RequestNewLayerTreeFrameSink() ui/compositor/compositor.cc:624:23 (message_center_unittests+0x1257c5e) #11 cc::LayerTreeHost::RequestNewLayerTreeFrameSink() cc/trees/layer_tree_host.cc:474:12 (message_center_unittests+0x1993faf) #12 cc::SingleThreadProxy::RequestNewLayerTreeFrameSink() cc/trees/single_thread_proxy.cc:127:21 (message_center_unittests+0x1a4be07) #13 Invoke<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:499:12 (message_center_unittests+0x1a4fc5a) #14 MakeItSo<void (cc::SingleThreadProxy::*)(), base::WeakPtr<cc::SingleThreadProxy>> base/bind_internal.h:619 (message_center_unittests+0x1a4fc5a) #15 RunImpl<void (cc::SingleThreadProxy::*)(), std::__1::tuple<base::WeakPtr<cc::SingleThreadProxy> >, 0> base/bind_internal.h:672 (message_center_unittests+0x1a4fc5a) #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+0x1a4fc5a) #17 Run base/callback.h:97:12 (message_center_unittests+0xe1a77d) #18 void base::internal::CancelableCallbackImpl<base::OnceCallback<void ()> >::ForwardOnce<>() base/cancelable_callback.h:126 (message_center_unittests+0xe1a77d) #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+0xe1a83a) #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+0xe1a83a) #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+0xe1a83a) #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+0xe1a83a) #23 Run base/callback.h:97:12 (message_center_unittests+0xe3efba) #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (message_center_unittests+0xe3efba) #25 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (message_center_unittests+0xe402b2) #26 DoWork base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:255:7 (message_center_unittests+0xe4082d) #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+0xe4082d) #28 base::MessagePumpGlib::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_glib.cc:309:49 (message_center_unittests+0xdfecdb) #29 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (message_center_unittests+0xe40d10) #30 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (message_center_unittests+0xe40d10) #31 base::RunLoop::Run() base/run_loop.cc:157:14 (message_center_unittests+0xe18dce) #32 base::RunLoop::RunUntilIdle() base/run_loop.cc:170:3 (message_center_unittests+0xe199f6) #33 RunPendingMessages ui/views/test/views_test_base.cc:197:12 (message_center_unittests+0x7d84e5) #34 views::ViewsTestBase::TearDown() ui/views/test/views_test_base.cc:157 (message_center_unittests+0x7d84e5) #35 message_center::NotificationViewMDTest::TearDown() ui/message_center/views/notification_view_md_unittest.cc:220:25 (message_center_unittests+0x7a3a0e) #36 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xce643a) #37 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (message_center_unittests+0xce643a) #38 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (message_center_unittests+0xce7068) #39 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (message_center_unittests+0xce7936) #40 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (message_center_unittests+0xcf9056) #41 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (message_center_unittests+0xcf8849) #42 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (message_center_unittests+0xcf8849) #43 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (message_center_unittests+0xeb0ff2) #44 base::TestSuite::Run() base/test/test_suite.cc:314 (message_center_unittests+0xeb0ff2) #45 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:499:12 (message_center_unittests+0x76c9d8) #46 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::MessageCenterTestSuite *> base/bind_internal.h:599 (message_center_unittests+0x76c9d8) #47 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::MessageCenterTestSuite> >, 0> base/bind_internal.h:672 (message_center_unittests+0x76c9d8) #48 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+0x76c9d8) #49 Run base/callback.h:97:12 (message_center_unittests+0xeb401d) #50 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+0xeb401d) #51 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (message_center_unittests+0xeb3e80) #52 main ui/message_center/test/run_all_unittests.cc:56:10 (message_center_unittests+0x76c737) SUMMARY: ThreadSanitizer: data race base/time/time_override.cc:28:41 in base::subtle::ScopedTimeClockOverrides::ScopedTimeClockOverrides(base::Time (*)(), base::TimeTicks (*)(), base::ThreadTicks (*)()) ================== [ OK ] TimestampViewTest.FormatToRelativeTime (384 ms) [----------] 1 test from TimestampViewTest (384 ms total) [----------] 1 test from NotificationMenuModelTest [ RUN ] NotificationMenuModelTest.ContextMenuTestWithMessageCenter [ OK ] NotificationMenuModelTest.ContextMenuTestWithMessageCenter (1 ms) [----------] 1 test from NotificationMenuModelTest (1 ms total) [----------] 2 tests from NotificationViewTest [ RUN ] NotificationViewTest.CreateOrUpdateTest [ OK ] NotificationViewTest.CreateOrUpdateTest (100 ms) [ RUN ] NotificationViewTest.UpdateViewsOrderingTest [ OK ] NotificationViewTest.UpdateViewsOrderingTest (84 ms) [----------] 2 tests from NotificationViewTest (185 ms total) [----------] Global test environment tear-down [==========] 10 tests from 5 test suites ran. (1766 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 1 warnings [ RUN ] NotificationViewMDTest.TestClickExpanded [ OK ] NotificationViewMDTest.TestClickExpanded (140 ms) ================================================================================