<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git/psutil/tests/test_process.py, branch parallel-build</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>refactoring / rename vars</title>
<updated>2020-04-28T22:12:40+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-28T22:12:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=93c1138ca81b8bf5edd250fc470e1a5770dbdcdd'/>
<id>93c1138ca81b8bf5edd250fc470e1a5770dbdcdd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test sub-processes cleanup and ProcessTestCase class (#1739)</title>
<updated>2020-04-28T19:06:38+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-28T19:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=0065a3921b1cf31ad32cca5bd3ca209fe1fbceed'/>
<id>0065a3921b1cf31ad32cca5bd3ca209fe1fbceed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>create_zombie_proc() make it return parent so that we can kill zombie</title>
<updated>2020-04-28T02:15:25+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-28T02:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=efe1cdb3b7177a0e65531cf9b099d28df9bc8271'/>
<id>efe1cdb3b7177a0e65531cf9b099d28df9bc8271</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>psutil.Popen: inherit from subprocess + support wait(timeout=...) parameter (#1736)</title>
<updated>2020-04-28T01:32:46+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-28T01:32:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=92e150ef5e309ff93378ae4538065f1ca5c00a17'/>
<id>92e150ef5e309ff93378ae4538065f1ca5c00a17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Parallel tests (UNIX) (#1709)</title>
<updated>2020-04-26T00:02:43+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-26T00:02:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=420c9e82fd3321e3062424846870f3104c1b0eb8'/>
<id>420c9e82fd3321e3062424846870f3104c1b0eb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of TESTFN global variable (#1734)</title>
<updated>2020-04-24T21:56:57+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-04-24T21:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=bc899c3f24581aa122e1b5b18ea6e694c2faddce'/>
<id>bc899c3f24581aa122e1b5b18ea6e694c2faddce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>point all shebangs to python 3</title>
<updated>2020-02-15T17:17:37+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-15T17:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=3424a1a6f8f91292eca6373ba0cd3fb5170c1648'/>
<id>3424a1a6f8f91292eca6373ba0cd3fb5170c1648</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor print colors utils</title>
<updated>2020-02-15T16:46:21+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-15T16:46:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=a8c9e878d5b43cbb729187ae6e1304eebd09b8dc'/>
<id>a8c9e878d5b43cbb729187ae6e1304eebd09b8dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test errors for PYPY.</title>
<updated>2020-02-09T21:11:51+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-09T21:11:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=17b702945351f91bb3dc61010eddf26b68fd596b'/>
<id>17b702945351f91bb3dc61010eddf26b68fd596b</id>
<content type='text'>
It looks like PYPY implementation has some issues with strings (or maybe
it's a subprocess bug?). Anyway, this is the full output:

PYTHONWARNINGS=all PSUTIL_TESTING=1 PSUTIL_DEBUG=1 pypy3 -c "import psutil.tests.runner as r; r.run(last_failed=True)"
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cmdline ... /home/giampaolo/svn/psutil/@psutil-test-30050f��: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_exe ... /home/giampaolo/svn/psutil/@psutil-test-30050f��: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name ... /home/giampaolo/svn/psutil/@psutil-test-30050f��: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_process.TestProcess.test_long_cmdline ... /home/giampaolo/svn/psutil/@psutil-test-30050: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_process.TestProcess.test_long_name ... /home/giampaolo/svn/psutil/@psutil-test-3005001234567890123456789: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_process.TestProcess.test_prog_w_funky_name ... /home/giampaolo/svn/psutil/@psutil-test-30050foo bar ): error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL

======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cmdline
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_unicode.py", line 184, in test_proc_cmdline
    self.assertEqual(cmdline, [self.funky_name])
AssertionError: Lists differ: [] != ['/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80']

Second list contains 1 additional elements.
First extra element 0:
'/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80'

- []
+ ['/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80']

======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_exe
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_unicode.py", line 168, in test_proc_exe
    os.path.normcase(self.funky_name))
AssertionError: '' != '/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80'
+ /home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80

======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_unicode.py", line 175, in test_proc_name
    self.assertEqual(name, os.path.basename(self.funky_name))
AssertionError: '@psutil-test-30' != '@psutil-test-30050f\udcc0\udc80'
- @psutil-test-30
+ @psutil-test-30050f\udcc0\udc80
?                ++++++

======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_long_cmdline
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_process.py", line 736, in test_long_cmdline
    self.assertEqual(p.cmdline(), cmdline)
AssertionError: Lists differ: [] != ['/home/giampaolo/svn/psutil/@psutil-test-[282 chars]789']

Second list contains 21 additional elements.
First extra element 0:
'/home/giampaolo/svn/psutil/@psutil-test-30050'

- []
+ ['/home/giampaolo/svn/psutil/@psutil-test-30050',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789']

======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_long_name
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_process.py", line 750, in test_long_name
    self.assertEqual(p.name(), os.path.basename(long_name))
AssertionError: '@psutil-test-30' != '@psutil-test-3005001234567890123456789'
- @psutil-test-30
+ @psutil-test-3005001234567890123456789

======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_prog_w_funky_name
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_process.py", line 780, in test_prog_w_funky_name
    self.assertEqual(p.cmdline(), cmdline)
AssertionError: Lists differ: [] != ['/home/giampaolo/svn/psutil/@psutil-test-[102 chars], '']

Second list contains 7 additional elements.
First extra element 0:
'/home/giampaolo/svn/psutil/@psutil-test-30050foo bar )'

- []
+ ['/home/giampaolo/svn/psutil/@psutil-test-30050foo bar )',
+  '-c',
+  'import time; [time.sleep(0.01) for x in range(3000)];arg1',
+  'arg2',
+  '',
+  'arg3',
+  '']

----------------------------------------------------------------------
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It looks like PYPY implementation has some issues with strings (or maybe
it's a subprocess bug?). Anyway, this is the full output:

PYTHONWARNINGS=all PSUTIL_TESTING=1 PSUTIL_DEBUG=1 pypy3 -c "import psutil.tests.runner as r; r.run(last_failed=True)"
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cmdline ... /home/giampaolo/svn/psutil/@psutil-test-30050f��: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_exe ... /home/giampaolo/svn/psutil/@psutil-test-30050f��: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name ... /home/giampaolo/svn/psutil/@psutil-test-30050f��: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_process.TestProcess.test_long_cmdline ... /home/giampaolo/svn/psutil/@psutil-test-30050: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_process.TestProcess.test_long_name ... /home/giampaolo/svn/psutil/@psutil-test-3005001234567890123456789: error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL
psutil.tests.test_process.TestProcess.test_prog_w_funky_name ... /home/giampaolo/svn/psutil/@psutil-test-30050foo bar ): error while loading shared libraries: libpypy3-c.so: cannot open shared object file: No such file or directory
FAIL

======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cmdline
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_unicode.py", line 184, in test_proc_cmdline
    self.assertEqual(cmdline, [self.funky_name])
AssertionError: Lists differ: [] != ['/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80']

Second list contains 1 additional elements.
First extra element 0:
'/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80'

- []
+ ['/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80']

======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_exe
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_unicode.py", line 168, in test_proc_exe
    os.path.normcase(self.funky_name))
AssertionError: '' != '/home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80'
+ /home/giampaolo/svn/psutil/@psutil-test-30050f\udcc0\udc80

======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_unicode.py", line 175, in test_proc_name
    self.assertEqual(name, os.path.basename(self.funky_name))
AssertionError: '@psutil-test-30' != '@psutil-test-30050f\udcc0\udc80'
- @psutil-test-30
+ @psutil-test-30050f\udcc0\udc80
?                ++++++

======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_long_cmdline
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_process.py", line 736, in test_long_cmdline
    self.assertEqual(p.cmdline(), cmdline)
AssertionError: Lists differ: [] != ['/home/giampaolo/svn/psutil/@psutil-test-[282 chars]789']

Second list contains 21 additional elements.
First extra element 0:
'/home/giampaolo/svn/psutil/@psutil-test-30050'

- []
+ ['/home/giampaolo/svn/psutil/@psutil-test-30050',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789',
+  '0123456789']

======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_long_name
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_process.py", line 750, in test_long_name
    self.assertEqual(p.name(), os.path.basename(long_name))
AssertionError: '@psutil-test-30' != '@psutil-test-3005001234567890123456789'
- @psutil-test-30
+ @psutil-test-3005001234567890123456789

======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_prog_w_funky_name
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/giampaolo/svn/psutil/psutil/tests/test_process.py", line 780, in test_prog_w_funky_name
    self.assertEqual(p.cmdline(), cmdline)
AssertionError: Lists differ: [] != ['/home/giampaolo/svn/psutil/@psutil-test-[102 chars], '']

Second list contains 7 additional elements.
First extra element 0:
'/home/giampaolo/svn/psutil/@psutil-test-30050foo bar )'

- []
+ ['/home/giampaolo/svn/psutil/@psutil-test-30050foo bar )',
+  '-c',
+  'import time; [time.sleep(0.01) for x in range(3000)];arg1',
+  'arg2',
+  '',
+  'arg3',
+  '']

----------------------------------------------------------------------
</pre>
</div>
</content>
</entry>
<entry>
<title>[Windows] use NtQuerySystemInformation to determine process exe()  (#1677)</title>
<updated>2020-02-01T02:44:51+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-01T02:44:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=96cc7ea40d6f4f08e86677434213cef119cf1748'/>
<id>96cc7ea40d6f4f08e86677434213cef119cf1748</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
