Closed
Bug 1682293
Opened 4 years ago
Closed 4 years ago
Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py TestExecuteContent.test_return_web_element | UnknownException: TypeError: URL constructor: null is not a valid URL.
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Testing
Marionette Client and Harness
Tracking
(firefox88 fixed)
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: whimboo)
References
Details
(Keywords: intermittent-failure)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=324445484&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Toow_eR8RW-bC_1_M9l9Dg/runs/0/artifacts/public/logs/live_backing.log
[task 2020-12-14T13:14:28.562Z] 13:14:28 ERROR - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py TestExecuteContent.test_return_web_element | UnknownException: TypeError: URL constructor: null is not a valid URL.
[task 2020-12-14T13:14:28.562Z] 13:14:28 INFO - stacktrace:
[task 2020-12-14T13:14:28.563Z] 13:14:28 INFO - GeckoDriver.prototype._getCurrentURL@chrome://marionette/content/driver.js:330:12
[task 2020-12-14T13:14:28.563Z] 13:14:28 INFO - Traceback (most recent call last):
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - File "C:\Users\task_1607947038\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 214, in run
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - testMethod()
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - File "C:\Users\task_1607947038\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_execute_script.py", line 198, in test_return_web_element
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - self.marionette.navigate(elements)
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - File "C:\Users\task_1607947038\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1510, in navigate
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - self._send_message("WebDriver:Navigate", {"url": url})
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - File "C:\Users\task_1607947038\build\venv\lib\site-packages\marionette_driver\decorators.py", line 27, in _
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - return func(*args, **kwargs)
[task 2020-12-14T13:14:28.564Z] 13:14:28 INFO - File "C:\Users\task_1607947038\build\venv\lib\site-packages\marionette_driver\marionette.py", line 625, in _send_message
[task 2020-12-14T13:14:28.565Z] 13:14:28 INFO - self._handle_error(err)
[task 2020-12-14T13:14:28.565Z] 13:14:28 INFO - File "C:\Users\task_1607947038\build\venv\lib\site-packages\marionette_driver\marionette.py", line 647, in _handle_error
[task 2020-12-14T13:14:28.565Z] 13:14:28 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2020-12-14T13:14:28.565Z] 13:14:28 INFO - TEST-INFO took 114ms```
Assignee | ||
Comment 1•4 years ago
|
||
Related failure comes from _getCurrentURL
:
[task 2020-12-14T13:14:28.476Z] 13:14:28 INFO - Marionette threw an error: TypeError: URL constructor: null is not a valid URL.
[task 2020-12-14T13:14:28.476Z] 13:14:28 INFO - GeckoDriver.prototype._getCurrentURL@chrome://marionette/content/driver.js:330:12
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 5•4 years ago
|
||
This failure will go away once bug 1664881 has been fixed.
Depends on: 1664881
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 7•4 years ago
|
||
1685454 should have helped here, but as it looks like it didn't. Lets observe the failures for a couple of days.
Maybe in some cases for the first navigation the call to _getCurrentUrl()
returns null
instead of about:blank
.
Depends on: 1685454
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 16•4 years ago
|
||
This failure should actually be fixed by bug 1664881. Lets re-check on Monday.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 18•4 years ago
|
||
Indeed, there are no more failures since last Thursday, March 11th.
Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Updated•2 years ago
|
Product: Testing → Remote Protocol
Comment 19•2 years ago
|
||
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in
before you can comment on or make changes to this bug.
Description
•