Closed
Bug 1499826
Opened 7 years ago
Closed 7 years ago
Intermittent TvW Tier2 /webdriver/tests/element_clear/clear.py | test_no_browsing_context - ValueError: Element already in cache: foo
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(firefox64 fixed)
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: ato)
References
Details
(Keywords: intermittent-failure)
Filed by: dvarga [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=206169911&repo=mozilla-central
https://queue.taskcluster.net/v1/task/YqQlamC6RlSEEp7oMHFGIA/runs/0/artifacts/public/logs/live_backing.log
[task 2018-10-17T17:56:21.504Z] 17:56:21 INFO - TEST-PASS | /webdriver/tests/element_clear/clear.py | test_null_response_value
[task 2018-10-17T17:56:21.505Z] 17:56:21 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/element_clear/clear.py | test_no_browsing_context - ValueError: Element already in cache: foo
[task 2018-10-17T17:56:21.505Z] 17:56:21 INFO - session = <Session 2902737e-2a80-4c5d-bd51-75a857f890cc>
[task 2018-10-17T17:56:21.506Z] 17:56:21 INFO - closed_window = '4294967388'
[task 2018-10-17T17:56:21.507Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.507Z] 17:56:21 INFO - def test_no_browsing_context(session, closed_window):
[task 2018-10-17T17:56:21.508Z] 17:56:21 INFO - > element = Element("foo", session)
[task 2018-10-17T17:56:21.509Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.510Z] 17:56:21 INFO - closed_window = '4294967388'
[task 2018-10-17T17:56:21.511Z] 17:56:21 INFO - session = <Session 2902737e-2a80-4c5d-bd51-75a857f890cc>
[task 2018-10-17T17:56:21.511Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.512Z] 17:56:21 INFO - tests/web-platform/tests/webdriver/tests/element_clear/clear.py:50:
[task 2018-10-17T17:56:21.512Z] 17:56:21 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2018-10-17T17:56:21.513Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.513Z] 17:56:21 INFO - self = <Element foo>, id = 'foo'
[task 2018-10-17T17:56:21.514Z] 17:56:21 INFO - session = <Session 2902737e-2a80-4c5d-bd51-75a857f890cc>
[task 2018-10-17T17:56:21.514Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.515Z] 17:56:21 INFO - def __init__(self, id, session):
[task 2018-10-17T17:56:21.515Z] 17:56:21 INFO - """
[task 2018-10-17T17:56:21.516Z] 17:56:21 INFO - Construct a new web element representation.
[task 2018-10-17T17:56:21.516Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.517Z] 17:56:21 INFO - :param id: Web element UUID which must be unique across
[task 2018-10-17T17:56:21.517Z] 17:56:21 INFO - all browsing contexts.
[task 2018-10-17T17:56:21.518Z] 17:56:21 INFO - :param session: Current ``webdriver.Session``.
[task 2018-10-17T17:56:21.518Z] 17:56:21 INFO - """
[task 2018-10-17T17:56:21.519Z] 17:56:21 INFO - self.id = id
[task 2018-10-17T17:56:21.519Z] 17:56:21 INFO - self.session = session
[task 2018-10-17T17:56:21.520Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.520Z] 17:56:21 INFO - if id in self.session._element_cache:
[task 2018-10-17T17:56:21.520Z] 17:56:21 INFO - > raise ValueError("Element already in cache: %s" % id)
[task 2018-10-17T17:56:21.521Z] 17:56:21 INFO - E ValueError: Element already in cache: foo
[task 2018-10-17T17:56:21.521Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.521Z] 17:56:21 INFO - id = 'foo'
[task 2018-10-17T17:56:21.522Z] 17:56:21 INFO - self = <Element foo>
[task 2018-10-17T17:56:21.522Z] 17:56:21 INFO - session = <Session 2902737e-2a80-4c5d-bd51-75a857f890cc>
[task 2018-10-17T17:56:21.522Z] 17:56:21 INFO -
[task 2018-10-17T17:56:21.523Z] 17:56:21 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:673: ValueError
| Comment hidden (Intermittent Failures Robot) |
Comment 2•7 years ago
|
||
Olli backed-out his workaround patch on bug 1499135 a bit too early, and the backout of bug 1499057 made this failure to appear now. Also Andreas isn't around this week, and as such I doubt we have a fix soon for bug 1499057.
Olli, maybe we should re-land your workaround fix again. Which is unfortunate but would at least stop those failures for now. I assume the other port related failures don't have such a high occurrence?
Depends on: 1499057
Flags: needinfo?(bugs)
Comment 3•7 years ago
|
||
ohhh, this is happening even without bug 1498383 (and bug 1089326). That is good news for me.
(but something in bug 1498383 + bug 1089326 makes this happen more often)
But sure, we can reland bug 1499135
Flags: needinfo?(bugs)
Comment 4•7 years ago
|
||
Before we do this, how is your timeline for getting those patches landed? If we would still have a bit of time to fix this intermittent, I wouldn't see it relanded. Only when it is really time critical and we cannot wait for Andreas being back.
Comment 5•7 years ago
|
||
Actually this only failed yesterday, and I cannot see a single classified failure for today:
https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2018-10-17&endday=2018-10-18&tree=all&page=1&page_size=20&bug=1499826
Comment 6•7 years ago
|
||
Well, these are all TvW failures, and only appeared because the wdspec tests were run due to the backout on bug 1499057. As long as we don't make wdspec changes we shouldn't see them. Also those are Tier2, so we might be able to just ignore the failure for landing your patches.
Summary: Intermittent /webdriver/tests/element_clear/clear.py | test_no_browsing_context - ValueError: Element already in cache: foo → Intermittent TvW Tier2 /webdriver/tests/element_clear/clear.py | test_no_browsing_context - ValueError: Element already in cache: foo
Comment 7•7 years ago
|
||
bug 1089326 will not land until TVw is stable. (if bug 1089326 or bug 1498383 is causing the issues, need to then sort out them, but the issues have so far been really unexpected.)
Comment 8•7 years ago
|
||
This is fixed by bug 1499057 now.
Assignee: nobody → ato
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
| Comment hidden (Intermittent Failures Robot) |
Comment 10•3 years ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•