Created
May 20, 2017 10:49
-
-
Save alxchk/2f74d3b67e9bf029266edf2468df9cdb to your computer and use it in GitHub Desktop.
SunOS psutil / env - tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: psutil.tests.test_connections.TestUnconnectedSockets.test_tcp_v6 | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_connections.py", line 156, in test_tcp_v6 | |
with closing(bind_socket(AF_INET6, SOCK_STREAM, addr=addr)) as sock: | |
File "/psutil/psutil/tests/__init__.py", line 820, in bind_socket | |
sock.bind(addr) | |
File "/pupy/client/sources-linux/buildenv-sunos/build/lib/python2.7/socket.py", line 228, in meth | |
return getattr(self._sock,name)(*args) | |
error: [Errno 126] Cannot assign requested address | |
====================================================================== | |
ERROR: psutil.tests.test_connections.TestUnconnectedSockets.test_udp_v6 | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_connections.py", line 170, in test_udp_v6 | |
with closing(bind_socket(AF_INET6, SOCK_DGRAM, addr=addr)) as sock: | |
File "/psutil/psutil/tests/__init__.py", line 820, in bind_socket | |
sock.bind(addr) | |
File "/pupy/client/sources-linux/buildenv-sunos/build/lib/python2.7/socket.py", line 228, in meth | |
return getattr(self._sock,name)(*args) | |
error: [Errno 126] Cannot assign requested address | |
====================================================================== | |
ERROR: psutil.tests.test_process.TestProcess.test_as_dict | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_process.py", line 1121, in test_as_dict | |
d = p.as_dict() | |
File "/psutil/psutil/__init__.py", line 575, in as_dict | |
ret = meth() | |
File "/psutil/psutil/__init__.py", line 884, in environ | |
return self._proc.environ() | |
File "/psutil/psutil/_pssunos.py", line 339, in wrapper | |
return fun(self, *args, **kwargs) | |
File "/psutil/psutil/_pssunos.py", line 425, in environ | |
return self._proc_environ() | |
File "/psutil/psutil/_common.py", line 338, in wrapper | |
ret = cache[fun] = fun(self) | |
File "/psutil/psutil/_pssunos.py", line 389, in _proc_environ | |
return cext.proc_environ(self.pid, self._procfs_path) | |
ValueError: Pointer block is truncated | |
====================================================================== | |
ERROR: psutil.tests.test_process.TestProcess.test_memory_maps_lists_lib | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_process.py", line 657, in test_memory_maps_lists_lib | |
for x in psutil.Process().memory_maps()] | |
File "/psutil/psutil/tests/test_process.py", line 655, in normpath | |
return os.path.realpath(os.path.normcase(p)) | |
File "/pupy/client/sources-linux/buildenv-sunos//build/lib/python2.7/posixpath.py", line 375, in realpath | |
path, ok = _joinrealpath('', filename, {}) | |
File "/pupy/client/sources-linux/buildenv-sunos//build/lib/python2.7/posixpath.py", line 414, in _joinrealpath | |
path, ok = _joinrealpath(path, os.readlink(newpath), seen) | |
OSError: [Errno 2] No such file or directory: '/proc/18745/path/tmpfs.307.3.4031563116' | |
====================================================================== | |
ERROR: psutil.tests.test_process.TestProcess.test_pid_0 | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_process.py", line 1360, in test_pid_0 | |
ret = meth() | |
File "/psutil/psutil/__init__.py", line 884, in environ | |
return self._proc.environ() | |
File "/psutil/psutil/_pssunos.py", line 339, in wrapper | |
return fun(self, *args, **kwargs) | |
File "/psutil/psutil/_pssunos.py", line 425, in environ | |
return self._proc_environ() | |
File "/psutil/psutil/_common.py", line 333, in wrapper | |
return fun(self) | |
File "/psutil/psutil/_pssunos.py", line 389, in _proc_environ | |
return cext.proc_environ(self.pid, self._procfs_path) | |
ValueError: Pointer block is truncated | |
====================================================================== | |
FAIL: psutil.tests.test_contracts.TestFetchAllProcesses.test_fetch_all | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_contracts.py", line 345, in test_fetch_all | |
self.fail(''.join(failures)) | |
AssertionError: | |
====================================================================== | |
FAIL: test_environ (proc=psutil.Process(pid=0, name='sched')) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_contracts.py", line 310, in test_fetch_all | |
ret = attr(*args, **kwargs) | |
File "/psutil/psutil/__init__.py", line 884, in environ | |
return self._proc.environ() | |
File "/psutil/psutil/_pssunos.py", line 339, in wrapper | |
return fun(self, *args, **kwargs) | |
File "/psutil/psutil/_pssunos.py", line 425, in environ | |
return self._proc_environ() | |
File "/psutil/psutil/_common.py", line 338, in wrapper | |
ret = cache[fun] = fun(self) | |
File "/psutil/psutil/_pssunos.py", line 389, in _proc_environ | |
return cext.proc_environ(self.pid, self._procfs_path) | |
ValueError: Pointer block is truncated | |
====================================================================== | |
FAIL: test_environ (proc=psutil.Process(pid=2, name='pageout')) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_contracts.py", line 310, in test_fetch_all | |
ret = attr(*args, **kwargs) | |
File "/psutil/psutil/__init__.py", line 884, in environ | |
return self._proc.environ() | |
File "/psutil/psutil/_pssunos.py", line 339, in wrapper | |
return fun(self, *args, **kwargs) | |
File "/psutil/psutil/_pssunos.py", line 425, in environ | |
return self._proc_environ() | |
File "/psutil/psutil/_common.py", line 338, in wrapper | |
ret = cache[fun] = fun(self) | |
File "/psutil/psutil/_pssunos.py", line 389, in _proc_environ | |
return cext.proc_environ(self.pid, self._procfs_path) | |
ValueError: Pointer block is truncated | |
====================================================================== | |
FAIL: test_environ (proc=psutil.Process(pid=3, name='fsflush')) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_contracts.py", line 310, in test_fetch_all | |
ret = attr(*args, **kwargs) | |
File "/psutil/psutil/__init__.py", line 884, in environ | |
return self._proc.environ() | |
File "/psutil/psutil/_pssunos.py", line 339, in wrapper | |
return fun(self, *args, **kwargs) | |
File "/psutil/psutil/_pssunos.py", line 425, in environ | |
return self._proc_environ() | |
File "/psutil/psutil/_common.py", line 338, in wrapper | |
ret = cache[fun] = fun(self) | |
File "/psutil/psutil/_pssunos.py", line 389, in _proc_environ | |
return cext.proc_environ(self.pid, self._procfs_path) | |
ValueError: Pointer block is truncated | |
====================================================================== | |
FAIL: test_environ (proc=psutil.Process(pid=4, name='kmem_task')) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_contracts.py", line 310, in test_fetch_all | |
ret = attr(*args, **kwargs) | |
File "/psutil/psutil/__init__.py", line 884, in environ | |
return self._proc.environ() | |
File "/psutil/psutil/_pssunos.py", line 339, in wrapper | |
return fun(self, *args, **kwargs) | |
File "/psutil/psutil/_pssunos.py", line 425, in environ | |
return self._proc_environ() | |
File "/psutil/psutil/_common.py", line 338, in wrapper | |
ret = cache[fun] = fun(self) | |
File "/psutil/psutil/_pssunos.py", line 389, in _proc_environ | |
return cext.proc_environ(self.pid, self._procfs_path) | |
ValueError: Pointer block is truncated | |
====================================================================== | |
FAIL: test_environ (proc=psutil.Process(pid=5, name='vmtasks')) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_contracts.py", line 310, in test_fetch_all | |
ret = attr(*args, **kwargs) | |
File "/psutil/psutil/__init__.py", line 884, in environ | |
return self._proc.environ() | |
File "/psutil/psutil/_pssunos.py", line 339, in wrapper | |
return fun(self, *args, **kwargs) | |
File "/psutil/psutil/_pssunos.py", line 425, in environ | |
return self._proc_environ() | |
File "/psutil/psutil/_common.py", line 338, in wrapper | |
ret = cache[fun] = fun(self) | |
File "/psutil/psutil/_pssunos.py", line 389, in _proc_environ | |
return cext.proc_environ(self.pid, self._procfs_path) | |
ValueError: Pointer block is truncated | |
====================================================================== | |
FAIL: psutil.tests.test_misc.TestNetUtils.test_create_sockets | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_misc.py", line 1009, in test_create_sockets | |
self.assertGreaterEqual(fams[socket.AF_INET6], 2) | |
AssertionError: 0 not greater than or equal to 2 | |
====================================================================== | |
FAIL: psutil.tests.test_posix.TestSystemAPIs.test_disk_usage | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_posix.py", line 386, in test_disk_usage | |
self.assertAlmostEqual(usage.total, total, delta=tolerance) | |
AssertionError: 1135529984 != 1098379264 within 4194304 delta | |
====================================================================== | |
FAIL: psutil.tests.test_process.TestProcess.test_cmdline | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_process.py", line 716, in test_cmdline | |
' '.join(cmdline)) | |
AssertionError: '/pupy/client/sources-linux/buildenv-sunos/build/bin/python2.7 -c -c' != '/pupy/client/sources-linux/buildenv-sunos/build/bin/python2.7 -c import time; time.sleep(60)' | |
====================================================================== | |
FAIL: psutil.tests.test_process.TestProcess.test_environ | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_process.py", line 1411, in test_environ | |
self.assertEqual(d, d2) | |
AssertionError: {'LC_NUMERIC': 'ru_RU.UTF-8', 'GNOME_DESKTOP_SESSION_ID': 'Default', 'dtstart_se [truncated]... != {'LC_NUMERIC': 'ru_RU.UTF-8', 'GNOME_DESKTOP_SESSION_ID': 'Default', 'dtstart_se [truncated]... {'AB_CARDCATALOG': '/usr/dt/share/answerbooks/ru_RU.UTF-8/ab_cardcatalog', | |
'BUILDENV': '/pupy/client/sources-linux/buildenv-sunos/', | |
'CFLAGS': '-m64 -fPIC -DHAVE_AS_X86_64_UNWIND_SECTION_TYPE -DSUNOS_NO_IFADDRS -I/pupy/client/sources-linux/buildenv-sunos//build/include -I/pupy/client/sources-linux/buildenv-sunos//build/lib/libffi-3.2.1/include', | |
'COLORTERM': 'gnome-terminal', | |
'DESKTOP_STARTUP_ID': '', | |
'DISPLAY': ':0.0', | |
'DTAPPSEARCHPATH': '//.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C', | |
'DTDATABASESEARCHPATH': '//.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C', | |
'DTDEVROOT': '', | |
'DTHELPSEARCHPATH': '//.dt/help/root-unknown-0/%H://.dt/help/root-unknown-0/%H.sdl://.dt/help/root-unknown-0/%H.hv://.dt/help/%H://.dt/help/%H.sdl://.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv', | |
'DTSCREENSAVERLIST': 'StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank', | |
'DTSOURCEPROFILE': 'true', | |
'DTUSERSESSION': 'root-unknown-0', | |
'DTXSERVERLOCATION': 'local', | |
'EDITOR': '/usr/dt/bin/dtpad', | |
'GNOME_DESKTOP_SESSION_ID': 'Default', | |
'GNOME_KEYRING_SOCKET': '/var/tmp/keyring-gTwuyL/socket', | |
'GTK_IM_MODULE': 'iiim', | |
'GTK_RC_FILES': '/etc/gtk/gtkrc://.gtkrc-1.2-gnome2', | |
'G_BROKEN_FILENAMES': 'yes', | |
'G_FILENAME_ENCODING': '@locale,UTF-8', | |
'HELPPATH': '/usr/openwin/lib/locale:/usr/openwin/lib/help', | |
'HOME': '/', | |
'LANG': 'ru_RU.UTF-8', | |
'LC_COLLATE': 'ru_RU.UTF-8', | |
'LC_CTYPE': 'ru_RU.UTF-8', | |
'LC_MESSAGES': 'ru_RU.UTF-8', | |
'LC_MONETARY': 'ru_RU.UTF-8', | |
'LC_NUMERIC': 'ru_RU.UTF-8', | |
'LC_TIME': 'ru_RU.UTF-8', | |
'LDFLAGS': '-m64 -fPIC -L/pupy/client/sources-linux/buildenv-sunos//build/lib', | |
'LD_LIBRARY_PATH': '/pupy/client/sources-linux/buildenv-sunos//build/lib', | |
'LOGNAME': 'root', | |
'MAIL': '/var/mail/root', | |
'MAKEFLAGS': '', | |
'MAKELEVEL': '1', | |
'MANPATH': '/usr/dt/man:/usr/man:/usr/openwin/share/man', | |
'OLDPWD': '/pupy/client/sources-linux', | |
'OPENWINHOME': '/usr/openwin', | |
'PATH': '/pupy/client/sources-linux/buildenv-sunos//build/bin:/opt/csw/bin/:/usr/sfw/bin/:/usr/xpg4/bin/:/usr/sfw/i386-sun-solaris2.10/bin/:/pupy/client/sources-linux/buildenv-sunos//build/bin:/opt/csw/bin/:/usr/sfw/bin/:/usr/xpg4/bin/:/usr/sfw/i386-sun-solaris2.10/bin/:/opt/csw/bin/:/usr/sfw/bin/:/usr/xpg4/bin/:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb', | |
'PKG_CONFIG_PATH': '/pupy/client/sources-linux/buildenv-sunos//build/lib/pkgconfig', | |
+ 'PLAT': 'solaris-2.10-i86pc.64bit', | |
'PWD': '/psutil', | |
'PYTHONWARNINGS': 'all', | |
'SDT_NO_DTDBCACHE': '1', | |
'SDT_NO_TOOLTALK': '1', | |
'SESSIONTYPE': 'altDt', | |
'SESSION_MANAGER': 'local/unknown:/tmp/.ICE-unix/15787,inet6/unknown:34064,inet/unknown:34065', | |
'SESSION_SVR': 'unknown', | |
'SGS_SUPPORT': 'libmakestate.so.1', | |
'SHELL': '/opt/csw/bin/bash', | |
'SHLVL': '2', | |
'START_SPECKEYSD': 'no', | |
'TERM': 'xterm', | |
'TZ': 'Europe/Kiev', | |
'USER': 'root', | |
'VIRTUAL_ROOT': '/', | |
'WINDOWID': '58720305', | |
'XFILESEARCHPATH': '/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S', | |
'XMBINDDIR': '/usr/dt/lib/bindings', | |
'XMICONBMSEARCHPATH': '//.dt/icons/%B%M.bm://.dt/icons/%B%M.pm://.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B', | |
'XMICONSEARCHPATH': '//.dt/icons/%B%M.pm://.dt/icons/%B%M.bm://.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B', | |
'_': '/usr/xpg4/bin/make', | |
'dtstart_sessionlogfile': '/dev/null'} | |
====================================================================== | |
FAIL: psutil.tests.test_process.TestProcess.test_weird_environ | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_process.py", line 1441, in test_weird_environ | |
self.assertEqual(p.environ(), {"A": "1", "C": "3"}) | |
AssertionError: {'A': '1'} != {'A': '1', 'C': '3'} | |
- {'A': '1'} | |
+ {'A': '1', 'C': '3'} | |
====================================================================== | |
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cmdline | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_unicode.py", line 207, in test_proc_cmdline | |
self.assertEqual(cmdline, [self.funky_name]) | |
AssertionError: Lists differ: [''] != ['/psutil/$testfnf\xc0\x80'] | |
First differing element 0: | |
'' | |
'/psutil/$testfnf\xc0\x80' | |
- [''] | |
+ ['/psutil/$testfnf\xc0\x80'] | |
====================================================================== | |
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_exe | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_unicode.py", line 180, in test_proc_exe | |
self.assertEqual(exe, self.funky_name) | |
AssertionError: '' != '/psutil/$testfnf\xc0\x80' | |
====================================================================== | |
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/psutil/psutil/tests/test_unicode.py", line 197, in test_proc_name | |
self.assertEqual(name, os.path.basename(self.funky_name)) | |
AssertionError: '' != '$testfnf\xc0\x80' | |
---------------------------------------------------------------------- | |
Ran 552 tests in 11.167s | |
FAILED (failures=9, errors=5, skipped=239) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment