New issue
Advanced search Search tips

Issue 921608 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: ----



Sign in to add a comment

DevToolsSanityTest.CreateBrowserContext failing on chromium.memory/Linux Chromium OS ASan LSan Tests (1)

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Jan 14

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of battre@google.com

DevToolsSanityTest.CreateBrowserContext in single_process_mash_browser_tests failing on chromium.memory/Linux Chromium OS ASan LSan Tests (1)

Builders failed on: 
- Linux Chromium OS ASan LSan Tests (1): 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29

[ RUN      ] DevToolsSanityTest.CreateBrowserContext
[11545:11545:0114/053430.071465:WARNING:chrome_browser_main_chromeos.cc(547)] Running as stub user with profile dir: test-user
[11545:11545:0114/053430.798511:INFO:remote_commands_service.cc(38)] Fetching remote commands.
[11545:11545:0114/053430.798657:WARNING:remote_commands_service.cc(40)] Client is not registered.
[11545:11545:0114/053430.798855:INFO:remote_commands_invalidator.cc(32)] Initialize RemoteCommandsInvalidator.
[11545:11545:0114/053430.799012:INFO:remote_commands_invalidator.cc(57)] Starting RemoteCommandsInvalidator.
[11545:11545:0114/053430.799144:INFO:remote_commands_invalidator.cc(123)] RemoteCommandsInvalidator ReloadPolicyData.
[11545:11545:0114/053430.799267:INFO:remote_commands_invalidator.cc(167)] Unregister RemoteCommandsInvalidator.
[11545:11545:0114/053431.016907:WARNING:wallpaper_controller_client.cc(358)] Cannot get wallpaper files id in RemovePolicyWallpaper. This should never happen under normal circumstances.
[11545:11545:0114/053431.544269:WARNING:personal_data_manager.cc(492)] 0x6160000f5780 refresh is done, notifying PersonalDataChanged
[11545:11545:0114/053431.651441:WARNING:personal_data_manager.cc(492)] 0x616000141080 refresh is done, notifying PersonalDataChanged
[11545:11545:0114/053431.825449:ERROR:gpu_interface_provider.cc(87)] Not implemented reached in virtual void content::GpuInterfaceProvider::RegisterOzoneGpuInterfaces(service_manager::BinderRegistry *)
[11545:11545:0114/053432.708136:ERROR:remote_text_input_client.cc(144)] Not implemented reached in virtual void RemoteTextInputClient::OnInputMethodChanged()
[11545:11545:0114/053432.708195:ERROR:remote_text_input_client.cc(101)] Not implemented reached in virtual ui::TextInputClient::FocusReason RemoteTextInputClient::GetFocusReason() const
[11545:11545:0114/053432.708226:ERROR:remote_text_input_client.cc(185)] Not implemented reached in virtual bool RemoteTextInputClient::ShouldDoLearning()
[11545:11545:0114/053432.708361:ERROR:remote_text_input_client.cc(95)] Not implemented reached in virtual bool RemoteTextInputClient::HasCompositionText() const
[11545:11545:0114/053432.708396:ERROR:remote_text_input_client.cc(107)] Not implemented reached in virtual bool RemoteTextInputClient::GetTextRange(gfx::Range *) const
[11545:11545:0114/053434.026206:ERROR:render_widget_host_view_aura.cc(1304)] Not implemented reached in virtual base::i18n::TextDirection content::RenderWidgetHostViewAura::GetTextDirection() const
[11545:11545:0114/053435.381741:WARNING:CONSOLE(3128)] "document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.", source: chrome-devtools://devtools/bundled/shell.js (3128)
[11545:11545:0114/053436.030155:WARNING:CONSOLE(3086)] "Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.", source: chrome-devtools://devtools/bundled/shell.js (3086)
[11545:11631:0114/053436.625841:WARNING:simple_synchronous_entry.cc(1362)] Could not open platform files for entry.
[11545:11822:0114/053441.460562:WARNING:embedded_test_server.cc(237)] Request not handled. Returning 404: /favicon.ico
[11545:11545:0114/053444.738404:FATAL:interface_endpoint_client.cc(170)] Check failed: (sequence_checker_).CalledOnValidSequence().
    #0 0x5577a69de351 in __interceptor_backtrace /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:4050:13
    #1 0x5577b82e910f in base::debug::StackTrace::StackTrace(unsigned long) ./../../base/debug/stack_trace_posix.cc:820:39
    #2 0x5577b807cba0 in logging::LogMessage::~LogMessage() ./../../base/logging.cc:591:29
    #3 0x5577bbee1308 in mojo::InterfaceEndpointClient::~InterfaceEndpointClient() ./../../mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:170:3
    #4 0x5577bbee154e in mojo::InterfaceEndpointClient::~InterfaceEndpointClient() ./../../mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:169:53
    #5 0x5577bbee912b in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2325:5
    #6 0x5577bbee912b in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2638:0
    #7 0x5577bbee912b in mojo::internal::InterfacePtrStateBase::~InterfacePtrStateBase() ./../../mojo/public/cpp/bindings/lib/interface_ptr_state.cc:15:0
    #8 0x5577c2033170 in ~InterfacePtrState ./../../mojo/public/cpp/bindings/lib/interface_ptr_state.h:110:32
    #9 0x5577c2033170 in ~InterfacePtr ./../../mojo/public/cpp/bindings/interface_ptr.h:73:0
    #10 0x5577c2033170 in ~TCPDeviceProvider ./../../chrome/browser/devtools/device/tcp_device_provider.cc:153:0
    #11 0x5577c2033170 in TCPDeviceProvider::~TCPDeviceProvider() ./../../chrome/browser/devtools/device/tcp_device_provider.cc:152:0
    #12 0x5577c1ff5b0a in DeleteInternal<AndroidDeviceManager::DeviceProvider> ./../../base/memory/ref_counted.h:414:5
    #13 0x5577c1ff5b0a in Destruct ./../../base/memory/ref_counted.h:369:0
    #14 0x5577c1ff5b0a in Release ./../../base/memory/ref_counted.h:403:0
    #15 0x5577c1ff5b0a in Release ./../../base/memory/scoped_refptr.h:297:0
    #16 0x5577c1ff5b0a in ~scoped_refptr ./../../base/memory/scoped_refptr.h:209:0
    #17 0x5577c1ff5b0a in ~DeviceDescriptor ./../../chrome/browser/devtools/device/android_device_manager.cc:412:0
    #18 0x5577c1ff5b0a in destroy ./../../buildtools/third_party/libc++/trunk/include/memory:1867:0
    #19 0x5577c1ff5b0a in __destroy<AndroidDeviceManager::DeviceDescriptor> ./../../buildtools/third_party/libc++/trunk/include/memory:1729:0
    #20 0x5577c1ff5b0a in destroy<AndroidDeviceManager::DeviceDescriptor> ./../../buildtools/third_party/libc++/trunk/include/memory:1597:0
    #21 0x5577c1ff5b0a in __destruct_at_end ./../../buildtools/third_party/libc++/trunk/include/vector:422:0
    #22 0x5577c1ff5b0a in clear ./../../buildtools/third_party/libc++/trunk/include/vector:365:0
    #23 0x5577c1ff5b0a in ~__vector_base ./../../buildtools/third_party/libc++/trunk/include/vector:459:0
    #24 0x5577c1ff5b0a in ~vector ./../../buildtools/third_party/libc++/trunk/include/vector:551:0
    #25 0x5577c1ff5b0a in operator() ./../../buildtools/third_party/libc++/trunk/include/memory:2325:0
    #26 0x5577c1ff5b0a in reset ./../../buildtools/third_party/libc++/trunk/include/memory:2638:0
    #27 0x5577c1ff5b0a in std::__1::unique_ptr<std::__1::vector<AndroidDeviceManager::DeviceDescriptor, std::__1::allocator<AndroidDeviceManager::DeviceDescriptor> >, std::__1::default_delete<std::__1::vector<AndroidDeviceManager::DeviceDescriptor, std::__1::allocator<AndroidDeviceManager::DeviceDescriptor> > > >::~unique_ptr() ./../../buildtools/third_party/libc++/trunk/include/memory:2592:0
    #28 0x5577c1ff623c in ~__tuple_leaf ./../../buildtools/third_party/libc++/trunk/include/tuple:171:7
    #29 0x5577c1ff623c in ~tuple ./../../buildtools/third_party/libc++/trunk/include/tuple:470:0
    #30 0x5577c1ff623c in ~BindState ./../../base/bind_internal.h:871:0
    #31 0x5577c1ff623c in base::internal::BindState<base::RepeatingCallback<void (std::__1::unique_ptr<std::__1::vector<AndroidDeviceManager::DeviceDescriptor, std::__1::allocator<AndroidDeviceManager::DeviceDescriptor> >, std::__1::default_delete<std::__1::vector<AndroidDeviceManager::DeviceDescriptor, std::__1::allocator<AndroidDeviceManager::DeviceDescriptor> > > >)>, std::__1::unique_ptr<std::__1::vector<AndroidDeviceManager::DeviceDescriptor, std::__1::allocator<AndroidDeviceManager::DeviceDescriptor> >, std::__1::default_delete<std::__1::vector<AndroidDeviceManager::DeviceDescriptor, std::__1::allocator<AndroidDeviceManager::DeviceDescriptor> > > > >::Destroy(base::internal::BindStateBase const*) ./../../base/bind_internal.h:874:0
    #32 0x5577b80a9166 in base::MessageLoopImpl::DoWork() ./../../base/message_loop/message_loop_impl.cc:452:3
    #33 0x5577b833d811 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) ./../../base/message_loop/message_pump_libevent.cc:210:31
    #34 0x5577b80a6cb9 in base::MessageLoopImpl::Run(bool) ./../../base/message_loop/message_loop_impl.cc:302:12
    #35 0x5577b8142a87 in base::RunLoop::Run() ./../../base/run_loop.cc:150:14
    #36 0x5577b9c29d8d in RunThisRunLoop ./../../content/public/test/test_utils.cc:147:13
    #37 0x5577b9c29d8d in content::RunAllPendingInMessageLoop() ./../../content/public/test/test_utils.cc:155:0
    #38 0x5577b84dfba0 in InProcessBrowserTest::PostRunTestOnMainThread() ./../../chrome/test/base/in_process_browser_test.cc:591:3
    #39 0x5577b9b851cf in content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() ./../../content/public/test/browser_test_base.cc:486:3
    #40 0x5577b8649f25 in Run ./../../base/callback.h:129:12
    #41 0x5577b8649f25 in ChromeBrowserMainParts::PreMainMessageLoopRunImpl() ./../../chrome/browser/chrome_browser_main.cc:1794:0
    #42 0x5577b864724d in ChromeBrowserMainParts::PreMainMessageLoopRun() ./../../chrome/browser/chrome_browser_main.cc:1182:18
    #43 0x5577ab6a4c49 in chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() ./../../chrome/browser/chromeos/chrome_browser_main_chromeos.cc:663:32
    #44 0x5577b03bc6d4 in content::BrowserMainLoop::PreMainMessageLoopRun() ./../../content/browser/browser_main_loop.cc:984:13
    #45 0x5577b1776cac in Run ./../../base/callback.h:129:12
    #46 0x5577b1776cac in content::StartupTaskRunner::RunAllTasksNow() ./../../content/browser/startup_task_runner.cc:41:0
    #47 0x5577b03b92b9 in content::BrowserMainLoop::CreateStartupTasks() ./../../content/browser/browser_main_loop.cc:918:25
    #48 0x5577b03c3818 in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) ./../../content/browser/browser_main_runner_impl.cc:144:15
    #49 0x5577b03b3474 in content::BrowserMain(content::MainFunctionParams const&) ./../../content/browser/browser_main.cc:43:32
    #50 0x5577b6f9a94b in RunBrowserProcessMain ./../../content/app/content_main_runner_impl.cc:545:10
    #51 0x5577b6f9a94b in content::ContentMainRunnerImpl::RunServiceManager(content::MainFunctionParams&, bool) ./../../content/app/content_main_runner_impl.cc:954:0
    #52 0x5577b6f99cb9 in content::ContentMainRunnerImpl::Run(bool) ./../../content/app/content_main_runner_impl.cc:868:12
    #53 0x5577bfdd44b8 in service_manager::Main(service_manager::MainParams const&) ./../../services/service_manager/embedder/main.cc:461:29
    #54 0x5577b6f949f8 in content::ContentMain(content::ContentMainParams const&) ./../../content/app/content_main.cc:19:10
    #55 0x5577b9b83799 in content::BrowserTestBase::SetUp() ./../../content/public/test/browser_test_base.cc:349:3
    #56 0x5577b84da47d in InProcessBrowserTest::SetUp() ./../../chrome/test/base/in_process_browser_test.cc:287:20
    #57 0x5577acbb209c in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #58 0x5577acbb209c in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2517:0
    #59 0x5577acbb46ba in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2703:11
    #60 0x5577acbb5b87 in testing::TestCase::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2825:28
    #61 0x5577acbdd4e7 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5227:43
    #62 0x5577acbdc735 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #63 0x5577acbdc735 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4835:0
    #64 0x5577b853313a in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2369:46
    #65 0x5577b853313a in base::TestSuite::Run() ./../../base/test/test_suite.cc:294:0
    #66 0x5577b7ff58f2 in ChromeTestSuiteRunner::RunTestSuite(int, char**) ./../../chrome/test/base/chrome_test_launcher.cc:71:21
    #67 0x5577b9c1b0f6 in content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) ./../../content/public/test/test_launcher.cc:646:31
    #68 0x5577b7ff66e6 in LaunchChromeTests(unsigned long, content::TestLauncherDelegate*, int, char**) ./../../chrome/test/base/chrome_test_launcher.cc:184:10
    #69 0x5577b7ff54df in main ./../../chrome/test/base/browser_tests_main_chromeos.cc:21:10
    #70 0x7fad0eedbf45 in __libc_start_main ??:0:0
    #71 0x5577a699046a in _start ??:0:0
 
