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

Test 'ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForEmptySiteURL' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForEmptySiteURL' had the following logs when run: ================================================================================ [ RUN ] ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForEmptySiteURL [ OK ] ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForEmptySiteURL (1 ms) [ RUN ] ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForKnownSchemes [ OK ] ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForKnownSchemes (1 ms) [----------] 2 tests from ChromeContentBrowserClientExtensionsPartTest (6 ms total) [----------] 1 test from ChromeExtensionFunctionUnitTest [ RUN ] ChromeExtensionFunctionUnitTest.BrowserShutdownValidationFunctionTest [ OK ] ChromeExtensionFunctionUnitTest.BrowserShutdownValidationFunctionTest (141 ms) [----------] 1 test from ChromeExtensionFunctionUnitTest (144 ms total) [----------] 1 test from ChromeInfoMapTest ================== WARNING: ThreadSanitizer: data race (pid=4896) Write of size 8 at 0x55d3fb7d3e10 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 0x55d3fb7d3e10 by thread T7: #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 0x55d3fb7d3e10 (unit_tests+0x000012a4ce10) Thread T7 'NetworkChangeNotifier' (tid=4972, 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 base::RunLoop::RunUntilIdle() base/run_loop.cc:170:3 (unit_tests+0xa76a1d6) #24 content::TestBrowserThreadBundle::~TestBrowserThreadBundle() content/public/test/test_browser_thread_bundle.cc:38:19 (unit_tests+0x9a9242a) #25 extensions::ExtensionServiceTestBase::~ExtensionServiceTestBase() chrome/browser/extensions/extension_service_test_base.cc:101:1 (unit_tests+0x54aa866) #26 extensions::ChromeExtensionFunctionUnitTest_BrowserShutdownValidationFunctionTest_Test::~ChromeExtensionFunctionUnitTest_BrowserShutdownValidationFunctionTest_Test() chrome/browser/extensions/chrome_extension_function_unittest.cc:71:1 (unit_tests+0x539b209) #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62c33de) #28 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2681 (unit_tests+0x62c33de) #29 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2805:28 (unit_tests+0x62c3c16) #30 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5243:44 (unit_tests+0x62d5336) #31 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unit_tests+0x62d4b29) #32 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4845 (unit_tests+0x62d4b29) #33 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2469:46 (unit_tests+0x9953d62) #34 base::TestSuite::Run() base/test/test_suite.cc:314 (unit_tests+0x9953d62) #35 content::UnitTestTestSuite::Run() content/public/test/unittest_test_suite.cc:82:23 (unit_tests+0x9a9acf2) #36 Invoke<int (content::UnitTestTestSuite::*)(), content::UnitTestTestSuite *> base/bind_internal.h:499:12 (unit_tests+0x9944c18) #37 MakeItSo<int (content::UnitTestTestSuite::*const &)(), content::UnitTestTestSuite *> base/bind_internal.h:599 (unit_tests+0x9944c18) #38 RunImpl<int (content::UnitTestTestSuite::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::UnitTestTestSuite> > &, 0> base/bind_internal.h:672 (unit_tests+0x9944c18) #39 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) #40 Run base/callback.h:97:12 (unit_tests+0x995702d) #41 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) #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (unit_tests+0x9956e90) #43 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 ] ChromeInfoMapTest.CheckPermissions [ OK ] ChromeInfoMapTest.CheckPermissions (35 ms) [----------] 1 test from ChromeInfoMapTest (39 ms total) [----------] 3 tests from ComponentLoaderTest [ RUN ] ComponentLoaderTest.ParseManifest [4896:4896:0319/082056.060008:4197487193:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [4896:4896:0319/082056.060221:4197487397:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [4896:4896:0319/082056.060395:4197487577:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [4896:4896:0319/082056.060540:4197487713:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [4896:4896:0319/082056.060667:4197487840:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [4896:4896:0319/082056.060786:4197487957:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [4896:4896:0319/082056.060917:4197488089:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [4896:4896:0319/082056.061032:4197488203:ERROR:component_loader.cc(178)] Failed to parse extension manifest. [ OK ] ComponentLoaderTest.ParseManifest (69 ms) [ RUN ] ComponentLoaderTest.AddWhenReady [ OK ] ComponentLoaderTest.AddWhenReady (80 ms) [ RUN ] ComponentLoaderTest.Remove [ OK ] ComponentLoaderTest.Remove (80 ms) [----------] 3 tests from ComponentLoaderTest (236 ms total) [----------] 1 test from ExtensionFromUserScript [ RUN ] ExtensionFromUserScript.Basic [ OK ] ExtensionFromUserScript.Basic (7 ms) [----------] 1 test from ExtensionFromUserScript (9 ms total) [----------] Global test environment tear-down [==========] 10 tests from 7 test suites ran. (2451 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 1 warnings [ RUN ] ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForEmptySiteURL [ OK ] ChromeContentBrowserClientExtensionsPartTest.ShouldAllowOpenURLMetricsForEmptySiteURL (1 ms) ================================================================================