New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 626145 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Failure to import selenium in client side ebuild

Project Member Reported by tienchang@chromium.org, Jul 6 2016

Issue description

I am trying to add a client side test to the autotest-chrome-9999.ebuild.
https://chromium-review.googlesource.com/#/c/348960/

pre-cq continues to fail on build_packages.
https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/pre-cq/builds/32881
https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/compile-only-pre-cq/builds/43770


autotest-chrome-0.0.1-r5928: Traceback (most recent call last):
autotest-chrome-0.0.1-r5928:   File "/build/rambi/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r5928/work/autotest-work/client/bin/setup_job.py", line 75, in init_test
autotest-chrome-0.0.1-r5928:     exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
autotest-chrome-0.0.1-r5928:   File "<string>", line 1, in <module>
autotest-chrome-0.0.1-r5928:   File "/build/rambi/tmp/portage/chromeos-base/autotest-chrome-0.0.1-r5928/work/autotest-work/client/site_tests/network_CastTDLS/network_CastTDLS.py", line 10, in <module>
autotest-chrome-0.0.1-r5928:     from selenium.webdriver.common.keys import Keys
autotest-chrome-0.0.1-r5928: ImportError: No module named selenium.webdriver.common.keys
 

Comment 1 by sbasi@chromium.org, Jul 7 2016

Cc: davidjames@chromium.org
According to Tien she can import this module on a DUT with a test image.

Aviv/David is there an ebuild for dependencies that the host/builder requires?
Yes. It's called virtual/host-sdk or something like that. Lots of dependencies are added there. You probably need to add selenium there. (unit tests on the builders run in the chroot, so that should be enough)

Comment 3 by autumn@chromium.org, Jul 12 2016

Owner: tienchang@chromium.org
Tien, do you need more help on this? Or is this resolved now? 
Ping. Is this problem resolved now?
Looks like Aviv is OOO - Simran, could you confirm?

Comment 7 by sbasi@chromium.org, Aug 5 2016

Yup thats the ebuild.
Status: Fixed (was: Untriaged)
Status: Verified (was: Fixed)
Test ran (albeit failed) so marking as Verified.

http://cautotest/afe/#tab_id=view_job&object_id=73776182
Tien, does that mean all the TDLS tests should be working now?
Hi Clifford - TDLS tests should be running now.

Sign in to add a comment