12
edits
No edit summary |
(Added debug information for talos setup ImportError) |
||
Line 14: | Line 14: | ||
./mach talos-test --activeTests tart | ./mach talos-test --activeTests tart | ||
'''Known Issues''' | |||
In some cases, the Talos setup may not finish properly, throwing ''Import Error: No module named'' for packages such as ''wptserve'' and ''simplejson''. This is known to affect MacOS users: [https://bugzilla.mozilla.org/show_bug.cgi?id=1667189 Bug 1667189 - Talos test refuses to run because of missing python packages] | |||
If you encounter this error, running the following command should resolve it: | |||
brew link python3 | |||
Otherwise, you can manually activate Talos's virtual environment (found in your ''obj'' directory, which differs based on your machine architecture and OS, i.e. ''obj-x86_64-apple-darwin19.6.0'') and install the missing packages: | |||
source mozilla-central/obj-[your directory suffix]/testing/talos-venv/bin/activate | |||
pip install wptserve simplejson | |||
Certain Talos suites/tests require external pagesets to be downloaded. If pagesets are required, they will be downloaded and extracted automatically when running Talos via mach. To disable this automatic pageset downloading, add the 'no-download' argument: | Certain Talos suites/tests require external pagesets to be downloaded. If pagesets are required, they will be downloaded and extracted automatically when running Talos via mach. To disable this automatic pageset downloading, add the 'no-download' argument: |
edits