Open Bug 1924655 Opened 18 days ago Updated 4 days ago

`./mach wpt --product=epiphany someTest` fails on Ubuntu 22.04

Categories

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

defect

Tracking

(Not tracked)

People

(Reporter: mbrodesser-Igalia, Unassigned)

Details

Log:

$ which epiphany 
/snap/bin/epiphany
[mirko@mirko-ThinkPad-P1-Gen-5 gecko (1913339_implement_default_policy_support_for_Element_innerHTML_and_insertAdjacentHTML)]$ ./mach wpt --debug-test --product=epiphany testing/web-platform/tests/content-security-policy/navigation/javascript-url-navigation-inherits-csp.html
 0:00.00 INFO Skipping manifest download because existing file is recent
Requirement already satisfied: html5lib==1.1 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 1)) (1.1)
Requirement already satisfied: mozdebug==0.3.1 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 2)) (0.3.1)
Requirement already satisfied: mozinfo==1.2.3 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 3)) (1.2.3)
Requirement already satisfied: mozlog==8.0.0 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 4)) (8.0.0)
Requirement already satisfied: mozprocess==1.3.1 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 5)) (1.3.1)
Collecting packaging==24.0 (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 6))
  Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Requirement already satisfied: pillow==10.3.0 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 7)) (10.3.0)
Collecting requests==2.32.3 (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 8))
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: six==1.16.0 in ./third_party/python/six (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 9)) (1.16.0)
Collecting urllib3==2.2.2 (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 10))
  Using cached urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB)
Requirement already satisfied: aioquic==0.9.21 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from -r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 11)) (0.9.21)
Requirement already satisfied: webencodings in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from html5lib==1.1->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 1)) (0.5.1)
Requirement already satisfied: distro>=1.4.0 in ./third_party/python/distro (from mozinfo==1.2.3->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 3)) (1.8.0)
Requirement already satisfied: mozfile>=0.12 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from mozinfo==1.2.3->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 3)) (3.0.0)
Requirement already satisfied: blessed>=1.19.1 in ./third_party/python/blessed (from mozlog==8.0.0->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 4)) (1.19.1)
Requirement already satisfied: mozterm in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from mozlog==8.0.0->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 4)) (1.0.0)
Requirement already satisfied: charset-normalizer<4,>=2 in ./third_party/python/charset_normalizer (from requests==2.32.3->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 8)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in ./third_party/python/idna (from requests==2.32.3->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 8)) (3.10)
Requirement already satisfied: certifi>=2017.4.17 in ./third_party/python/certifi (from requests==2.32.3->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 8)) (2022.12.7)
Requirement already satisfied: pylsqpack<0.4.0,>=0.3.3 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from aioquic==0.9.21->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 11)) (0.3.18)
Requirement already satisfied: pyopenssl>=22 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from aioquic==0.9.21->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 11)) (24.2.1)
Requirement already satisfied: wcwidth>=0.1.4 in ./third_party/python/wcwidth (from blessed>=1.19.1->mozlog==8.0.0->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 4)) (0.2.13)
Requirement already satisfied: cryptography<44,>=41.0.5 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from pyopenssl>=22->aioquic==0.9.21->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 11)) (43.0.1)
Requirement already satisfied: cffi>=1.12 in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from cryptography<44,>=41.0.5->pyopenssl>=22->aioquic==0.9.21->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 11)) (1.17.1)
Requirement already satisfied: pycparser in /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt/lib/python3.10/site-packages (from cffi>=1.12->cryptography<44,>=41.0.5->pyopenssl>=22->aioquic==0.9.21->-r /home/mirko/work/code/gecko/testing/web-platform/tests/tools/wptrunner/requirements.txt (line 11)) (2.22)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached urllib3-2.2.2-py3-none-any.whl (121 kB)
Installing collected packages: urllib3, packaging, requests
  Attempting uninstall: urllib3
    Found existing installation: urllib3 1.26.17
    Not uninstalling urllib3 at /home/mirko/work/code/gecko/third_party/python/urllib3, outside environment /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt
    Can't uninstall 'urllib3'. No files were found to uninstall.
  Attempting uninstall: packaging
    Found existing installation: packaging 23.1
    Not uninstalling packaging at /home/mirko/work/code/gecko/third_party/python/packaging, outside environment /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt
    Can't uninstall 'packaging'. No files were found to uninstall.
  Attempting uninstall: requests
    Found existing installation: requests 2.31.0
    Not uninstalling requests at /home/mirko/work/code/gecko/third_party/python/requests, outside environment /home/mirko/.mozbuild/srcdirs/gecko-227ef5088009/_virtualenvs/wpt
    Can't uninstall 'requests'. No files were found to uninstall.
Successfully installed packaging-24.0 requests-2.32.3 urllib3-2.2.2
 0:02.36 INFO Set tests_root to /home/mirko/work/code/gecko/testing/web-platform/tests
 0:02.36 INFO Set metadata_root to /home/mirko/work/code/gecko/testing/web-platform/tests
 0:02.36 INFO Set manifest_download to True
 0:02.36 INFO Valid channels for epiphany not known; using argument unmodified
Unable to find WebKitWebDriver in PATH
[mirko@mirko-ThinkPad-P1-Gen-5 gecko (1913339_implement_default_policy_support_for_Element_innerHTML_and_insertAdjacentHTML)]$

"Unable to find WebKitWebDriver in PATH" is fixable by manually installing WebKitWebDriver: sudo apt install webkit2gtk-driver.
The test itself doesn't pass. The developer console logs "Failed to load resource: the server responded with a status of 404 (Not Found)".

The severity field is not set for this bug.
:jgraham, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(james)

For the record: ./mach wpt --product=webkitgtk_minibrowser is a working alternative when one wants to check WebKit's behavior.

This feels like an issue that should be fixed upstream since it's not really in our code, but I'd review a patch here.

Severity: -- → S3
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.