|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
==============================================================================
INFO: [TEST_012] Check IP stats......
======================================================================
FAIL: test_000_update (__main__.TestGlances)
Update stats (mandatory step for all the stats).
----------------------------------------------------------------------
Traceback (most recent call last):
File "unitest.py", line 67, in test_000_update
self.assertTrue(False)
AssertionError: False is not true
======================================================================
FAIL: test_002_cpu (__main__.TestGlances)
Check SYSTEM plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
File "unitest.py", line 92, in test_002_cpu
self.assertTrue(stat in stats_grab, msg='Cannot find key: %s' % stat)
AssertionError: Cannot find key: hostname
======================================================================
FAIL: test_003_cpu (__main__.TestGlances)
Check CPU plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
File "unitest.py", line 102, in test_003_cpu
self.assertTrue(stat in stats_grab, msg='Cannot find key: %s' % stat)
AssertionError: Cannot find key: system
======================================================================
FAIL: test_005_mem (__main__.TestGlances)
Check MEM plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
File "unitest.py", line 128, in test_005_mem
self.assertTrue(stat in stats_grab, msg='Cannot find key: %s' % stat)
AssertionError: Cannot find key: available
======================================================================
FAIL: test_010_processes (__main__.TestGlances)
Check Process plugin.
----------------------------------------------------------------------
Traceback (most recent call last):
File "unitest.py", line 173, in test_010_processes
self.assertTrue(type(stats_grab) is dict, msg='Process count stats is not a dict')
AssertionError: Process count stats is not a dict
----------------------------------------------------------------------
Ran 18 tests in 0.005s
FAILED (failures=5)
|