Closed Bug 1561612 Opened 5 years ago Closed 5 years ago

Intermittent 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_aggregate_cpu TEST-UNEXPECTED-FAIL

Categories

(Testing :: Mozbase, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=253501131&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/Zywv1sqCQ7WVAnnzFOm0iQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-06-26T10:46:19.954Z] 1:40.77 z:\task_1561542413\build\src\testing\mozbase\mozsystemmonitor\tests\test_resource_monitor.py
[task 2019-06-26T10:46:19.954Z] 1:40.77 ============================= test session starts =============================
[task 2019-06-26T10:46:19.954Z] 1:40.77 platform win32 -- Python 2.7.15, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- z:\task_1561542413\build\src\obj-x86_64-pc-mingw32_virtualenvs\src-IrcAHHbw-2\Scripts\python.exe
[task 2019-06-26T10:46:19.954Z] 1:40.77 rootdir: z:\task_1561542413\build\src, inifile: z:\task_1561542413\build\src\config\mozunit\mozunit\pytest.ini
[task 2019-06-26T10:46:19.954Z] 1:40.77 collecting ... collected 9 items
[task 2019-06-26T10:46:19.954Z] 1:40.77
[task 2019-06-26T10:46:19.954Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_aggregate_cpu TEST-UNEXPECTED-FAIL
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_aggregate_io PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_as_dict PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_basic PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_empty PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_events PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_memory PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_no_data PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77 testing/mozbase/mozsystemmonitor/tests/test_resource_monitor.py::TestResourceMonitor::test_phases PASSED
[task 2019-06-26T10:46:19.955Z] 1:40.77
[task 2019-06-26T10:46:19.955Z] 1:40.77 ================================== FAILURES ===================================
[task 2019-06-26T10:46:19.955Z] 1:40.77 ___________________ TestResourceMonitor.test_aggregate_cpu ____________________
[task 2019-06-26T10:46:19.955Z] 1:40.77
[task 2019-06-26T10:46:19.955Z] 1:40.77 self = <test_resource_monitor.TestResourceMonitor testMethod=test_aggregate_cpu>
[task 2019-06-26T10:46:19.955Z] 1:40.77
[task 2019-06-26T10:46:19.955Z] 1:40.77 def test_aggregate_cpu(self):
[task 2019-06-26T10:46:19.956Z] 1:40.77 monitor = SystemResourceMonitor(poll_interval=0.25)
[task 2019-06-26T10:46:19.956Z] 1:40.77
[task 2019-06-26T10:46:19.956Z] 1:40.77 monitor.start()
[task 2019-06-26T10:46:19.956Z] 1:40.77 time.sleep(1)
[task 2019-06-26T10:46:19.956Z] 1:40.77 monitor.stop()
[task 2019-06-26T10:46:19.956Z] 1:40.77
[task 2019-06-26T10:46:19.956Z] 1:40.77 values = monitor.aggregate_cpu_percent()
[task 2019-06-26T10:46:19.956Z] 1:40.77 > self.assertIsInstance(values, list)
[task 2019-06-26T10:46:19.956Z] 1:40.77 E AssertionError: None is not an instance of <type 'list'>
[task 2019-06-26T10:46:19.956Z] 1:40.77
[task 2019-06-26T10:46:19.956Z] 1:40.77 testing\mozbase\mozsystemmonitor\tests\test_resource_monitor.py:115: AssertionError

See Also: → 1558667
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.