Issue metadata
Sign in to add a comment
|
power_LoadTest login problem
Reported by
dave.rod...@arm.com,
Nov 9 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.45 Safari/537.36 Platform: 10046.0.2017_11_09_1042 (Test Build - davrod01) developer-build elm Steps to reproduce the problem: 1. Follow steps in https://www.chromium.org/chromium-os/testing/power-testing 2. Cannot run test: login screen goes to screen saying "Verify that it's you. This device isn't recognised. For your security Google wants to make sure that it's really you. powerloadtest@gmail.com" What is the expected behavior? What went wrong? I built an image with "build_image --board=elm test", as recommended on https://www.chromium.org/chromium-os/testing/power-testing The login screen hangs on an account verification step. When running from a remote host via test_that: /tmp/test_that_results_qkezVr/results-1-power_LoadTest [ FAILED ] /tmp/test_that_results_qkezVr/results-1-power_LoadTest FAIL: Unhandled TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60). /tmp/test_that_results_qkezVr/results-1-power_LoadTest/power_LoadTest [ FAILED ] /tmp/test_that_results_qkezVr/results-1-power_LoadTest/power_LoadTest FAIL: Unhandled TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60). /tmp/test_that_results_qkezVr/results-1-power_LoadTest/power_LoadTest 11/09 11:31:00.970 ERROR| browser:0068| Failed with TimeoutException while starting the browser backend. /tmp/test_that_results_qkezVr/results-2-power_LoadTest [ FAILED ] /tmp/test_that_results_qkezVr/results-2-power_LoadTest FAIL: Unhandled TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60). /tmp/test_that_results_qkezVr/results-2-power_LoadTest/power_LoadTest [ FAILED ] /tmp/test_that_results_qkezVr/results-2-power_LoadTest/power_LoadTest FAIL: Unhandled TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60). /tmp/test_that_results_qkezVr/results-2-power_LoadTest/power_LoadTest 11/09 11:32:39.939 ERROR| browser:0068| Failed with TimeoutException while starting the browser backend. When running locally: 11:41:31 INFO | Writing results to /usr/local/autotest/results/default 11:41:31 INFO | START ---- ---- timestamp=1510227691 localtime=Nov 09 11:41:31 11:41:31 INFO | File /var/lib/cleanup_logs_paused was already present 11:41:31 INFO | START power_LoadTest power_LoadTest timestamp=1510227691 localtime=Nov 09 11:41:31 11:41:31 WARNI| Unable to import numpy due to: Incorrect numpy version found, expected 1.8.0 <= version < 1.12.0, found version 1.7.1 11:41:31 WARNI| Unable to import numpy due to: Incorrect numpy version found, expected 1.8.0 <= version < 1.12.0, found version 1.7.1 11:41:32 INFO | Temperature reading: sbs-1-000b_temp1_input:25700 temp:39142 11:41:33 INFO | Default backlight brightness percent = 37.500000 11:41:33 WARNI| GPU frequency tracing not enabled. 11:41:33 INFO | Temperature reading: sbs-1-000b_temp1_input:25700 temp:36677 11:41:33 INFO | Have low_battery_shutdown option 11:41:33 WARNI| test low battery threshold is below system low battery requirement. Setting to 6.000000 11:41:33 INFO | ChromeOS BOARD = elm_2.1GHz_4GB 11:41:33 INFO | Can't find or read PSR status file 11:41:33 INFO | Assuming no keyboard backlight due to :: Keyboard backlight supportis not enabled 11:41:33 INFO | BattOr power monitor is not connected. 11:41:33 INFO | BattOr power monitor is not connected. 11:41:33 INFO | Chose browser: PossibleCrOSBrowser(browser_type=system) 11:41:33 INFO | (Re)starting the ui (logs the user out) 11:41:34 INFO | Restarting Chrome (pid=16687) with remote port 11:41:34 INFO | dbus-send --system --type=method_call --dest=org.chromium.SessionManager /org/chromium/SessionManager org.chromium.SessionManagerInterface.EnableChromeTesting boolean:true array:string:"--enable-net-benchmarking,--metrics-recording-only,--no-default-browser-check,--no-first-run,--enable-gpu-benchmarking,--load-extension=/tmp/extension_Qlrs5/extension,--disable-component-extensions-with-background-pages,--disable-default-apps,--disable-search-geolocation-disclosure,--enable-smooth-scrolling,--enable-threaded-compositing,--remote-debugging-port=0,--start-maximized,--ash-disable-system-sounds,--allow-failed-policy-fetch-for-test,--oobe-skip-postlogin,--disable-logging-redirect,--vmodule=*/chromeos/net/*=2\,*/chromeos/login/*=2\,chrome_browser_main_posix=2" 11:42:26 INFO | Discovered ephemeral port 59406 11:42:26 INFO | Browser target: /devtools/browser/ef42c16d-9175-476f-961e-3843cf976093 11:42:27 INFO | Invoking Oobe.skipToLoginForTesting 11:43:42 INFO | Closing browser (pid=16735) ... 11:43:42 INFO | (Re)starting the ui (logs the user out) 11:43:43 INFO | Browser is closed. 11:43:43 WARNI| The test failed with the following exception Traceback (most recent call last): File "/usr/local/autotest/common_lib/test.py", line 606, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/usr/local/autotest/common_lib/test.py", line 812, in _call_test_function raise error.UnhandledTestFail(e) UnhandledTestFail: Unhandled TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60). Traceback (most recent call last): File "/usr/local/autotest/common_lib/test.py", line 806, in _call_test_function return func(*args, **dargs) File "/usr/local/autotest/common_lib/test.py", line 470, in execute dargs) File "/usr/local/autotest/common_lib/test.py", line 347, in _call_run_once_with_retry postprocess_profiled_run, args, dargs) File "/usr/local/autotest/common_lib/test.py", line 380, in _call_run_once self.run_once(*args, **dargs) File "/usr/local/autotest/tests/power_LoadTest/power_LoadTest.py", line 258, in run_once password=self._password) File "/usr/local/autotest/common_lib/cros/chrome.py", line 168, in __init__ self._browser = browser_to_create.Create(finder_options) File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_finder.py", line 48, in Create browser_backend, self._platform_backend, self._credentials_path) File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_with_oobe.py", line 14, in __init__ backend, platform_backend, credentials_path) File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/browser/browser.py", line 59, in __init__ self._browser_backend.Start() File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function return func(*args, **kwargs) File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py", line 187, in Start self.oobe.NavigateGaiaLogin(self._username, self._password) File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function return func(*args, **kwargs) File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/oobe.py", line 89, in NavigateGaiaLogin self._NavigateGaiaLogin(username, password, enterprise_enroll) File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function return func(*args, **kwargs) File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/oobe.py", line 106, in _NavigateGaiaLogin py_utils.WaitFor(_GetGaiaFunction, 20)(self, username, password) File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function return func(*args, **kwargs) File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/oobe.py", line 128, in _NavigateWebViewLogin py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60) File "/usr/local/telemetry/src/third_party/catapult/common/py_utils/py_utils/__init__.py", line 148, in WaitFor (timeout, GetConditionString())) TimeoutException: Timed out while waiting 60s for py_utils.WaitFor(lambda: not self._GaiaWebviewContext(), 60). Did this work before? N/A Chrome version: 64.0.3243.0 Channel: n/a OS Version: Flash Version: |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by tbroch@chromium.org
, Nov 9 2017Status: Duplicate (was: Unconfirmed)