giampaolo/psutil — pull request #557 by 0-wiz-0 (2014-12-11 18:07:24+00:00)
Title: Add basic NetBSD support.

Signed-off-by: Thomas Klausner

I've updated my one-year old patch.

There are still a lot of test failures. Are these because I didn't implement everything or because there are some major bugs?

rm -f `find . -type f -name \*.py[co]`
rm -f `find . -type f -name \*.so`
rm -f `find . -type f -name .\*~`
rm -f `find . -type f -name \*.orig`
rm -f `find . -type f -name \*.bak`
rm -f `find . -type f -name \*.rej`
rm -rf `find . -type d -name __pycache__`
rm -rf *.egg-info
rm -rf *\estfile*
rm -rf .tox
rm -rf build
rm -rf dist
rm -rf docs/_build
python2.7 setup.py build
running build
running build_py
creating build
creating build/lib.netbsd-7.99.2-amd64-2.7
creating build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/__init__.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_common.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_compat.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_psbsd.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_pslinux.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_psosx.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_psposix.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_pssunos.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_pswindows.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
copying psutil/_psnetbsd.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil
running build_ext
building '_psutil_netbsd' extension
creating build/temp.netbsd-7.99.2-amd64-2.7
creating build/temp.netbsd-7.99.2-amd64-2.7/psutil
creating build/temp.netbsd-7.99.2-amd64-2.7/psutil/arch
creating build/temp.netbsd-7.99.2-amd64-2.7/psutil/arch/netbsd
gcc -fno-strict-aliasing -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -fPIC -I/usr/pkg/include/python2.7 -c psutil/_psutil_netbsd.c -o build/temp.netbsd-7.99.2-amd64-2.7/psutil/_psutil_netbsd.o
gcc -fno-strict-aliasing -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -fPIC -I/usr/pkg/include/python2.7 -c psutil/_psutil_common.c -o build/temp.netbsd-7.99.2-amd64-2.7/psutil/_psutil_common.o
gcc -fno-strict-aliasing -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -fPIC -I/usr/pkg/include/python2.7 -c psutil/arch/netbsd/process_info.c -o build/temp.netbsd-7.99.2-amd64-2.7/psutil/arch/netbsd/process_info.o
gcc -shared -L/scratch/lang/python27/work/Python-2.7.8 -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib build/temp.netbsd-7.99.2-amd64-2.7/psutil/_psutil_netbsd.o build/temp.netbsd-7.99.2-amd64-2.7/psutil/_psutil_common.o build/temp.netbsd-7.99.2-amd64-2.7/psutil/arch/netbsd/process_info.o -L/usr/pkg/lib -lpython2.7 -o build/lib.netbsd-7.99.2-amd64-2.7/_psutil_netbsd.so
building '_psutil_posix' extension
gcc -fno-strict-aliasing -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -DHAVE_DB_185_H -pthread -I/usr/include -I/usr/pkg/include -fPIC -I/usr/pkg/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.netbsd-7.99.2-amd64-2.7/psutil/_psutil_posix.o
gcc -shared -L/scratch/lang/python27/work/Python-2.7.8 -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib build/temp.netbsd-7.99.2-amd64-2.7/psutil/_psutil_posix.o -L/usr/pkg/lib -lpython2.7 -o build/lib.netbsd-7.99.2-amd64-2.7/_psutil_posix.so
python2.7 setup.py install --user;
running install
running bdist_egg
running egg_info
creating psutil.egg-info
writing psutil.egg-info/PKG-INFO
writing top-level names to psutil.egg-info/top_level.txt
writing dependency_links to psutil.egg-info/dependency_links.txt
writing manifest file 'psutil.egg-info/SOURCES.txt'
reading manifest file 'psutil.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'docs/_build'
writing manifest file 'psutil.egg-info/SOURCES.txt'
installing library code to build/bdist.netbsd-7.99.2-amd64/egg
running install_lib
running build_py
running build_ext
creating build/bdist.netbsd-7.99.2-amd64
creating build/bdist.netbsd-7.99.2-amd64/egg
creating build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/__init__.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_common.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_compat.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psbsd.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_pslinux.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psosx.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psposix.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_pssunos.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_pswindows.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psnetbsd.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil
copying build/lib.netbsd-7.99.2-amd64-2.7/_psutil_netbsd.so -> build/bdist.netbsd-7.99.2-amd64/egg
copying build/lib.netbsd-7.99.2-amd64-2.7/_psutil_posix.so -> build/bdist.netbsd-7.99.2-amd64/egg
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py to __init__.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_common.py to _common.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_compat.py to _compat.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psbsd.py to _psbsd.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_pslinux.py to _pslinux.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psosx.py to _psosx.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psposix.py to _psposix.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_pssunos.py to _pssunos.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_pswindows.py to _pswindows.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py to _psnetbsd.pyc
creating stub loader for _psutil_netbsd.so
creating stub loader for _psutil_posix.so
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/_psutil_netbsd.py to _psutil_netbsd.pyc
byte-compiling build/bdist.netbsd-7.99.2-amd64/egg/_psutil_posix.py to _psutil_posix.pyc
creating build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO
copying psutil.egg-info/PKG-INFO -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO
copying psutil.egg-info/SOURCES.txt -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO
copying psutil.egg-info/dependency_links.txt -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO
copying psutil.egg-info/top_level.txt -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO
writing build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg' and adding 'build/bdist.netbsd-7.99.2-amd64/egg' to it
removing 'build/bdist.netbsd-7.99.2-amd64/egg' (and everything under it)
Processing psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg
Removing /home/wiz/.local/lib/python2.7/site-packages/psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg
Copying psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg to /home/wiz/.local/lib/python2.7/site-packages
psutil 2.2.0 is already the active version in easy-install.pth

