Snap supplied an incompatible version of geckodriver with Firefox 122
Categories
(Firefox Build System :: Third Party Packaging, enhancement)
Tracking
(Not tracked)
People
(Reporter: g.furnstahl, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
Steps to reproduce:
Installed Firefox 122 via snap and tried to use it with selenium
Actual results:
Got an error complaining about geckodriver version, the incompatibility is supported by this table:
https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html
Expected results:
Snap should supply 0.34 geckodriver with Firefox 122
Comment 1•4 months ago
|
||
Hello! Thank you for submitting this issue, this looks more like an enhancement, I will mark it as NEW and set the component for it in order to get our developers involved and provide a solution for this issue on further releases.
If it's not the right component please feel free to change it to an appropriate one.
Have a nice day!
Comment 2•4 months ago
|
||
We have selenium tests ran on CI: https://treeherder.mozilla.org/jobs?repo=mozilla-central&searchStr=snap-upstream&revision=150dd33322ea6d34c4829f8e67efe7e37be8c48e&selectedTaskRun=P3YasQ-cSE6O7H1E8Apgtg.0 this was release 122, and geckodriver does not complain?
Can you share your STR?
[task 2024-01-25T02:23:02.951Z] + python3 -m pip install --user -r requirements.txt
[task 2024-01-25T02:23:08.481Z] Collecting attrs==23.1.0
[task 2024-01-25T02:23:08.689Z] Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
[task 2024-01-25T02:23:08.752Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 879.4 kB/s eta 0:00:00
[task 2024-01-25T02:23:08.813Z] Collecting certifi==2023.7.22
[task 2024-01-25T02:23:08.857Z] Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
[task 2024-01-25T02:23:08.914Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 KB 2.9 MB/s eta 0:00:00
[task 2024-01-25T02:23:08.959Z] Collecting exceptiongroup==1.1.3
[task 2024-01-25T02:23:09.002Z] Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
[task 2024-01-25T02:23:09.051Z] Collecting h11==0.14.0
[task 2024-01-25T02:23:09.098Z] Downloading h11-0.14.0-py3-none-any.whl (58 kB)
[task 2024-01-25T02:23:09.115Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 KB 4.0 MB/s eta 0:00:00
[task 2024-01-25T02:23:09.163Z] Collecting idna==3.4
[task 2024-01-25T02:23:09.209Z] Downloading idna-3.4-py3-none-any.whl (61 kB)
[task 2024-01-25T02:23:09.227Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 3.9 MB/s eta 0:00:00
[task 2024-01-25T02:23:09.270Z] Collecting outcome==1.2.0
[task 2024-01-25T02:23:09.314Z] Downloading outcome-1.2.0-py2.py3-none-any.whl (9.7 kB)
[task 2024-01-25T02:23:09.363Z] Collecting PySocks==1.7.1
[task 2024-01-25T02:23:09.407Z] Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
[task 2024-01-25T02:23:09.514Z] Collecting PyYAML==6.0.1
[task 2024-01-25T02:23:09.559Z] Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
[task 2024-01-25T02:23:09.684Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 KB 5.8 MB/s eta 0:00:00
[task 2024-01-25T02:23:09.766Z] Collecting selenium==4.12.0
[task 2024-01-25T02:23:09.811Z] Downloading selenium-4.12.0-py3-none-any.whl (9.4 MB)
[task 2024-01-25T02:23:10.179Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.4/9.4 MB 25.7 MB/s eta 0:00:00
[task 2024-01-25T02:23:10.245Z] Collecting sniffio==1.3.0
[task 2024-01-25T02:23:10.288Z] Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
[task 2024-01-25T02:23:10.354Z] Collecting sortedcontainers==2.4.0
[task 2024-01-25T02:23:10.398Z] Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
[task 2024-01-25T02:23:10.455Z] Collecting trio==0.22.2
[task 2024-01-25T02:23:10.502Z] Downloading trio-0.22.2-py3-none-any.whl (400 kB)
[task 2024-01-25T02:23:10.522Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 400.2/400.2 KB 26.5 MB/s eta 0:00:00
[task 2024-01-25T02:23:10.567Z] Collecting trio-websocket==0.10.4
[task 2024-01-25T02:23:10.611Z] Downloading trio_websocket-0.10.4-py3-none-any.whl (17 kB)
[task 2024-01-25T02:23:10.700Z] Collecting urllib3==2.0.5
[task 2024-01-25T02:23:10.745Z] Downloading urllib3-2.0.5-py3-none-any.whl (123 kB)
[task 2024-01-25T02:23:10.763Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 KB 9.1 MB/s eta 0:00:00
[task 2024-01-25T02:23:10.803Z] Collecting wsproto==1.2.0
[task 2024-01-25T02:23:10.846Z] Downloading wsproto-1.2.0-py3-none-any.whl (24 kB)
[task 2024-01-25T02:23:10.911Z] Requirement already satisfied: urllib3[socks]<3,>=1.26 in /usr/lib/python3/dist-packages (from selenium==4.12.0->-r requirements.txt (line 9)) (1.26.5)
[task 2024-01-25T02:23:10.982Z] Collecting urllib3[socks]<3,>=1.26
[task 2024-01-25T02:23:11.027Z] Downloading urllib3-2.1.0-py3-none-any.whl (104 kB)
[task 2024-01-25T02:23:11.045Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 KB 7.8 MB/s eta 0:00:00
[task 2024-01-25T02:23:11.104Z] Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
[task 2024-01-25T02:23:11.127Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 KB 6.4 MB/s eta 0:00:00
[task 2024-01-25T02:23:11.191Z] Downloading urllib3-2.0.6-py3-none-any.whl (123 kB)
[task 2024-01-25T02:23:11.210Z] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 KB 9.0 MB/s eta 0:00:00
[task 2024-01-25T02:23:11.863Z] Installing collected packages: sortedcontainers, urllib3, sniffio, PyYAML, PySocks, idna, h11, exceptiongroup, certifi, attrs, wsproto, outcome, trio, trio-websocket, selenium
[task 2024-01-25T02:23:13.986Z] Successfully installed PySocks-1.7.1 PyYAML-6.0.1 attrs-23.1.0 certifi-2023.7.22 exceptiongroup-1.1.3 h11-0.14.0 idna-3.4 outcome-1.2.0 selenium-4.12.0 sniffio-1.3.0 sortedcontainers-2.4.0 trio-0.22.2 trio-websocket-0.10.4 urllib3-2.0.5 wsproto-1.2.0
[task 2024-01-25T02:23:14.103Z] + sed -e s/#RUNTIME_VERSION#/122.0/#
[task 2024-01-25T02:23:14.109Z] + python3 basic_tests.py expectations.json
[task 2024-01-25T02:23:14.326Z] /home/ubuntu/tasks/task_170614619326962/fetches/basic_tests.py:32: DeprecationWarning: Firefox will soon stop logging to geckodriver.log by default; Specify desired logs with log_output
[task 2024-01-25T02:23:14.326Z] driver_service = Service(
[task 2024-01-25T02:23:53.296Z] Running: test_about_buildconfig
[task 2024-01-25T02:23:53.296Z] about:buildconfig source: https://hg.mozilla.org/releases/mozilla-release/rev/4a223e3aab98f1c3ab862c6f08c3ffd1b3fabe8b
[task 2024-01-25T02:23:53.296Z] about:support distribution ID: MOZILLA_OFFICIAL=1 --enable-update-channel=release MOZBUILD_STATE_PATH=/builds/worker/firefox-snap/parts/firefox/build/.mozbuild --disable-tests MOZ_PGO=1 --enable-linker=lld --enable-rust-simd --with-mozilla-api-keyfile=/builds/worker/firefox-snap/stage/mozilla-desktop-geoloc-api.key --with-google-location-service-api-keyfile=/builds/worker/firefox-snap/stage/gls-gapi.data --with-google-safebrowsing-api-keyfile=/builds/worker/firefox-snap/stage/sb-gapi.data --enable-geckodriver WASI_SYSROOT=/builds/worker/firefox-snap/stage/wasi-sysroot --disable-updater --enable-official-branding --prefix=/builds/worker/firefox-snap/parts/firefox/install/usr
[task 2024-01-25T02:23:53.296Z] Running: test_about_support
[task 2024-01-25T02:23:53.296Z] about:support version: 122.0
[task 2024-01-25T02:23:53.296Z] about:support distribution ID: canonical-002
[task 2024-01-25T02:23:53.296Z] Running: test_youtube
[task 2024-01-25T02:23:53.296Z] Wait for consent form
[task 2024-01-25T02:23:53.296Z] Wait for consent form: timed out, maybe it is not here
[task 2024-01-25T02:23:53.296Z] Wait for one video
[task 2024-01-25T02:23:53.296Z] Wait for video to start
[task 2024-01-25T02:23:53.296Z] video duration: 1830.001
[task 2024-01-25T02:23:53.296Z] video played: 2.213812
[task 2024-01-25T02:23:53.319Z] + cp ./screenshot_final.png ./screenshot_test_about_buildconfig_post.png ./screenshot_test_about_buildconfig_pre.png ./screenshot_test_about_support_post.png ./screenshot_test_about_support_pre.png ./screenshot_test_youtube_post.png ./screenshot_test_youtube_pre.png /home/ubuntu/tasks/task_170614619326962/builds/worker/artifacts//
Updated•4 months ago
|
Comment 3•4 months ago
|
||
Comment 4•4 months ago
|
||
The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.
Comment 5•4 months ago
|
||
You might want to verify also (with current 123.0.1)
$ /snap/firefox/current/usr/lib/firefox/geckodriver --version
geckodriver 0.34.0 ( 2024-03-04)
Description
•