Closed Bug 1651928 Opened 4 years ago Closed 4 years ago

Perma 1:22.22 TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /Users/cltbld/tasks/task_1594360574/checkouts/gecko/testing/mozbase/mozversion/tests/<random>.py

Categories

(Testing :: Mozbase, defect, P5)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox78 unaffected, firefox79 unaffected, firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


[task 2020-07-10T06:10:45.937Z] 1:22.22 ValueError: Plugin already registered: mozlog=<module 'mozlog.pytest_mozlog.plugin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/obj-x86_64-apple-darwin18.6.0/_virtualenvs/gecko-Ro2D8VTD-2/lib/python2.7/site-packages/mozlog/pytest_mozlog/plugin.py'>
[task 2020-07-10T06:10:45.937Z] 1:22.22 {'cacheprovider': None, 'debugging': <module '_pytest.debugging' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/debugging.py'>, 'pytestconfig': <_pytest.config.Config object at 0x100e01e90>, 'helpconfig': <module '_pytest.helpconfig' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/helpconfig.py'>, 'runner': <module '_pytest.runner' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/runner.py'>, 'unittest': <module '_pytest.unittest' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/unittest.py'>, 'pastebin': <module '_pytest.pastebin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/pastebin.py'>, 'skipping': <module '_pytest.skipping' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/skipping.py'>, 'mozlog.pytest_mozlog.plugin': <module 'mozlog.pytest_mozlog.plugin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/obj-x86_64-apple-darwin18.6.0/_virtualenvs/gecko-Ro2D8VTD-2/lib/python2.7/site-packages/mozlog/pytest_mozlog/plugin.py'>, 'pytest_cacheprovider': None, 'fixtures': <module '_pytest.fixtures' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/fixtures.py'>, 'tmpdir': <module '_pytest.tmpdir' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/tmpdir.py'>, 'capture': <module '_pytest.capture' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/capture.py'>, 'assertion': <module '_pytest.assertion' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/assertion/init.py'>, 'mark': <module '_pytest.mark' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/mark/init.py'>, 'terminal': <module '_pytest.terminal' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/terminal.py'>, 'main': <module '_pytest.main' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/main.py'>, 'nose': <module '_pytest.nose' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/nose.py'>, 'warnings': <module '_pytest.warnings' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/warnings.py'>, 'python': <module '_pytest.python' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/python.py'>, 'recwarn': <module '_pytest.recwarn' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/recwarn.py'>, 'monkeypatch': <module '_pytest.monkeypatch' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/monkeypatch.py'>, 'resultlog': <module '_pytest.resultlog' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/resultlog.py'>, 'logging': <module '_pytest.logging' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/logging.py'>, 'setuponly': <module '_pytest.setuponly' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/setuponly.py'>, '4308273488': <_pytest.config.PytestPluginManager object at 0x100cb0950>, 'junitxml': <module '_pytest.junitxml' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/junitxml.py'>, 'doctest': <module '_pytest.doctest' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/doctest.py'>, 'mozunit.pytest_plugin': <module 'mozunit.pytest_plugin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/config/mozunit/mozunit/pytest_plugin.py'>, 'setupplan': <module '_pytest.setupplan' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/setupplan.py'>, 'freeze_support': <module '_pytest.freeze_support' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/freeze_support.py'>}
[task 2020-07-10T06:10:45.937Z] 1:22.22 TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /Users/cltbld/tasks/task_1594360574/checkouts/gecko/testing/mozbase/mozversion/tests/test_apk.py
[task 2020-07-10T06:10:45.937Z] 1:22.22 Setting retcode to 1 from /Users/cltbld/tasks/task_1594360574/checkouts/gecko/testing/mozbase/mozversion/tests/test_apk.py
[task 2020-07-10T06:10:46.658Z] 1:22.94 /Users/cltbld/tasks/task_1594360574/checkouts/gecko/testing/mozbase/mozversion/tests/test_binary.py
[task 2020-07-10T06:10:46.658Z] 1:22.94 Traceback (most recent call last):
[task 2020-07-10T06:10:46.658Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/testing/mozbase/mozversion/tests/test_binary.py", line 155, in <module>
[task 2020-07-10T06:10:46.658Z] 1:22.94 mozunit.main()
[task 2020-07-10T06:10:46.658Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/config/mozunit/mozunit/mozunit.py", line 310, in main
[task 2020-07-10T06:10:46.658Z] 1:22.94 sys.exit(pytest.main(args))
[task 2020-07-10T06:10:46.658Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/config/init.py", line 56, in main
[task 2020-07-10T06:10:46.659Z] 1:22.94 config = _prepareconfig(args, plugins)
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/config/init.py", line 181, in _prepareconfig
[task 2020-07-10T06:10:46.659Z] 1:22.94 pluginmanager=pluginmanager, args=args
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/init.py", line 617, in call
[task 2020-07-10T06:10:46.659Z] 1:22.94 return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/init.py", line 222, in _hookexec
[task 2020-07-10T06:10:46.659Z] 1:22.94 return self._inner_hookexec(hook, methods, kwargs)
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/init.py", line 216, in <lambda>
[task 2020-07-10T06:10:46.659Z] 1:22.94 firstresult=hook.spec_opts.get('firstresult'),
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/callers.py", line 196, in _multicall
[task 2020-07-10T06:10:46.659Z] 1:22.94 gen.send(outcome)
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/helpconfig.py", line 89, in pytest_cmdline_parse
[task 2020-07-10T06:10:46.659Z] 1:22.94 config = outcome.get_result()
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/callers.py", line 77, in get_result
[task 2020-07-10T06:10:46.659Z] 1:22.94 _reraise(*ex) # noqa
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/callers.py", line 180, in _multicall
[task 2020-07-10T06:10:46.659Z] 1:22.94 res = hook_impl.function(*args)
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/config/init.py", line 607, in pytest_cmdline_parse
[task 2020-07-10T06:10:46.659Z] 1:22.94 self.parse(args)
[task 2020-07-10T06:10:46.659Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/config/init.py", line 772, in parse
[task 2020-07-10T06:10:46.659Z] 1:22.94 self._preparse(args, addopts=addopts)
[task 2020-07-10T06:10:46.660Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/config/init.py", line 724, in _preparse
[task 2020-07-10T06:10:46.660Z] 1:22.94 self.pluginmanager.load_setuptools_entrypoints("pytest11")
[task 2020-07-10T06:10:46.660Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/init.py", line 403, in load_setuptools_entrypoints
[task 2020-07-10T06:10:46.660Z] 1:22.94 self.register(plugin, name=ep.name)
[task 2020-07-10T06:10:46.660Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/config/init.py", line 287, in register
[task 2020-07-10T06:10:46.660Z] 1:22.94 ret = super(PytestPluginManager, self).register(plugin, name)
[task 2020-07-10T06:10:46.660Z] 1:22.94 File "/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pluggy/pluggy/init.py", line 234, in register
[task 2020-07-10T06:10:46.660Z] 1:22.94 (plugin_name, plugin, self._name2plugin))
[task 2020-07-10T06:10:46.660Z] 1:22.94 ValueError: Plugin already registered: mozlog=<module 'mozlog.pytest_mozlog.plugin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/obj-x86_64-apple-darwin18.6.0/_virtualenvs/gecko-Ro2D8VTD-2/lib/python2.7/site-packages/mozlog/pytest_mozlog/plugin.py'>
[task 2020-07-10T06:10:46.660Z] 1:22.94 {'cacheprovider': None, 'debugging': <module '_pytest.debugging' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/debugging.py'>, 'pytestconfig': <_pytest.config.Config object at 0x109224910>, 'helpconfig': <module '_pytest.helpconfig' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/helpconfig.py'>, 'runner': <module '_pytest.runner' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/runner.py'>, 'unittest': <module '_pytest.unittest' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/unittest.py'>, 'pastebin': <module '_pytest.pastebin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/pastebin.py'>, 'skipping': <module '_pytest.skipping' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/skipping.py'>, 'mozlog.pytest_mozlog.plugin': <module 'mozlog.pytest_mozlog.plugin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/obj-x86_64-apple-darwin18.6.0/_virtualenvs/gecko-Ro2D8VTD-2/lib/python2.7/site-packages/mozlog/pytest_mozlog/plugin.py'>, 'pytest_cacheprovider': None, 'fixtures': <module '_pytest.fixtures' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/fixtures.py'>, 'tmpdir': <module '_pytest.tmpdir' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/tmpdir.py'>, 'capture': <module '_pytest.capture' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/capture.py'>, 'assertion': <module '_pytest.assertion' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/assertion/init.py'>, 'mark': <module '_pytest.mark' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/mark/init.py'>, 'terminal': <module '_pytest.terminal' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/terminal.py'>, 'main': <module '_pytest.main' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/main.py'>, 'nose': <module '_pytest.nose' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/nose.py'>, 'warnings': <module '_pytest.warnings' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/warnings.py'>, 'python': <module '_pytest.python' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/python.py'>, 'recwarn': <module '_pytest.recwarn' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/recwarn.py'>, 'monkeypatch': <module '_pytest.monkeypatch' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/monkeypatch.py'>, '4448122256': <_pytest.config.PytestPluginManager object at 0x10920f590>, 'resultlog': <module '_pytest.resultlog' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/resultlog.py'>, 'logging': <module '_pytest.logging' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/logging.py'>, 'setuponly': <module '_pytest.setuponly' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/setuponly.py'>, 'junitxml': <module '_pytest.junitxml' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/junitxml.py'>, 'doctest': <module '_pytest.doctest' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/doctest.py'>, 'mozunit.pytest_plugin': <module 'mozunit.pytest_plugin' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/config/mozunit/mozunit/pytest_plugin.py'>, 'setupplan': <module '_pytest.setupplan' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/setupplan.py'>, 'freeze_support': <module '_pytest.freeze_support' from '/Users/cltbld/tasks/task_1594360574/checkouts/gecko/third_party/python/pytest/src/_pytest/freeze_support.py'>}
[task 2020-07-10T06:10:46.660Z] 1:22.94 TEST-UNEXPECTED-FAIL | No test output (missing mozunit.main() call?): /Users/cltbld/tasks/task_1594360574/checkouts/gecko/testing/mozbase/mozversion/tests/test_binary.py
[task 2020-07-10T06:10:52.409Z] 1:28.69 /Users/cltbld/tasks/task_1594360574/checkouts/gecko/testing/mozbase/mozproxy/tests/test_command_line.py

Taking a look. I don't fully understand what's happening here, but I'll try to see what I can do to fix it. If anyone else has ideas about what's going on here, I'm all ears...

Flags: needinfo?(jporter+bmo)

The mozproxy command line interface is only designed to run under Python 3,
and restricting these tests to Python 3-only fixes the other failing tests.

Assignee: nobody → jporter+bmo
Status: NEW → ASSIGNED
Pushed by jporter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/510749159c70 Fix test failures in testing/mozbase/mozversion/tests/<random>.py; r=tarek
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80

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

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: