Some KioskTest.* tests flaky on Linux Chromium OS ASAN LSAN bots |
|||
Issue descriptionFlakiness dashboard: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=KioskTest. Logs: [ RUN ] KioskTest.DoNotLaunchWhenUntrusted HTTPS server started on 127.0.0.1:53186... sending server_data: {"host": "127.0.0.1", "port": 53186} (36 bytes) [30454:30454:0918/062151.739265:ERROR:input_method_manager_impl.cc(1028)] IMEEngine for "fgoepimhcoialccpbmpnnblemnepkkao" is not registered [30454:30506:0918/062151.839340:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [30454:30496:0918/062151.954073:WARNING:freezer_cgroup_process_manager.cc(62)] Cgroup freezer does not exist or is not writable. Unable to freeze renderer processes. [30454:30454:0918/062153.105697:ERROR:touch_devices_controller.cc(22)] Failed to set touchpad enabled state. [30454:30454:0918/062154.903724:WARNING:CONSOLE(0)] "Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M65, around March 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.", source: (0) [30454:30454:0918/062205.838224:ERROR:device_event_log_impl.cc(156)] [06:22:05.838] Network: network_state_handler.cc:185 SetTechnologyEnabled() called for the Tether DeviceState, but the current state was: 0 [30454:30454:0918/062205.881019:INFO:CONSOLE(9487)] "Loading asset bundle oauth-enrollment", source: chrome://oobe/oobe.js (9487) [30454:30454:0918/062205.901249:INFO:kiosk_browsertest.cc(219)] kiosk locked = 1 [30454:30454:0918/062211.202002:INFO:lock_screen_utils.cc(56)] GetUserLastInputMethod: no input method for this user [30454:30454:0918/062212.259635:INFO:signin_screen_handler.cc(1386)] Login WebUI >> active: 1, source: gaia-signin [30454:30558:0918/062212.496248:ERROR:fake_gaia.cc(324)] Unhandled request /update_check.xml [30454:30506:0918/062212.950587:WARNING:child_process_launcher_helper_posix.cc(118)] Ignoring invalid file v8_context_snapshot.bin [30454:30454:0918/062214.372932:INFO:CONSOLE(9471)] "Finished loading asset bundle oauth-enrollment", source: chrome://oobe/oobe.js (9471) [30454:30558:0918/062215.677151:WARNING:fake_gaia.cc(321)] Serving request /embedded/setup/v2/chromeos 127.0.0.1 - - [18/Sep/2017 06:22:15] "GET /embedded/setup/v2/chromeos?chrometype=chromedevice&client_id=dummytoken&client_version=63.0.3219.0&platform_version=0.0.0.0&endpoint_gen=1.0&mi=gm%2Cee%2C&hl=en-US HTTP/1.1" 200 - [30454:30454:0918/062216.438995:ERROR:base_screen_handler_utils.cc(71)] Failed to deserialize, parse as email, valid=1 [30454:30454:0918/062216.439265:ERROR:core_oobe_handler.cc(179)] CoreOobeHandler::ShowSignInError: error_text=Sign-in failed, please connect to the internet and try again. ================================================================= ==30454==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x606000401408 at pc 0x0000167d5b7e bp 0x7fff172cad80 sp 0x7fff172cad78 READ of size 8 at 0x606000401408 thread T0 (browser_tests) #0 0x167d5b7d in operator-> buildtools/third_party/libc++/trunk/include/memory:2554:19 #1 0x167d5b7d in password_manager::ContentPasswordManagerDriverFactory::DidFinishNavigation(content::NavigationHandle*) components/password_manager/content/browser/content_password_manager_driver_factory.cc:129 #2 0x7fe6812 in content::WebContentsImpl::DidFinishNavigation(content::NavigationHandle*) content/browser/web_contents/web_contents_impl.cc:3742:14 #3 0x743b21a in content::NavigationHandleImpl::~NavigationHandleImpl() content/browser/frame_host/navigation_handle_impl.cc:211:20 #4 0x743c4ed in content::NavigationHandleImpl::~NavigationHandleImpl() content/browser/frame_host/navigation_handle_impl.cc:189:47 #5 0x7466d47 in operator() buildtools/third_party/libc++/trunk/include/memory:2272:5 #6 0x7466d47 in reset buildtools/third_party/libc++/trunk/include/memory:2585 #7 0x7466d47 in content::NavigatorImpl::DidNavigate(content::RenderFrameHostImpl*, FrameHostMsg_DidCommitProvisionalLoad_Params const&, std::__1::unique_ptr<content::NavigationHandleImpl, std::__1::default_delete<content::NavigationHandleImpl> >) content/browser/frame_host/navigator_impl.cc:677 #8 0x74a2c1f in content::RenderFrameHostImpl::DidCommitProvisionalLoad(std::__1::unique_ptr<FrameHostMsg_DidCommitProvisionalLoad_Params, std::__1::default_delete<FrameHostMsg_DidCommitProvisionalLoad_Params> >) content/browser/frame_host/render_frame_host_impl.cc:1644:35 #9 0x5c72b6b in content::mojom::FrameHostStubDispatch::Accept(content::mojom::FrameHost*, mojo::Message*) out/Release/gen/content/common/frame.mojom.cc:1013:13 #10 0x10cd8783 in mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:418:32 #11 0x10cd6da7 in mojo::FilterChain::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/filter_chain.cc:40:17 #12 0x10cdc92a in mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:305:19 #13 0x10c97868 in IPC::(anonymous namespace)::ChannelAssociatedGroupController::AcceptOnProxyThread(mojo::Message) ipc/ipc_mojo_bootstrap.cc:799:24 #14 0x10c90232 in Invoke<const scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController> &, mojo::Message> base/bind_internal.h:194:12 #15 0x10c90232 in MakeItSo<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*const &)(mojo::Message), const scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController> &, mojo::Message> base/bind_internal.h:277 #16 0x10c90232 in RunImpl<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*const &)(mojo::Message), const std::__1::tuple<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, base::internal::PassedWrapper<mojo::Message> > &, 0, 1> base/bind_internal.h:349 #17 0x10c90232 in base::internal::Invoker<base::internal::BindState<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, base::internal::PassedWrapper<mojo::Message> >, void ()>::Run(base::internal::BindStateBase*) base/bind_internal.h:331 #18 0xbf3d24a in Run base/callback.h:64:12 #19 0xbf3d24a in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/debug/task_annotator.cc:57 #20 0xc1b9bfe in base::internal::IncomingTaskQueue::RunTask(base::PendingTask*) base/message_loop/incoming_task_queue.cc:147:19 #21 0xbfb7fcb in base::MessageLoop::RunTask(base::PendingTask*) base/message_loop/message_loop.cc:406:25 #22 0xbfb9553 in DeferOrRunPendingTask base/message_loop/message_loop.cc:417:5 #23 0xbfb9553 in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:524 #24 0xbfc2380 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:220:31 #25 0xbfb6f68 in base::MessageLoop::Run() base/message_loop/message_loop.cc:346:10 #26 0xc05364c in base::RunLoop::Run() base/run_loop.cc:118:14 #27 0xd6e9609 in RunThisRunLoop content/public/test/test_utils.cc:125:13 #28 0xd6e9609 in content::RunMessageLoop() content/public/test/test_utils.cc:119 #29 0x3979526 in chromeos::OobeBaseTest::TearDownOnMainThread() chrome/browser/chromeos/login/test/oobe_base_test.cc:132:5 #30 0x384bd68 in TearDownOnMainThread chrome/browser/chromeos/login/kiosk_browsertest.cc:527:19 #31 0x384bd68 in virtual thunk to chromeos::KioskTest::TearDownOnMainThread() chrome/browser/chromeos/login/kiosk_browsertest.cc #32 0xd5e2665 in content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() content/public/test/browser_test_base.cc:319:5 #33 0xc3acc9b in Run base/callback.h:92:12 #34 0xc3acc9b in ChromeBrowserMainParts::PreMainMessageLoopRunImpl() chrome/browser/chrome_browser_main.cc:1849 #35 0xc3a9f23 in ChromeBrowserMainParts::PreMainMessageLoopRun() chrome/browser/chrome_browser_main.cc:1186:18 #36 0x4480c80 in chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() chrome/browser/chromeos/chrome_browser_main_chromeos.cc:684:32 #37 0x6fc1a74 in content::BrowserMainLoop::PreMainMessageLoopRun() content/browser/browser_main_loop.cc:1171:13 #38 0x7f24638 in Run base/callback.h:92:12 #39 0x7f24638 in content::StartupTaskRunner::RunAllTasksNow() content/browser/startup_task_runner.cc:45 #40 0x6fbc75f in content::BrowserMainLoop::CreateStartupTasks() content/browser/browser_main_loop.cc:955:25 #41 0x6fca1d8 in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) content/browser/browser_main_runner.cc:119:17 #42 0x6fb45d5 in content::BrowserMain(content::MainFunctionParams const&) content/browser/browser_main.cc:42:32 #43 0xbc336fa in content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) content/app/content_main_runner.cc:425:14 #44 0xbc3596e in content::ContentMainRunnerImpl::Run() content/app/content_main_runner.cc:703:12 #45 0x12936dcc in service_manager::Main(service_manager::MainParams const&) services/service_manager/embedder/main.cc:469:29 #46 0xbc31ab3 in content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:10 #47 0xd5e15a1 in content::BrowserTestBase::SetUp() content/public/test/browser_test_base.cc:272:3 #48 0xc2b5c44 in InProcessBrowserTest::SetUp() chrome/test/base/in_process_browser_test.cc:267:20 #49 0x3978070 in chromeos::OobeBaseTest::SetUp() chrome/browser/chromeos/login/test/oobe_base_test.cc:81:21 #50 0x384b1d9 in chromeos::KioskTest::SetUp() chrome/browser/chromeos/login/kiosk_browsertest.cc:501:19 #51 0x4f2097c in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:2456:12 #52 0x4f2097c in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2468 #53 0x4f22914 in testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2654:11 #54 0x4f23c76 in testing::TestCase::Run() third_party/googletest/src/googletest/src/gtest.cc:2772:28 #55 0x4f39736 in testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:4677:43 #56 0x4f38cb8 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc:2456:12 #57 0x4f38cb8 in testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4285 #58 0xc3044f5 in RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2237:46 #59 0xc3044f5 in base::TestSuite::Run() base/test/test_suite.cc:270 #60 0xbf0a23c in ChromeTestSuiteRunner::RunTestSuite(int, char**) chrome/test/base/chrome_test_launcher.cc:70:38 #61 0xd6d6cd2 in content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) content/public/test/test_launcher.cc:520:31 #62 0xbf0ae82 in LaunchChromeTests(unsigned long, content::TestLauncherDelegate*, int, char**) chrome/test/base/chrome_test_launcher.cc:160:10 #63 0xbf02596 in main chrome/test/base/browser_tests_main_chromeos.cc:26:10 #64 0x7fd284c08f44 in __libc_start_main /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287 0x606000401408 is located 8 bytes to the right of 64-byte region [0x6060004013c0,0x606000401400) allocated by thread T0 (browser_tests) here: #0 0x94e0b2 in operator new(unsigned long) (/b/s/w/ir/out/Release/browser_tests+0x94e0b2) #1 0x167d4b46 in password_manager::ContentPasswordManagerDriverFactory::CreateForWebContents(content::WebContents*, password_manager::PasswordManagerClient*, autofill::AutofillClient*) components/password_manager/content/browser/content_password_manager_driver_factory.cc:43:39 #2 0xc636d9e in ChromePasswordManagerClient::ChromePasswordManagerClient(content::WebContents*, autofill::AutofillClient*) chrome/browser/password_manager/chrome_password_manager_client.cc:181:3 #3 0xc636684 in ChromePasswordManagerClient::CreateForWebContentsWithAutofillClient(content::WebContents*, autofill::AutofillClient*) chrome/browser/password_manager/chrome_password_manager_client.cc:159:46 #4 0x48bf046 in chromeos::WebUILoginView::InitializeWebView(views::WebView*, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> > const&) chrome/browser/chromeos/login/ui/webui_login_view.cc:243:3 #5 0x48bfbc8 in chromeos::WebUILoginView::Init() chrome/browser/chromeos/login/ui/webui_login_view.cc:278:5 #6 0x48a0851 in chromeos::LoginDisplayHostImpl::InitLoginWindowAndView() chrome/browser/chromeos/login/ui/login_display_host_impl.cc:1191:16 #7 0x489953c in LoadURL chrome/browser/chromeos/login/ui/login_display_host_impl.cc:1097:3 #8 0x489953c in chromeos::LoginDisplayHostImpl::StartWizard(chromeos::OobeScreen) chrome/browser/chromeos/login/ui/login_display_host_impl.cc:622 #9 0x48a484f in (anonymous namespace)::ShowLoginWizardFinish(chromeos::OobeScreen, chromeos::StartupCustomizationDocument const*, chromeos::LoginDisplayHost*) chrome/browser/chromeos/login/ui/login_display_host_impl.cc:203:19 #10 0x48a3cda in (anonymous namespace)::TriggerShowLoginWizardFinish(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<(anonymous namespace)::ShowLoginWizardSwitchLanguageCallbackData, std::__1::default_delete<(anonymous namespace)::ShowLoginWizardSwitchLanguageCallbackData> >) chrome/browser/chromeos/login/ui/login_display_host_impl.cc:253:5 #11 0x48a2e7e in chromeos::ShowLoginWizard(chromeos::OobeScreen) chrome/browser/chromeos/login/ui/login_display_host_impl.cc:1409:5 #12 0x482ead3 in StartLoginOobeSession chrome/browser/chromeos/login/session/chrome_session_manager.cc:75:3 #13 0x482ead3 in chromeos::ChromeSessionManager::Initialize(base::CommandLine const&, Profile*, bool) chrome/browser/chromeos/login/session/chrome_session_manager.cc:200 #14 0x4483e56 in chromeos::ChromeBrowserMainPartsChromeos::PostProfileInit() chrome/browser/chromeos/chrome_browser_main_chromeos.cc:953:58 #15 0xc3abefd in ChromeBrowserMainParts::PreMainMessageLoopRunImpl() chrome/browser/chrome_browser_main.cc:1594:3 #16 0xc3a9f23 in ChromeBrowserMainParts::PreMainMessageLoopRun() chrome/browser/chrome_browser_main.cc:1186:18 #17 0x4480c80 in chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() chrome/browser/chromeos/chrome_browser_main_chromeos.cc:684:32 #18 0x6fc1a74 in content::BrowserMainLoop::PreMainMessageLoopRun() content/browser/browser_main_loop.cc:1171:13 #19 0x7f24638 in Run base/callback.h:92:12 #20 0x7f24638 in content::StartupTaskRunner::RunAllTasksNow() content/browser/startup_task_runner.cc:45 #21 0x6fbc75f in content::BrowserMainLoop::CreateStartupTasks() content/browser/browser_main_loop.cc:955:25 #22 0x6fca1d8 in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) content/browser/browser_main_runner.cc:119:17 #23 0x6fb45d5 in content::BrowserMain(content::MainFunctionParams const&) content/browser/browser_main.cc:42:32 #24 0xbc336fa in content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) content/app/content_main_runner.cc:425:14 #25 0xbc3596e in content::ContentMainRunnerImpl::Run() content/app/content_main_runner.cc:703:12 #26 0x12936dcc in service_manager::Main(service_manager::MainParams const&) services/service_manager/embedder/main.cc:469:29 #27 0xbc31ab3 in content::ContentMain(content::ContentMainParams const&) content/app/content_main.cc:19:10 #28 0xd5e15a1 in content::BrowserTestBase::SetUp() content/public/test/browser_test_base.cc:272:3 #29 0xc2b5c44 in InProcessBrowserTest::SetUp() chrome/test/base/in_process_browser_test.cc:267:20 #30 0x3978070 in chromeos::OobeBaseTest::SetUp() chrome/browser/chromeos/login/test/oobe_base_test.cc:81:21 #31 0x384b1d9 in chromeos::KioskTest::SetUp() chrome/browser/chromeos/login/kiosk_browsertest.cc:501:19 #32 0x4f2097c in HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc:2456:12 #33 0x4f2097c in testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2468 SUMMARY: AddressSanitizer: heap-buffer-overflow buildtools/third_party/libc++/trunk/include/memory:2554:19 in operator-> Shadow bytes around the buggy address: 0x0c0c80078230: 00 00 00 00 00 00 00 fa fa fa fa fa 00 00 00 00 0x0c0c80078240: 00 00 00 00 fa fa fa fa 00 00 00 00 00 00 00 fa 0x0c0c80078250: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa 0x0c0c80078260: 00 00 00 00 00 00 00 fa fa fa fa fa 00 00 00 00 0x0c0c80078270: 00 00 00 00 fa fa fa fa 00 00 00 00 00 00 00 00 =>0x0c0c80078280: fa[fa]fa fa 00 00 00 00 00 00 00 fa fa fa fa fa 0x0c0c80078290: 00 00 00 00 00 00 00 fa fa fa fa fa 00 00 00 00 0x0c0c800782a0: 00 00 00 fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c0c800782b0: fa fa fa fa 00 00 00 00 00 00 00 00 fa fa fa fa 0x0c0c800782c0: 00 00 00 00 00 00 00 fa fa fa fa fa fd fd fd fd 0x0c0c800782d0: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fd Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==30454==ABORTING [0918/132219.518367:ERROR:nacl_helper_linux.cc(310)] NaCl helper process running without a sandbox! Most likely you need to configure your SUID sandbox correctly [0918/062219.518575:ERROR:nacl_helper_linux.cc(310)] NaCl helper process running without a sandbox! Most likely you need to configure your SUID sandbox correctly
,
Sep 26 2017
+vasilii Sounds like frame_driver_map_.find() in ContentPasswordManagerDriverFactory::DidFinishNavigation did not find the RenderFrameHost* associated with the NavigationHandle* passed in [1]. Happened for kiosk test probably probably because that chromeos login screen is a WebUI with a couple WebView inside. [1]: https://cs.chromium.org/chromium/src/components/password_manager/content/browser/content_password_manager_driver_factory.cc?rcl=20398b866a90f6f39d924e850d5057fe447d6a7f&l=131
,
Dec 1 2017
This might be the root cause of PreferencesTest.MultiProfile flake (without --mash), see issue 787050 and stack https://paste.googleplex.com/4854165100560384 #1 0x0000036a03c2 content::(anonymous namespace)::DumpStackTraceSignalHandler() #2 0x7fe2d5710cb0 <unknown> #3 0x000005aee735 password_manager::ContentPasswordManagerDriver::DidNavigateFrame() #4 0x000002460134 content::WebContentsImpl::DidFinishNavigation() #5 0x0000022033c9 content::NavigationHandleImpl::~NavigationHandleImpl() #6 0x00000220394e content::NavigationHandleImpl::~NavigationHandleImpl() #7 0x00000220df16 content::NavigatorImpl::DidNavigate() #8 0x00000221e474 content::RenderFrameHostImpl::DidCommitProvisionalLoad() #9 0x000001df99ae content::mojom::FrameHostStubDispatch::Accept() Also, issue 746638 could be related?
,
Aug 1
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Sep 18 2017