| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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',
+ '']
----------------------------------------------------------------------
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes:
```
======================================================================
ERROR: psutil.tests.test_linux.TestSystemDiskIoCounters.test_emulate_use_sysfs
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/giampaolo/svn/psutil/psutil/tests/test_linux.py", line 1195, in test_emulate_use_sysfs
wsysfs = psutil.disk_io_counters(perdisk=True)
File "/home/giampaolo/svn/psutil/psutil/__init__.py", line 2065, in disk_io_counters
rawdict = _psplatform.disk_io_counters(**kwargs)
File "/home/giampaolo/svn/psutil/psutil/_pslinux.py", line 1124, in disk_io_counters
for entry in gen:
File "/home/giampaolo/svn/psutil/psutil/_pslinux.py", line 1110, in read_sysfs
wbytes, wtime, _, busy_time, _) = map(int, fields)
ValueError: too many values to unpack (expected 11)
```
|