Closed Bug 1916231 Opened 2 months ago Closed 2 months ago

Perma Python No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/python/mach/mach/test/test_site_activation.py

Categories

(Firefox Build System :: Mach Core, defect, P5)

defect

Tracking

(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox130 unaffected, firefox131 fixed, firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- fixed
firefox132 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=472575221&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SMczqnudT0e2pr4hd4jRZA/runs/0/artifacts/public/logs/live_backing.log


[task 2024-09-02T12:40:05.112Z] python/mach/mach/test/test_site_compatibility.py::test_sites_compatible PASSED
[task 2024-09-02T12:40:05.112Z] 
[task 2024-09-02T12:40:05.112Z] ======================== 1 passed in 333.59s (0:05:33) =========================
[task 2024-09-02T12:40:05.112Z] 
[task 2024-09-02T12:40:05.112Z] 
[task 2024-09-02T12:40:05.113Z] Tests Completed: 100%|██████████| 10/10 [05:35<00:00, 52.28s/Test]
[task 2024-09-02T12:40:05.113Z]                                                                   
[task 2024-09-02T12:40:05.113Z] /builds/worker/checkouts/gecko/python/mach/mach/test/test_site_activation.py
[task 2024-09-02T12:40:05.113Z] /builds/worker/checkouts/gecko/python/mach/mach/test/test_site_activation.py:17: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
[task 2024-09-02T12:40:05.113Z]   import pkg_resources
[task 2024-09-02T12:40:05.113Z] /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/config/__init__.py:325: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
[task 2024-09-02T12:40:05.113Z] Plugin: helpconfig, Hook: pytest_cmdline_parse
[task 2024-09-02T12:40:05.113Z] ImportError: cannot import name 'is_typeddict' from 'typing_extensions' (/builds/worker/checkouts/gecko/third_party/python/typing_extensions/typing_extensions.py)
[task 2024-09-02T12:40:05.113Z] For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
[task 2024-09-02T12:40:05.113Z]   config = pluginmanager.hook.pytest_cmdline_parse(
[task 2024-09-02T12:40:05.113Z] Traceback (most recent call last):
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/checkouts/gecko/python/mach/mach/test/test_site_activation.py", line 462, in <module>
[task 2024-09-02T12:40:05.113Z]     mozunit.main()
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/checkouts/gecko/config/mozunit/mozunit/mozunit.py", line 338, in main
[task 2024-09-02T12:40:05.113Z]     sys.exit(pytest.main(args))
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/config/__init__.py", line 146, in main
[task 2024-09-02T12:40:05.113Z]     config = _prepareconfig(args, plugins)
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/config/__init__.py", line 325, in _prepareconfig
[task 2024-09-02T12:40:05.113Z]     config = pluginmanager.hook.pytest_cmdline_parse(
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/pluggy/_hooks.py", line 513, in __call__
[task 2024-09-02T12:40:05.113Z]     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/pluggy/_manager.py", line 120, in _hookexec
[task 2024-09-02T12:40:05.113Z]     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/pluggy/_callers.py", line 156, in _multicall
[task 2024-09-02T12:40:05.113Z]     teardown[0].send(outcome)
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/helpconfig.py", line 102, in pytest_cmdline_parse
[task 2024-09-02T12:40:05.113Z]     config: Config = outcome.get_result()
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/pluggy/_result.py", line 100, in get_result
[task 2024-09-02T12:40:05.113Z]     raise exc.with_traceback(exc.__traceback__)
[task 2024-09-02T12:40:05.113Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/pluggy/_callers.py", line 103, in _multicall
[task 2024-09-02T12:40:05.114Z]     res = hook_impl.function(*args)
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1013, in pytest_cmdline_parse
[task 2024-09-02T12:40:05.114Z]     self.parse(args)
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1301, in parse
[task 2024-09-02T12:40:05.114Z]     self._preparse(args, addopts=addopts)
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1184, in _preparse
[task 2024-09-02T12:40:05.114Z]     self.pluginmanager.load_setuptools_entrypoints("pytest11")
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/pluggy/_manager.py", line 421, in load_setuptools_entrypoints
[task 2024-09-02T12:40:05.114Z]     plugin = ep.load()
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/fetches/python/lib/python3.8/importlib/metadata.py", line 77, in load
[task 2024-09-02T12:40:05.114Z]     module = import_module(match.group('module'))
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/fetches/python/lib/python3.8/importlib/__init__.py", line 127, in import_module
[task 2024-09-02T12:40:05.114Z]     return _bootstrap._gcd_import(name[level:], package, level)
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
[task 2024-09-02T12:40:05.114Z]   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 171, in exec_module
[task 2024-09-02T12:40:05.114Z]     exec(co, module.__dict__)
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/checkouts/gecko/third_party/python/setuptools/setuptools/_vendor/typeguard/__init__.py", line 4, in <module>
[task 2024-09-02T12:40:05.114Z]     from ._checkers import TypeCheckerCallable as TypeCheckerCallable
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 171, in exec_module
[task 2024-09-02T12:40:05.114Z]     exec(co, module.__dict__)
[task 2024-09-02T12:40:05.114Z]   File "/builds/worker/checkouts/gecko/third_party/python/setuptools/setuptools/_vendor/typeguard/_checkers.py", line 46, in <module>
[task 2024-09-02T12:40:05.114Z]     from typing_extensions import is_typeddict
[task 2024-09-02T12:40:05.114Z] ImportError: cannot import name 'is_typeddict' from 'typing_extensions' (/builds/worker/checkouts/gecko/third_party/python/typing_extensions/typing_extensions.py)
[task 2024-09-02T12:40:05.114Z] 
[task 2024-09-02T12:40:05.114Z] TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/python/mach/mach/test/test_site_activation.py
[task 2024-09-02T12:40:05.114Z] 
[task 2024-09-02T12:40:05.114Z] Tests Completed: 100%|██████████| 10/10 [05:35<00:00, 33.57s/Test]Return code from mach python-test: 1
[task 2024-09-02T12:40:05.141Z] 
[taskcluster 2024-09-02 12:40:06.592Z] === Task Finished ===
[taskcluster 2024-09-02 12:40:06.592Z] Unsuccessful task run with exit code: 1 completed in 535.844 seconds
Flags: needinfo?(krosylight)
Depends on: 1916292
Summary: Perma Beta Python No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/python/mach/mach/test/test_site_activation.py → Perma Python No test output (missing mozunit.main() call?): /builds/worker/checkouts/gecko/python/mach/mach/test/test_site_activation.py
Flags: needinfo?(krosylight)

:saschanaz, since you are the author of the regressor, bug 1915242, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(krosylight)
Assignee: nobody → krosylight
Flags: needinfo?(krosylight)

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

See Also: → 1916532

The following python failures are also perma:

Failure log 1
Failure log 2

Seems it's fixed now: https://treeherder.mozilla.org/jobs?repo=mozilla-central&searchStr=source-test-python&selectedTaskRun=MRFPeFdnTe-8PAn7NYG2Ug.0

Can you double check everything is okay? Thanks and sorry for causing mess 🙏

Flags: needinfo?(nfay)

Fixed on mozilla-central by bug 1916292. That needs an uplift to beta.

Status: NEW → RESOLVED
Closed: 2 months ago
Flags: needinfo?(nfay)
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
See Also: 1916532
You need to log in before you can comment on or make changes to this bug.