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

Test 'OneGoogleBarLoaderImplTest.CoalescesMultipleRequests' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'OneGoogleBarLoaderImplTest.CoalescesMultipleRequests' had the following logs when run: ================================================================================ [ RUN ] OneGoogleBarLoaderImplTest.CoalescesMultipleRequests [ OK ] OneGoogleBarLoaderImplTest.CoalescesMultipleRequests (44 ms) [ RUN ] OneGoogleBarLoaderImplTest.NetworkErrorIsTransient [ OK ] OneGoogleBarLoaderImplTest.NetworkErrorIsTransient (39 ms) [ RUN ] OneGoogleBarLoaderImplTest.MirrorAccountConsistencyNotRequired [ OK ] OneGoogleBarLoaderImplTest.MirrorAccountConsistencyNotRequired (44 ms) [----------] 4 tests from OneGoogleBarLoaderImplTest (217 ms total) [----------] 4 tests from OneGoogleBarServiceTest ================== WARNING: ThreadSanitizer: data race (pid=32695) Write of size 8 at 0x562bb98dee10 by main thread: #0 net::NetworkChangeNotifier::DisableForTest::DisableForTest() net/base/network_change_notifier.cc:867:29 (unit_tests+0x9b4dd6e) #1 make_unique<net::NetworkChangeNotifier::DisableForTest> buildtools/third_party/libc++/trunk/include/memory:3131:32 (unit_tests+0x9a4be74) #2 content::(anonymous namespace)::NetworkChangeNotifierDisabler::OnTestCaseStart(testing::TestSuite const&) content/public/test/content_test_suite_base.cc:56 (unit_tests+0x9a4be74) #3 testing::internal::TestEventRepeater::OnTestCaseStart(testing::TestSuite const&) third_party/googletest/src/googletest/src/gtest.cc:3424:1 (unit_tests+0x62c82b0) #4 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2796:13 (unit_tests+0x62c3a75) #5 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x62d5336) #6 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62d4b29) #7 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x62d4b29) #8 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9953d62) #9 base::TestSuite::Run() base/test/test_suite.cc:314 (unit_tests+0x9953d62) #10 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a9acf2) #11 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9944c18) #12 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9944c18) #13 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9944c18) #14 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9944c18) #15 Run base/callback.h:97:12 (unit_tests+0x995702d) #16 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x995702d) #17 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9956e90) #18 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9944b44) Previous read of size 8 at 0x562bb98dee10 by thread T4: #0 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc (unit_tests+0x9b4d0f1) #1 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (unit_tests+0x9b55834) #2 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (unit_tests+0x9b55834) #3 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (unit_tests+0x9b55834) #4 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (unit_tests+0x9b55834) #5 Run base/callback.h:136:12 (unit_tests+0x6611b13) #6 OnCompleteConfig net/dns/dns_config_service.cc:158 (unit_tests+0x6611b13) #7 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (unit_tests+0x6611b13) #8 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:378:17 (unit_tests+0x6642f1c) #9 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (unit_tests+0x66412fb) #10 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (unit_tests+0x66415aa) #11 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (unit_tests+0x66415aa) #12 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (unit_tests+0x66415aa) #13 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x66415aa) #14 Run base/callback.h:97:12 (unit_tests+0xa7d5178) #15 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (unit_tests+0xa7d5178) #16 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (unit_tests+0xa7d5267) #17 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (unit_tests+0xa7d5267) #18 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (unit_tests+0xa7d5267) #19 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0xa7d5267) #20 Run base/callback.h:97:12 (unit_tests+0xa7a8d0a) #21 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (unit_tests+0xa7a8d0a) #22 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (unit_tests+0xa7aa002) #23 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 (unit_tests+0xa7a9cbb) #24 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa7aa46e) #25 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xa8363b4) #26 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (unit_tests+0xa7aaa60) #27 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa7aaa60) #28 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa7695ae) #29 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (unit_tests+0xa7d8709) #30 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (unit_tests+0xa7d89c1) #31 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (unit_tests+0xa830a34) Location is global 'net::(anonymous namespace)::g_network_change_notifier' of size 8 at 0x562bb98dee10 (unit_tests+0x000012a4ce10) Thread T4 'NetworkChangeNotifier' (tid=403, 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 (unit_tests+0x3a493bb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (unit_tests+0xa8304c7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (unit_tests+0xa8303c5) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (unit_tests+0xa7d81c0) #4 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:108:21 (unit_tests+0x9b5556f) #5 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:218:14 (unit_tests+0x9b4ae17) #6 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:104:29 (unit_tests+0xca5efee) #7 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:292 (unit_tests+0xca5efee) #8 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:252:5 (unit_tests+0xca5e9b3) #9 content::(anonymous namespace)::CreateNetworkServiceOnIO(mojo::InterfaceRequest<network::mojom::NetworkService>) content/browser/network_service_instance.cc:90:27 (unit_tests+0x786517b) #10 Invoke<void (*)(mojo::InterfaceRequest<network::mojom::NetworkService>), mojo::InterfaceRequest<network::mojom::NetworkService> > base/bind_internal.h:399:12 (unit_tests+0x7866372) #11 MakeItSo<void (*)(mojo::InterfaceRequest<network::mojom::NetworkService>), mojo::InterfaceRequest<network::mojom::NetworkService> > base/bind_internal.h:599 (unit_tests+0x7866372) #12 RunImpl<void (*)(mojo::InterfaceRequest<network::mojom::NetworkService>), std::__1::tuple<mojo::InterfaceRequest<network::mojom::NetworkService> >, 0> base/bind_internal.h:672 (unit_tests+0x7866372) #13 base::internal::Invoker<base::internal::BindState<void (*)(mojo::InterfaceRequest<network::mojom::NetworkService>), mojo::InterfaceRequest<network::mojom::NetworkService> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (unit_tests+0x7866372) #14 Run base/callback.h:97:12 (unit_tests+0xa7a8d0a) #15 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:106 (unit_tests+0xa7a8d0a) #16 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:339:21 (unit_tests+0xa7aa002) #17 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:220:7 (unit_tests+0xa7a9cbb) #18 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa7aa46e) #19 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (unit_tests+0xa8363b4) #20 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 (unit_tests+0xa7aaa60) #21 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (unit_tests+0xa7aaa60) #22 base::RunLoop::Run() base/run_loop.cc:157:14 (unit_tests+0xa7695ae) #23 OneGoogleBarLoaderImplTest_ParsesFullResponse_Test::TestBody() chrome/browser/search/one_google_bar/one_google_bar_loader_impl_unittest.cc:228:8 (unit_tests+0x497ab45) #24 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62c210f) #25 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2499 (unit_tests+0x62c210f) #26 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2675:11 (unit_tests+0x62c3348) #27 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x62c3c16) #28 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x62d5336) #29 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62d4b29) #30 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x62d4b29) #31 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9953d62) #32 base::TestSuite::Run() base/test/test_suite.cc:314 (unit_tests+0x9953d62) #33 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a9acf2) #34 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9944c18) #35 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9944c18) #36 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9944c18) #37 base::internal::Invoker<base::internal::BindState<int (content::UnitTestTestSuite::*)(), base::internal::UnretainedWrapper<content::UnitTestTestSuite> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:654 (unit_tests+0x9944c18) #38 Run base/callback.h:97:12 (unit_tests+0x995702d) #39 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (unit_tests+0x995702d) #40 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9956e90) #41 main chrome/test/base/run_all_unittests.cc:30:10 (unit_tests+0x9944b44) SUMMARY: ThreadSanitizer: data race net/base/network_change_notifier.cc:867:29 in net::NetworkChangeNotifier::DisableForTest::DisableForTest() ================== [ RUN ] OneGoogleBarServiceTest.RefreshesOnRequest [ OK ] OneGoogleBarServiceTest.RefreshesOnRequest (23 ms) [ RUN ] OneGoogleBarServiceTest.KeepsCacheOnTransientError [ OK ] OneGoogleBarServiceTest.KeepsCacheOnTransientError (6 ms) [ RUN ] OneGoogleBarServiceTest.ClearsCacheOnFatalError [ OK ] OneGoogleBarServiceTest.ClearsCacheOnFatalError (8 ms) [ RUN ] OneGoogleBarServiceTest.ResetsOnSignOut [ OK ] OneGoogleBarServiceTest.ResetsOnSignOut (23 ms) [----------] 4 tests from OneGoogleBarServiceTest (69 ms total) [----------] 2 tests from PromoServiceTest [ RUN ] PromoServiceTest.PromoDataNetworkError [ OK ] PromoServiceTest.PromoDataNetworkError (44 ms) [ RUN ] PromoServiceTest.BadPromoResponse [ OK ] PromoServiceTest.BadPromoResponse (44 ms) [----------] 2 tests from PromoServiceTest (92 ms total) [----------] Global test environment tear-down [==========] 10 tests from 3 test suites ran. (2179 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 1 warnings [ RUN ] OneGoogleBarLoaderImplTest.CoalescesMultipleRequests [ OK ] OneGoogleBarLoaderImplTest.CoalescesMultipleRequests (67 ms) ================================================================================