ShutdownPolicyLockerTest fails in Mash |
|||||
Issue description
2 tests crashed:
ShutdownPolicyLockerTest.PolicyChange (../../chrome/browser/chromeos/shutdown_policy_browsertest.cc:278)
ShutdownPolicyLockerTest.TestBasic (../../chrome/browser/chromeos/shutdown_policy_browsertest.cc:273)
[60583:60583:1029/131031.258811:FATAL:keyboard_controller.cc(198)] Check failed: g_keyboard_controller.
#0 0x7f7710e72c1f base::debug::StackTrace::StackTrace()
#1 0x7f7710da443b logging::LogMessage::~LogMessage()
#2 0x7f77096650b9 keyboard::KeyboardController::Get()
#3 0x7f7708ebba47 ash::LockWindow::LockWindow()
#4 0x00000284600f chromeos::WebUIScreenLocker::LockScreen()
#5 0x00000283f1e3 chromeos::ScreenLocker::Init()
#6 0x0000028429ae _ZN4base8internal7InvokerINS0_9BindStateIZN8chromeos12ScreenLocker4ShowEvE3$_1JEEEFvvEE3RunEPNS0_13BindStateBaseE
#7 0x7f77089bb4df ash::mojom::SessionController_PrepareForLock_ForwardToCallback::Accept()
#8 0x7f770de3df26 mojo::InterfaceEndpointClient::HandleValidatedMessage()
#9 0x7f770de3d726 mojo::FilterChain::Accept()
#10 0x7f770de3f185 mojo::InterfaceEndpointClient::HandleIncomingMessage()
#11 0x7f770de4578b mojo::internal::MultiplexRouter::ProcessIncomingMessage()
#12 0x7f770de44bb0 mojo::internal::MultiplexRouter::Accept()
#13 0x7f770de3d726 mojo::FilterChain::Accept()
#14 0x7f770de3864f mojo::Connector::ReadSingleMessage()
,
Dec 3
This will probably be fixed by https://chromium-review.googlesource.com/c/chromium/src/+/1327543
,
Dec 3
Please verify once that CL lands: autoninja -C out/Debug browser_tests && ./testing/xvfb.py out/Debug/browser_tests --enable-features=SingleProcessMash --gtest_filter=ShutdownPolicyLockerTest.TestBasic
,
Dec 3
Ah, it looks like these tests inject directly to webui, so they are using webui login/lock. When we migrate to views they will get fixed as part of that. I'm not planning on fixing them directly outside of migrating them to views; feel free to take ownership stevenjb@ if they need to be fixed sooner.
,
Dec 3
*inject JS directly into the webui
,
Dec 3
It's not urgent, we're just disabling the tests for now. Is there a timeframe for migrating to Views?
,
Dec 4
I'll take a look at this.
,
Dec 4
Migration will probably be within the next few months.
,
Dec 5
,
Dec 6
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b1e4803dd916d499f16209589ff06a0745a8e474 commit b1e4803dd916d499f16209589ff06a0745a8e474 Author: Scott Violet <sky@chromium.org> Date: Thu Dec 06 18:22:31 2018 chromeos: refactor LockWindow LockWindow is used from both chrome and ash. LockWindow reaches directly into ash and parents a widget to ash's hierarchy. This won't work from the chrome side. The code has been refactored in two ways: . ash specific functionality has been moved into LockLayoutManager. . a factory function for creating the widget is added to ash/public/cpp. The function takes an argument that dictates how it works. Specifically in ash code the parent is supplied, outside of ash the container id is used. BUG= 899862 TEST=covered by tests Change-Id: I4c0ca9c91948df9f653f5cb97bb6bc1c48c09301 Reviewed-on: https://chromium-review.googlesource.com/c/1364076 Reviewed-by: Jacob Dufault <jdufault@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#614420} [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/BUILD.gn [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/login/login_screen_controller.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/login/login_screen_test_api.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/login/ui/lock_screen.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/login/ui/lock_screen.h [delete] https://crrev.com/e908ae1d722150daddb6a3074842d564e29b6694/ash/login/ui/lock_window.cc [delete] https://crrev.com/e908ae1d722150daddb6a3074842d564e29b6694/ash/login/ui/lock_window.h [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/login/ui/lock_window_unittest.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/login/ui/login_bubble.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/public/cpp/BUILD.gn [add] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/public/cpp/lock_screen_widget_factory.cc [add] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/public/cpp/lock_screen_widget_factory.h [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/shelf/login_shelf_view.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/system/message_center/ash_message_center_lock_screen_controller.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/system/tray/tray_background_view.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/ash/wm/lock_layout_manager.cc [delete] https://crrev.com/e908ae1d722150daddb6a3074842d564e29b6694/chrome/browser/chromeos/login/lock/DEPS [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/chrome/browser/chromeos/login/lock/webui_screen_locker.cc [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/chrome/browser/chromeos/login/lock/webui_screen_locker.h [modify] https://crrev.com/b1e4803dd916d499f16209589ff06a0745a8e474/testing/buildbot/filters/chromeos.single_process_mash.browser_tests.filter
,
Dec 6
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by steve...@chromium.org
, Dec 3Labels: -Pri-3 Proj-Mash-SingleProcess Pri-2