Open
Bug 1455352
Opened 6 years ago
Updated 2 years ago
testing/mochitest/tests/python/conftest.py:104: AttributeError | Unsuccessful task run with exit code: 1 completed in 844.954 seconds
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: stefan_hindli, Unassigned)
Details
https://treeherder.mozilla.org/logviewer.html#?job_id=174501399&repo=mozilla-central [task 2018-04-19T11:03:24.385Z] 6:11.06 ==================================== ERRORS ==================================== [task 2018-04-19T11:03:24.386Z] 6:11.06 ___________________ ERROR at setup of test_prefs_validation ____________________ [task 2018-04-19T11:03:24.386Z] 6:11.06 [task 2018-04-19T11:03:24.386Z] 6:11.06 request = <SubRequest 'skip_using_mozinfo' for <Function 'test_prefs_validation'>> [task 2018-04-19T11:03:24.386Z] 6:11.06 setup_test_harness = <function inner at 0x7f32aec44b18> [task 2018-04-19T11:03:24.386Z] 6:11.06 [task 2018-04-19T11:03:24.386Z] 6:11.06 @pytest.fixture(autouse=True) # noqa: F811 [task 2018-04-19T11:03:24.386Z] 6:11.06 def skip_using_mozinfo(request, setup_test_harness): [task 2018-04-19T11:03:24.387Z] 6:11.06 """Gives tests the ability to skip based on values from mozinfo. [task 2018-04-19T11:03:24.387Z] 6:11.06 [task 2018-04-19T11:03:24.387Z] 6:11.06 Example: [task 2018-04-19T11:03:24.387Z] 6:11.06 @pytest.mark.skip_mozinfo("!e10s || os == 'linux'") [task 2018-04-19T11:03:24.387Z] 6:11.06 def test_foo(): [task 2018-04-19T11:03:24.387Z] 6:11.06 pass [task 2018-04-19T11:03:24.387Z] 6:11.06 """ [task 2018-04-19T11:03:24.388Z] 6:11.06 [task 2018-04-19T11:03:24.388Z] 6:11.06 setup_test_harness(*setup_args) [task 2018-04-19T11:03:24.388Z] 6:11.06 runtests = pytest.importorskip('runtests') [task 2018-04-19T11:03:24.389Z] 6:11.06 > runtests.update_mozinfo() [task 2018-04-19T11:03:24.389Z] 6:11.06 E AttributeError: 'module' object has no attribute 'update_mozinfo' [task 2018-04-19T11:03:24.389Z] 6:11.06 [task 2018-04-19T11:03:24.390Z] 6:11.06 testing/mochitest/tests/python/conftest.py:104: AttributeError [task 2018-04-19T11:03:24.390Z] 6:11.06 =============================== warnings summary =============================== [task 2018-04-19T11:03:24.390Z] 6:11.06 testing/mochitest/tests/python/test_get_active_tests.py::TestManifest [task 2018-04-19T11:03:24.391Z] 6:11.06 cannot collect test class 'TestManifest' because it has a __init__ constructor [task 2018-04-19T11:03:24.391Z] 6:11.06 [task 2018-04-19T11:03:24.391Z] 6:11.06 -- Docs: http://doc.pytest.org/en/latest/warnings.html [task 2018-04-19T11:03:24.391Z] 6:11.06 ===================== 1 warnings, 1 error in 0.15 seconds ====================== [task 2018-04-19T11:03:24.460Z] 6:11.13 Return code from mach python-test: 1 [taskcluster 2018-04-19 11:03:27.750Z] === Task Finished === [taskcluster 2018-04-19 11:03:27.751Z] Unsuccessful task run with exit code: 1 completed in 844.954 seconds
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•