View Issue Details

IDProjectCategoryView StatusLast Update
0004524Talerdeployment and operationspublic2016-11-20 02:26
ReporterFlorian Dold Assigned ToMarcello Stanisci Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PriorityhighSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.0 
Target Version0.2Fixed in Version0.2 
Summary0004524: selenium test should always use a fresh docker instance
Description- this simplifies the logic (no need to check if we need to start a container if there is no running instance)
- it also leads to better reproducibility of the test, since there's no state lying around
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2016-11-08 13:45

reporter   ~0011450

Getting the following error that prevents local tests on selenium. It happens after
3-4 times that the test gets succesfully launched, and needs a restart (so far) to
disappear... :

Traceback (most recent call last):
  File "wallet-webex/selenium/test.py", line 233, in <module>
    ret = client_setup(args)
  File "wallet-webex/selenium/test.py", line 36, in client_setup
    client = webdriver.Chrome(desired_capabilities=cap)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 67, in __init__
    desired_capabilities=desired_capabilities)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 87, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 141, in start_session
    'desiredCapabilities': desired_capabilities,
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 201, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 181, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot process extension #1
from unknown error: cannot write file
  (Driver info: chromedriver=2.22 (undefined),platform=Linux 3.16.0-4-686-pae x86)

Marcello Stanisci

2016-11-08 21:17

reporter   ~0011455

Did not occur on laptop.. Currently blocked by 0004762.

Marcello Stanisci

2016-11-09 17:03

reporter   ~0011465

Added a --ext-unpacked option aimed to load the extension directly from its
directory, so no need to compress+sign one. That fixed what shown in message 0011450.

Current problem is that selenium is not able to click the article on the blog homepage. Trying to follow instruction from http://stackoverflow.com/questions/11908249/debugging-element-is-not-clickable-at-point-error

Marcello Stanisci

2016-11-13 19:27

reporter   ~0011473

Fixed as of 149cfd9, by calling

  $ docker restart container_chrome

before launching the actual selenium script.

Issue History

Date ModifiedUsernameFieldChange
2016-05-23 14:58Florian DoldNew Issue
2016-05-31 07:39Christian GrothoffPrioritynormal => low
2016-05-31 07:39Christian GrothoffSeverityminor => feature
2016-05-31 07:39Christian GrothoffStatusnew => implementing
2016-05-31 07:39Christian GrothoffProduct Version => 0.0
2016-06-11 19:58Christian GrothoffTarget Version => 0.3
2016-06-27 12:05Marcello StanisciAssigned To => Marcello Stanisci
2016-06-27 12:05Marcello StanisciStatusimplementing => assigned
2016-10-10 06:30Christian GrothoffTarget Version0.3 => 0.5
2016-11-07 08:57Marcello StanisciPrioritylow => high
2016-11-08 13:45Marcello StanisciNote Added: 0011450
2016-11-08 21:17Marcello StanisciNote Added: 0011455
2016-11-09 17:03Marcello StanisciNote Added: 0011465
2016-11-13 19:27Marcello StanisciStatusassigned => informing
2016-11-13 19:27Marcello StanisciResolutionopen => fixed
2016-11-13 19:27Marcello StanisciNote Added: 0011473
2016-11-14 23:38rootFixed in Version => 0.2
2016-11-14 23:38rootTarget Version0.5 => 0.2
2016-11-20 02:26Christian GrothoffStatusinforming => closed