Owner: dgozman@chromium.org
Status: Assigned (was: Available)
CL to disable dht test is in the CQ. Assigned owner and taking this out of sheriff queue.
Screenshot_20190114_155722.png
289 KB View Download
Labels: -Sheriff-Chromium
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 14

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3b2c9ab947aa49a2296223efacf0f70af3a99a0f

commit 3b2c9ab947aa49a2296223efacf0f70af3a99a0f
Author: Dominic Battre <battre@chromium.org>
Date: Mon Jan 14 15:47:33 2019

Disable flaky DevToolsSanityTest.CreateBrowserContext

The test fails due to a refcounted destruction on the wrong thread. See bug for
details.

TBR=dgozman@chromium.org

Bug: 921608
Change-Id: I3906909a3d89c7baa5475a217618666954b1b49f
Reviewed-on: https://chromium-review.googlesource.com/c/1409542
Reviewed-by: Dominic Battré <battre@chromium.org>
Commit-Queue: Dominic Battré <battre@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622464}
[modify] https://crrev.com/3b2c9ab947aa49a2296223efacf0f70af3a99a0f/chrome/browser/devtools/devtools_sanity_browsertest.cc

Cc: dgozman@chromium.org
Components: Platform>DevTools
Owner: cduvall@chromium.org
Looks like this happens from TCPDeviceProvider::host_resolver_ destructor. Over to cduvall@, could you please take a look?

Sign in to add a comment