{"action":"created","comment":{"url":"https://api.github.com/repos/giampaolo/psutil/pulls/comments/48597150","id":48597150,"diff_hunk":"@@ -0,0 +1,662 @@\n+/*\n+ * Copyright (c) 2009, Giampaolo Rodola', Landry Breuil.\n+ * All rights reserved.\n+ * Use of this source code is governed by a BSD-style license that can be\n+ * found in the LICENSE file.\n+ *\n+ * Platform-specific module methods for NetBSD.\n+ */\n+\n+#if defined(__NetBSD__)\n+#define _KMEMUSER\n+#endif\n+\n+#include <Python.h>\n+#include <assert.h>\n+#include <errno.h>\n+#include <stdlib.h>\n+#include <stdio.h>\n+#include <string.h>\n+#include <fcntl.h>\n+#include <sys/types.h>\n+#include <sys/param.h>\n+#include <sys/sysctl.h>\n+#include <sys/user.h>\n+#include <sys/proc.h>\n+#include <sys/swap.h>  // for swap_mem\n+#include <signal.h>\n+#include <kvm.h>\n+// connection stuff\n+#include <netdb.h>  // for NI_MAXHOST\n+#include <sys/socket.h>\n+#include <sys/sched.h>  // for CPUSTATES & CP_*\n+#define _KERNEL  // for DTYPE_*\n+#include <sys/file.h>\n+#undef _KERNEL\n+#include <sys/disk.h>  // struct diskstats\n+#include <netinet/in.h>\n+#include <arpa/inet.h>\n+\n+\n+#include \"netbsd.h\"\n+#include \"netbsd_socks.h\"\n+\n+#define PSUTIL_KPT2DOUBLE(t) (t ## _sec + t ## _usec / 1000000.0)\n+#define PSUTIL_TV2DOUBLE(t) ((t).tv_sec + (t).tv_usec / 1000000.0)\n+\n+\n+// ============================================================================\n+// Utility functions\n+// ============================================================================\n+\n+int\n+psutil_kinfo_proc(pid_t pid, kinfo_proc *proc) {\n+    // Fills a kinfo_proc struct based on process pid.\n+    int ret;\n+    int mib[6];\n+    size_t size = sizeof(kinfo_proc);\n+\n+    mib[0] = CTL_KERN;\n+    mib[1] = KERN_PROC2;\n+    mib[2] = KERN_PROC_PID;\n+    mib[3] = pid;\n+    mib[4] = size;\n+    mib[5] = 1;\n+\n+    ret = sysctl((int*)mib, 6, proc, &size, NULL, 0);\n+    if (ret == -1) {\n+        PyErr_SetFromErrno(PyExc_OSError);\n+        return -1;\n+    }\n+    // sysctl stores 0 in the size if we can't find the process information.\n+    if (size == 0) {\n+        NoSuchProcess();\n+        return -1;\n+    }\n+    return 0;\n+}\n+\n+\n+struct kinfo_file *\n+kinfo_getfile(pid_t pid, int* cnt) {\n+    // Mimic's FreeBSD kinfo_file call, taking a pid and a ptr to an\n+    // int as arg and returns an array with cnt struct kinfo_file.\n+    int mib[6];\n+    size_t len;\n+    struct kinfo_file* kf;\n+    mib[0] = CTL_KERN;\n+    mib[1] = KERN_FILE2;\n+    mib[2] = KERN_FILE_BYPID;\n+    mib[3] = (int) pid;\n+    mib[4] = sizeof(struct kinfo_file);\n+    mib[5] = 0;\n+\n+    /* get the size of what would be returned */\n+    if (sysctl(mib, 6, NULL, &len, NULL, 0) < 0) {\n+        PyErr_SetFromErrno(PyExc_OSError);\n+        return NULL;\n+    }\n+    if ((kf = malloc(len)) == NULL) {\n+        PyErr_SetFromErrno(PyExc_OSError);","path":"psutil/arch/bsd/netbsd.c","position":100,"original_position":100,"commit_id":"e124acbab43f5506fa49820c672fa75293b6e5fc","original_commit_id":"e124acbab43f5506fa49820c672fa75293b6e5fc","user":{"login":"giampaolo","id":681260,"avatar_url":"https://avatars.githubusercontent.com/u/681260?v=3","gravatar_id":"","url":"https://api.github.com/users/giampaolo","html_url":"https://github.com/giampaolo","followers_url":"https://api.github.com/users/giampaolo/followers","following_url":"https://api.github.com/users/giampaolo/following{/other_user}","gists_url":"https://api.github.com/users/giampaolo/gists{/gist_id}","starred_url":"https://api.github.com/users/giampaolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giampaolo/subscriptions","organizations_url":"https://api.github.com/users/giampaolo/orgs","repos_url":"https://api.github.com/users/giampaolo/repos","events_url":"https://api.github.com/users/giampaolo/events{/privacy}","received_events_url":"https://api.github.com/users/giampaolo/received_events","type":"User","site_admin":false},"body":"This should be `PyErr_NoMemory();`\r\n","created_at":"2015-12-30T10:34:25Z","updated_at":"2015-12-30T10:34:25Z","html_url":"https://github.com/giampaolo/psutil/pull/557#discussion_r48597150","pull_request_url":"https://api.github.com/repos/giampaolo/psutil/pulls/557","_links":{"self":{"href":"https://api.github.com/repos/giampaolo/psutil/pulls/comments/48597150"},"html":{"href":"https://github.com/giampaolo/psutil/pull/557#discussion_r48597150"},"pull_request":{"href":"https://api.github.com/repos/giampaolo/psutil/pulls/557"}}},"pull_request":{"url":"https://api.github.com/repos/giampaolo/psutil/pulls/557","id":25919774,"html_url":"https://github.com/giampaolo/psutil/pull/557","diff_url":"https://github.com/giampaolo/psutil/pull/557.diff","patch_url":"https://github.com/giampaolo/psutil/pull/557.patch","issue_url":"https://api.github.com/repos/giampaolo/psutil/issues/557","number":557,"state":"open","locked":false,"title":"Add basic NetBSD support.","user":{"login":"0-wiz-0","id":2221844,"avatar_url":"https://avatars.githubusercontent.com/u/2221844?v=3","gravatar_id":"","url":"https://api.github.com/users/0-wiz-0","html_url":"https://github.com/0-wiz-0","followers_url":"https://api.github.com/users/0-wiz-0/followers","following_url":"https://api.github.com/users/0-wiz-0/following{/other_user}","gists_url":"https://api.github.com/users/0-wiz-0/gists{/gist_id}","starred_url":"https://api.github.com/users/0-wiz-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0-wiz-0/subscriptions","organizations_url":"https://api.github.com/users/0-wiz-0/orgs","repos_url":"https://api.github.com/users/0-wiz-0/repos","events_url":"https://api.github.com/users/0-wiz-0/events{/privacy}","received_events_url":"https://api.github.com/users/0-wiz-0/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Thomas Klausner <tk@giga.or.at>\r\n\r\nI've updated my one-year old patch.\r\n\r\nThere are still a lot of test failures. Are these because I didn't implement everything or because there are some major bugs?\r\n\r\n````\r\nrm -f `find . -type f -name \\*.py[co]`\r\nrm -f `find . -type f -name \\*.so`\r\nrm -f `find . -type f -name .\\*~`\r\nrm -f `find . -type f -name \\*.orig`\r\nrm -f `find . -type f -name \\*.bak`\r\nrm -f `find . -type f -name \\*.rej`\r\nrm -rf `find . -type d -name __pycache__`\r\nrm -rf *.egg-info\r\nrm -rf *\\estfile*\r\nrm -rf .tox\r\nrm -rf build\r\nrm -rf dist\r\nrm -rf docs/_build\r\npython2.7 setup.py build\r\nrunning build\r\nrunning build_py\r\ncreating build\r\ncreating build/lib.netbsd-7.99.2-amd64-2.7\r\ncreating build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/__init__.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_common.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_compat.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_psbsd.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_pslinux.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_psosx.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_psposix.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_pssunos.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_pswindows.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\ncopying psutil/_psnetbsd.py -> build/lib.netbsd-7.99.2-amd64-2.7/psutil\r\nrunning build_ext\r\nbuilding '_psutil_netbsd' extension\r\ncreating build/temp.netbsd-7.99.2-amd64-2.7\r\ncreating build/temp.netbsd-7.99.2-amd64-2.7/psutil\r\ncreating build/temp.netbsd-7.99.2-amd64-2.7/psutil/arch\r\ncreating build/temp.netbsd-7.99.2-amd64-2.7/psutil/arch/netbsd\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\ngcc -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\r\nbuilding '_psutil_posix' extension\r\ngcc -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\r\ngcc -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\r\npython2.7 setup.py install --user;\r\nrunning install\r\nrunning bdist_egg\r\nrunning egg_info\r\ncreating psutil.egg-info\r\nwriting psutil.egg-info/PKG-INFO\r\nwriting top-level names to psutil.egg-info/top_level.txt\r\nwriting dependency_links to psutil.egg-info/dependency_links.txt\r\nwriting manifest file 'psutil.egg-info/SOURCES.txt'\r\nreading manifest file 'psutil.egg-info/SOURCES.txt'\r\nreading manifest template 'MANIFEST.in'\r\nwarning: no previously-included files matching '*' found under directory 'docs/_build'\r\nwriting manifest file 'psutil.egg-info/SOURCES.txt'\r\ninstalling library code to build/bdist.netbsd-7.99.2-amd64/egg\r\nrunning install_lib\r\nrunning build_py\r\nrunning build_ext\r\ncreating build/bdist.netbsd-7.99.2-amd64\r\ncreating build/bdist.netbsd-7.99.2-amd64/egg\r\ncreating build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/__init__.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_common.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_compat.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psbsd.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_pslinux.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psosx.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psposix.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_pssunos.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_pswindows.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/psutil/_psnetbsd.py -> build/bdist.netbsd-7.99.2-amd64/egg/psutil\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/_psutil_netbsd.so -> build/bdist.netbsd-7.99.2-amd64/egg\r\ncopying build/lib.netbsd-7.99.2-amd64-2.7/_psutil_posix.so -> build/bdist.netbsd-7.99.2-amd64/egg\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py to __init__.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_common.py to _common.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_compat.py to _compat.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psbsd.py to _psbsd.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_pslinux.py to _pslinux.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psosx.py to _psosx.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psposix.py to _psposix.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_pssunos.py to _pssunos.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_pswindows.py to _pswindows.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py to _psnetbsd.pyc\r\ncreating stub loader for _psutil_netbsd.so\r\ncreating stub loader for _psutil_posix.so\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/_psutil_netbsd.py to _psutil_netbsd.pyc\r\nbyte-compiling build/bdist.netbsd-7.99.2-amd64/egg/_psutil_posix.py to _psutil_posix.pyc\r\ncreating build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO\r\ncopying psutil.egg-info/PKG-INFO -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO\r\ncopying psutil.egg-info/SOURCES.txt -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO\r\ncopying psutil.egg-info/dependency_links.txt -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO\r\ncopying psutil.egg-info/top_level.txt -> build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO\r\nwriting build/bdist.netbsd-7.99.2-amd64/egg/EGG-INFO/native_libs.txt\r\nzip_safe flag not set; analyzing archive contents...\r\ncreating dist\r\ncreating '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\r\nremoving 'build/bdist.netbsd-7.99.2-amd64/egg' (and everything under it)\r\nProcessing psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg\r\nRemoving /home/wiz/.local/lib/python2.7/site-packages/psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg\r\nCopying psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg to /home/wiz/.local/lib/python2.7/site-packages\r\npsutil 2.2.0 is already the active version in easy-install.pth\r\n\r\nInstalled /home/wiz/.local/lib/python2.7/site-packages/psutil-2.2.0-py2.7-netbsd-7.99.2-amd64.egg\r\nProcessing dependencies for psutil==2.2.0\r\nFinished processing dependencies for psutil==2.2.0\r\npython2.7 test/test_psutil.py\r\n/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).\r\n  warnings.warn(msg, UserWarning)\r\ntest_PAGESIZE (__main__.TestSystemAPIs) ... ok\r\ntest_boot_time (__main__.TestSystemAPIs) ... ok\r\ntest_cpu_count (__main__.TestSystemAPIs) ... FAIL\r\ntest_deprecated_apis (__main__.TestSystemAPIs) ... ERROR\r\ntest_deprecated_apis_retval (__main__.TestSystemAPIs) ... ERROR\r\ntest_disk_io_counters (__main__.TestSystemAPIs) ... ERROR\r\ntest_disk_partitions (__main__.TestSystemAPIs) ... ok\r\ntest_disk_usage (__main__.TestSystemAPIs) ... ok\r\ntest_disk_usage_unicode (__main__.TestSystemAPIs) ... ok\r\ntest_net_connections (__main__.TestSystemAPIs) ... ERROR\r\ntest_net_io_counters (__main__.TestSystemAPIs) ... ok\r\ntest_pid_exists (__main__.TestSystemAPIs) ... ERROR\r\ntest_pid_exists_2 (__main__.TestSystemAPIs) ... ERROR\r\ntest_pids (__main__.TestSystemAPIs) ... ERROR\r\ntest_process_iter (__main__.TestSystemAPIs) ... ERROR\r\ntest_process_iter_against_pids (__main__.TestSystemAPIs) ... ERROR\r\ntest_swap_memory (__main__.TestSystemAPIs) ... ERROR\r\ntest_sys_cpu_percent (__main__.TestSystemAPIs) ... ok\r\ntest_sys_cpu_times (__main__.TestSystemAPIs) ... ok\r\ntest_sys_cpu_times2 (__main__.TestSystemAPIs) ... ok\r\ntest_sys_cpu_times_percent (__main__.TestSystemAPIs) ... ok\r\ntest_sys_per_cpu_percent (__main__.TestSystemAPIs) ... ok\r\ntest_sys_per_cpu_times (__main__.TestSystemAPIs) ... ok\r\ntest_sys_per_cpu_times2 (__main__.TestSystemAPIs) ... ok\r\ntest_sys_per_cpu_times_percent (__main__.TestSystemAPIs) ... ok\r\ntest_test (__main__.TestSystemAPIs) ... ERROR\r\ntest_users (__main__.TestSystemAPIs) ... ok\r\ntest_virtual_memory (__main__.TestSystemAPIs) ... ERROR\r\ntest_wait_procs (__main__.TestSystemAPIs) ... ERROR\r\ntest_wait_procs_no_timeout (__main__.TestSystemAPIs) ... ERROR\r\ntest_Popen (__main__.TestProcess) ... ERROR\r\ntest_as_dict (__main__.TestProcess) ... ERROR\r\ntest_children (__main__.TestProcess) ... ERROR\r\ntest_children_duplicates (__main__.TestProcess) ... ERROR\r\ntest_children_recursive (__main__.TestProcess) ... ERROR\r\ntest_cmdline (__main__.TestProcess) ... ERROR\r\ntest_connection_constants (__main__.TestProcess) ... ok\r\ntest_connection_fromfd (__main__.TestProcess) ... ERROR\r\ntest_connections (__main__.TestProcess) ... ERROR\r\ntest_connections_all (__main__.TestProcess) ... ERROR\r\ntest_connections_ipv6 (__main__.TestProcess) ... ERROR\r\ntest_connections_unix (__main__.TestProcess) ... ERROR\r\ntest_cpu_affinity (__main__.TestProcess) ... skipped 'not available on this platform'\r\ntest_cpu_percent (__main__.TestProcess) ... ERROR\r\ntest_cpu_times (__main__.TestProcess) ... ERROR\r\ntest_cpu_times2 (__main__.TestProcess) ... ERROR\r\ntest_create_time (__main__.TestProcess) ... ERROR\r\ntest_cwd (__main__.TestProcess) ... ERROR\r\ntest_cwd_2 (__main__.TestProcess) ... ERROR\r\ntest_exe (__main__.TestProcess) ... ERROR\r\ntest_gids (__main__.TestProcess) ... ERROR\r\ntest_halfway_terminated_process (__main__.TestProcess) ... ERROR\r\ntest_invalid_pid (__main__.TestProcess) ... ok\r\ntest_io_counters (__main__.TestProcess) ... ERROR\r\ntest_ionice (__main__.TestProcess) ... skipped 'Linux and Windows Vista only'\r\ntest_is_running (__main__.TestProcess) ... ERROR\r\ntest_kill (__main__.TestProcess) ... ERROR\r\ntest_memory_info (__main__.TestProcess) ... ERROR\r\ntest_memory_maps (__main__.TestProcess) ... ERROR\r\ntest_memory_percent (__main__.TestProcess) ... ERROR\r\ntest_name (__main__.TestProcess) ... ERROR\r\ntest_nice (__main__.TestProcess) ... ERROR\r\ntest_num_ctx_switches (__main__.TestProcess) ... ERROR\r\ntest_num_fds (__main__.TestProcess) ... ERROR\r\ntest_num_handles (__main__.TestProcess) ... skipped 'Windows only'\r\ntest_num_threads (__main__.TestProcess) ... ERROR\r\ntest_open_files (__main__.TestProcess) ... ERROR\r\ntest_open_files2 (__main__.TestProcess) ... ERROR\r\ntest_parent_ppid (__main__.TestProcess) ... ERROR\r\ntest_pid (__main__.TestProcess) ... ERROR\r\ntest_pid_0 (__main__.TestProcess) ... ERROR\r\ntest_rlimit_get (__main__.TestProcess) ... skipped 'only available on Linux >= 2.6.36'\r\ntest_rlimit_set (__main__.TestProcess) ... skipped 'only available on Linux >= 2.6.36'\r\ntest_send_signal (__main__.TestProcess) ... ERROR\r\ntest_status (__main__.TestProcess) ... ERROR\r\ntest_suspend_resume (__main__.TestProcess) ... ERROR\r\ntest_terminal (__main__.TestProcess) ... ERROR\r\ntest_terminate (__main__.TestProcess) ... ERROR\r\ntest_threads (__main__.TestProcess) ... ERROR\r\ntest_uids (__main__.TestProcess) ... ERROR\r\ntest_username (__main__.TestProcess) ... ERROR\r\ntest_wait (__main__.TestProcess) ... ERROR\r\ntest_wait_non_children (__main__.TestProcess) ... ERROR\r\ntest_wait_timeout_0 (__main__.TestProcess) ... ERROR\r\ntest_zombie_process (__main__.TestProcess) ... ERROR\r\ntest_fetch_all (__main__.TestFetchAllProcesses) ... ERROR\r\ntest__all__ (__main__.TestMisc) ... ok\r\ntest__eq__ (__main__.TestMisc) ... ERROR\r\ntest__hash__ (__main__.TestMisc) ... ERROR\r\ntest__str__ (__main__.TestMisc) ... ERROR\r\ntest_memoize (__main__.TestMisc) ... ok\r\ntest_serialization (__main__.TestMisc) ... ERROR\r\ntest_check_presence (__main__.TestExampleScripts) ... ok\r\ntest_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).\r\n  warnings.warn(msg, UserWarning)\r\n\r\n  warnings.warn(msg, UserWarning)\r\nok\r\ntest_free (__main__.TestExampleScripts) ... ERROR\r\ntest_iotop (__main__.TestExampleScripts) ... ok\r\ntest_killall (__main__.TestExampleScripts) ... ok\r\ntest_meminfo (__main__.TestExampleScripts) ... ERROR\r\ntest_netstat (__main__.TestExampleScripts) ... ERROR\r\ntest_nettop (__main__.TestExampleScripts) ... ok\r\ntest_pmap (__main__.TestExampleScripts) ... ERROR\r\ntest_process_detail (__main__.TestExampleScripts) ... ERROR\r\ntest_ps (__main__.TestExampleScripts) ... ERROR\r\ntest_pstree (__main__.TestExampleScripts) ... ERROR\r\ntest_top (__main__.TestExampleScripts) ... ok\r\ntest_who (__main__.TestExampleScripts) ... ok\r\ntest_Popen (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_as_dict (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_children (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_children_duplicates (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_children_recursive (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_cmdline (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_connection_constants (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_connection_fromfd (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_connections (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_connections_all (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_connections_ipv6 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_connections_unix (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_cpu_affinity (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_cpu_percent (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_cpu_times (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_cpu_times2 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_create_time (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_cwd (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_cwd_2 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_exe (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_gids (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_halfway_terminated_process (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_invalid_pid (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_io_counters (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_ionice (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_is_running (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_kill (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_memory_info (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_memory_maps (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_memory_percent (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_name (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_nice (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_num_ctx_switches (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_num_fds (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_num_handles (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_num_threads (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_open_files (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_open_files2 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_parent_ppid (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_pid (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_pid_0 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_rlimit_get (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_rlimit_set (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_send_signal (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_status (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_suspend_resume (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_terminal (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_terminate (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_threads (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_uids (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_username (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_wait (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_wait_non_children (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_wait_timeout_0 (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\ntest_zombie_process (__main__.LimitedUserTestCase) ... skipped 'super user privileges are required'\r\nERROR\r\nERROR\r\n\r\n======================================================================\r\nERROR: test_deprecated_apis (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 590, in test_deprecated_apis\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_deprecated_apis_retval (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 670, in test_deprecated_apis_retval\r\n    self.assertEqual(psutil.total_virtmem(),\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_common.py\", line 124, in inner\r\n    return fun(*args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1879, in total_virtmem\r\n    return virtmem_usage().total\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_common.py\", line 124, in inner\r\n    return fun(*args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1864, in virtmem_usage\r\n    return swap_memory()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1692, in swap_memory\r\n    return _psplatform.swap_memory()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 81, in swap_memory\r\n    total, used, free, sin, sout = [x * PAGESIZE for x in cext.swap_mem()]\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_disk_io_counters (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1030, in test_disk_io_counters\r\n    ret = psutil.disk_io_counters(perdisk=False)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1738, in disk_io_counters\r\n    rawdict = _psplatform.disk_io_counters()\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_net_connections (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 983, in test_net_connections\r\n    cons = psutil.net_connections(kind)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1804, in net_connections\r\n    return _psplatform.net_connections(kind)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 185, in net_connections\r\n    rawlist = cext.net_connections()\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_pid_exists (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 705, in test_pid_exists\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_pid_exists_2 (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 716, in test_pid_exists_2\r\n    pids = psutil.pids()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_pids (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 731, in test_pids\r\n    plist = [x.pid for x in psutil.process_iter()]\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    a = set(pids())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_process_iter (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 511, in test_process_iter\r\n    self.assertIn(os.getpid(), [x.pid for x in psutil.process_iter()])\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    a = set(pids())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_process_iter_against_pids (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 383, in wrapper\r\n    return fun(*args, **kwargs)\r\n  File \"test/test_psutil.py\", line 521, in test_process_iter_against_pids\r\n    self.assertEqual(len(list(psutil.process_iter())), len(psutil.pids()))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    a = set(pids())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_swap_memory (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 692, in test_swap_memory\r\n    mem = psutil.swap_memory()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1692, in swap_memory\r\n    return _psplatform.swap_memory()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 81, in swap_memory\r\n    total, used, free, sin, sout = [x * PAGESIZE for x in cext.swap_mem()]\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_test (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 742, in test_test\r\n    psutil.test()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1912, in test\r\n    for p in process_iter():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    a = set(pids())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_virtual_memory (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 674, in test_virtual_memory\r\n    mem = psutil.virtual_memory()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1673, in virtual_memory\r\n    ret = _psplatform.virtual_memory()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 71, in virtual_memory\r\n    total, free, active, inactive, wired, cached, buffers, shared = mem\r\nValueError: need more than 6 values to unpack\r\n\r\n======================================================================\r\nERROR: test_wait_procs (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 527, in test_wait_procs\r\n    sproc1 = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_wait_procs_no_timeout (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 565, in test_wait_procs_no_timeout\r\n    sproc1 = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_Popen (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2130, in test_Popen\r\n    stderr=subprocess.PIPE)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1216, in __init__\r\n    self._init(self.__subproc.pid, _ignore_nsp=True)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_as_dict (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1966, in test_as_dict\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_children (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1900, in test_children\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_children_duplicates (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1935, in test_children_duplicates\r\n    for p in psutil.process_iter():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    a = set(pids())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_children_recursive (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1919, in test_children_recursive\r\n    get_test_subprocess(cmd=[PYTHON, \"-c\", s])\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_cmdline (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1499, in test_cmdline\r\n    sproc = get_test_subprocess(cmdline, wait=True)\r\n  File \"test/test_psutil.py\", line 143, in get_test_subprocess\r\n    wait_for_pid(sproc.pid)\r\n  File \"test/test_psutil.py\", line 240, in wait_for_pid\r\n    if pid in psutil.pids():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_connection_fromfd (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1774, in test_connection_fromfd\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_connections (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1709, in test_connections\r\n    sproc = get_test_subprocess([PYTHON, \"-c\", arg])\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_connections_all (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1813, in test_connections_all\r\n    tcp4_proc = pyrun(tcp4_template)\r\n  File \"test/test_psutil.py\", line 163, in pyrun\r\n    stderr=None)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_connections_ipv6 (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1737, in test_connections_ipv6\r\n    cons = psutil.Process().connections()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_connections_unix (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1763, in test_connections_unix\r\n    check(SOCK_STREAM)\r\n  File \"test/test_psutil.py\", line 1750, in check\r\n    cons = psutil.Process().connections(kind='unix')\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_cpu_percent (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1196, in test_cpu_percent\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_cpu_times (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1209, in test_cpu_times\r\n    times = psutil.Process().cpu_times()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_cpu_times2 (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1224, in test_cpu_times2\r\n    user_time, kernel_time = psutil.Process().cpu_times()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_create_time (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1237, in test_create_time\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_cwd (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1585, in test_cwd\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_cwd_2 (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1591, in test_cwd_2\r\n    sproc = get_test_subprocess(cmd, wait=True)\r\n  File \"test/test_psutil.py\", line 143, in get_test_subprocess\r\n    wait_for_pid(sproc.pid)\r\n  File \"test/test_psutil.py\", line 240, in wait_for_pid\r\n    if pid in psutil.pids():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_exe (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1479, in test_exe\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_gids (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1524, in test_gids\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_halfway_terminated_process (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1983, in test_halfway_terminated_process\r\n    sproc = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_io_counters (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 416, in wrapper\r\n    return fun(*args, **kwargs)\r\n  File \"test/test_psutil.py\", line 1265, in test_io_counters\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_is_running (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1469, in test_is_running\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_kill (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1075, in test_kill\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_memory_info (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1413, in test_memory_info\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_memory_maps (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1436, in test_memory_maps\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_memory_percent (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1465, in test_memory_percent\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_name (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1504, in test_name\r\n    sproc = get_test_subprocess(PYTHON, wait=True)\r\n  File \"test/test_psutil.py\", line 143, in get_test_subprocess\r\n    wait_for_pid(sproc.pid)\r\n  File \"test/test_psutil.py\", line 240, in wait_for_pid\r\n    if pid in psutil.pids():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_nice (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1536, in test_nice\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_num_ctx_switches (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 416, in wrapper\r\n    return fun(*args, **kwargs)\r\n  File \"test/test_psutil.py\", line 1879, in test_num_ctx_switches\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_num_fds (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1865, in test_num_fds\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_num_threads (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1369, in test_num_threads\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_open_files (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1627, in test_open_files\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_open_files2 (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1655, in test_open_files2\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_parent_ppid (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1889, in test_parent_ppid\r\n    sproc = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_pid (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1070, in test_pid\r\n    self.assertEqual(psutil.Process().pid, os.getpid())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_pid_0 (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2082, in test_pid_0\r\n    if 0 not in psutil.pids():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test_send_signal (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1096, in test_send_signal\r\n    sproc = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_status (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1566, in test_status\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_suspend_resume (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1951, in test_suspend_resume\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_terminal (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1255, in test_terminal\r\n    terminal = psutil.Process().terminal()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_terminate (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1085, in test_terminate\r\n    sproc = get_test_subprocess(wait=True)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_threads (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1389, in test_threads\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_uids (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1511, in test_uids\r\n    p = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_username (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1570, in test_username\r\n    sproc = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_wait (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1107, in test_wait\r\n    sproc = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_wait_non_children (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1162, in test_wait_non_children\r\n    stdout=subprocess.PIPE)\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_wait_timeout_0 (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 1176, in test_wait_timeout_0\r\n    sproc = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_zombie_process (__main__.TestProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2078, in test_zombie_process\r\n    reap_children(search_all=True)\r\n  File \"test/test_psutil.py\", line 257, in reap_children\r\n    this_process = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_fetch_all (__main__.TestFetchAllProcesses)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2182, in test_fetch_all\r\n    for p in psutil.process_iter():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    a = set(pids())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    return _psplatform.pids()\r\nRuntimeError: failed to retrieve process list.\r\n\r\n======================================================================\r\nERROR: test__eq__ (__main__.TestMisc)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2488, in test__eq__\r\n    p1 = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test__hash__ (__main__.TestMisc)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2496, in test__hash__\r\n    s = set([psutil.Process(), psutil.Process()])\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test__str__ (__main__.TestMisc)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2473, in test__str__\r\n    sproc = get_test_subprocess()\r\n  File \"test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_serialization (__main__.TestMisc)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2562, in test_serialization\r\n    check(psutil.Process().as_dict())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: test_free (__main__.TestExampleScripts)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2618, in test_free\r\n    self.assert_stdout('free.py')\r\n  File \"test/test_psutil.py\", line 2589, in assert_stdout\r\n    out = sh(sys.executable + ' ' + exe).strip()\r\n  File \"test/test_psutil.py\", line 180, in sh\r\n    raise RuntimeError(stderr)\r\nRuntimeError: /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).\r\n  warnings.warn(msg, UserWarning)\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/examples/free.py\", line 41, in <module>\r\n    main()\r\n  File \"/archive/foreign/psutil/examples/free.py\", line 20, in main\r\n    virt = psutil.virtual_memory()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1673, in virtual_memory\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 71, in virtual_memory\r\nValueError: need more than 6 values to unpack\r\n\r\n\r\n======================================================================\r\nERROR: test_meminfo (__main__.TestExampleScripts)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2621, in test_meminfo\r\n    self.assert_stdout('meminfo.py')\r\n  File \"test/test_psutil.py\", line 2589, in assert_stdout\r\n    out = sh(sys.executable + ' ' + exe).strip()\r\n  File \"test/test_psutil.py\", line 180, in sh\r\n    raise RuntimeError(stderr)\r\nRuntimeError: /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).\r\n  warnings.warn(msg, UserWarning)\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/examples/meminfo.py\", line 68, in <module>\r\n    main()\r\n  File \"/archive/foreign/psutil/examples/meminfo.py\", line 63, in main\r\n    pprint_ntuple(psutil.virtual_memory())\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1673, in virtual_memory\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 71, in virtual_memory\r\nValueError: need more than 6 values to unpack\r\n\r\n\r\n======================================================================\r\nERROR: test_netstat (__main__.TestExampleScripts)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2636, in test_netstat\r\n    self.assert_stdout('netstat.py')\r\n  File \"test/test_psutil.py\", line 2589, in assert_stdout\r\n    out = sh(sys.executable + ' ' + exe).strip()\r\n  File \"test/test_psutil.py\", line 180, in sh\r\n    raise RuntimeError(stderr)\r\nRuntimeError: /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).\r\n  warnings.warn(msg, UserWarning)\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/examples/netstat.py\", line 64, in <module>\r\n    main()\r\n  File \"/archive/foreign/psutil/examples/netstat.py\", line 44, in main\r\n    for p in psutil.process_iter():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    \r\nRuntimeError: failed to retrieve process list.\r\n\r\n\r\n======================================================================\r\nERROR: test_pmap (__main__.TestExampleScripts)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2639, in test_pmap\r\n    self.assert_stdout('pmap.py', args=str(os.getpid()))\r\n  File \"test/test_psutil.py\", line 2589, in assert_stdout\r\n    out = sh(sys.executable + ' ' + exe).strip()\r\n  File \"test/test_psutil.py\", line 180, in sh\r\n    raise RuntimeError(stderr)\r\nRuntimeError: /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).\r\n  warnings.warn(msg, UserWarning)\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/examples/pmap.py\", line 57, in <module>\r\n    main()\r\n  File \"/archive/foreign/psutil/examples/pmap.py\", line 41, in main\r\n    p = psutil.Process(int(sys.argv[1]))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\nSystemError: error return without exception set\r\n\r\n\r\n======================================================================\r\nERROR: test_process_detail (__main__.TestExampleScripts)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2624, in test_process_detail\r\n    self.assert_stdout('process_detail.py')\r\n  File \"test/test_psutil.py\", line 2589, in assert_stdout\r\n    out = sh(sys.executable + ' ' + exe).strip()\r\n  File \"test/test_psutil.py\", line 180, in sh\r\n    raise RuntimeError(stderr)\r\nRuntimeError: /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).\r\n  warnings.warn(msg, UserWarning)\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/examples/process_detail.py\", line 162, in <module>\r\n    sys.exit(main())\r\n  File \"/archive/foreign/psutil/examples/process_detail.py\", line 155, in main\r\n    sys.exit(run(os.getpid()))\r\n  File \"/archive/foreign/psutil/examples/process_detail.py\", line 69, in run\r\n    p = psutil.Process(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\nSystemError: error return without exception set\r\n\r\n\r\n======================================================================\r\nERROR: test_ps (__main__.TestExampleScripts)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2630, in test_ps\r\n    self.assert_stdout('ps.py')\r\n  File \"test/test_psutil.py\", line 2589, in assert_stdout\r\n    out = sh(sys.executable + ' ' + exe).strip()\r\n  File \"test/test_psutil.py\", line 180, in sh\r\n    raise RuntimeError(stderr)\r\nRuntimeError: /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).\r\n  warnings.warn(msg, UserWarning)\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/examples/ps.py\", line 81, in <module>\r\n    main()\r\n  File \"/archive/foreign/psutil/examples/ps.py\", line 31, in main\r\n    for p in psutil.process_iter():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    \r\nRuntimeError: failed to retrieve process list.\r\n\r\n\r\n======================================================================\r\nERROR: test_pstree (__main__.TestExampleScripts)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 2633, in test_pstree\r\n    self.assert_stdout('pstree.py')\r\n  File \"test/test_psutil.py\", line 2589, in assert_stdout\r\n    out = sh(sys.executable + ' ' + exe).strip()\r\n  File \"test/test_psutil.py\", line 180, in sh\r\n    raise RuntimeError(stderr)\r\nRuntimeError: /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).\r\n  warnings.warn(msg, UserWarning)\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/examples/pstree.py\", line 71, in <module>\r\n    main()\r\n  File \"/archive/foreign/psutil/examples/pstree.py\", line 59, in main\r\n    for p in psutil.process_iter():\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1291, in process_iter\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 1245, in pids\r\n    \r\nRuntimeError: failed to retrieve process list.\r\n\r\n\r\n======================================================================\r\nERROR: setUpClass (_posix.PosixSpecificTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/test/_posix.py\", line 51, in setUpClass\r\n    stdin=subprocess.PIPE).pid\r\n  File \"/archive/foreign/psutil/test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nERROR: setUpClass (_bsd.BSDSpecificTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/archive/foreign/psutil/test/_bsd.py\", line 57, in setUpClass\r\n    cls.pid = get_test_subprocess().pid\r\n  File \"/archive/foreign/psutil/test/test_psutil.py\", line 144, in get_test_subprocess\r\n    _subprocesses_started.add(psutil.Process(sproc.pid))\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\n\r\n======================================================================\r\nFAIL: test_cpu_count (__main__.TestSystemAPIs)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test/test_psutil.py\", line 752, in test_cpu_count\r\n    self.assertGreaterEqual(physical, 1)\r\nAssertionError: None not greater than or equal to 1\r\n\r\n----------------------------------------------------------------------\r\nRan 161 tests in 1.662s\r\n\r\nFAILED (failures=1, errors=76, skipped=60)\r\nError in atexit._run_exitfuncs:\r\nTraceback (most recent call last):\r\n  File \"/usr/pkg/lib/python2.7/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/archive/foreign/psutil/test/test_psutil.py\", line 100, in cleanup\r\n    reap_children(search_all=True)\r\n  File \"/archive/foreign/psutil/test/test_psutil.py\", line 257, in reap_children\r\n    this_process = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\nError in atexit._run_exitfuncs:\r\nTraceback (most recent call last):\r\n  File \"/usr/pkg/lib/python2.7/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"test/test_psutil.py\", line 100, in cleanup\r\n    reap_children(search_all=True)\r\n  File \"test/test_psutil.py\", line 257, in reap_children\r\n    this_process = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    self._init(pid)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    self.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    self._create_time = self._proc.create_time()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n    return fun(self, *args, **kwargs)\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\n    return cext.proc_create_time(self.pid)\r\nSystemError: error return without exception set\r\nError in sys.exitfunc:\r\nTraceback (most recent call last):\r\n  File \"/usr/pkg/lib/python2.7/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"test/test_psutil.py\", line 100, in cleanup\r\n    reap_children(search_all=True)\r\n  File \"test/test_psutil.py\", line 257, in reap_children\r\n    this_process = psutil.Process()\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 300, in __init__\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 326, in _init\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/__init__.py\", line 584, in create_time\r\n    \r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 210, in wrapper\r\n  File \"build/bdist.netbsd-7.99.2-amd64/egg/psutil/_psnetbsd.py\", line 283, in create_time\r\nSystemError: error return without exception set\r\n*** Error code 1\r\n\r\nStop.\r\nmake: stopped in /archive/foreign/psutil\r\n````","created_at":"2014-12-11T18:07:24Z","updated_at":"2015-12-30T10:34:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1ba88096cb918c937dd0c38b90bc92a35823ebc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/giampaolo/psutil/pulls/557/commits","review_comments_url":"https://api.github.com/repos/giampaolo/psutil/pulls/557/comments","review_comment_url":"https://api.github.com/repos/giampaolo/psutil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/giampaolo/psutil/issues/557/comments","statuses_url":"https://api.github.com/repos/giampaolo/psutil/statuses/e124acbab43f5506fa49820c672fa75293b6e5fc","head":{"label":"0-wiz-0:master","ref":"master","sha":"e124acbab43f5506fa49820c672fa75293b6e5fc","user":{"login":"0-wiz-0","id":2221844,"avatar_url":"https://avatars.githubusercontent.com/u/2221844?v=3","gravatar_id":"","url":"https://api.github.com/users/0-wiz-0","html_url":"https://github.com/0-wiz-0","followers_url":"https://api.github.com/users/0-wiz-0/followers","following_url":"https://api.github.com/users/0-wiz-0/following{/other_user}","gists_url":"https://api.github.com/users/0-wiz-0/gists{/gist_id}","starred_url":"https://api.github.com/users/0-wiz-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0-wiz-0/subscriptions","organizations_url":"https://api.github.com/users/0-wiz-0/orgs","repos_url":"https://api.github.com/users/0-wiz-0/repos","events_url":"https://api.github.com/users/0-wiz-0/events{/privacy}","received_events_url":"https://api.github.com/users/0-wiz-0/received_events","type":"User","site_admin":false},"repo":{"id":27884379,"name":"psutil","full_name":"0-wiz-0/psutil","owner":{"login":"0-wiz-0","id":2221844,"avatar_url":"https://avatars.githubusercontent.com/u/2221844?v=3","gravatar_id":"","url":"https://api.github.com/users/0-wiz-0","html_url":"https://github.com/0-wiz-0","followers_url":"https://api.github.com/users/0-wiz-0/followers","following_url":"https://api.github.com/users/0-wiz-0/following{/other_user}","gists_url":"https://api.github.com/users/0-wiz-0/gists{/gist_id}","starred_url":"https://api.github.com/users/0-wiz-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0-wiz-0/subscriptions","organizations_url":"https://api.github.com/users/0-wiz-0/orgs","repos_url":"https://api.github.com/users/0-wiz-0/repos","events_url":"https://api.github.com/users/0-wiz-0/events{/privacy}","received_events_url":"https://api.github.com/users/0-wiz-0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0-wiz-0/psutil","description":"A cross-platform process and system utilities module for Python","fork":true,"url":"https://api.github.com/repos/0-wiz-0/psutil","forks_url":"https://api.github.com/repos/0-wiz-0/psutil/forks","keys_url":"https://api.github.com/repos/0-wiz-0/psutil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0-wiz-0/psutil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0-wiz-0/psutil/teams","hooks_url":"https://api.github.com/repos/0-wiz-0/psutil/hooks","issue_events_url":"https://api.github.com/repos/0-wiz-0/psutil/issues/events{/number}","events_url":"https://api.github.com/repos/0-wiz-0/psutil/events","assignees_url":"https://api.github.com/repos/0-wiz-0/psutil/assignees{/user}","branches_url":"https://api.github.com/repos/0-wiz-0/psutil/branches{/branch}","tags_url":"https://api.github.com/repos/0-wiz-0/psutil/tags","blobs_url":"https://api.github.com/repos/0-wiz-0/psutil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0-wiz-0/psutil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0-wiz-0/psutil/git/refs{/sha}","trees_url":"https://api.github.com/repos/0-wiz-0/psutil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0-wiz-0/psutil/statuses/{sha}","languages_url":"https://api.github.com/repos/0-wiz-0/psutil/languages","stargazers_url":"https://api.github.com/repos/0-wiz-0/psutil/stargazers","contributors_url":"https://api.github.com/repos/0-wiz-0/psutil/contributors","subscribers_url":"https://api.github.com/repos/0-wiz-0/psutil/subscribers","subscription_url":"https://api.github.com/repos/0-wiz-0/psutil/subscription","commits_url":"https://api.github.com/repos/0-wiz-0/psutil/commits{/sha}","git_commits_url":"https://api.github.com/repos/0-wiz-0/psutil/git/commits{/sha}","comments_url":"https://api.github.com/repos/0-wiz-0/psutil/comments{/number}","issue_comment_url":"https://api.github.com/repos/0-wiz-0/psutil/issues/comments{/number}","contents_url":"https://api.github.com/repos/0-wiz-0/psutil/contents/{+path}","compare_url":"https://api.github.com/repos/0-wiz-0/psutil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0-wiz-0/psutil/merges","archive_url":"https://api.github.com/repos/0-wiz-0/psutil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0-wiz-0/psutil/downloads","issues_url":"https://api.github.com/repos/0-wiz-0/psutil/issues{/number}","pulls_url":"https://api.github.com/repos/0-wiz-0/psutil/pulls{/number}","milestones_url":"https://api.github.com/repos/0-wiz-0/psutil/milestones{/number}","notifications_url":"https://api.github.com/repos/0-wiz-0/psutil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0-wiz-0/psutil/labels{/name}","releases_url":"https://api.github.com/repos/0-wiz-0/psutil/releases{/id}","created_at":"2014-12-11T17:59:48Z","updated_at":"2015-12-30T02:47:32Z","pushed_at":"2015-12-30T02:47:08Z","git_url":"git://github.com/0-wiz-0/psutil.git","ssh_url":"git@github.com:0-wiz-0/psutil.git","clone_url":"https://github.com/0-wiz-0/psutil.git","svn_url":"https://github.com/0-wiz-0/psutil","homepage":null,"size":26465,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"giampaolo:master","ref":"master","sha":"508bf9d16ad7cae58cd5c86351aed98c8c284d4f","user":{"login":"giampaolo","id":681260,"avatar_url":"https://avatars.githubusercontent.com/u/681260?v=3","gravatar_id":"","url":"https://api.github.com/users/giampaolo","html_url":"https://github.com/giampaolo","followers_url":"https://api.github.com/users/giampaolo/followers","following_url":"https://api.github.com/users/giampaolo/following{/other_user}","gists_url":"https://api.github.com/users/giampaolo/gists{/gist_id}","starred_url":"https://api.github.com/users/giampaolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giampaolo/subscriptions","organizations_url":"https://api.github.com/users/giampaolo/orgs","repos_url":"https://api.github.com/users/giampaolo/repos","events_url":"https://api.github.com/users/giampaolo/events{/privacy}","received_events_url":"https://api.github.com/users/giampaolo/received_events","type":"User","site_admin":false},"repo":{"id":20101515,"name":"psutil","full_name":"giampaolo/psutil","owner":{"login":"giampaolo","id":681260,"avatar_url":"https://avatars.githubusercontent.com/u/681260?v=3","gravatar_id":"","url":"https://api.github.com/users/giampaolo","html_url":"https://github.com/giampaolo","followers_url":"https://api.github.com/users/giampaolo/followers","following_url":"https://api.github.com/users/giampaolo/following{/other_user}","gists_url":"https://api.github.com/users/giampaolo/gists{/gist_id}","starred_url":"https://api.github.com/users/giampaolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giampaolo/subscriptions","organizations_url":"https://api.github.com/users/giampaolo/orgs","repos_url":"https://api.github.com/users/giampaolo/repos","events_url":"https://api.github.com/users/giampaolo/events{/privacy}","received_events_url":"https://api.github.com/users/giampaolo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/giampaolo/psutil","description":"A cross-platform process and system utilities module for Python","fork":false,"url":"https://api.github.com/repos/giampaolo/psutil","forks_url":"https://api.github.com/repos/giampaolo/psutil/forks","keys_url":"https://api.github.com/repos/giampaolo/psutil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giampaolo/psutil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giampaolo/psutil/teams","hooks_url":"https://api.github.com/repos/giampaolo/psutil/hooks","issue_events_url":"https://api.github.com/repos/giampaolo/psutil/issues/events{/number}","events_url":"https://api.github.com/repos/giampaolo/psutil/events","assignees_url":"https://api.github.com/repos/giampaolo/psutil/assignees{/user}","branches_url":"https://api.github.com/repos/giampaolo/psutil/branches{/branch}","tags_url":"https://api.github.com/repos/giampaolo/psutil/tags","blobs_url":"https://api.github.com/repos/giampaolo/psutil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giampaolo/psutil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giampaolo/psutil/git/refs{/sha}","trees_url":"https://api.github.com/repos/giampaolo/psutil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giampaolo/psutil/statuses/{sha}","languages_url":"https://api.github.com/repos/giampaolo/psutil/languages","stargazers_url":"https://api.github.com/repos/giampaolo/psutil/stargazers","contributors_url":"https://api.github.com/repos/giampaolo/psutil/contributors","subscribers_url":"https://api.github.com/repos/giampaolo/psutil/subscribers","subscription_url":"https://api.github.com/repos/giampaolo/psutil/subscription","commits_url":"https://api.github.com/repos/giampaolo/psutil/commits{/sha}","git_commits_url":"https://api.github.com/repos/giampaolo/psutil/git/commits{/sha}","comments_url":"https://api.github.com/repos/giampaolo/psutil/comments{/number}","issue_comment_url":"https://api.github.com/repos/giampaolo/psutil/issues/comments{/number}","contents_url":"https://api.github.com/repos/giampaolo/psutil/contents/{+path}","compare_url":"https://api.github.com/repos/giampaolo/psutil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giampaolo/psutil/merges","archive_url":"https://api.github.com/repos/giampaolo/psutil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giampaolo/psutil/downloads","issues_url":"https://api.github.com/repos/giampaolo/psutil/issues{/number}","pulls_url":"https://api.github.com/repos/giampaolo/psutil/pulls{/number}","milestones_url":"https://api.github.com/repos/giampaolo/psutil/milestones{/number}","notifications_url":"https://api.github.com/repos/giampaolo/psutil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giampaolo/psutil/labels{/name}","releases_url":"https://api.github.com/repos/giampaolo/psutil/releases{/id}","created_at":"2014-05-23T14:01:48Z","updated_at":"2015-12-29T05:02:06Z","pushed_at":"2015-12-30T02:47:09Z","git_url":"git://github.com/giampaolo/psutil.git","ssh_url":"git@github.com:giampaolo/psutil.git","clone_url":"https://github.com/giampaolo/psutil.git","svn_url":"https://github.com/giampaolo/psutil","homepage":null,"size":26602,"stargazers_count":1240,"watchers_count":1240,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":205,"mirror_url":null,"open_issues_count":77,"forks":205,"open_issues":77,"watchers":1240,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/giampaolo/psutil/pulls/557"},"html":{"href":"https://github.com/giampaolo/psutil/pull/557"},"issue":{"href":"https://api.github.com/repos/giampaolo/psutil/issues/557"},"comments":{"href":"https://api.github.com/repos/giampaolo/psutil/issues/557/comments"},"review_comments":{"href":"https://api.github.com/repos/giampaolo/psutil/pulls/557/comments"},"review_comment":{"href":"https://api.github.com/repos/giampaolo/psutil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/giampaolo/psutil/pulls/557/commits"},"statuses":{"href":"https://api.github.com/repos/giampaolo/psutil/statuses/e124acbab43f5506fa49820c672fa75293b6e5fc"}}}}