Installed /home/wiz/.local/lib/python2.7/site-packages/psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg
Processing dependencies for psutil==2.2.0
Finished processing dependencies for psutil==2.2.0
python2.7 test/test_psutil.py
/usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
test_PAGESIZE (__main__.TestSystemAPIs) ... ok
test_boot_time (__main__.TestSystemAPIs) ... ok
test_cpu_count (__main__.TestSystemAPIs) ... FAIL
test_deprecated_apis (__main__.TestSystemAPIs) ... ERROR
test_deprecated_apis_retval (__main__.TestSystemAPIs) ... ERROR
test_disk_io_counters (__main__.TestSystemAPIs) ... ERROR
test_disk_partitions (__main__.TestSystemAPIs) ... ok
test_disk_usage (__main__.TestSystemAPIs) ... ok
test_disk_usage_unicode (__main__.TestSystemAPIs) ... ok
test_net_connections (__main__.TestSystemAPIs) ... ERROR
test_net_io_counters (__main__.TestSystemAPIs) ... ok
test_pid_exists (__main__.TestSystemAPIs) ... ERROR
test_pid_exists_2 (__main__.TestSystemAPIs) ... ERROR
test_pids (__main__.TestSystemAPIs) ... ERROR
test_process_iter (__main__.TestSystemAPIs) ... ERROR
test_process_iter_against_pids (__main__.TestSystemAPIs) ... ERROR
test_swap_memory (__main__.TestSystemAPIs) ... ERROR
test_sys_cpu_percent (__main__.TestSystemAPIs) ... ok
test_sys_cpu_times (__main__.TestSystemAPIs) ... ok
test_sys_cpu_times2 (__main__.TestSystemAPIs) ... ok
test_sys_cpu_times_percent (__main__.TestSystemAPIs) ... ok
test_sys_per_cpu_percent (__main__.TestSystemAPIs) ... ok
test_sys_per_cpu_times (__main__.TestSystemAPIs) ... ok
test_sys_per_cpu_times2 (__main__.TestSystemAPIs) ... ok
test_sys_per_cpu_times_percent (__main__.TestSystemAPIs) ... ok
test_test (__main__.TestSystemAPIs) ... ERROR
test_users (__main__.TestSystemAPIs) ... ok
test_virtual_memory (__main__.TestSystemAPIs) ... ERROR
test_wait_procs (__main__.TestSystemAPIs) ... ERROR
test_wait_procs_no_timeout (__main__.TestSystemAPIs) ... ERROR
test_Popen (__main__.TestProcess) ... ERROR
test_as_dict (__main__.TestProcess) ... ERROR
test_children (__main__.TestProcess) ... ERROR
test_children_duplicates (__main__.TestProcess) ... ERROR
test_children_recursive (__main__.TestProcess) ... ERROR
test_cmdline (__main__.TestProcess) ... ERROR
test_connection_constants (__main__.TestProcess) ... ok
test_connection_fromfd (__main__.TestProcess) ... ERROR
test_connections (__main__.TestProcess) ... ERROR
test_connections_all (__main__.TestProcess) ... ERROR
test_connections_ipv6 (__main__.TestProcess) ... ERROR
test_connections_unix (__main__.TestProcess) ... ERROR
test_cpu_affinity (__main__.TestProcess) ... skipped 'not available on this platform'
test_cpu_percent (__main__.TestProcess) ... ERROR
test_cpu_times (__main__.TestProcess) ... ERROR
test_cpu_times2 (__main__.TestProcess) ... ERROR
test_create_time (__main__.TestProcess) ... ERROR
test_cwd (__main__.TestProcess) ... ERROR
test_cwd_2 (__main__.TestProcess) ... ERROR
test_exe (__main__.TestProcess) ... ERROR
test_gids (__main__.TestProcess) ... ERROR
test_halfway_terminated_process (__main__.TestProcess) ... ERROR
test_invalid_pid (__main__.TestProcess) ... ok
test_io_counters (__main__.TestProcess) ... ERROR
test_ionice (__main__.TestProcess) ... skipped 'Linux and Windows Vista only'
test_is_running (__main__.TestProcess) ... ERROR
test_kill (__main__.TestProcess) ... ERROR
test_memory_info (__main__.TestProcess) ... ERROR
test_memory_maps (__main__.TestProcess) ... ERROR
test_memory_percent (__main__.TestProcess) ... ERROR
test_name (__main__.TestProcess) ... ERROR
test_nice (__main__.TestProcess) ... ERROR
test_num_ctx_switches (__main__.TestProcess) ... ERROR
test_num_fds (__main__.TestProcess) ... ERROR
test_num_handles (__main__.TestProcess) ... skipped 'Windows only'
test_num_threads (__main__.TestProcess) ... ERROR
test_open_files (__main__.TestProcess) ... ERROR
test_open_files2 (__main__.TestProcess) ... ERROR
test_parent_ppid (__main__.TestProcess) ... ERROR
test_pid (__main__.TestProcess) ... ERROR
test_pid_0 (__main__.TestProcess) ... ERROR
test_rlimit_get (__main__.TestProcess) ... skipped 'only available on Linux >= 2.6.36'
test_rlimit_set (__main__.TestProcess) ... skipped 'only available on Linux >= 2.6.36'
test_send_signal (__main__.TestProcess) ... ERROR
test_status (__main__.TestProcess) ... ERROR
test_suspend_resume (__main__.TestProcess) ... ERROR
test_terminal (__main__.TestProcess) ... ERROR
test_terminate (__main__.TestProcess) ... ERROR
test_threads (__main__.TestProcess) ... ERROR
test_uids (__main__.TestProcess) ... ERROR
test_username (__main__.TestProcess) ... ERROR
test_wait (__main__.TestProcess) ... ERROR
test_wait_non_children (__main__.TestProcess) ... ERROR
test_wait_timeout_0 (__main__.TestProcess) ... ERROR
test_zombie_process (__main__.TestProcess) ... ERROR
test_fetch_all (__main__.TestFetchAllProcesses) ... ERROR
test__all__ (__main__.TestMisc) ... ok
test__eq__ (__main__.TestMisc) ... ERROR
test__hash__ (__main__.TestMisc) ... ERROR
test__str__ (__main__.TestMisc) ... ERROR
test_memoize (__main__.TestMisc) ... ok
test_serialization (__main__.TestMisc) ... ERROR
test_check_presence (__main__.TestExampleScripts) ... ok
test_disk_usage (__main__.TestExampleScripts) ... test/test_psutil.py:170: UserWarning: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)

