Closed Bug 1635750 Opened 4 years ago Closed 4 years ago

Perma [Tier2 - CCov] ImportError: No module named mozbuild.util

Categories

(Core :: JavaScript Engine, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: rstewart)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=301016040&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KdAW0p_OTLW56M4BAs67Fw/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-06T11:29:37.535Z] 11:29:37 INFO - Calling ['Z:\task_1588762432\build\venv\Scripts\python', '-u', 'Z:\task_1588762432\build\tests\jit-test\jit-test\jit_test.py', '--total-chunks', '8', '--this-chunk', '1', 'tests/bin/js', '--no-slow', '--no-progress', '--format=automation', '--jitflags=all', '--timeout=970'] with output_timeout 1000
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - Traceback (most recent call last):
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - File "Z:\task_1588762432\build\tests\jit-test\jit-test\jit_test.py", line 32, in <module>
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - from lib import jittests
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - File "Z:\task_1588762432\build\tests\jit-test\tests\lib\jittests.py", line 21, in <module>
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - from .tasks_win import run_all_tests
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - File "Z:\task_1588762432\build\tests\jit-test\tests\lib\tasks_win.py", line 9, in <module>
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - from mozbuild.util import system_encoding
[task 2020-05-06T11:29:37.577Z] 11:29:37 INFO - ImportError: No module named mozbuild.util
[task 2020-05-06T11:29:37.605Z] 11:29:37 ERROR - Return code: 1
[task 2020-05-06T11:29:37.605Z] 11:29:37 ERROR - No tests run or test summary not found
[task 2020-05-06T11:29:37.605Z] 11:29:37 INFO - TinderboxPrint: jittest-jittest<br/><em class="testfail">T-FAIL</em>
[task 2020-05-06T11:29:37.605Z] 11:29:37 WARNING - # TBPL FAILURE #
[task 2020-05-06T11:29:37.605Z] 11:29:37 WARNING - setting return code to 2
[task 2020-05-06T11:29:37.605Z] 11:29:37 WARNING - The jittest suite: jittest ran with return status: FAILURE
[task 2020-05-06T11:29:37.605Z] 11:29:37 INFO - Running post-action listener: package_coverage_data
[task 2020-05-06T11:29:37.640Z] WARNING: No valid records found in []
[task 2020-05-06T11:29:37.640Z] 11:29:37 INFO - Getting output from command: ['Z:/task_1588762432/fetches\grcov.exe', '-t', 'lcov', '-p', 'z:/build/build/src/', '--ignore-dir', 'gcc*', '--ignore-dir', 'vs2017
', 'Z:/task_1588762432/fetches\target.code-coverage-gcno.zip', 'c:\users\task_1588762432\appdata\local\temp\tmpcibxq3', '--llvm']
[task 2020-05-06T11:29:37.640Z] 11:29:37 INFO - Copy/paste: Z:/task_1588762432/fetches\grcov.exe -t lcov -p z:/build/build/src/ --ignore-dir gcc
--ignore-dir vs2017_* Z:/task_1588762432/fetches\target.code-coverage-gcno.zip c:\users\task_1588762432\appdata\local\temp\tmpcibxq3 --llvm
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Errors received:
[task 2020-05-06T11:29:50.526Z] 11:29:50 INFO - Reading from file tmpfile_stderr
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestDictionaryBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestDictionaryBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestCodeGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestCodeGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestJSImplInheritanceGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestJSImplInheritanceGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestExampleGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestExampleGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestJSImplGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Warning: "../TestJSImplGenBinding.cpp" cannot be normalized because of "..", so skip it.
[task 2020-05-06T11:29:50.526Z] 11:29:50 ERROR - Return code: 0

Flags: needinfo?(rstewart)

+ahal for figuring out how to configure this task with mozbuild in the PYTHONPATH.

Flags: needinfo?(rstewart) → needinfo?(ahal)

I know next to nothing about jittests, but I think the best approach is to shim it through mach. E.g, right now the command is:

Z:\\task_1588762432\\build\\venv\\Scripts\\python -u Z:\\task_1588762432\\build\\tests\\jit-test\\jit-test\\jit_test.py

we could change that to:

Z:\\task_1588762432\\build\\venv\\Scripts\\python mach python -u Z:\\task_1588762432\\build\\tests\\jit-test\\jit-test\\jit_test.py

That way it'll still run with the same python version, only with the mach PYTHONPATH enabled.

Flags: needinfo?(ahal)

Oh though I guess this runs from a tests.zip so mach might not be available. Mozbuild itself might not be available.

Assignee: nobody → rstewart
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1633037

Pushed by rstewart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2dc990fff79
Fix perma failure in ccov by not depending on mozbuild r=glandium
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: