Open
Bug 1900743
Opened 8 months ago
Updated 8 months ago
"mach raptor --browsertime" fails with "ModuleNotFoundError: No module named 'condprof'" if initial setup of virtual env failed
Categories
(Testing :: Raptor, defect, P3)
Testing
Raptor
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
Details
(Whiteboard: [fxp])
I noticed this locally when trying to check the bump of arsenic over on bug 1823907. Because of dependency issues between arsenic 21.8 and structlog 24.2.0 I can produce a failure during the installation process of Python packages. Running the same command again triggers the following error:
06:35:02 ERROR - Traceback (most recent call last):
06:35:03 INFO - File "/Users/henrik/code/gecko/testing/raptor/raptor/raptor.py", line 23, in <module>
06:35:03 INFO - from browsertime import BrowsertimeAndroid, BrowsertimeDesktop
06:35:03 INFO - File "/Users/henrik/code/gecko/testing/raptor/raptor/browsertime/__init__.py", line 6, in <module>
06:35:03 INFO - from .android import BrowsertimeAndroid
06:35:03 INFO - File "/Users/henrik/code/gecko/testing/raptor/raptor/browsertime/android.py", line 16, in <module>
06:35:03 INFO - from perftest import PerftestAndroid
06:35:03 INFO - File "/Users/henrik/code/gecko/testing/raptor/raptor/perftest.py", line 42, in <module>
06:35:03 INFO - from condprof.client import ProfileNotFoundError, get_profile
06:35:03 INFO - ModuleNotFoundError: No module named 'condprof'
06:35:03 INFO - Return code: 1
06:35:03 WARNING - setting return code to 1
The simplest workaround for now is to remove the folder testing/raptor-venv/
from within the obj directory.
Comment 1•8 months ago
|
||
You can also use the --clean
flag to remove the venv directory automatically when you do a test run.
Whiteboard: [fxp]
Updated•8 months ago
|
Updated•8 months ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•