warnings.warn(msg, UserWarning)
ok
test_free (__main__.TestExampleScripts) ... ERROR
test_iotop (__main__.TestExampleScripts) ... ok
test_killall (__main__.TestExampleScripts) ... ok
test_meminfo (__main__.TestExampleScripts) ... ERROR
test_netstat (__main__.TestExampleScripts) ... ERROR
test_nettop (__main__.TestExampleScripts) ... ok
test_pmap (__main__.TestExampleScripts) ... ERROR
test_process_detail (__main__.TestExampleScripts) ... ERROR
test_ps (__main__.TestExampleScripts) ... ERROR
test_pstree (__main__.TestExampleScripts) ... ERROR
test_top (__main__.TestExampleScripts) ... ok
test_who (__main__.TestExampleScripts) ... ok
test_Popen (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_as_dict (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_children (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_children_duplicates (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_children_recursive (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_cmdline (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_connection_constants (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_connection_fromfd (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_connections (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_connections_all (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_connections_ipv6 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_connections_unix (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_cpu_affinity (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_cpu_percent (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_cpu_times (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_cpu_times2 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_create_time (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_cwd (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_cwd_2 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_exe (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_gids (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_halfway_terminated_process (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_invalid_pid (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_io_counters (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_ionice (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_is_running (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_kill (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_memory_info (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_memory_maps (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_memory_percent (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_name (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_nice (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_num_ctx_switches (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_num_fds (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_num_handles (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_num_threads (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_open_files (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_open_files2 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_parent_ppid (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_pid (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_pid_0 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_rlimit_get (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_rlimit_set (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_send_signal (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_status (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_suspend_resume (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_terminal (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_terminate (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_threads (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_uids (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_username (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_wait (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_wait_non_children (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_wait_timeout_0 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
test_zombie_process (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'
ERROR
ERROR

======================================================================
ERROR: test_deprecated_apis (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 590, in test_deprecated_apis
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_deprecated_apis_retval (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 670, in test_deprecated_apis_retval
self.assertEqual(psutil.total_virtmem(),
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_common.py", line 124, in inner
return fun(*args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1879, in total_virtmem
return virtmem_usage().total
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_common.py", line 124, in inner
return fun(*args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1864, in virtmem_usage
return swap_memory()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1692, in swap_memory
return _psplatform.swap_memory()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 81, in swap_memory
total, used, free, sin, sout = [x * PAGESIZE for x in cext.swap_mem()]
SystemError: error return without exception set

======================================================================
ERROR: test_disk_io_counters (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1030, in test_disk_io_counters
ret = psutil.disk_io_counters(perdisk=False)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1738, in disk_io_counters
rawdict = _psplatform.disk_io_counters()
SystemError: error return without exception set

======================================================================
ERROR: test_net_connections (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 983, in test_net_connections
cons = psutil.net_connections(kind)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1804, in net_connections
return _psplatform.net_connections(kind)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 185, in net_connections
rawlist = cext.net_connections()
SystemError: error return without exception set

======================================================================
ERROR: test_pid_exists (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 705, in test_pid_exists
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_pid_exists_2 (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 716, in test_pid_exists_2
pids = psutil.pids()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_pids (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 731, in test_pids
plist = [x.pid for x in psutil.process_iter()]
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter
a = set(pids())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_process_iter (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 511, in test_process_iter
self.assertIn(os.getpid(), [x.pid for x in psutil.process_iter()])
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter
a = set(pids())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_process_iter_against_pids (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 383, in wrapper
return fun(*args, **kwargs)
File "test/test_psutil.py", line 521, in test_process_iter_against_pids
self.assertEqual(len(list(psutil.process_iter())), len(psutil.pids()))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter
a = set(pids())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_swap_memory (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 692, in test_swap_memory
mem = psutil.swap_memory()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1692, in swap_memory
return _psplatform.swap_memory()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 81, in swap_memory
total, used, free, sin, sout = [x * PAGESIZE for x in cext.swap_mem()]
SystemError: error return without exception set

======================================================================
ERROR: test_test (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 742, in test_test
psutil.test()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1912, in test
for p in process_iter():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter
a = set(pids())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_virtual_memory (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 674, in test_virtual_memory
mem = psutil.virtual_memory()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1673, in virtual_memory
ret = _psplatform.virtual_memory()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 71, in virtual_memory
total, free, active, inactive, wired, cached, buffers, shared = mem
ValueError: need more than 6 values to unpack

======================================================================
ERROR: test_wait_procs (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 527, in test_wait_procs
sproc1 = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_wait_procs_no_timeout (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 565, in test_wait_procs_no_timeout
sproc1 = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_Popen (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2130, in test_Popen
stderr=subprocess.PIPE)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1216, in __init__
self._init(self.__subproc.pid, _ignore_nsp=True)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_as_dict (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1966, in test_as_dict
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_children (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1900, in test_children
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_children_duplicates (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1935, in test_children_duplicates
for p in psutil.process_iter():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter
a = set(pids())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_children_recursive (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1919, in test_children_recursive
get_test_subprocess(cmd=[PYTHON, "-c", s])
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_cmdline (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1499, in test_cmdline
sproc = get_test_subprocess(cmdline, wait=True)
File "test/test_psutil.py", line 143, in get_test_subprocess
wait_for_pid(sproc.pid)
File "test/test_psutil.py", line 240, in wait_for_pid
if pid in psutil.pids():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_connection_fromfd (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1774, in test_connection_fromfd
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_connections (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1709, in test_connections
sproc = get_test_subprocess([PYTHON, "-c", arg])
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_connections_all (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1813, in test_connections_all
tcp4_proc = pyrun(tcp4_template)
File "test/test_psutil.py", line 163, in pyrun
stderr=None)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_connections_ipv6 (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1737, in test_connections_ipv6
cons = psutil.Process().connections()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_connections_unix (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1763, in test_connections_unix
check(SOCK_STREAM)
File "test/test_psutil.py", line 1750, in check
cons = psutil.Process().connections(kind='unix')
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_cpu_percent (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1196, in test_cpu_percent
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_cpu_times (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1209, in test_cpu_times
times = psutil.Process().cpu_times()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_cpu_times2 (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1224, in test_cpu_times2
user_time, kernel_time = psutil.Process().cpu_times()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_create_time (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1237, in test_create_time
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_cwd (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1585, in test_cwd
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_cwd_2 (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1591, in test_cwd_2
sproc = get_test_subprocess(cmd, wait=True)
File "test/test_psutil.py", line 143, in get_test_subprocess
wait_for_pid(sproc.pid)
File "test/test_psutil.py", line 240, in wait_for_pid
if pid in psutil.pids():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_exe (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1479, in test_exe
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_gids (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1524, in test_gids
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_halfway_terminated_process (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1983, in test_halfway_terminated_process
sproc = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_io_counters (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 416, in wrapper
return fun(*args, **kwargs)
File "test/test_psutil.py", line 1265, in test_io_counters
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_is_running (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1469, in test_is_running
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_kill (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1075, in test_kill
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_memory_info (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1413, in test_memory_info
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_memory_maps (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1436, in test_memory_maps
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_memory_percent (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1465, in test_memory_percent
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_name (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1504, in test_name
sproc = get_test_subprocess(PYTHON, wait=True)
File "test/test_psutil.py", line 143, in get_test_subprocess
wait_for_pid(sproc.pid)
File "test/test_psutil.py", line 240, in wait_for_pid
if pid in psutil.pids():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_nice (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1536, in test_nice
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_num_ctx_switches (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 416, in wrapper
return fun(*args, **kwargs)
File "test/test_psutil.py", line 1879, in test_num_ctx_switches
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_num_fds (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1865, in test_num_fds
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_num_threads (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1369, in test_num_threads
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_open_files (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1627, in test_open_files
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_open_files2 (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1655, in test_open_files2
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_parent_ppid (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1889, in test_parent_ppid
sproc = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_pid (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1070, in test_pid
self.assertEqual(psutil.Process().pid, os.getpid())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_pid_0 (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2082, in test_pid_0
if 0 not in psutil.pids():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_send_signal (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1096, in test_send_signal
sproc = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_status (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1566, in test_status
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_suspend_resume (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1951, in test_suspend_resume
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_terminal (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1255, in test_terminal
terminal = psutil.Process().terminal()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_terminate (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1085, in test_terminate
sproc = get_test_subprocess(wait=True)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_threads (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1389, in test_threads
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_uids (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1511, in test_uids
p = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_username (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1570, in test_username
sproc = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_wait (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1107, in test_wait
sproc = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_wait_non_children (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1162, in test_wait_non_children
stdout=subprocess.PIPE)
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_wait_timeout_0 (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 1176, in test_wait_timeout_0
sproc = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_zombie_process (__main__.TestProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2078, in test_zombie_process
reap_children(search_all=True)
File "test/test_psutil.py", line 257, in reap_children
this_process = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_fetch_all (__main__.TestFetchAllProcesses)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2182, in test_fetch_all
for p in psutil.process_iter():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter
a = set(pids())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids
return _psplatform.pids()
RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test__eq__ (__main__.TestMisc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2488, in test__eq__
p1 = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test__hash__ (__main__.TestMisc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2496, in test__hash__
s = set([psutil.Process(), psutil.Process()])
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test__str__ (__main__.TestMisc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2473, in test__str__
sproc = get_test_subprocess()
File "test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_serialization (__main__.TestMisc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2562, in test_serialization
check(psutil.Process().as_dict())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: test_free (__main__.TestExampleScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2618, in test_free
self.assert_stdout('free.py')
File "test/test_psutil.py", line 2589, in assert_stdout
out = sh(sys.executable + ' ' + exe).strip()
File "test/test_psutil.py", line 180, in sh
raise RuntimeError(stderr)
RuntimeError: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/archive/foreign/psutil/examples/free.py", line 41, in
main()
File "/archive/foreign/psutil/examples/free.py", line 20, in main
virt = psutil.virtual_memory()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1673, in virtual_memory

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 71, in virtual_memory
ValueError: need more than 6 values to unpack

======================================================================
ERROR: test_meminfo (__main__.TestExampleScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2621, in test_meminfo
self.assert_stdout('meminfo.py')
File "test/test_psutil.py", line 2589, in assert_stdout
out = sh(sys.executable + ' ' + exe).strip()
File "test/test_psutil.py", line 180, in sh
raise RuntimeError(stderr)
RuntimeError: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/archive/foreign/psutil/examples/meminfo.py", line 68, in
main()
File "/archive/foreign/psutil/examples/meminfo.py", line 63, in main
pprint_ntuple(psutil.virtual_memory())
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1673, in virtual_memory

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 71, in virtual_memory
ValueError: need more than 6 values to unpack

======================================================================
ERROR: test_netstat (__main__.TestExampleScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2636, in test_netstat
self.assert_stdout('netstat.py')
File "test/test_psutil.py", line 2589, in assert_stdout
out = sh(sys.executable + ' ' + exe).strip()
File "test/test_psutil.py", line 180, in sh
raise RuntimeError(stderr)
RuntimeError: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/archive/foreign/psutil/examples/netstat.py", line 64, in
main()
File "/archive/foreign/psutil/examples/netstat.py", line 44, in main
for p in psutil.process_iter():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids

RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_pmap (__main__.TestExampleScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2639, in test_pmap
self.assert_stdout('pmap.py', args=str(os.getpid()))
File "test/test_psutil.py", line 2589, in assert_stdout
out = sh(sys.executable + ' ' + exe).strip()
File "test/test_psutil.py", line 180, in sh
raise RuntimeError(stderr)
RuntimeError: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/archive/foreign/psutil/examples/pmap.py", line 57, in
main()
File "/archive/foreign/psutil/examples/pmap.py", line 41, in main
p = psutil.Process(int(sys.argv[1]))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
SystemError: error return without exception set

======================================================================
ERROR: test_process_detail (__main__.TestExampleScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2624, in test_process_detail
self.assert_stdout('process_detail.py')
File "test/test_psutil.py", line 2589, in assert_stdout
out = sh(sys.executable + ' ' + exe).strip()
File "test/test_psutil.py", line 180, in sh
raise RuntimeError(stderr)
RuntimeError: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/archive/foreign/psutil/examples/process_detail.py", line 162, in
sys.exit(main())
File "/archive/foreign/psutil/examples/process_detail.py", line 155, in main
sys.exit(run(os.getpid()))
File "/archive/foreign/psutil/examples/process_detail.py", line 69, in run
p = psutil.Process(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
SystemError: error return without exception set

======================================================================
ERROR: test_ps (__main__.TestExampleScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2630, in test_ps
self.assert_stdout('ps.py')
File "test/test_psutil.py", line 2589, in assert_stdout
out = sh(sys.executable + ' ' + exe).strip()
File "test/test_psutil.py", line 180, in sh
raise RuntimeError(stderr)
RuntimeError: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/archive/foreign/psutil/examples/ps.py", line 81, in
main()
File "/archive/foreign/psutil/examples/ps.py", line 31, in main
for p in psutil.process_iter():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids

RuntimeError: failed to retrieve process list.

======================================================================
ERROR: test_pstree (__main__.TestExampleScripts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 2633, in test_pstree
self.assert_stdout('pstree.py')
File "test/test_psutil.py", line 2589, in assert_stdout
out = sh(sys.executable + ' ' + exe).strip()
File "test/test_psutil.py", line 180, in sh
raise RuntimeError(stderr)
RuntimeError: /usr/pkg/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/wiz/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "/archive/foreign/psutil/examples/pstree.py", line 71, in
main()
File "/archive/foreign/psutil/examples/pstree.py", line 59, in main
for p in psutil.process_iter():
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1291, in process_iter

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 1245, in pids

RuntimeError: failed to retrieve process list.

======================================================================
ERROR: setUpClass (_posix.PosixSpecificTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/archive/foreign/psutil/test/_posix.py", line 51, in setUpClass
stdin=subprocess.PIPE).pid
File "/archive/foreign/psutil/test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
ERROR: setUpClass (_bsd.BSDSpecificTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/archive/foreign/psutil/test/_bsd.py", line 57, in setUpClass
cls.pid = get_test_subprocess().pid
File "/archive/foreign/psutil/test/test_psutil.py", line 144, in get_test_subprocess
_subprocesses_started.add(psutil.Process(sproc.pid))
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set

======================================================================
FAIL: test_cpu_count (__main__.TestSystemAPIs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_psutil.py", line 752, in test_cpu_count
self.assertGreaterEqual(physical, 1)
AssertionError: None not greater than or equal to 1

----------------------------------------------------------------------
Ran 161 tests in 1.662s

FAILED (failures=1, errors=76, skipped=60)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/archive/foreign/psutil/test/test_psutil.py", line 100, in cleanup
reap_children(search_all=True)
File "/archive/foreign/psutil/test/test_psutil.py", line 257, in reap_children
this_process = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "test/test_psutil.py", line 100, in cleanup
reap_children(search_all=True)
File "test/test_psutil.py", line 257, in reap_children
this_process = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__
self._init(pid)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init
self.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time
self._create_time = self._proc.create_time()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
return fun(self, *args, **kwargs)
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
return cext.proc_create_time(self.pid)
SystemError: error return without exception set
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "test/test_psutil.py", line 100, in cleanup
reap_children(search_all=True)
File "test/test_psutil.py", line 257, in reap_children
this_process = psutil.Process()
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 300, in __init__

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 326, in _init

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py", line 584, in create_time

File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 210, in wrapper
File "build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py", line 283, in create_time
SystemError: error return without exception set
*** Error code 1

Stop.
make: stopped in /archive/foreign/psutil