Unhandled KeyError: 'Cannot find an extension with id=behllobkkfkfnphdnhnkndlbkcpglgmj' |
|
Issue descriptionWhile creating a Chrome instance in Autotests, this error is always shown with the following arg combinations: auto_login==False && autotest_ext==True [1] or auto_login==False && arc_mode=arc_common.ARC_MODE_ENABLED This error comes from [2]. The extension the ID refers to is [3]. Currently there're no auto tests using this combination, but this is necessary for Demo Mode tests, because auto_login should be disabled in order to examine OOBE, and autotest_extension should be used for launching ARC apps. Not sure this should be more related to ARC or extensions. Any pointers are appreciated! [1] https://cs.corp.google.com/aosp-master/external/autotest/client/common_lib/cros/chrome.py?type=cs&q=autotest_ext&g=0&l=117 [2] https://cs.chromium.org/chromium/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/extension_backend.py?type=cs&q=%22Cannot+find+an+extension+with+id%22&g=0&l=36 [3] https://cs.corp.google.com/chromeos_public/src/third_party/autotest/files/client/common_lib/cros/autotest_private_ext/?q=autotest_private_ext+file:%5Esrc/third_party/+package:%5Echromeos_public$&dr
,
Jan 19
(4 days ago)
There may be a race. The error is not shown about 10% of the time, and it goes away entirely if we wait for a few seconds after login, before accessing the extension. Although all the current auto tests assume the extension always exist without polling, and they seem to be working fine. |
|
►
Sign in to add a comment |
|
Comment 1 by wzang@chromium.org
, Jan 18 (5 days ago)