Open Bug 974078 Opened 11 years ago Updated 2 years ago

test_visualstudio.py failing due to os.path.relpath failure

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: gps, Unassigned)

References

Details

test_visualstudio.py is currently disabled presumably because of a os.path.relpath not working due to folders on separate drives. https://tbpl.mozilla.org/php/getParsedLog.php?id=34860532&tree=Mozilla-Inbound#error6 e:\builds\moz2_slave\m-in-w32_g-0000000000000000000\build\config\rules.mk:153:0: command 'PYTHONDONTWRITEBYTECODE=1 e:/builds/moz2_slave/m-in-w32_g-0000000000000000000/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32_g-0000000000000000000/build/python/mozbuild/mozbuild/test/backend/test_visualstudio.py' failed, return code 1 TEST-UNEXPECTED-FAIL | e:/builds/moz2_slave/m-in-w32_g-0000000000000000000/build/python/mozbuild/mozbuild/test/backend/test_visualstudio.py | line 20, test_basic: path is on drive e:, start on drive c: ERROR: Ensure we can consume our stub project. Traceback (most recent call last): File "e:/builds/moz2_slave/m-in-w32_g-0000000000000000000/build/python/mozbuild/mozbuild/test/backend/test_visualstudio.py", line 20, in test_basic env = self._consume('visual-studio', VisualStudioBackend) File "e:\builds\moz2_slave\m-in-w32_g-0000000000000000000\build\python\mozbuild\mozbuild\test\backend\common.py", line 104, in _consume backend.consume(objs) File "e:\builds\moz2_slave\m-in-w32_g-0000000000000000000\build\python\mozbuild\mozbuild\backend\base.py", line 201, in consume self.consume_finished() File "e:\builds\moz2_slave\m-in-w32_g-0000000000000000000\build\python\mozbuild\mozbuild\backend\visualstudio.py", line 231, in consume_finished self._write_mach_batch(fh) File "e:\builds\moz2_slave\m-in-w32_g-0000000000000000000\build\python\mozbuild\mozbuild\backend\visualstudio.py", line 419, in _write_mach_batch self.environment.topobjdir).replace('\\', '/') File "e:\builds\moz2_slave\m-in-w32_g-0000000000000000000\build\obj-firefox\_virtualenv\lib\ntpath.py", line 512, in relpath % (path_prefix, start_prefix)) ValueError: path is on drive e:, start on drive c:
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.