1 --- psutil-6.0.0/psutil/tests/test_process.py.orig
2 +++ psutil-6.0.0/psutil/tests/test_process.py
4 time.strftime("%Y %m %d %H:%M:%S", time.localtime(p.create_time()))
6 @unittest.skipIf(not POSIX, 'POSIX only')
7 + @unittest.skip('always fails: https://github.com/giampaolo/psutil/issues/2043')
8 def test_terminal(self):
9 terminal = psutil.Process().terminal()
10 if terminal is not None:
12 self.assertEqual(' '.join(p.cmdline()), ' '.join(cmdline))
14 @unittest.skipIf(PYPY, "broken on PYPY")
15 + @unittest.skip("always fails: https://github.com/giampaolo/psutil/issues/2357")
16 def test_long_cmdline(self):
17 cmdline = [PYTHON_EXE]
18 cmdline.extend(["-v"] * 50)
20 if hasattr(os, "getresuid"):
21 self.assertEqual(os.getresgid(), p.gids())
23 + @unittest.skip('process priority and nice does not match')
28 self.assertEqual(p.status(), psutil.STATUS_ZOMBIE)
31 + @unittest.skip("always fails")
32 def test_reused_pid(self):
33 # Emulate a case where PID has been reused by another process.
35 --- psutil-6.0.0/psutil/tests/test_misc.py.orig
36 +++ psutil-6.0.0/psutil/tests/test_misc.py
38 with mock.patch('psutil._common.stat.S_ISREG', return_value=False):
39 assert not isfile_strict(this_file)
41 + @unittest.skip('always fails: https://github.com/giampaolo/psutil/issues/2043')
44 from io import StringIO
45 --- psutil-6.0.0/psutil/tests/test_posix.py.orig
46 +++ psutil-6.0.0/psutil/tests/test_posix.py
48 # AIX can return '-' in df output instead of numbers, e.g. for /proc
49 @unittest.skipIf(AIX, "unreliable on AIX")
51 + @unittest.skip("fails on zfs")
52 def test_disk_usage(self):
55 --- psutil-6.0.0/psutil/tests/test_unicode.py.orig
56 +++ psutil-6.0.0/psutil/tests/test_unicode.py
58 if self.expect_exact_path_match():
59 self.assertEqual(name, os.path.basename(self.funky_name))
61 + @unittest.skip("always fails: https://github.com/giampaolo/psutil/issues/2357")
62 def test_proc_cmdline(self):
68 @unittest.skipIf(not POSIX, "POSIX only")
69 + @unittest.skip("always fails: https://github.com/giampaolo/psutil/issues/1489")
70 def test_proc_net_connections(self):
71 name = self.get_testfn(suffix=self.funky_suffix)
74 @unittest.skipIf(not HAS_MEMORY_MAPS, "not supported")
75 @unittest.skipIf(not PY3, "ctypes does not support unicode on PY2")
76 @unittest.skipIf(PYPY, "unstable on PYPY")
77 + @unittest.skip("always fails")
78 def test_memory_maps(self):
79 # XXX: on Python 2, using ctypes.CDLL with a unicode path
80 # opens a message box which blocks the test run.
81 --- psutil-6.0.0/psutil/tests/__init__.py.orig
82 +++ psutil-6.0.0/psutil/tests/__init__.py
84 raise AssertionError(msg)
85 proc.wait(timeout=0) # assert not raise TimeoutExpired
87 + @unittest.skip("fails on illumos too: https://github.com/giampaolo/psutil/pull/2289")
88 def assertProcessZombie(self, proc):
89 # A zombie process should always be instantiable.
90 clone = psutil.Process(proc.pid)
91 --- psutil-6.0.0/psutil/tests/test_process_all.py.orig
92 +++ psutil-6.0.0/psutil/tests/test_process_all.py
100 from psutil import AIX
102 ls.append(proc_info(pid))
105 + @unittest.skip('always fails: https://github.com/giampaolo/psutil/issues/2358')
108 for info in self.iter_proc_info():