FWIW - at commit bdcde7e with OSX El Capitan, I get a test failure for psutil.tests.test_process.TestProcess.test_zombie_process test_zombie_process self.assertIn(zpid, psutil.pids()) AssertionError: 1619 not found in [1618, ...] I get a few other test failures on el capitan as well, but less than I think I was getting in prior builds - here are all failures. This is with python 2.7, after doing make install and manually running tests. FAIL: psutil.tests.test_osx.TestSystemAPIs.test_vmem_free Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/init.py", line 415, in wrapper return fun(args, *kwargs) File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_osx.py", line 161, in test_vmem_free delta=MEMORY_TOLERANCE) AssertionError: 462008320L != 393748480 within 512000 delta FAIL: psutil.tests.test_posix.TestSystemAPIs.test_pids Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/init.py", line 415, in wrapper return fun(args, *kwargs) File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_posix.py", line 249, in test_pids self.fail("difference: " + str(difference)) AssertionError: difference: [0] FAIL: psutil.tests.test_process.TestNonUnicode.test_proc_cwd Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 2036, in test_proc_cwd self.assertEqual(encode_path(p.cwd()), funny_directory) AssertionError: '/private/tmp/tmp3gYnjq/%C0%80' != '/private/tmp/tmp3gYnjq/\xc0\x80' FAIL: psutil.tests.test_process.TestNonUnicode.test_proc_exe Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 1998, in test_proc_exe self.assertEqual(encode_path(os.path.basename(p.exe())), b"\xc0\x80") AssertionError: '%C0%80' != '\xc0\x80' FAIL: psutil.tests.test_process.TestNonUnicode.test_proc_open_files Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 2052, in test_proc_open_files self.assertIn(funny_file, encode_path(path)) AssertionError: '/tmp/tmp3gYnjq/\xc0\x80' not found in '/private/tmp/tmp3gYnjq/%C0%80' FAIL: psutil.tests.test_process.TestProcess.test_connections Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/init.py", line 575, in wrapper return fun(args, *kwargs) File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 1034, in test_connections ("all", "inet", "inet4", "tcp", "tcp4")) File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 977, in check_conn self.compare_proc_sys_cons(proc.pid, [conn]) File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 954, in compare_proc_sys_cons self.assertEqual(sorted(proc_cons), sorted(sys_cons)) AssertionError: Lists differ: [pconn(fd=3, family=2, type=1,... != [pconn(fd=3, family=2, type=1,... Second list contains 1 additional elements. First extra element 1: pconn(fd=8, family=1, type=1, laddr='', raddr='/var/run/mDNSResponder', status='NONE') [pconn(fd=3, family=2, type=1, laddr=('127.0.0.1', 60968), raddr=(), status='LISTEN')] ? ^ [pconn(fd=3, family=2, type=1, laddr=('127.0.0.1', 60968), raddr=(), status='LISTEN'), ? ^ pconn(fd=8, family=1, type=1, laddr='', raddr='/var/run/mDNSResponder', status='NONE')] FAIL: psutil.tests.test_process.TestProcess.test_pid_0 Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 1406, in test_pid_0 self.assertRaises(psutil.NoSuchProcess, psutil.Process, 0) AssertionError: NoSuchProcess not raised FAIL: psutil.tests.test_process.TestProcess.test_zombie_process Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 1396, in test_zombie_process self.assertIn(zpid, psutil.pids()) AssertionError: 8381 not found in [8380, 8338, 8329, 8264, 8263, 8205, 8168, 99978, 97899, 91428, 91427, 91426, 90163, 89309, 89308, 89307, 89306, 89083, 89050, 83868, 76490, 76482, 76432, 76431, 73985, 73835, 73834, 73833, 66976, 61629, 95310, 93676, 91952, 91944, 91921, 91879, 91878, 91877, 91876, 91874, 91872, 91867, 91856, 91712, 91687, 91657, 90277, 55249, 37461, 37378, 37359, 37281, 22933, 38721, 94838, 94818, 41674, 29841, 28293, 56551, 45694, 45693, 45692, 45689, 45686, 45685, 45684, 45682, 45680, 45678, 45666, 45664, 45662, 45660, 45657, 45655, 45652, 45650, 45647, 45605, 45602, 45563, 36900, 33652, 16828, 7819, 7818, 7817, 7791, 7771, 6056, 99420, 92057, 92056, 92052, 92049, 99075, 99073, 99068, 27927, 27926, 27925, 70523, 70522, 66857, 66812, 25154, 11554, 11552, 11551, 9767, 9766, 9765, 9763, 9726, 9676, 5539, 4698, 92128, 61235, 61227, 19008, 19003, 18998, 18984, 1822, 1655, 73139, 73134, 73131, 73128, 73127, 73126, 73125, 59233, 58453, 56656, 56031, 55975, 55972, 55971, 54377, 48273, 47949, 17935, 15280, 80825, 78041, 78040, 78039, 78038, 88006, 77202, 77201, 16205, 16105, 16096, 65897, 64073, 64072, 60837, 60822, 59798, 59797, 59796, 59795, 59794, 59792, 59791, 57201, 57167, 57166, 56885, 56883, 56882, 56694, 55417, 55377, 55369, 70137, 94742, 88898, 47547, 34081, 15893, 11527, 11525, 11476, 11436, 9188, 7268, 1266, 1248, 1178, 1175, 1174, 1149, 1148, 1142, 1125, 976, 975, 963, 962, 957, 956, 955, 949, 934, 933, 930, 902, 882, 870, 869, 868, 867, 863, 862, 860, 859, 858, 855, 852, 851, 849, 848, 844, 842, 840, 837, 808, 807, 806, 805, 803, 802, 801, 797, 517, 516, 513, 509, 508, 466, 463, 462, 432, 431, 426, 421, 412, 410, 407, 406, 401, 400, 397, 395, 390, 389, 380, 378, 371, 369, 368, 366, 365, 364, 363, 362, 358, 357, 355, 350, 349, 348, 345, 343, 341, 337, 335, 333, 328, 326, 320, 319, 318, 315, 312, 311, 308, 307, 306, 305, 302, 301, 299, 298, 296, 294, 293, 292, 291, 290, 289, 287, 286, 283, 277, 274, 259, 256, 253, 248, 239, 238, 236, 235, 234, 233, 232, 231, 229, 222, 219, 216, 212, 204, 199, 188, 187, 175, 170, 169, 166, 150, 144, 134, 123, 119, 118, 117, 116, 113, 112, 111, 110, 109, 105, 104, 103, 102, 100, 98, 97, 96, 95, 94, 92, 91, 89, 85, 83, 75, 74, 72, 69, 67, 63, 62, 61, 60, 56, 54, 53, 52, 50, 49, 1, 0] FAIL: psutil.tests.test_process.TestUnicode.test_proc_cwd Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 1919, in test_proc_cwd self.assertEqual(p.cwd(), tdir) AssertionError: '/private/tmp/psutil-e\xcc\x80-cYkAGp' != '/private/tmp/psutil-\xc3\xa8-cYkAGp' FAIL: psutil.tests.test_process.TestUnicode.test_proc_open_files Traceback (most recent call last): File "/Users/roryprendergast/Documents/workspace/github/Tanium/psutil/psutil/tests/test_process.py", line 1933, in test_proc_open_files self.assertEqual(os.path.normcase(path), os.path.normcase(self.uexe)) AssertionError: '/private/tmp/psutil-unittest-0uiLJue\xcc\x80' != '/private/tmp/psutil-unittest-0uiLJu\xc3\xa8' —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
Source: Gmail -> IFTTT-> Blogger
No comments:
Post a Comment