Flaky TSAN data race: "MhtmlDownloadTest.ForceDownloadMultipartRelatedPage" |
||
Issue description"MhtmlDownloadTest.ForceDownloadMultipartRelatedPage" is flaky. This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label. We have detected 3 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyPgsSBUZsYWtlIjNNaHRtbERvd25sb2FkVGVzdC5Gb3JjZURvd25sb2FkTXVsdGlwYXJ0UmVsYXRlZFBhZ2UM. Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
,
Aug 27
https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Linux%20TSan%20Tests/25176 [ RUN ] MhtmlDownloadTest.ForceDownloadMultipartRelatedPage Xlib: extension "RANDR" missing on display ":99". DevTools listening on ws://127.0.0.1:39941/devtools/browser/b32f5e00-f8ea-41ed-a254-68cd670e5b89 ================== WARNING: ThreadSanitizer: data race (pid=17272) Write of size 8 at 0x7b1000024648 by main thread: #0 SetBrowser content/public/common/content_client.cc:23:24 (content_browsertests+0x2fff975) #1 content::SetBrowserClientForTesting(content::ContentBrowserClient*) content/public/common/content_client.cc:49 (content_browsertests+0x2fff975) #2 content::MhtmlDownloadTest::TearDownOnMainThread() content/browser/download/download_browsertest.cc:3661:5 (content_browsertests+0x1b7d339) #3 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() content/public/test/browser_test_base.cc:409:5 (content_browsertests+0x4ee861b) #4 Invoke<void (content::BrowserTestBase::*)(), content::BrowserTestBase *> base/bind_internal.h:516:12 (content_browsertests+0x4ee99e8) #5 MakeItSo<void (content::BrowserTestBase::*const &)(), content::BrowserTestBase *> base/bind_internal.h:616 (content_browsertests+0x4ee99e8) #6 RunImpl<void (content::BrowserTestBase::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::BrowserTestBase> > &, 0> base/bind_internal.h:689 (content_browsertests+0x4ee99e8) #7 base::internal::Invoker<base::internal::BindState<void (content::BrowserTestBase::*)(), base::internal::UnretainedWrapper<content::BrowserTestBase> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:671 (content_browsertests+0x4ee99e8) #8 Run base/callback.h:129:12 (content_browsertests+0x4fc7950) #9 content::ShellBrowserMainParts::PreMainMessageLoopRun() content/shell/browser/shell_browser_main_parts.cc:199 (content_browsertests+0x4fc7950) #10 content::BrowserMainLoop::PreMainMessageLoopRun() content/browser/browser_main_loop.cc:1016:13 (content_browsertests+0x4494780) #11 Invoke<int (content::BrowserMainLoop::*)(), content::BrowserMainLoop *> base/bind_internal.h:516:12 (content_browsertests+0x4497918) #12 MakeItSo<int (content::BrowserMainLoop::*const &)(), content::BrowserMainLoop *> base/bind_internal.h:616 (content_browsertests+0x4497918) #13 RunImpl<int (content::BrowserMainLoop::*const &)(), const std::__1::tuple<base::internal::UnretainedWrapper<content::BrowserMainLoop> > &, 0> base/bind_internal.h:689 (content_browsertests+0x4497918) #14 base::internal::Invoker<base::internal::BindState<int (content::BrowserMainLoop::*)(), base::internal::UnretainedWrapper<content::BrowserMainLoop> >, int ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:671 (content_browsertests+0x4497918) #15 Run base/callback.h:129:12 (content_browsertests+0x4ac4f1e) #16 content::StartupTaskRunner::RunAllTasksNow() content/browser/startup_task_runner.cc:43 (content_browsertests+0x4ac4f1e) #17 content::BrowserMainLoop::CreateStartupTasks() content/browser/browser_main_loop.cc:927:25 (content_browsertests+0x4492934) #18 content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) content/browser/browser_main_runner_impl.cc:141:15 (content_browsertests+0x44980ba) #19 ShellBrowserMain(content::MainFunctionParams const&, std::__1::unique_ptr<content::BrowserMainRunner, std::__1::default_delete<content::BrowserMainRunner> > const&) content/shell/browser/shell_browser_main.cc:22:32 (content_browsertests+0x4fc6f67) #20 content::ShellMainDelegate::RunProcess(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&) content/shell/app/shell_main_delegate.cc:360:16 (content_browsertests+0x4f63b02) #21 RunBrowserProcessMain content/app/content_main_runner_impl.cc:526:29 (content_browsertests+0x432a226) #22 content::ContentMainRunnerImpl::Run(bool) content/app/content_main_runner_impl.cc:888 (content_browsertests+0x432a226) #23 content::ContentServiceManagerMainDelegate::RunEmbedderProcess() content/app/content_service_manager_main_delegate.cc:53:32 (content_browsertests+0x33cc81f) #24 service_manager::Main(service_manager::MainParams const&) services/service_manager/embedder/main.cc:472:29 (content_browsertests+0x7365315) #25 content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:10 (content_browsertests+0x33ccf9b) #26 content::BrowserTestBase::SetUp() content/public/test/browser_test_base.cc:322:3 (content_browsertests+0x4ee80fa) #27 content::ContentBrowserTest::SetUp() content/public/test/content_browser_test.cc:104:20 (content_browsertests+0x4ed7b4b) #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc (content_browsertests+0x2fdf5db) #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2682:11 (content_browsertests+0x2fe080c) #30 testing::TestCase::Run() third_party/googletest/src/googletest/src/gtest.cc:2800:28 (content_browsertests+0x2fe1096) #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5124:43 (content_browsertests+0x2ff1466) #32 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc (content_browsertests+0x2ff0d4a) #33 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2331:46 (content_browsertests+0x4f36b05) #34 base::TestSuite::Run() base/test/test_suite.cc:295 (content_browsertests+0x4f36b05) #35 content::ContentTestLauncherDelegate::RunTestSuite(int, char**) content/test/content_test_launcher.cc:121:48 (content_browsertests+0x4edd831) #36 content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) content/public/test/test_launcher.cc:645:31 (content_browsertests+0x4f12321) #37 main content/test/content_test_launcher.cc:151:10 (content_browsertests+0x4edd7bd) Previous read of size 8 at 0x7b1000024648 by thread T14: #0 browser content/public/common/content_client.h:82:44 (content_browsertests+0x4b5ecae) #1 content::internal::CreateDefaultPosixFilesToMap(int, mojo::PlatformChannelEndpoint const&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::CommandLine*) content/browser/child_process_launcher_helper_posix.cc:98 (content_browsertests+0x4b5ecae) #2 content::internal::ChildProcessLauncherHelper::GetFilesToMap() content/browser/child_process_launcher_helper_linux.cc:40:10 (content_browsertests+0x44f895d) #3 content::internal::ChildProcessLauncherHelper::LaunchOnLauncherThread() content/browser/child_process_launcher_helper.cc:105:60 (content_browsertests+0x44f7dba) #4 Invoke<void (content::internal::ChildProcessLauncherHelper::*)(), scoped_refptr<content::internal::ChildProcessLauncherHelper>> base/bind_internal.h:516:12 (content_browsertests+0x44f8629) #5 MakeItSo<void (content::internal::ChildProcessLauncherHelper::*)(), scoped_refptr<content::internal::ChildProcessLauncherHelper> > base/bind_internal.h:616 (content_browsertests+0x44f8629) #6 RunImpl<void (content::internal::ChildProcessLauncherHelper::*)(), std::__1::tuple<scoped_refptr<content::internal::ChildProcessLauncherHelper> >, 0> base/bind_internal.h:689 (content_browsertests+0x44f8629) #7 base::internal::Invoker<base::internal::BindState<void (content::internal::ChildProcessLauncherHelper::*)(), scoped_refptr<content::internal::ChildProcessLauncherHelper> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:658 (content_browsertests+0x44f8629) #8 Run base/callback.h:99:12 (content_browsertests+0x53f1097) #9 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/debug/task_annotator.cc:101 (content_browsertests+0x53f1097) #10 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) base/task/task_scheduler/task_tracker.cc:529:23 (content_browsertests+0x5470a7b) #11 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, bool) base/task/task_scheduler/task_tracker_posix.cc:23:16 (content_browsertests+0x54d82a7) #12 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>, base::internal::CanScheduleSequenceObserver*) base/task/task_scheduler/task_tracker.cc:404:3 (content_browsertests+0x547001b) #13 base::internal::SchedulerWorker::RunWorker() base/task/task_scheduler/scheduler_worker.cc:332:24 (content_browsertests+0x546ba70) #14 base::internal::SchedulerWorker::RunDedicatedWorker() base/task/task_scheduler/scheduler_worker.cc:248:3 (content_browsertests+0x546b7d1) #15 base::internal::SchedulerWorker::ThreadMain() base/task/task_scheduler/scheduler_worker.cc:209:7 (content_browsertests+0x546b5df) #16 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:76:13 (content_browsertests+0x54d8b2d) Location is heap block of size 64 at 0x7b1000024640 allocated by main thread: #0 operator new(unsigned long) /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:65:3 (content_browsertests+0x1a30a4d) #1 content::ShellMainDelegate::BasicStartupComplete(int*) content/shell/app/shell_main_delegate.cc (content_browsertests+0x4f6375e) #2 content::ContentMainRunnerImpl::Initialize(content::ContentMainParams const&) content/app/content_main_runner_impl.cc:656:18 (content_browsertests+0x4329588) #3 content::ContentServiceManagerMainDelegate::Initialize(service_manager::MainDelegate::InitializeParams const&) content/app/content_service_manager_main_delegate.cc:38:32 (content_browsertests+0x33cc587) #4 service_manager::Main(service_manager::MainParams const&) services/service_manager/embedder/main.cc:416:27 (content_browsertests+0x73654e4) #5 content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:10 (content_browsertests+0x33ccf9b) #6 content::BrowserTestBase::SetUp() content/public/test/browser_test_base.cc:322:3 (content_browsertests+0x4ee80fa) #7 content::ContentBrowserTest::SetUp() content/public/test/content_browser_test.cc:104:20 (content_browsertests+0x4ed7b4b) #8 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc (content_browsertests+0x2fdf5db) #9 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2682:11 (content_browsertests+0x2fe080c) #10 testing::TestCase::Run() third_party/googletest/src/googletest/src/gtest.cc:2800:28 (content_browsertests+0x2fe1096) #11 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5124:43 (content_browsertests+0x2ff1466) #12 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc (content_browsertests+0x2ff0d4a) #13 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2331:46 (content_browsertests+0x4f36b05) #14 base::TestSuite::Run() base/test/test_suite.cc:295 (content_browsertests+0x4f36b05) #15 content::ContentTestLauncherDelegate::RunTestSuite(int, char**) content/test/content_test_launcher.cc:121:48 (content_browsertests+0x4edd831) #16 content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) content/public/test/test_launcher.cc:645:31 (content_browsertests+0x4f12321) #17 main content/test/content_test_launcher.cc:151:10 (content_browsertests+0x4edd7bd) Thread T14 'TaskSchedulerSi' (tid=17315, running) created by thread T2 at: #0 pthread_create /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:965:3 (content_browsertests+0x19c6a65) #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:115:13 (content_browsertests+0x54d86b7) #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:200:10 (content_browsertests+0x54d85b5) #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/task_scheduler/scheduler_worker.cc:77:3 (content_browsertests+0x546b185) #4 CreateTaskRunnerWithTraitsImpl<base::internal::(anonymous namespace)::SchedulerWorkerDelegate> base/task/task_scheduler/scheduler_single_thread_task_runner_manager.cc:505:13 (content_browsertests+0x546cf95) #5 base::internal::SchedulerSingleThreadTaskRunnerManager::CreateSingleThreadTaskRunnerWithTraits(base::TaskTraits const&, base::SingleThreadTaskRunnerThreadMode) base/task/task_scheduler/scheduler_single_thread_task_runner_manager.cc:438 (content_browsertests+0x546cf95) #6 base::internal::TaskSchedulerImpl::CreateSingleThreadTaskRunnerWithTraits(base::TaskTraits const&, base::SingleThreadTaskRunnerThreadMode) base/task/task_scheduler/task_scheduler_impl.cc:212:8 (content_browsertests+0x546149d) #7 base::CreateSingleThreadTaskRunnerWithTraits(base::TaskTraits const&, base::SingleThreadTaskRunnerThreadMode) base/task/post_task.cc:116:9 (content_browsertests+0x5445105) #8 Create base/task/lazy_task_runner.cc:54:10 (content_browsertests+0x5444623) #9 base::internal::LazyTaskRunner<base::SingleThreadTaskRunner, false>::CreateRaw(void*) base/task/lazy_task_runner.cc:72 (content_browsertests+0x5444623) #10 GetOrCreateLazyPointer<base::SingleThreadTaskRunner> base/lazy_instance_helpers.h:83:48 (content_browsertests+0x544458a) #11 base::internal::LazyTaskRunner<base::SingleThreadTaskRunner, false>::Get() base/task/lazy_task_runner.cc:92 (content_browsertests+0x544458a) #12 GetProcessLauncherTaskRunner content/browser/child_process_launcher_helper.cc:216:31 (content_browsertests+0x44f7bff) #13 content::internal::ChildProcessLauncherHelper::StartLaunchOnClientThread() content/browser/child_process_launcher_helper.cc:94 (content_browsertests+0x44f7bff) #14 content::ChildProcessLauncher::ChildProcessLauncher(std::__1::unique_ptr<content::SandboxedProcessLauncherDelegate, std::__1::default_delete<content::SandboxedProcessLauncherDelegate> >, std::__1::unique_ptr<base::CommandLine, std::__1::default_delete<base::CommandLine> >, int, content::ChildProcessLauncher::Client*, mojo::OutgoingInvitation, base::RepeatingCallback<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&, bool) content/browser/child_process_launcher.cc:50:12 (content_browsertests+0x44f7083) #15 content::BrowserChildProcessHostImpl::Launch(std::__1::unique_ptr<content::SandboxedProcessLauncherDelegate, std::__1::default_delete<content::SandboxedProcessLauncherDelegate> >, std::__1::unique_ptr<base::CommandLine, std::__1::default_delete<base::CommandLine> >, bool) content/browser/browser_child_process_host_impl.cc:273:28 (content_browsertests+0x4489e34) #16 content::GpuProcessHost::LaunchGpuProcess() content/browser/gpu/gpu_process_host.cc:1420:13 (content_browsertests+0x4728bca) #17 content::GpuProcessHost::Init() content/browser/gpu/gpu_process_host.cc:927:15 (content_browsertests+0x4725f1b) #18 content::GpuProcessHost::Get(content::GpuProcessHost::GpuProcessKind, bool) content/browser/gpu/gpu_process_host.cc:598:13 (content_browsertests+0x4725b9a) #19 content::BrowserGpuChannelHostFactory::EstablishRequest::EstablishOnIO() content/browser/gpu/browser_gpu_channel_host_factory.cc:132:26 (content_browsertests+0x4714dbb) #20 Invoke<void (content::BrowserGpuChannelHostFactory::EstablishRequest::*)(), scoped_refptr<content::BrowserGpuChannelHostFactory::EstablishRequest>> base/bind_internal.h:516:12 (content_browsertests+0x4716339) #21 MakeItSo<void (content::BrowserGpuChannelHostFactory::EstablishRequest::*)(), scoped_refptr<content::BrowserGpuChannelHostFactory::EstablishRequest> > base/bind_internal.h:616 (content_browsertests+0x4716339) #22 RunImpl<void (content::BrowserGpuChannelHostFactory::EstablishRequest::*)(), std::__1::tuple<scoped_refptr<content::BrowserGpuChannelHostFactory::EstablishRequest> >, 0> base/bind_internal.h:689 (content_browsertests+0x4716339) #23 base::internal::Invoker<base::internal::BindState<void (content::BrowserGpuChannelHostFactory::EstablishRequest::*)(), scoped_refptr<content::BrowserGpuChannelHostFactory::EstablishRequest> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:658 (content_browsertests+0x4716339) #24 Run base/callback.h:99:12 (content_browsertests+0x53f1097) #25 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/debug/task_annotator.cc:101 (content_browsertests+0x53f1097) #26 base::MessageLoop::RunTask(base::PendingTask*) base/message_loop/message_loop.cc:434:46 (content_browsertests+0x53ef8a1) #27 DeferOrRunPendingTask base/message_loop/message_loop.cc:445:5 (content_browsertests+0x53efd9b) #28 base::MessageLoop::DoWork() base/message_loop/message_loop.cc:517 (content_browsertests+0x53efd9b) #29 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:210:31 (content_browsertests+0x54dcf74) #30 Run base/message_loop/message_loop.cc:386:12 (content_browsertests+0x53ef470) #31 non-virtual thunk to base::MessageLoop::Run(bool) base/message_loop/message_loop.cc (content_browsertests+0x53ef470) #32 base::RunLoop::Run() base/run_loop.cc:102:14 (content_browsertests+0x542165a) #33 base::Thread::Run(base::RunLoop*) base/threading/thread.cc:262:13 (content_browsertests+0x5483799) #34 content::BrowserProcessSubThread::IOThreadRun(base::RunLoop*) content/browser/browser_process_sub_thread.cc:175:11 (content_browsertests+0x44a3226) #35 content::BrowserProcessSubThread::Run(base::RunLoop*) content/browser/browser_process_sub_thread.cc:127:7 (content_browsertests+0x44a3188) #36 base::Thread::ThreadMain() base/threading/thread.cc:357:3 (content_browsertests+0x5483a4e) #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:76:13 (content_browsertests+0x54d8b2d) SUMMARY: ThreadSanitizer: data race content/public/common/content_client.cc:23:24 in SetBrowser
,
Aug 27
,
Dec 12
Still alive and failing: https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Linux%20TSan%20Tests/30941 |
||
►
Sign in to add a comment |
||
Comment 1 by ortuno@chromium.org
, Jun 18 2018Status: WontFix (was: Untriaged)