Closed Bug 1879993 Opened 11 months ago Closed 11 months ago

TEST-UNEXPECTED-ERROR | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_touch_pointer_properties - teardown error: OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

Categories

(Testing :: web-platform-tests, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1879556

People

(Reporter: jmaher, Assigned: jmaher)

Details

Attachments

(1 obsolete file)

running python3.11 on windows, we end up with a failure:

[task 2024-02-13T02:01:24.285Z] 02:01:24     INFO - PID 8812 | 1707789684230	Marionette	DEBUG	0 -> [0,261,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2024-02-13T02:01:24.285Z] 02:01:24     INFO - PID 8812 | 1707789684230	Marionette	DEBUG	0 <- [1,261,null,{"value":null}]
[task 2024-02-13T02:01:24.286Z] 02:01:24     INFO - PID 8812 | 1707789684231	webdriver::server	DEBUG	<- 200 OK {"value":null}
[task 2024-02-13T02:01:24.287Z] 02:01:24     INFO - PID 8812 | 1707789684231	webdriver::server	DEBUG	-> POST /session/5685afba-4d08-48fa-a572-31b013a757f0/timeouts {"script": 30000}
[task 2024-02-13T02:01:24.288Z] 02:01:24     INFO - PID 8812 | 1707789684232	Marionette	DEBUG	0 -> [0,262,"WebDriver:SetTimeouts",{"script":30000}]
[task 2024-02-13T02:01:24.288Z] 02:01:24     INFO - PID 8812 | 1707789684232	Marionette	DEBUG	0 <- [1,262,null,{"value":null}]
[task 2024-02-13T02:01:24.289Z] 02:01:24     INFO - PID 8812 | 1707789684232	webdriver::server	DEBUG	<- 200 OK {"value":null}
[task 2024-02-13T02:01:24.289Z] 02:01:24     INFO - PID 8812 | 1707789684233	webdriver::server	DEBUG	-> GET /session/5685afba-4d08-48fa-a572-31b013a757f0/window
[task 2024-02-13T02:01:24.290Z] 02:01:24     INFO - PID 8812 | 1707789684233	Marionette	DEBUG	0 -> [0,263,"WebDriver:GetWindowHandle",{}]
[task 2024-02-13T02:01:24.291Z] 02:01:24     INFO - PID 8812 | 1707789684233	Marionette	DEBUG	0 <- [1,263,null,{"value":"b092adea-9400-48fd-b414-ded106f99701"}]
[task 2024-02-13T02:01:24.291Z] 02:01:24     INFO - PID 8812 | 1707789684233	webdriver::server	DEBUG	<- 200 OK {"value":"b092adea-9400-48fd-b414-ded106f99701"}
[task 2024-02-13T02:01:24.292Z] 02:01:24     INFO - PID 8812 | 1707789684234	webdriver::server	DEBUG	-> GET /session/5685afba-4d08-48fa-a572-31b013a757f0/window
[task 2024-02-13T02:01:24.293Z] 02:01:24     INFO - PID 8812 | 1707789684234	Marionette	DEBUG	0 -> [0,264,"WebDriver:GetWindowHandle",{}]
[task 2024-02-13T02:01:24.293Z] 02:01:24     INFO - PID 8812 | 1707789684235	Marionette	DEBUG	0 <- [1,264,null,{"value":"b092adea-9400-48fd-b414-ded106f99701"}]
[task 2024-02-13T02:01:24.294Z] 02:01:24     INFO - PID 8812 | 1707789684235	webdriver::server	DEBUG	<- 200 OK {"value":"b092adea-9400-48fd-b414-ded106f99701"}
[task 2024-02-13T02:01:24.295Z] 02:01:24     INFO - PID 8812 | 1707789684236	webdriver::server	DEBUG	-> GET /session/5685afba-4d08-48fa-a572-31b013a757f0/window/handles
[task 2024-02-13T02:01:24.295Z] 02:01:24     INFO - PID 8812 | 1707789684236	Marionette	DEBUG	0 -> [0,265,"WebDriver:GetWindowHandles",{}]
[task 2024-02-13T02:01:24.296Z] 02:01:24     INFO - PID 8812 | 1707789684236	Marionette	DEBUG	0 <- [1,265,null,["b092adea-9400-48fd-b414-ded106f99701"]]
[task 2024-02-13T02:01:24.297Z] 02:01:24     INFO - PID 8812 | 1707789684236	webdriver::server	DEBUG	<- 200 OK {"value":["b092adea-9400-48fd-b414-ded106f99701"]}
[task 2024-02-13T02:01:24.297Z] 02:01:24     INFO - PID 8812 | 1707789684237	webdriver::server	DEBUG	-> POST /session/5685afba-4d08-48fa-a572-31b013a757f0/window {"handle": "b092adea-9400-48fd-b414-ded106f99701"}
[task 2024-02-13T02:01:24.298Z] 02:01:24     INFO - PID 8812 | 1707789684237	Marionette	DEBUG	0 -> [0,266,"WebDriver:SwitchToWindow",{"handle":"b092adea-9400-48fd-b414-ded106f99701"}]
[task 2024-02-13T02:01:24.298Z] 02:01:24     INFO - PID 8812 | 1707789684238	Marionette	DEBUG	0 <- [1,266,null,{"value":null}]
[task 2024-02-13T02:01:24.299Z] 02:01:24     INFO - PID 8812 | 1707789684238	webdriver::server	DEBUG	<- 200 OK {"value":null}
[task 2024-02-13T02:01:24.300Z] 02:01:24     INFO - PID 8812 | 1707789684239	webdriver::server	DEBUG	-> POST /session/5685afba-4d08-48fa-a572-31b013a757f0/alert/dismiss {}
[task 2024-02-13T02:01:24.300Z] 02:01:24     INFO - PID 8812 | 1707789684239	Marionette	DEBUG	0 -> [0,267,"WebDriver:DismissAlert",{}]
[task 2024-02-13T02:01:24.301Z] 02:01:24     INFO - PID 8812 | 1707789684239	Marionette	DEBUG	0 <- [1,267,{"error":"no such alert","message":"","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Er ... ote/content/marionette/server.sys.mjs:263:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20\n"},null]
[task 2024-02-13T02:01:24.302Z] 02:01:24     INFO - PID 8812 | 1707789684239	webdriver::server	DEBUG	<- 404 Not Found {"value":{"error":"no such alert","message":"","stacktrace":"RemoteError@chrome://remote/content/shared/Remo ... ontent/marionette/server.sys.mjs:263:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20\n"}}
[task 2024-02-13T02:01:24.303Z] 02:01:24     INFO - PID 8812 | 1707789684240	webdriver::server	DEBUG	-> POST /session/5685afba-4d08-48fa-a572-31b013a757f0/window {"handle": "b092adea-9400-48fd-b414-ded106f99701"}
[task 2024-02-13T02:01:24.304Z] 02:01:24     INFO - PID 8812 | 1707789684241	Marionette	DEBUG	0 -> [0,268,"WebDriver:SwitchToWindow",{"handle":"b092adea-9400-48fd-b414-ded106f99701"}]
[task 2024-02-13T02:01:24.304Z] 02:01:24     INFO - PID 8812 | 1707789684241	Marionette	DEBUG	0 <- [1,268,null,{"value":null}]
[task 2024-02-13T02:01:24.305Z] 02:01:24     INFO - PID 8812 | 1707789684241	webdriver::server	DEBUG	<- 200 OK {"value":null}
[task 2024-02-13T02:01:24.306Z] 02:01:24     INFO - PID 8812 | 1707789684242	webdriver::server	DEBUG	-> GET /session/5685afba-4d08-48fa-a572-31b013a757f0/window
[task 2024-02-13T02:01:24.306Z] 02:01:24     INFO - PID 8812 | 1707789684242	Marionette	DEBUG	0 -> [0,269,"WebDriver:GetWindowHandle",{}]
[task 2024-02-13T02:01:24.307Z] 02:01:24     INFO - PID 8812 | 1707789684242	Marionette	DEBUG	0 <- [1,269,null,{"value":"b092adea-9400-48fd-b414-ded106f99701"}]
[task 2024-02-13T02:01:24.308Z] 02:01:24     INFO - PID 8812 | 1707789684242	webdriver::server	DEBUG	<- 200 OK {"value":"b092adea-9400-48fd-b414-ded106f99701"}
[task 2024-02-13T02:01:24.308Z] 02:01:24     INFO - PID 8812 | 1707789684245	webdriver::server	DEBUG	-> GET /session/5685afba-4d08-48fa-a572-31b013a757f0/window/handles
[task 2024-02-13T02:01:24.308Z] 02:01:24     INFO - PID 8812 | 1707789684245	Marionette	DEBUG	0 -> [0,270,"WebDriver:GetWindowHandles",{}]
[task 2024-02-13T02:01:24.309Z] 02:01:24     INFO - PID 8812 | 1707789684245	Marionette	DEBUG	0 <- [1,270,null,["b092adea-9400-48fd-b414-ded106f99701"]]
[task 2024-02-13T02:01:24.310Z] 02:01:24     INFO - PID 8812 | 1707789684246	webdriver::server	DEBUG	<- 200 OK {"value":["b092adea-9400-48fd-b414-ded106f99701"]}
[task 2024-02-13T02:01:24.311Z] 02:01:24     INFO - PID 8812 | 1707789684249	webdriver::server	DEBUG	-> POST /session/5685afba-4d08-48fa-a572-31b013a757f0/window {"handle": "b092adea-9400-48fd-b414-ded106f99701"}
[task 2024-02-13T02:01:24.312Z] 02:01:24     INFO - PID 8812 | 1707789684251	Marionette	DEBUG	0 -> [0,271,"WebDriver:SwitchToWindow",{"handle":"b092adea-9400-48fd-b414-ded106f99701"}]
[task 2024-02-13T02:01:24.312Z] 02:01:24     INFO - PID 8812 | 1707789684252	Marionette	DEBUG	0 <- [1,271,null,{"value":null}]
[task 2024-02-13T02:01:24.312Z] 02:01:24     INFO - PID 8812 | 1707789684252	webdriver::server	DEBUG	<- 200 OK {"value":null}
[task 2024-02-13T02:01:24.313Z] 02:01:24     INFO - PID 8812 | 1707789684256	webdriver::server	DEBUG	-> POST /session/5685afba-4d08-48fa-a572-31b013a757f0/window/rect {"width": 800, "height": 600}
[task 2024-02-13T02:01:24.314Z] 02:01:24     INFO - PID 8812 | 1707789684256	Marionette	DEBUG	0 -> [0,272,"WebDriver:SetWindowRect",{"height":600,"width":800}]
[task 2024-02-13T02:01:24.315Z] 02:01:24     INFO - PID 8812 | 1707789684257	Marionette	TRACE	Requested window geometry matches
[task 2024-02-13T02:01:24.315Z] 02:01:24     INFO - PID 8812 | 1707789684257	Marionette	DEBUG	0 <- [1,272,null,{"x":100,"y":100,"width":800,"height":600}]
[task 2024-02-13T02:01:24.316Z] 02:01:24     INFO - PID 8812 | 1707789684257	webdriver::server	DEBUG	<- 200 OK {"value":{"x":100,"y":100,"width":800,"height":600}}
[task 2024-02-13T02:01:24.526Z] 02:01:24     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/classic/perform_actions/pointer_touch.py::test_touch_pointer_properties 
[task 2024-02-13T02:01:24.527Z] 02:01:24     INFO - STDOUT: ERROR
[task 2024-02-13T02:01:24.528Z] 02:01:24     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/classic/perform_actions/pointer_touch.py::test_touch_pointer_properties_angle_twist 
[task 2024-02-13T02:01:24.713Z] 02:01:24     INFO - STDOUT: ERROR
[task 2024-02-13T02:01:24.714Z] 02:01:24     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/classic/perform_actions/pointer_touch.py::test_touch_pointer_properties_tilt_twist 
[task 2024-02-13T02:01:24.723Z] 02:01:24     INFO - PID 8812 | 1707789684722	webdriver::server	DEBUG	-> GET /session/5685afba-4d08-48fa-a572-31b013a757f0/window/rect
[task 2024-02-13T02:01:24.723Z] 02:01:24     INFO - PID 8812 | 1707789684722	Marionette	DEBUG	0 -> [0,273,"WebDriver:GetWindowRect",{}]
[task 2024-02-13T02:01:24.724Z] 02:01:24     INFO - PID 8812 | 1707789684722	Marionette	DEBUG	0 <- [1,273,null,{"x":100,"y":100,"width":800,"height":600}]
[task 2024-02-13T02:01:24.724Z] 02:01:24     INFO - PID 8812 | 1707789684722	webdriver::server	DEBUG	<- 200 OK {"value":{"x":100,"y":100,"width":800,"height":600}}
[task 2024-02-13T02:01:24.938Z] 02:01:24     INFO - STDOUT: ERROR
[task 2024-02-13T02:01:24.954Z] 02:01:24     INFO - STDOUT: =================================== ERRORS ====================================
[task 2024-02-13T02:01:24.955Z] 02:01:24     INFO - STDOUT: _____________ ERROR at teardown of test_touch_pointer_properties ______________
[task 2024-02-13T02:01:24.955Z] 02:01:24     INFO - STDOUT:     def finalizer() -> None:
[task 2024-02-13T02:01:24.956Z] 02:01:24     INFO - STDOUT:         """Yield again, to finalize."""
[task 2024-02-13T02:01:24.957Z] 02:01:24     INFO - STDOUT:     
[task 2024-02-13T02:01:24.957Z] 02:01:24     INFO - STDOUT:         async def async_finalizer() -> None:
[task 2024-02-13T02:01:25.028Z] 02:01:25     INFO - 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_null_response_value 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_no_top_browsing_context 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_no_browsing_context 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_stale_element_reference[top_context] 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_stale_element_reference[child_context] 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_touch_pointer_in_shadow_tree[outer-open] 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_touch_pointer_in_shadow_tree[outer-closed] 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_touch_pointer_in_shadow_tree[inner-open] 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-PASS | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_touch_pointer_in_shadow_tree[inner-closed] 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/classic/perform_actions/pointer_touch.py | test_touch_pointer_properties - teardown error: OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - def finalizer() -> None:
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -         """Yield again, to finalize."""
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -     
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -         async def async_finalizer() -> None:
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -             try:
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -                 await gen_obj.__anext__()
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -             except StopAsyncIteration:
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -                 pass
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -             else:
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -                 msg = "Async generator fixture didn't stop."
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -                 msg += "Yield only once."
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -                 raise ValueError(msg)
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO -     
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - >       event_loop.run_until_complete(async_finalizer())
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - 
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - async_finalizer = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer.<locals>.async_finalizer at 0x00000247C1CCFC40>
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - event_loop = <ProactorEventLoop running=False closed=True debug=False>
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - gen_obj    = <async_generator object session at 0x00000247C1CDF880>
[task 2024-02-13T02:01:25.029Z] 02:01:25     INFO - 
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO - tests\web-platform\tests\tools\third_party\pytest-asyncio\pytest_asyncio\plugin.py:291: 
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO - c:\mozilla-build\python3\Lib\asyncio\base_events.py:653: in run_until_complete
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO -     return future.result()
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO -         future     = <Task finished name='Task-1288' coro=<_wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer.<locals>.async_finalizer() done, defined at Z:\task_170778262014097\build\tests\web-platform\tests\tools\third_party\pytest-asyncio\pytest_asyncio\plugin.py:281> exception=OSError(10048, 'Only one usage of each socket address (protocol/network address/port) is normally permitted', None, 10048, None)>
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO -         new_task   = True
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO -         self       = <ProactorEventLoop running=False closed=True debug=False>
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO - tests\web-platform\tests\tools\third_party\pytest-asyncio\pytest_asyncio\plugin.py:283: in async_finalizer
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO -     await gen_obj.__anext__()
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO -         gen_obj    = <async_generator object session at 0x00000247C1CDF880>
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO - tests\web-platform\tests\webdriver\tests\support\fixtures.py:192: in session
[task 2024-02-13T02:01:25.030Z] 02:01:25     INFO -     cleanup_session(_current_session)

the good news is bug 1855056 will be resolved, I wonder if this bug is what comes next after fixing that bug.

there will be a deployment this week of the new windows image with python 3.11, so I wanted to get ahead of the game so we didn't have a perma fail and something that we could uplift as needed.

here is how I ran the test on try:

./mach try fuzzy --no-artifact --worker-override="win11-64-2009=gecko-t/win11-64-2009-alpha" -q 'test-windows11-64 wdspec headless !debug'

Assignee: nobody → jmaher
Status: NEW → ASSIGNED

This is a duplicate of bug 1879556.

Joel, would you mind moving the patch over there?

Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1879556
Resolution: --- → DUPLICATE

Comment on attachment 9379965 [details]
Bug 1879993 - disable webdriver/tests/classic/perform_actions/pointer_touch.py on win/opt. r=whimboo

Revision D201725 was moved to bug 1879556. Setting attachment 9379965 [details] to obsolete.

Attachment #9379965 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: