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

Test 'MessagePumpLibeventTest.QuitWatcher' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'MessagePumpLibeventTest.QuitWatcher' had the following logs when run: ================================================================================ [ RUN ] MessagePumpLibeventTest.QuitWatcher ================== WARNING: ThreadSanitizer: data race (pid=24692) Write of size 8 at 0x7ba0000041a0 by main thread: #0 close /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1689:3 (base_unittests+0x47a091) #1 base::MessagePumpLibeventTest::TearDown() base/message_loop/message_pump_libevent_unittest.cc:49:9 (base_unittests+0x127684f) #2 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12a08ea) #3 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2520 (base_unittests+0x12a08ea) #4 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (base_unittests+0x12a1818) #5 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (base_unittests+0x12a23f6) #6 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (base_unittests+0x12b4876) #7 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12b3cd9) #8 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (base_unittests+0x12b3cd9) #9 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (base_unittests+0x148cda2) #10 base::TestSuite::Run() base/test/test_suite.cc:316 (base_unittests+0x148cda2) #11 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (base_unittests+0x14792e8) #12 MakeItSo<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:599 (base_unittests+0x14792e8) #13 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> >, 0> base/bind_internal.h:672 (base_unittests+0x14792e8) #14 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+0x14792e8) #15 Run base/callback.h:97:12 (base_unittests+0x14ac8bd) #16 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (base_unittests+0x14ac8bd) #17 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (base_unittests+0x14ac720) #18 main base/test/run_all_base_unittests.cc:12:10 (base_unittests+0x1479235) Previous read of size 8 at 0x7ba0000041a0 by thread T2: #0 write /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:1115:3 (base_unittests+0x480d9f) #1 base::WriteFileDescriptor(int, char const*, int) base/files/file_util_posix.cc:864:9 (base_unittests+0x145a44d) #2 base::(anonymous namespace)::WriteFDWrapper(int, char const*, int, base::WaitableEvent*) base/message_loop/message_pump_libevent_unittest.cc:217:3 (base_unittests+0x1277b4a) #3 Invoke<void (*)(int, const char *, int, base::WaitableEvent *), int, const char *, int, base::WaitableEvent *> base/bind_internal.h:399:12 (base_unittests+0x1277eb6) #4 MakeItSo<void (*)(int, const char *, int, base::WaitableEvent *), int, const char *, int, base::WaitableEvent *> base/bind_internal.h:599 (base_unittests+0x1277eb6) #5 RunImpl<void (*)(int, const char *, int, base::WaitableEvent *), std::__1::tuple<int, const char *, int>, 0, 1, 2> base/bind_internal.h:672 (base_unittests+0x1277eb6) #6 base::internal::Invoker<base::internal::BindState<void (*)(int, char const*, int, base::WaitableEvent*), int, char const*, int>, void (base::WaitableEvent*)>::RunOnce(base::internal::BindStateBase*, base::WaitableEvent*) base/bind_internal.h:641 (base_unittests+0x1277eb6) #7 Run base/callback.h:97:12 (base_unittests+0x1466d43) #8 base::AsyncCallbackHelper(base::Flag*, base::OnceCallback<void (base::WaitableEvent*)>, base::WaitableEvent*) base/synchronization/waitable_event_watcher_posix.cc:105 (base_unittests+0x1466d43) #9 Invoke<void (*)(base::Flag *, base::OnceCallback<void (base::WaitableEvent *)>, base::WaitableEvent *), base::Flag *, base::OnceCallback<void (base::WaitableEvent *)>, base::WaitableEvent *> base/bind_internal.h:399:12 (base_unittests+0x1467757) #10 MakeItSo<void (*)(base::Flag *, base::OnceCallback<void (base::WaitableEvent *)>, base::WaitableEvent *), base::Flag *, base::OnceCallback<void (base::WaitableEvent *)>, base::WaitableEvent *> base/bind_internal.h:599 (base_unittests+0x1467757) #11 RunImpl<void (*)(base::Flag *, base::OnceCallback<void (base::WaitableEvent *)>, base::WaitableEvent *), std::__1::tuple<base::internal::RetainedRefWrapper<base::Flag>, base::OnceCallback<void (base::WaitableEvent *)>, base::WaitableEvent *>, 0, 1, 2> base/bind_internal.h:672 (base_unittests+0x1467757) #12 base::internal::Invoker<base::internal::BindState<void (*)(base::Flag*, base::OnceCallback<void (base::WaitableEvent*)>, base::WaitableEvent*), base::internal::RetainedRefWrapper<base::Flag>, base::OnceCallback<void (base::WaitableEvent*)>, base::WaitableEvent*>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (base_unittests+0x1467757) #13 Run base/callback.h:97:12 (base_unittests+0x13c285a) #14 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (base_unittests+0x13c285a) #15 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+0x13dd208) #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:214:7 (base_unittests+0x13dcdcd) #17 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (base_unittests+0x13dd72e) #18 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (base_unittests+0x146bc54) #19 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:448:12 (base_unittests+0x13ddf19) #20 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+0x13ddf19) #21 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (base_unittests+0x13a2b10) #22 base::RunLoop::Run() base/run_loop.cc:129:3 (base_unittests+0x13a2903) #23 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (base_unittests+0x140e1d9) #24 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (base_unittests+0x140e491) #25 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (base_unittests+0x1468ba4) Location is file descriptor 26 created by main thread at: #0 pipe /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:1725:3 (base_unittests+0x47a476) #1 base::MessagePumpLibeventTest::SetUp() base/message_loop/message_pump_libevent_unittest.cc:42:15 (base_unittests+0x127650a) #2 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12a0632) #3 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (base_unittests+0x12a0632) #4 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (base_unittests+0x12a1818) #5 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (base_unittests+0x12a23f6) #6 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (base_unittests+0x12b4876) #7 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12b3cd9) #8 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (base_unittests+0x12b3cd9) #9 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (base_unittests+0x148cda2) #10 base::TestSuite::Run() base/test/test_suite.cc:316 (base_unittests+0x148cda2) #11 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (base_unittests+0x14792e8) #12 MakeItSo<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:599 (base_unittests+0x14792e8) #13 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> >, 0> base/bind_internal.h:672 (base_unittests+0x14792e8) #14 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+0x14792e8) #15 Run base/callback.h:97:12 (base_unittests+0x14ac8bd) #16 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (base_unittests+0x14ac8bd) #17 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (base_unittests+0x14ac720) #18 main base/test/run_all_base_unittests.cc:12:10 (base_unittests+0x1479235) Thread T2 'MessagePumpLibeventTestIOThread' (tid=24700, 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 (base_unittests+0x47505b) #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+0x14685b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (base_unittests+0x14684b5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (base_unittests+0x140dbd0) #4 base::MessagePumpLibeventTest::SetUp() base/message_loop/message_pump_libevent_unittest.cc:41:5 (base_unittests+0x12764e5) #5 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12a0632) #6 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (base_unittests+0x12a0632) #7 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (base_unittests+0x12a1818) #8 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (base_unittests+0x12a23f6) #9 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (base_unittests+0x12b4876) #10 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (base_unittests+0x12b3cd9) #11 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (base_unittests+0x12b3cd9) #12 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (base_unittests+0x148cda2) #13 base::TestSuite::Run() base/test/test_suite.cc:316 (base_unittests+0x148cda2) #14 Invoke<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:499:12 (base_unittests+0x14792e8) #15 MakeItSo<int (base::TestSuite::*)(), base::TestSuite *> base/bind_internal.h:599 (base_unittests+0x14792e8) #16 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> >, 0> base/bind_internal.h:672 (base_unittests+0x14792e8) #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+0x14792e8) #18 Run base/callback.h:97:12 (base_unittests+0x14ac8bd) #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+0x14ac8bd) #20 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (base_unittests+0x14ac720) #21 main base/test/run_all_base_unittests.cc:12:10 (base_unittests+0x1479235) SUMMARY: ThreadSanitizer: data race base/message_loop/message_pump_libevent_unittest.cc:49:9 in base::MessagePumpLibeventTest::TearDown() ================== [ OK ] MessagePumpLibeventTest.QuitWatcher (171 ms) [----------] 2 tests from MessagePumpLibeventTest (178 ms total) [----------] 7 tests from FileLockingTest [ RUN ] FileLockingTest.LockAndUnlockExclusive [24704:24704:0419/235653.021010:22779752110:WARNING:test_suite.cc(279)] Test launcher output path /b/s/w/itpszGcD/.org.chromium.Chromium.0tRFWG/test_results.xml exists. Not adding test launcher result printer. [ OK ] FileLockingTest.LockAndUnlockExclusive (333 ms) [ RUN ] FileLockingTest.LockAndUnlockShared [24720:24720:0419/235653.326151:22780057249:WARNING:test_suite.cc(279)] Test launcher output path /b/s/w/itpszGcD/.org.chromium.Chromium.0tRFWG/test_results.xml exists. Not adding test launcher result printer. [ OK ] FileLockingTest.LockAndUnlockShared (315 ms) [ RUN ] FileLockingTest.UnlockOnCloseExclusive [24727:24727:0419/235653.640393:22780371489:WARNING:test_suite.cc(279)] Test launcher output path /b/s/w/itpszGcD/.org.chromium.Chromium.0tRFWG/test_results.xml exists. Not adding test launcher result printer. [ OK ] FileLockingTest.UnlockOnCloseExclusive (308 ms) [ RUN ] FileLockingTest.UnlockOnCloseShared [24730:24730:0419/235653.958603:22780689684:WARNING:test_suite.cc(279)] Test launcher output path /b/s/w/itpszGcD/.org.chromium.Chromium.0tRFWG/test_results.xml exists. Not adding test launcher result printer. [ OK ] FileLockingTest.UnlockOnCloseShared (313 ms) [ RUN ] FileLockingTest.UnlockOnExitExclusive [24733:24733:0419/235654.245029:22780976116:WARNING:test_suite.cc(279)] Test launcher output path /b/s/w/itpszGcD/.org.chromium.Chromium.0tRFWG/test_results.xml exists. Not adding test launcher result printer. [ OK ] FileLockingTest.UnlockOnExitExclusive (284 ms) [ RUN ] FileLockingTest.UnlockOnExitShared [24737:24737:0419/235654.592163:22781323260:WARNING:test_suite.cc(279)] Test launcher output path /b/s/w/itpszGcD/.org.chromium.Chromium.0tRFWG/test_results.xml exists. Not adding test launcher result printer. [ OK ] FileLockingTest.UnlockOnExitShared (348 ms) [ RUN ] FileLockingTest.UnlockOnTerminate [24739:24739:0419/235654.929859:22781660955:WARNING:test_suite.cc(279)] Test launcher output path /b/s/w/itpszGcD/.org.chromium.Chromium.0tRFWG/test_results.xml exists. Not adding test launcher result printer. [ OK ] FileLockingTest.UnlockOnTerminate (314 ms) [----------] 7 tests from FileLockingTest (2216 ms total) [----------] 1 test from Default/SharedMemoryTest [ RUN ] Default/SharedMemoryTest.OpenClose/0 [ OK ] Default/SharedMemoryTest.OpenClose/0 (1 ms) [----------] 1 test from Default/SharedMemoryTest (1 ms total) [----------] Global test environment tear-down [==========] 10 tests from 3 test suites ran. (2397 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 1 warnings [ RUN ] MessagePumpLibeventTest.QuitWatcher [ OK ] MessagePumpLibeventTest.QuitWatcher (5 ms) ================================================================================