Closed Bug 1962824 Opened 19 days ago Closed 8 days ago

Perma sel-nightly selenium.common.exceptions.TimeoutException: Message:

Categories

(Firefox Build System :: Third Party Packaging, defect, P5)

defect

Tracking

(firefox-esr128 unaffected, firefox138 unaffected, firefox139 disabled, firefox140 fixed)

RESOLVED FIXED
140 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox138 --- unaffected
firefox139 --- disabled
firefox140 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: gerard-majax)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(2 files)

Filed by: agoloman [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=505551946&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YhqZJDqaQg6CwmA8yFOfGw/runs/0/artifacts/public/logs/live_backing.log


[task 2025-04-26T00:50:05.663Z] Traceback (most recent call last):
[task 2025-04-26T00:50:05.663Z]   File "/task_174562820661392/fetches/basic_tests.py", line 148, in __init__
[task 2025-04-26T00:50:05.663Z]     rv = getattr(self, m)(expectations)
[task 2025-04-26T00:50:05.663Z]   File "/task_174562820661392/fetches/qa_tests.py", line 192, in test_h264_mov
[task 2025-04-26T00:50:05.663Z]     self._test_audio_video_playback(
[task 2025-04-26T00:50:05.663Z]   File "/task_174562820661392/fetches/qa_tests.py", line 153, in _test_audio_video_playback
[task 2025-04-26T00:50:05.663Z]     self._test_audio_playback(
[task 2025-04-26T00:50:05.663Z]   File "/task_174562820661392/fetches/qa_tests.py", line 61, in _test_audio_playback
[task 2025-04-26T00:50:05.663Z]     self._wait.until(lambda d: type(video.get_property("duration")) is float)
[task 2025-04-26T00:50:05.663Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 95, in until
[task 2025-04-26T00:50:05.663Z]     raise TimeoutException(message, screen, stacktrace)
[task 2025-04-26T00:50:05.664Z] selenium.common.exceptions.TimeoutException: Message: 
[task 2025-04-26T00:50:05.664Z] 
[task 2025-04-26T00:50:05.664Z] 
[task 2025-04-26T00:50:05.664Z] During handling of the above exception, another exception occurred:
[task 2025-04-26T00:50:05.664Z] 
[task 2025-04-26T00:50:05.664Z] Traceback (most recent call last):
[task 2025-04-26T00:50:05.664Z]   File "/task_174562820661392/fetches/basic_tests.py", line 168, in __init__
[task 2025-04-26T00:50:05.664Z]     self.save_screenshot(
[task 2025-04-26T00:50:05.664Z]   File "/task_174562820661392/fetches/basic_tests.py", line 217, in save_screenshot
[task 2025-04-26T00:50:05.664Z]     self._driver.save_screenshot(final_name)
[task 2025-04-26T00:50:05.664Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 825, in save_screenshot
[task 2025-04-26T00:50:05.664Z]     return self.get_screenshot_as_file(filename)
[task 2025-04-26T00:50:05.664Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 801, in get_screenshot_as_file
[task 2025-04-26T00:50:05.665Z]     png = self.get_screenshot_as_png()
[task 2025-04-26T00:50:05.665Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 835, in get_screenshot_as_png
[task 2025-04-26T00:50:05.665Z]     return b64decode(self.get_screenshot_as_base64().encode("ascii"))
[task 2025-04-26T00:50:05.665Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 846, in get_screenshot_as_base64
[task 2025-04-26T00:50:05.665Z]     return self.execute(Command.SCREENSHOT)["value"]
[task 2025-04-26T00:50:05.665Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 344, in execute
[task 2025-04-26T00:50:05.665Z]     self.error_handler.check_response(response)
[task 2025-04-26T00:50:05.665Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
[task 2025-04-26T00:50:05.665Z]     raise exception_class(message, screen, stacktrace)
[task 2025-04-26T00:50:05.665Z] selenium.common.exceptions.WebDriverException: Message: SecurityError: Permission denied to access property "pageXOffset" on cross-origin object
[task 2025-04-26T00:50:05.665Z] Stacktrace:
[task 2025-04-26T00:50:05.665Z] @undefined:0:0
[task 2025-04-26T00:50:05.665Z] 
[task 2025-04-26T00:50:05.665Z] 
[task 2025-04-26T00:50:05.665Z] During handling of the above exception, another exception occurred:
[task 2025-04-26T00:50:05.665Z] 
[task 2025-04-26T00:50:05.665Z] Traceback (most recent call last):
[task 2025-04-26T00:50:05.665Z]   File "/task_174562820661392/fetches/qa_tests.py", line 928, in <module>
[task 2025-04-26T00:50:05.666Z]     QATests()
[task 2025-04-26T00:50:05.666Z]   File "/task_174562820661392/fetches/qa_tests.py", line 25, in __init__
[task 2025-04-26T00:50:05.666Z]     super(QATests, self).__init__(
[task 2025-04-26T00:50:05.666Z]   File "/task_174562820661392/fetches/basic_tests.py", line 188, in __init__
[task 2025-04-26T00:50:05.666Z]     self._driver.switch_to.window(tab)
[task 2025-04-26T00:50:05.666Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/switch_to.py", line 133, in window
[task 2025-04-26T00:50:05.666Z]     self._w3c_window(window_name)
[task 2025-04-26T00:50:05.666Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/switch_to.py", line 141, in _w3c_window
[task 2025-04-26T00:50:05.666Z]     send_handle(window_name)
[task 2025-04-26T00:50:05.666Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/switch_to.py", line 137, in send_handle
[task 2025-04-26T00:50:05.666Z]     self._driver.execute(Command.SWITCH_TO_WINDOW, {"handle": h})
[task 2025-04-26T00:50:05.666Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 344, in execute
[task 2025-04-26T00:50:05.666Z]     self.error_handler.check_response(response)
[task 2025-04-26T00:50:05.666Z]   File "/home/task_174562820661392/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
[task 2025-04-26T00:50:05.667Z]     raise exception_class(message, screen, stacktrace)
[task 2025-04-26T00:50:05.667Z] selenium.common.exceptions.NoSuchWindowException: Message: Unable to locate window: 04037cdc-6eb5-42ee-a444-f38fd0ea0053
[task 2025-04-26T00:50:05.667Z] Stacktrace:
[task 2025-04-26T00:50:05.667Z] RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
[task 2025-04-26T00:50:05.667Z] WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
[task 2025-04-26T00:50:05.667Z] NoSuchWindowError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:747:5
[task 2025-04-26T00:50:05.667Z] GeckoDriver.prototype.switchToWindow@chrome://remote/content/marionette/driver.sys.mjs:1431:11
[task 2025-04-26T00:50:05.667Z] despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
[task 2025-04-26T00:50:05.667Z] execute@chrome://remote/content/marionette/server.sys.mjs:289:16
[task 2025-04-26T00:50:05.667Z] onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
[task 2025-04-26T00:50:05.667Z] onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
[task 2025-04-26T00:50:05.667Z] _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
[task 2025-04-26T00:50:05.667Z] 
[taskcluster 2025-04-26T00:50:05.726Z]    Exit Code: 1
[taskcluster 2025-04-26T00:50:05.726Z]    User Time: 14.041268s
[taskcluster 2025-04-26T00:50:05.726Z]  Kernel Time: 5.320081s
[taskcluster 2025-04-26T00:50:05.726Z]    Wall Time: 5m12.799532495s
[taskcluster 2025-04-26T00:50:05.726Z]       Result: FAILED
[taskcluster 2025-04-26T00:50:05.726Z] === Task Finished ===
[taskcluster 2025-04-26T00:50:05.726Z] Task Duration: 5m12.800819652s
[taskcluster 2025-04-26T00:50:05.824Z] Uploading artifact public/build/reference_rendering_test_custom_fonts_ref_2204.png from file /task_174562820661392/builds/worker/artifacts/reference_rendering_test_custom_fonts_ref_2204.png with content encoding "identity", mime type "image/png" and expiry 2025-07-25T00:05:00.331Z
[taskcluster 2025-04-26T00:50:05.826Z] Uploading artifact public/build/differences_test_custom_fonts_ref_2204.png from file /task_174562820661392/builds/worker/artifacts/differences_test_custom_fonts_ref_2204.png with content encoding "identity", mime type "image/png" and expiry 2025-07-25T00:05:00.331Z
[taskcluster 2025-04-26T00:50:05.828Z] Uploading artifact public/build/current_rendering_test_custom_fonts_ref_2204.png from file /task_174562820661392/builds/worker/artifacts/current_rendering_test_custom_fonts_ref_2204.png with content encoding "identity", mime type "image/png" and expiry 2025-07-25T00:05:00.331Z
[taskcluster 2025-04-26T00:50:06.003Z] Uploading artifact public/build/geckodriver.log from file /task_174562820661392/builds/worker/artifacts/geckodriver.log with content encoding "gzip", mime type "text/plain" and expiry 2025-07-25T00:05:00.331Z
[taskcluster 2025-04-26T00:50:06.248Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-07-25T00:05:00.331Z
[taskcluster:error] exit status 1
Flags: needinfo?(lissyx+mozillians)

Not reproducing locally and nothing obvious in the log. I worry we're getting banned :(

Assignee: nobody → lissyx+mozillians
Flags: needinfo?(lissyx+mozillians)
Duplicate of this bug: 1961562
Pushed by alissy@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f86e96a5ac23 Change h264 video for Snap selenium test r=benchatt
Status: NEW → RESOLVED
Closed: 14 days ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Status: RESOLVED → REOPENED
Flags: needinfo?(lissyx+mozillians)
Resolution: FIXED → ---
Target Milestone: 140 Branch → ---

Can you share failures?

Flags: needinfo?(agoloman)
Flags: needinfo?(lissyx+mozillians)

(In reply to :gerard-majax from comment #7)

Can you share failures?

Here

Flags: needinfo?(agoloman)

i can now reproduce locally but other people dont reproduce, until they updated the snap. Revision 6045 was good, at least 6114 is bad.

from the build:

[task 2025-05-03T00:44:46.389Z] - library: usr/lib/x86_64-linux-gnu/libavcodec.so.60.31.102: missing dependency 'libSvtAv1Enc.so.1'. (provided by 'libsvtav1enc1d1') (https://snapcraft.io/docs/linters-library)
[task 2025-05-03T00:44:46.389Z] - library: usr/lib/x86_64-linux-gnu/libavcodec.so.60.31.102: missing dependency 'libhwy.so.1'. (provided by 'libhwy1t64') (https://snapcraft.io/docs/linters-library)
[task 2025-05-03T00:44:46.389Z] - library: usr/lib/x86_64-linux-gnu/libavcodec.so.60.31.102: missing dependency 'libjxl.so.0.7'. (provided by 'libjxl0.7') (https://snapcraft.io/docs/linters-library)
[task 2025-05-03T00:44:46.389Z] - library: usr/lib/x86_64-linux-gnu/libavcodec.so.60.31.102: missing dependency 'libjxl_threads.so.0.7'. (provided by 'libjxl0.7') (https://snapcraft.io/docs/linters-library)
[task 2025-05-03T00:44:46.389Z] - library: usr/lib/x86_64-linux-gnu/libavcodec.so.60.31.102: missing dependency 'librav1e.so.0'. (provided by 'librav1e0') (https://snapcraft.io/docs/linters-library)

very much looks like bug 1921018

Attached file GitHub Pull Request โ€”

The PR was merged upstream and comment 13 links to a green try with it being used

Blocks: snap
Keywords: regression
Regressed by: 1854654

Set release status flags based on info from the regressing bug 1854654

Status: REOPENED → RESOLVED
Closed: 14 days ago8 days ago
Resolution: --- → FIXED

:gerard-majax does this need an uplift to beta? The corn mentions nightly only but double checking

Flags: needinfo?(lissyx+mozillians)
Target Milestone: --- → 140 Branch

No it a packaging level issue on core24 based builds and only nightly defaults to that, and the regression was triggered by cross compilation changes we only have on nightly branch as well

Flags: needinfo?(lissyx+mozillians)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: