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

Test 'VirtualTimeTest.SetInterval' completed with the following status(es): 'FAILURE_ON_EXIT','SUCCESS' Test 'VirtualTimeTest.SetInterval' had the following logs when run: ================================================================================ [ RUN ] VirtualTimeTest.SetInterval [ OK ] VirtualTimeTest.SetInterval (82 ms) [ RUN ] VirtualTimeTest.AllowVirtualTimeToAdvance ================== WARNING: ThreadSanitizer: data race (pid=4122) Write of size 8 at 0x5593bd1fae58 by main thread: #0 base::subtle::ScopedTimeClockOverrides::ScopedTimeClockOverrides(base::Time (*)(), base::TimeTicks (*)(), base::ThreadTicks (*)()) base/time/time_override.cc:28:41 (blink_unittests+0x6e316fb) #1 make_unique<base::subtle::ScopedTimeClockOverrides, base::Time (*)(), base::TimeTicks (*)(), nullptr_t> buildtools/third_party/libc++/trunk/include/memory:3131:32 (blink_unittests+0x3c17a10) #2 blink::scheduler::AutoAdvancingVirtualTimeDomain::AutoAdvancingVirtualTimeDomain(base::Time, base::TimeTicks, blink::scheduler::SchedulerHelper*, blink::scheduler::AutoAdvancingVirtualTimeDomain::BaseTimeOverridePolicy) third_party/blink/renderer/platform/scheduler/main_thread/auto_advancing_virtual_time_domain.cc:37 (blink_unittests+0x3c17a10) #3 blink::scheduler::MainThreadSchedulerImpl::EnableVirtualTime(blink::scheduler::AutoAdvancingVirtualTimeDomain::BaseTimeOverridePolicy) third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.cc:1726:34 (blink_unittests+0x3c2b3c4) #4 blink::scheduler::MainThreadSchedulerImpl::EnableVirtualTime() third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.cc:1711:10 (blink_unittests+0x3c37733) #5 blink::scheduler::PageSchedulerImpl::EnableVirtualTime() third_party/blink/renderer/platform/scheduler/main_thread/page_scheduler_impl.cc:349:34 (blink_unittests+0x3c44213) #6 blink::virtual_time_test::VirtualTimeTest::SetUp() third_party/blink/renderer/core/scheduler/virtual_time_test.cc:40:28 (blink_unittests+0x5a501ad) #7 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (blink_unittests+0x3e381f2) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2517 (blink_unittests+0x3e381f2) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (blink_unittests+0x3e394b8) #10 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (blink_unittests+0x3e3a086) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (blink_unittests+0x3e4c436) #12 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (blink_unittests+0x3e4b899) #13 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (blink_unittests+0x3e4b899) #14 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (blink_unittests+0xa3d78b2) #15 base::TestSuite::Run() base/test/test_suite.cc:316 (blink_unittests+0xa3d78b2) #16 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::BlinkUnitTestSuite *> base/bind_internal.h:499:12 (blink_unittests+0x21e8c48) #17 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::BlinkUnitTestSuite *> base/bind_internal.h:599 (blink_unittests+0x21e8c48) #18 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::BlinkUnitTestSuite> >, 0> base/bind_internal.h:672 (blink_unittests+0x21e8c48) #19 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::BlinkUnitTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (blink_unittests+0x21e8c48) #20 Run base/callback.h:97:12 (blink_unittests+0xa3da41d) #21 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (blink_unittests+0xa3da41d) #22 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (blink_unittests+0xa3da280) #23 main third_party/blink/renderer/controller/tests/run_all_tests.cc:81:10 (blink_unittests+0x21e8a13) Previous read of size 8 at 0x5593bd1fae58 by thread T1: #0 base::TimeTicks::Now() base/time/time.cc:369:10 (blink_unittests+0x6e2ee9a) #1 base::DefaultTickClock::NowTicks() const base/time/default_tick_clock.cc:14:10 (blink_unittests+0x6e2dfb3) #2 base::sequence_manager::LazyNow::Now() base/task/sequence_manager/lazy_now.cc:30:25 (blink_unittests+0x6de58b3) #3 base::sequence_manager::internal::RealTimeDomain::DelayTillNextTask(base::sequence_manager::LazyNow*) base/task/sequence_manager/real_time_domain.cc:36:29 (blink_unittests+0x6df1b66) #4 base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc:618:46 (blink_unittests+0x6dec884) #5 non-virtual thunk to base::sequence_manager::internal::SequenceManagerImpl::DelayTillNextTask(base::sequence_manager::LazyNow*) const base/task/sequence_manager/sequence_manager_impl.cc (blink_unittests+0x6dec974) #6 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow*, bool*) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:395:39 (blink_unittests+0x6dfe578) #7 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:219:7 (blink_unittests+0x6dfdd0d) #8 non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() base/task/sequence_manager/thread_controller_with_message_pump_impl.cc (blink_unittests+0x6dfe66e) #9 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:208:55 (blink_unittests+0x6e7d8af) #10 Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:466:12 (blink_unittests+0x6dfee59) #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 (blink_unittests+0x6dfee59) #12 base::RunLoop::RunWithTimeout(base::TimeDelta) base/run_loop.cc:161:14 (blink_unittests+0x6dc57c0) #13 base::RunLoop::Run() base/run_loop.cc:129:3 (blink_unittests+0x6dc55b3) #14 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:242:13 (blink_unittests+0x6e2aba9) #15 base::internal::ServiceThread::Run(base::RunLoop*) base/task/thread_pool/service_thread.cc:61:11 (blink_unittests+0x6e0cb86) #16 base::Thread::ThreadMain() base/threading/thread.cc:312:3 (blink_unittests+0x6e2ae61) #17 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (blink_unittests+0x6e78724) Location is global 'base::internal::g_time_ticks_now_function' of size 8 at 0x5593bd1fae58 (blink_unittests+0x00000afefe58) Thread T1 'ThreadPoolServiceThread' (tid=4150, 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:989:3 (blink_unittests+0x2178bfb) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (blink_unittests+0x6e78217) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (blink_unittests+0x6e78115) #3 base::Thread::StartWithOptions(base::Thread::Options const&) base/threading/thread.cc:119:15 (blink_unittests+0x6e2a900) #4 base::internal::ThreadPoolImpl::Start(base::ThreadPool::InitParams const&, base::WorkerThreadObserver*) base/task/thread_pool/thread_pool_impl.cc:148:3 (blink_unittests+0x6e059ee) #5 StartWithDefaultParams base/task/thread_pool/thread_pool.cc:56:3 (blink_unittests+0x6e04bae) #6 base::ThreadPool::CreateAndStartWithDefaultParams(base::BasicStringPiece<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) base/task/thread_pool/thread_pool.cc:44 (blink_unittests+0x6e04bae) #7 content::TestBlinkWebUnitTestSupport::TestBlinkWebUnitTestSupport(content::TestBlinkWebUnitTestSupport::SchedulerType) content/test/test_blink_web_unit_test_support.cc:171:5 (blink_unittests+0xa3f503f) #8 TestEnvironment content/public/test/blink_test_environment.cc:39:9 (blink_unittests+0xa3f42ae) #9 content::SetUpBlinkTestEnvironment() content/public/test/blink_test_environment.cc:88 (blink_unittests+0xa3f42ae) #10 (anonymous namespace)::BlinkUnitTestSuite::Initialize() third_party/blink/renderer/controller/tests/run_all_tests.cc:53:5 (blink_unittests+0x21e8aae) #11 base::TestSuite::Run() base/test/test_suite.cc:304:3 (blink_unittests+0xa3d7837) #12 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::BlinkUnitTestSuite *> base/bind_internal.h:499:12 (blink_unittests+0x21e8c48) #13 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::BlinkUnitTestSuite *> base/bind_internal.h:599 (blink_unittests+0x21e8c48) #14 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::BlinkUnitTestSuite> >, 0> base/bind_internal.h:672 (blink_unittests+0x21e8c48) #15 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::BlinkUnitTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (blink_unittests+0x21e8c48) #16 Run base/callback.h:97:12 (blink_unittests+0xa3da41d) #17 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:158 (blink_unittests+0xa3da41d) #18 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:508:10 (blink_unittests+0xa3da280) #19 main third_party/blink/renderer/controller/tests/run_all_tests.cc:81:10 (blink_unittests+0x21e8a13) SUMMARY: ThreadSanitizer: data race base/time/time_override.cc:28:41 in base::subtle::ScopedTimeClockOverrides::ScopedTimeClockOverrides(base::Time (*)(), base::TimeTicks (*)(), base::ThreadTicks (*)()) ================== [ OK ] VirtualTimeTest.AllowVirtualTimeToAdvance (1329 ms) [ RUN ] VirtualTimeTest.VirtualTimeNotAllowedToAdvanceWhileResourcesLoading [ OK ] VirtualTimeTest.VirtualTimeNotAllowedToAdvanceWhileResourcesLoading (54 ms) [----------] 3 tests from VirtualTimeTest (1465 ms total) [----------] 1 test from DocumentModulatorImplTest [ RUN ] DocumentModulatorImplTest.ResolveModuleSpecifier [ OK ] DocumentModulatorImplTest.ResolveModuleSpecifier (32 ms) [----------] 1 test from DocumentModulatorImplTest (32 ms total) [----------] 6 tests from DynamicModuleResolverTest [ RUN ] DynamicModuleResolverTest.ResolveSuccess [ OK ] DynamicModuleResolverTest.ResolveSuccess (33 ms) [ RUN ] DynamicModuleResolverTest.ResolveSpecifierFailure [ OK ] DynamicModuleResolverTest.ResolveSpecifierFailure (30 ms) [ RUN ] DynamicModuleResolverTest.FetchFailure [ OK ] DynamicModuleResolverTest.FetchFailure (32 ms) [ RUN ] DynamicModuleResolverTest.ExceptionThrown [ OK ] DynamicModuleResolverTest.ExceptionThrown (33 ms) [ RUN ] DynamicModuleResolverTest.ResolveWithNullReferrerScriptSuccess [ OK ] DynamicModuleResolverTest.ResolveWithNullReferrerScriptSuccess (34 ms) [ RUN ] DynamicModuleResolverTest.ResolveWithReferrerScriptInfoBaseURL [ OK ] DynamicModuleResolverTest.ResolveWithReferrerScriptInfoBaseURL (37 ms) [----------] 6 tests from DynamicModuleResolverTest (201 ms total) [----------] Global test environment tear-down [==========] 10 tests from 3 test suites ran. (1703 ms total) [ PASSED ] 10 tests. ThreadSanitizer: reported 1 warnings [ RUN ] VirtualTimeTest.SetInterval [ OK ] VirtualTimeTest.SetInterval (53 ms) ================================================================================