Skip to content

Instantly share code, notes, and snippets.

@wiggin15
Created September 5, 2017 08:29
Show Gist options
  • Save wiggin15/52ecddd4a9729ca187fe2ac76bb39c2a to your computer and use it in GitHub Desktop.
Save wiggin15/52ecddd4a9729ca187fe2ac76bb39c2a to your computer and use it in GitHub Desktop.
psutil nosetest output
root@host-vaix01 (AIX 7.1) > psutil git:(aix) * python setup.py test
running test
Searching for ipaddress
Best match: ipaddress 1.0.18
Processing ipaddress-1.0.18-py2.7.egg
Using /root/psutil/.eggs/ipaddress-1.0.18-py2.7.egg
running egg_info
writing requirements to psutil.egg-info/requires.txt
writing psutil.egg-info/PKG-INFO
writing top-level names to psutil.egg-info/top_level.txt
writing dependency_links to psutil.egg-info/dependency_links.txt
reading manifest file 'psutil.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'psutil.egg-info/SOURCES.txt'
running build_ext
copying build/lib.aix-7.1-2.7/psutil/_psutil_aix.so -> psutil
copying build/lib.aix-7.1-2.7/psutil/_psutil_posix.so -> psutil
psutil.tests.test_bsd.BSDSpecificTestCase.test_cpu_count_logical ... skipped 'BSD only'
psutil.tests.test_bsd.BSDSpecificTestCase.test_disks ... skipped 'BSD only'
psutil.tests.test_bsd.BSDSpecificTestCase.test_net_if_stats ... skipped 'BSD only'
psutil.tests.test_bsd.BSDSpecificTestCase.test_process_create_time ... skipped 'BSD only'
psutil.tests.test_bsd.BSDSpecificTestCase.test_virtual_memory_total ... skipped 'BSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_boot_time ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_cpu_stats_ctx_switches ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_cpu_stats_interrupts ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_cpu_stats_soft_interrupts ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_cpu_stats_syscalls ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_muse_vmem_active ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_muse_vmem_buffers ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_muse_vmem_cached ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_muse_vmem_free ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_muse_vmem_inactive ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_muse_vmem_total ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_muse_vmem_wired ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_proc_cmdline ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_proc_cpu_times ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_proc_ctx_switches ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_proc_exe ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_proc_memory_maps ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_proc_uids_gids ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_sensors_battery ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_sensors_battery_against_sysctl ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_sensors_battery_no_battery ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_vmem_active ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_vmem_buffers ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_vmem_cached ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_vmem_free ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_vmem_inactive ... skipped 'FREEBSD only'
psutil.tests.test_bsd.FreeBSDSpecificTestCase.test_vmem_wired ... skipped 'FREEBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_cpu_stats_ctx_switches ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_cpu_stats_interrupts ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_swapmem_free ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_swapmem_total ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_swapmem_used ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_vmem_buffers ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_vmem_free ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_vmem_shared ... skipped 'NETBSD only'
psutil.tests.test_bsd.NetBSDSpecificTestCase.test_vmem_total ... skipped 'NETBSD only'
psutil.tests.test_bsd.OpenBSDSpecificTestCase.test_boot_time ... skipped 'OPENBSD only'
psutil.tests.test_connections.TestConnectedSocketPairs.test_combos ... ERROR
psutil.tests.test_connections.TestConnectedSocketPairs.test_multi_sockets_filtering ... ok
psutil.tests.test_connections.TestConnectedSocketPairs.test_tcp ... ok
psutil.tests.test_connections.TestConnectedSocketPairs.test_unix ... ok
psutil.tests.test_connections.TestMisc.test_connection_constants ... ok
psutil.tests.test_connections.TestSystemWideConnections.test_it ... ERROR
psutil.tests.test_connections.TestSystemWideConnections.test_multi_sockets_procs ... ok
psutil.tests.test_connections.TestSystemWideConnections.test_multi_socks ... ok
psutil.tests.test_connections.TestUnconnectedSockets.test_tcp_v4 ... ERROR
psutil.tests.test_connections.TestUnconnectedSockets.test_tcp_v6 ... ERROR
psutil.tests.test_connections.TestUnconnectedSockets.test_udp_v4 ... ERROR
psutil.tests.test_connections.TestUnconnectedSockets.test_udp_v6 ... ERROR
psutil.tests.test_connections.TestUnconnectedSockets.test_unix_tcp ... ok
psutil.tests.test_connections.TestUnconnectedSockets.test_unix_udp ... ok
psutil.tests.test_contracts.TestAvailability.test_PROCFS_PATH ... ok
psutil.tests.test_contracts.TestAvailability.test_battery ... ok
psutil.tests.test_contracts.TestAvailability.test_cpu_affinity ... ok
psutil.tests.test_contracts.TestAvailability.test_cpu_freq ... ok
psutil.tests.test_contracts.TestAvailability.test_linux_ioprio ... ok
psutil.tests.test_contracts.TestAvailability.test_linux_rlimit ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_cpu_affinity ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_cpu_num ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_environ ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_gids ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_io_counters ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_ionice ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_memory_maps ... FAIL
psutil.tests.test_contracts.TestAvailability.test_proc_num_fds ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_num_handles ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_rlimit ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_terminal ... ok
psutil.tests.test_contracts.TestAvailability.test_proc_uids ... ok
psutil.tests.test_contracts.TestAvailability.test_sensors_fans ... ok
psutil.tests.test_contracts.TestAvailability.test_sensors_temperatures ... ok
psutil.tests.test_contracts.TestAvailability.test_win_priority ... ok
psutil.tests.test_contracts.TestAvailability.test_win_service ... ok
psutil.tests.test_contracts.TestFetchAllProcesses.test_fetch_all ... FAIL
psutil.tests.test_contracts.TestSystem.test_cpu_times ... ok
psutil.tests.test_contracts.TestSystem.test_disk_partitions ... ok
psutil.tests.test_contracts.TestSystem.test_io_counters ... ok
psutil.tests.test_contracts.TestSystem.test_net_connections ... ok
psutil.tests.test_contracts.TestSystem.test_net_if_addrs ... ok
psutil.tests.test_contracts.TestSystem.test_net_if_stats ... ok
psutil.tests.test_contracts.TestSystem.test_net_io_counters ... ok
psutil.tests.test_contracts.TestSystem.test_sensors_fans ... skipped 'not supported'
psutil.tests.test_contracts.TestSystem.test_sensors_temperatures ... skipped 'not supported'
psutil.tests.test_contracts.TestSystem.test_users ... ERROR
psutil.tests.test_linux.TestMisc.test_boot_time ... skipped 'LINUX only'
psutil.tests.test_linux.TestMisc.test_boot_time_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestMisc.test_issue_687 ... skipped 'LINUX only'
psutil.tests.test_linux.TestMisc.test_no_procfs_on_import ... skipped 'LINUX only'
psutil.tests.test_linux.TestMisc.test_pid_exists_no_proc_status ... skipped 'LINUX only'
psutil.tests.test_linux.TestMisc.test_procfs_path ... skipped 'LINUX only'
psutil.tests.test_linux.TestMisc.test_sector_size_mock ... skipped 'LINUX only'
psutil.tests.test_linux.TestMisc.test_users_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_cmdline_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_cwd_zombie ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_exe_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_issue_1014 ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_memory_full_info ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_open_files_fd_gone ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_open_files_file_gone ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_open_files_mode ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_readlink_path_deleted_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_rlimit_zombie ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_stat_file_parsing ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_status_file_parsing ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_terminal_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcess.test_threads_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_cpu_affinity ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_cpu_affinity_eligible_cpus ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_gids ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_name ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_num_ctx_switches ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_num_threads ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_ppid ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_status ... skipped 'LINUX only'
psutil.tests.test_linux.TestProcessAgainstStatus.test_uids ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_energy_full_0 ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_energy_full_not_avail ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_no_ac0_online ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_no_base_files ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_no_power ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_power_not_plugged ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_power_not_plugged_2 ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_power_plugged ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_power_plugged_2 ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_emulate_power_undetermined ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_percent ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsBattery.test_power_plugged ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsFans.test_emulate_data ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsTemperatures.test_emulate_data ... skipped 'LINUX only'
psutil.tests.test_linux.TestSensorsTemperatures.test_emulate_eio_error ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_count_logical_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_count_logical_w_lscpu ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_count_logical_w_nproc ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_count_logical_w_sysdev_cpu_num ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_count_logical_w_sysdev_cpu_online ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_count_physical_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_freq_emulate_data ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_freq_emulate_multi_cpu ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_freq_no_result ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_freq_no_scaling_cur_freq_file ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_freq_use_second_file ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPU.test_cpu_times ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPUStats.test_ctx_switches ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemCPUStats.test_interrupts ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemDisks.test_disk_io_counters_kernel_2_4_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemDisks.test_disk_io_counters_kernel_2_6_full_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemDisks.test_disk_io_counters_kernel_2_6_limited_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemDisks.test_disk_partitions_and_usage ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemDisks.test_disk_partitions_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemNetwork.test_net_connections_ipv6_unsupported ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemNetwork.test_net_connections_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemNetwork.test_net_if_addrs_ips ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemNetwork.test_net_if_names ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemNetwork.test_net_if_stats ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemNetwork.test_net_io_counters ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemSwapMemory.test_emulate_meminfo_has_no_metrics ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemSwapMemory.test_free ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemSwapMemory.test_meminfo_against_sysinfo ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemSwapMemory.test_missing_sin_sout ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemSwapMemory.test_no_vmstat_mocked ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemSwapMemory.test_total ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemSwapMemory.test_used ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_active ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_avail_old_comes_from_kernel ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_avail_old_missing_fields ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_avail_old_missing_zoneinfo ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_avail_old_percent ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_available ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_buffers ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_free ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_inactive ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_shared ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_total ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_used ... skipped 'LINUX only'
psutil.tests.test_linux.TestSystemVirtualMemory.test_warnings_on_misses ... skipped 'LINUX only'
psutil.tests.test_linux.TestUtils.test_cat ... skipped 'LINUX only'
psutil.tests.test_linux.TestUtils.test_open_binary ... skipped 'LINUX only'
psutil.tests.test_linux.TestUtils.test_open_text ... skipped 'LINUX only'
psutil.tests.test_linux.TestUtils.test_readlink ... skipped 'LINUX only'
psutil.tests.test_misc.TestFSTestUtils.test_chdir ... ok
psutil.tests.test_misc.TestFSTestUtils.test_safe_rmpath ... ok
psutil.tests.test_misc.TestMisc.test__all__ ... ok
psutil.tests.test_misc.TestMisc.test_access_denied__repr__ ... ok
psutil.tests.test_misc.TestMisc.test_ad_on_process_creation ... ok
psutil.tests.test_misc.TestMisc.test_isfile_strict ... ok
psutil.tests.test_misc.TestMisc.test_memoize ... ok
psutil.tests.test_misc.TestMisc.test_memoize_when_activated ... ok
psutil.tests.test_misc.TestMisc.test_no_such_process__repr__ ... ok
psutil.tests.test_misc.TestMisc.test_parse_environ_block ... ok
psutil.tests.test_misc.TestMisc.test_process__eq__ ... ok
psutil.tests.test_misc.TestMisc.test_process__hash__ ... ok
psutil.tests.test_misc.TestMisc.test_process__repr__ ... ok
psutil.tests.test_misc.TestMisc.test_process__str__ ... ok
psutil.tests.test_misc.TestMisc.test_process_as_dict_no_new_names ... ok
psutil.tests.test_misc.TestMisc.test_sanity_version_check ... ok
psutil.tests.test_misc.TestMisc.test_serialization ... ERROR
psutil.tests.test_misc.TestMisc.test_setup_script ... running test
running egg_info
writing UNKNOWN.egg-info/PKG-INFO
writing top-level names to UNKNOWN.egg-info/top_level.txt
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
running build_ext
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
FAIL
psutil.tests.test_misc.TestMisc.test_supports_ipv6 ... ok
psutil.tests.test_misc.TestMisc.test_timeout_expired__repr__ ... ok
psutil.tests.test_misc.TestMisc.test_version ... ok
psutil.tests.test_misc.TestMisc.test_zombie_process__repr__ ... ok
psutil.tests.test_misc.TestNetUtils.test_bind_unix_socket ... ok
psutil.tests.test_misc.TestNetUtils.test_create_sockets ... ok
psutil.tests.test_misc.TestNetUtils.test_unix_socketpair ... FAIL
psutil.tests.test_misc.TestOtherUtils.test_is_namedtuple ... ok
psutil.tests.test_misc.TestProcessUtils.test_create_proc_children_pair ... FAIL
psutil.tests.test_misc.TestProcessUtils.test_create_zombie_proc ... FAIL
psutil.tests.test_misc.TestProcessUtils.test_reap_children ... ok
psutil.tests.test_misc.TestRetryDecorator.test_exception_arg ... ok
psutil.tests.test_misc.TestRetryDecorator.test_no_interval_arg ... ok
psutil.tests.test_misc.TestRetryDecorator.test_retries_and_timeout_args ... ok
psutil.tests.test_misc.TestRetryDecorator.test_retries_arg ... ok
psutil.tests.test_misc.TestRetryDecorator.test_retry_failure ... ok
psutil.tests.test_misc.TestRetryDecorator.test_retry_success ... ok
psutil.tests.test_misc.TestScripts.test_battery ... skipped 'not supported'
psutil.tests.test_misc.TestScripts.test_coverage ... ok
psutil.tests.test_misc.TestScripts.test_cpu_distribution ... ok
psutil.tests.test_misc.TestScripts.test_disk_usage ... ok
psutil.tests.test_misc.TestScripts.test_executable ... ok
psutil.tests.test_misc.TestScripts.test_fans ... skipped 'not supported'
psutil.tests.test_misc.TestScripts.test_free ... ok
psutil.tests.test_misc.TestScripts.test_ifconfig ... ok
psutil.tests.test_misc.TestScripts.test_iotop ... ok
psutil.tests.test_misc.TestScripts.test_killall ... ok
psutil.tests.test_misc.TestScripts.test_meminfo ... ok
psutil.tests.test_misc.TestScripts.test_netstat ... ok
psutil.tests.test_misc.TestScripts.test_nettop ... ok
psutil.tests.test_misc.TestScripts.test_pidof ... ok
psutil.tests.test_misc.TestScripts.test_pmap ... skipped 'not supported'
psutil.tests.test_misc.TestScripts.test_procinfo ... ERROR
psutil.tests.test_misc.TestScripts.test_procsmem ... skipped 'not supported'
psutil.tests.test_misc.TestScripts.test_ps ... ok
psutil.tests.test_misc.TestScripts.test_pstree ... ok
psutil.tests.test_misc.TestScripts.test_sensors ... ok
psutil.tests.test_misc.TestScripts.test_temperatures ... skipped 'not supported'
psutil.tests.test_misc.TestScripts.test_top ... ok
psutil.tests.test_misc.TestScripts.test_who ... ERROR
psutil.tests.test_misc.TestScripts.test_winservices ... skipped 'WINDOWS only'
psutil.tests.test_misc.TestSyncTestUtils.test_call_until ... ok
psutil.tests.test_misc.TestSyncTestUtils.test_wait_for_file ... ok
psutil.tests.test_misc.TestSyncTestUtils.test_wait_for_file_empty ... ok
psutil.tests.test_misc.TestSyncTestUtils.test_wait_for_file_no_delete ... ok
psutil.tests.test_misc.TestSyncTestUtils.test_wait_for_file_no_file ... ok
psutil.tests.test_misc.TestSyncTestUtils.test_wait_for_pid ... ok
psutil.tests.test_misc.TestWrapNumbers.test_cache_call_twice ... ok
psutil.tests.test_misc.TestWrapNumbers.test_cache_changing_keys ... ok
psutil.tests.test_misc.TestWrapNumbers.test_cache_clear ... ok
psutil.tests.test_misc.TestWrapNumbers.test_cache_clear_public_apis ... ok
psutil.tests.test_misc.TestWrapNumbers.test_cache_first_call ... ok
psutil.tests.test_misc.TestWrapNumbers.test_cache_wrap ... ok
psutil.tests.test_misc.TestWrapNumbers.test_changing_keys ... ok
psutil.tests.test_misc.TestWrapNumbers.test_changing_keys_w_wrap ... ok
psutil.tests.test_misc.TestWrapNumbers.test_first_call ... ok
psutil.tests.test_misc.TestWrapNumbers.test_increase_but_no_wrap ... ok
psutil.tests.test_misc.TestWrapNumbers.test_input_hasnt_changed ... ok
psutil.tests.test_misc.TestWrapNumbers.test_real_data ... ok
psutil.tests.test_misc.TestWrapNumbers.test_wrap ... ok
psutil.tests.test_osx.TestProcess.test_process_create_time ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_cpu_count_logical ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_cpu_count_physical ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_cpu_freq ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_disks ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_net_if_stats ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_swapmem_sin ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_swapmem_sout ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_vmem_active ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_vmem_available ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_vmem_free ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_vmem_inactive ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_vmem_total ... skipped 'OSX only'
psutil.tests.test_osx.TestSystemAPIs.test_vmem_wired ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_cmdline ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_connections ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_cpu_times ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_cwd ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_environ ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_exe ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_memory_full_info ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_memory_maps ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_num_ctx_switches ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_num_fds ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_num_threads ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_open_files ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_pidtask_info ... skipped 'OSX only'
psutil.tests.test_osx.TestZombieProcessAPIs.test_threads ... skipped 'OSX only'
psutil.tests.test_posix.TestProcess.test_cmdline ... FAIL
psutil.tests.test_posix.TestProcess.test_create_time ... ok
psutil.tests.test_posix.TestProcess.test_exe ... ok
psutil.tests.test_posix.TestProcess.test_gid ... ok
psutil.tests.test_posix.TestProcess.test_name ... ok
psutil.tests.test_posix.TestProcess.test_name_long ... ok
psutil.tests.test_posix.TestProcess.test_name_long_cmdline_ad_exc ... ok
psutil.tests.test_posix.TestProcess.test_name_long_cmdline_nsp_exc ... ok
psutil.tests.test_posix.TestProcess.test_nice ... FAIL
psutil.tests.test_posix.TestProcess.test_num_fds ... ok
psutil.tests.test_posix.TestProcess.test_ppid ... ok
psutil.tests.test_posix.TestProcess.test_rss_memory ... ERROR
psutil.tests.test_posix.TestProcess.test_uid ... ERROR
psutil.tests.test_posix.TestProcess.test_username ... ERROR
psutil.tests.test_posix.TestProcess.test_username_no_resolution ... ok
psutil.tests.test_posix.TestProcess.test_vsz_memory ... ERROR
psutil.tests.test_posix.TestSystemAPIs.test_disk_usage ... ERROR
psutil.tests.test_posix.TestSystemAPIs.test_nic_names ... FAIL
psutil.tests.test_posix.TestSystemAPIs.test_os_waitpid_bad_ret_status ... ok
psutil.tests.test_posix.TestSystemAPIs.test_os_waitpid_eintr ... ok
psutil.tests.test_posix.TestSystemAPIs.test_os_waitpid_let_raise ... ok
psutil.tests.test_posix.TestSystemAPIs.test_pid_exists_let_raise ... ok
psutil.tests.test_posix.TestSystemAPIs.test_pids ... Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
FAIL
psutil.tests.test_posix.TestSystemAPIs.test_users ... ERROR
psutil.tests.test_process.LimitedUserTestCase.test_as_dict ... ok
psutil.tests.test_process.LimitedUserTestCase.test_children ... ok
psutil.tests.test_process.LimitedUserTestCase.test_children_duplicates ... ok
psutil.tests.test_process.LimitedUserTestCase.test_children_recursive ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cmdline ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cpu_affinity ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cpu_affinity_errs ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cpu_num ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cpu_percent ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cpu_percent_numcpus_none ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cpu_times ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cpu_times_2 ... ok
psutil.tests.test_process.LimitedUserTestCase.test_create_time ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cwd ... ok
psutil.tests.test_process.LimitedUserTestCase.test_cwd_2 ... ok
psutil.tests.test_process.LimitedUserTestCase.test_environ ... ok
psutil.tests.test_process.LimitedUserTestCase.test_exe ... ok
psutil.tests.test_process.LimitedUserTestCase.test_gids ... ok
psutil.tests.test_process.LimitedUserTestCase.test_halfway_terminated_process ... ok
psutil.tests.test_process.LimitedUserTestCase.test_invalid_pid ... ok
psutil.tests.test_process.LimitedUserTestCase.test_io_counters ... ok
psutil.tests.test_process.LimitedUserTestCase.test_ionice ... ok
psutil.tests.test_process.LimitedUserTestCase.test_ionice_errs ... ok
psutil.tests.test_process.LimitedUserTestCase.test_is_running ... ok
psutil.tests.test_process.LimitedUserTestCase.test_kill ... ok
psutil.tests.test_process.LimitedUserTestCase.test_memory_full_info ... ok
psutil.tests.test_process.LimitedUserTestCase.test_memory_info ... ok
psutil.tests.test_process.LimitedUserTestCase.test_memory_maps ... ok
psutil.tests.test_process.LimitedUserTestCase.test_memory_maps_lists_lib ... ok
psutil.tests.test_process.LimitedUserTestCase.test_memory_percent ... ok
psutil.tests.test_process.LimitedUserTestCase.test_name ... ok
psutil.tests.test_process.LimitedUserTestCase.test_nice ... ok
psutil.tests.test_process.LimitedUserTestCase.test_num_ctx_switches ... ok
psutil.tests.test_process.LimitedUserTestCase.test_num_fds ... ok
psutil.tests.test_process.LimitedUserTestCase.test_num_handles ... ok
psutil.tests.test_process.LimitedUserTestCase.test_num_threads ... ok
psutil.tests.test_process.LimitedUserTestCase.test_oneshot ... ok
psutil.tests.test_process.LimitedUserTestCase.test_oneshot_twice ... ok
psutil.tests.test_process.LimitedUserTestCase.test_open_files ... ok
psutil.tests.test_process.LimitedUserTestCase.test_open_files_2 ... ok
psutil.tests.test_process.LimitedUserTestCase.test_parent ... ok
psutil.tests.test_process.LimitedUserTestCase.test_parent_disappeared ... ok
psutil.tests.test_process.LimitedUserTestCase.test_pid ... ok
psutil.tests.test_process.LimitedUserTestCase.test_pid_0 ... ok
psutil.tests.test_process.LimitedUserTestCase.test_ppid ... ok
psutil.tests.test_process.LimitedUserTestCase.test_prog_w_funky_name ... ok
psutil.tests.test_process.LimitedUserTestCase.test_rlimit ... ok
psutil.tests.test_process.LimitedUserTestCase.test_rlimit_get ... ok
psutil.tests.test_process.LimitedUserTestCase.test_rlimit_infinity ... ok
psutil.tests.test_process.LimitedUserTestCase.test_rlimit_infinity_value ... ok
psutil.tests.test_process.LimitedUserTestCase.test_rlimit_set ... ok
psutil.tests.test_process.LimitedUserTestCase.test_send_signal ... ok
psutil.tests.test_process.LimitedUserTestCase.test_status ... ok
psutil.tests.test_process.LimitedUserTestCase.test_suspend_resume ... ok
psutil.tests.test_process.LimitedUserTestCase.test_terminal ... ok
psutil.tests.test_process.LimitedUserTestCase.test_terminate ... ok
psutil.tests.test_process.LimitedUserTestCase.test_threads ... ok
psutil.tests.test_process.LimitedUserTestCase.test_threads_2 ... ok
psutil.tests.test_process.LimitedUserTestCase.test_uids ... ok
psutil.tests.test_process.LimitedUserTestCase.test_username ... ok
psutil.tests.test_process.LimitedUserTestCase.test_wait ... ok
psutil.tests.test_process.LimitedUserTestCase.test_wait_non_children ... ok
psutil.tests.test_process.LimitedUserTestCase.test_wait_timeout_0 ... ok
psutil.tests.test_process.LimitedUserTestCase.test_weird_environ ... ok
psutil.tests.test_process.LimitedUserTestCase.test_zombie_process ... ok
psutil.tests.test_process.LimitedUserTestCase.test_zombie_process_is_running_w_exc ... ok
psutil.tests.test_process.LimitedUserTestCase.test_zombie_process_status_w_exc ... ok
psutil.tests.test_process.TestPopen.test_ctx_manager ... ok
psutil.tests.test_process.TestPopen.test_kill_terminate ... ERROR
psutil.tests.test_process.TestPopen.test_misc ... ok
psutil.tests.test_process.TestProcess.test_as_dict ... ok
psutil.tests.test_process.TestProcess.test_children ... ok
psutil.tests.test_process.TestProcess.test_children_duplicates ... ok
psutil.tests.test_process.TestProcess.test_children_recursive ... ok
psutil.tests.test_process.TestProcess.test_cmdline ... FAIL
psutil.tests.test_process.TestProcess.test_cpu_affinity ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_cpu_affinity_errs ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_cpu_num ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_cpu_percent ... ok
psutil.tests.test_process.TestProcess.test_cpu_percent_numcpus_none ... ok
psutil.tests.test_process.TestProcess.test_cpu_times ... ok
psutil.tests.test_process.TestProcess.test_cpu_times_2 ... ok
psutil.tests.test_process.TestProcess.test_create_time ... ok
psutil.tests.test_process.TestProcess.test_cwd ... ok
psutil.tests.test_process.TestProcess.test_cwd_2 ... ok
psutil.tests.test_process.TestProcess.test_environ ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_exe ... ok
psutil.tests.test_process.TestProcess.test_gids ... ok
psutil.tests.test_process.TestProcess.test_halfway_terminated_process ... ok
psutil.tests.test_process.TestProcess.test_invalid_pid ... ok
psutil.tests.test_process.TestProcess.test_io_counters ... FAIL
psutil.tests.test_process.TestProcess.test_ionice ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_ionice_errs ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_is_running ... ok
psutil.tests.test_process.TestProcess.test_kill ... ok
psutil.tests.test_process.TestProcess.test_memory_full_info ... ok
psutil.tests.test_process.TestProcess.test_memory_info ... ok
psutil.tests.test_process.TestProcess.test_memory_maps ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_memory_maps_lists_lib ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_memory_percent ... ok
psutil.tests.test_process.TestProcess.test_name ... ok
psutil.tests.test_process.TestProcess.test_nice ... ok
psutil.tests.test_process.TestProcess.test_num_ctx_switches ... ERROR
psutil.tests.test_process.TestProcess.test_num_fds ... FAIL
psutil.tests.test_process.TestProcess.test_num_handles ... skipped 'WINDOWS only'
psutil.tests.test_process.TestProcess.test_num_threads ... ok
psutil.tests.test_process.TestProcess.test_oneshot ... ok
psutil.tests.test_process.TestProcess.test_oneshot_twice ... ok
psutil.tests.test_process.TestProcess.test_open_files ... ok
psutil.tests.test_process.TestProcess.test_open_files_2 ... ok
psutil.tests.test_process.TestProcess.test_parent ... ok
psutil.tests.test_process.TestProcess.test_parent_disappeared ... ok
psutil.tests.test_process.TestProcess.test_pid ... ok
psutil.tests.test_process.TestProcess.test_pid_0 ... ERROR
psutil.tests.test_process.TestProcess.test_ppid ... ok
psutil.tests.test_process.TestProcess.test_prog_w_funky_name ... FAIL
psutil.tests.test_process.TestProcess.test_rlimit ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_rlimit_get ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_rlimit_infinity ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_rlimit_infinity_value ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_rlimit_set ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_send_signal ... ok
psutil.tests.test_process.TestProcess.test_status ... ok
psutil.tests.test_process.TestProcess.test_suspend_resume ... ok
psutil.tests.test_process.TestProcess.test_terminal ... ok
psutil.tests.test_process.TestProcess.test_terminate ... ok
psutil.tests.test_process.TestProcess.test_threads ... ok
psutil.tests.test_process.TestProcess.test_threads_2 ... ok
psutil.tests.test_process.TestProcess.test_uids ... ok
psutil.tests.test_process.TestProcess.test_username ... ok
psutil.tests.test_process.TestProcess.test_wait ... ok
psutil.tests.test_process.TestProcess.test_wait_non_children ... ERROR
psutil.tests.test_process.TestProcess.test_wait_timeout_0 ... ok
psutil.tests.test_process.TestProcess.test_weird_environ ... skipped 'not supported'
psutil.tests.test_process.TestProcess.test_zombie_process ... FAIL
psutil.tests.test_process.TestProcess.test_zombie_process_is_running_w_exc ... ok
psutil.tests.test_process.TestProcess.test_zombie_process_status_w_exc ... ok
psutil.tests.test_sunos.SunOSSpecificTestCase.test_cpu_count ... skipped 'SUNOS only'
psutil.tests.test_sunos.SunOSSpecificTestCase.test_swap_memory ... skipped 'SUNOS only'
psutil.tests.test_system.TestSystemAPIs.test_PAGESIZE ... ok
psutil.tests.test_system.TestSystemAPIs.test_boot_time ... ok
psutil.tests.test_system.TestSystemAPIs.test_cpu_count ... ok
psutil.tests.test_system.TestSystemAPIs.test_cpu_count_none ... ok
psutil.tests.test_system.TestSystemAPIs.test_cpu_freq ... skipped 'not suported'
psutil.tests.test_system.TestSystemAPIs.test_cpu_percent ... ok
psutil.tests.test_system.TestSystemAPIs.test_cpu_stats ... ERROR
psutil.tests.test_system.TestSystemAPIs.test_cpu_times ... ok
psutil.tests.test_system.TestSystemAPIs.test_cpu_times_comparison ... ok
psutil.tests.test_system.TestSystemAPIs.test_cpu_times_percent ... ok
psutil.tests.test_system.TestSystemAPIs.test_cpu_times_time_increases ... ok
psutil.tests.test_system.TestSystemAPIs.test_disk_io_counters ... ok
psutil.tests.test_system.TestSystemAPIs.test_disk_io_counters_no_disks ... ok
psutil.tests.test_system.TestSystemAPIs.test_disk_partitions ... ok
psutil.tests.test_system.TestSystemAPIs.test_disk_usage ... ok
psutil.tests.test_system.TestSystemAPIs.test_disk_usage_bytes ... ok
psutil.tests.test_system.TestSystemAPIs.test_disk_usage_unicode ... ok
psutil.tests.test_system.TestSystemAPIs.test_net_if_addrs ... ok
psutil.tests.test_system.TestSystemAPIs.test_net_if_addrs_mac_null_bytes ... ok
psutil.tests.test_system.TestSystemAPIs.test_net_if_stats ... ok
psutil.tests.test_system.TestSystemAPIs.test_net_io_counters ... ok
psutil.tests.test_system.TestSystemAPIs.test_net_io_counters_no_nics ... ok
psutil.tests.test_system.TestSystemAPIs.test_os_constants ... ok
psutil.tests.test_system.TestSystemAPIs.test_per_cpu_percent ... ok
psutil.tests.test_system.TestSystemAPIs.test_per_cpu_times ... ok
psutil.tests.test_system.TestSystemAPIs.test_per_cpu_times_2 ... ok
psutil.tests.test_system.TestSystemAPIs.test_per_cpu_times_percent ... ok
psutil.tests.test_system.TestSystemAPIs.test_per_cpu_times_percent_negative ... ok
psutil.tests.test_system.TestSystemAPIs.test_pid_exists ... ok
psutil.tests.test_system.TestSystemAPIs.test_pid_exists_2 ... FAIL
psutil.tests.test_system.TestSystemAPIs.test_pids ... ok
psutil.tests.test_system.TestSystemAPIs.test_prcess_iter_w_params ... ok
psutil.tests.test_system.TestSystemAPIs.test_process_iter ... ok
psutil.tests.test_system.TestSystemAPIs.test_sensors_battery ... skipped 'not supported'
psutil.tests.test_system.TestSystemAPIs.test_sensors_fans ... skipped 'not supported'
psutil.tests.test_system.TestSystemAPIs.test_sensors_temperatures ... skipped 'not supported'
psutil.tests.test_system.TestSystemAPIs.test_sensors_temperatures_fahreneit ... skipped 'not supported'
psutil.tests.test_system.TestSystemAPIs.test_swap_memory ... ok
psutil.tests.test_system.TestSystemAPIs.test_test ... ok
psutil.tests.test_system.TestSystemAPIs.test_users ... ERROR
psutil.tests.test_system.TestSystemAPIs.test_virtual_memory ... ok
psutil.tests.test_system.TestSystemAPIs.test_wait_procs ... ok
psutil.tests.test_system.TestSystemAPIs.test_wait_procs_no_timeout ... ok
psutil.tests.test_unicode.TestFSAPIs.test_disk_usage ... ok
psutil.tests.test_unicode.TestFSAPIs.test_memory_maps ... skipped 'not supported'
psutil.tests.test_unicode.TestFSAPIs.test_net_connections ... skipped 'not supported'
psutil.tests.test_unicode.TestFSAPIs.test_proc_cmdline ... ok
psutil.tests.test_unicode.TestFSAPIs.test_proc_connections ... skipped 'not supported'
psutil.tests.test_unicode.TestFSAPIs.test_proc_cwd ... ok
psutil.tests.test_unicode.TestFSAPIs.test_proc_exe ... ok
psutil.tests.test_unicode.TestFSAPIs.test_proc_name ... ok
psutil.tests.test_unicode.TestFSAPIs.test_proc_open_files ... ok
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_disk_usage ... ok
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_memory_maps ... skipped 'not supported'
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_net_connections ... ok
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cmdline ... FAIL
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_connections ... ok
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cwd ... ok
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_exe ... FAIL
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name ... FAIL
psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_open_files ... ok
psutil.tests.test_unicode.TestNonFSAPIS.test_proc_environ ... skipped 'not supported'
psutil.tests.test_unicode.TestWinProcessName.test_name_type ... skipped 'WINDOWS only'
psutil.tests.test_windows.RemoteProcessTestCase.test_cmdline_32 ... skipped 'WINDOWS only'
psutil.tests.test_windows.RemoteProcessTestCase.test_cmdline_64 ... skipped 'WINDOWS only'
psutil.tests.test_windows.RemoteProcessTestCase.test_cwd_32 ... skipped 'WINDOWS only'
psutil.tests.test_windows.RemoteProcessTestCase.test_cwd_64 ... skipped 'WINDOWS only'
psutil.tests.test_windows.RemoteProcessTestCase.test_environ_32 ... skipped 'WINDOWS only'
psutil.tests.test_windows.RemoteProcessTestCase.test_environ_64 ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestDualProcessImplementation.test_cpu_times ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestDualProcessImplementation.test_create_time ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestDualProcessImplementation.test_io_counters ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestDualProcessImplementation.test_memory_info ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestDualProcessImplementation.test_name ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestDualProcessImplementation.test_num_handles ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_cmdline ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_compare_name_exe ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_cpu_affinity ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_ctrl_signals ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_exe ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_handles_leak ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_io_counters ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_issue_24 ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_memory_info ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_name_always_available ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_nice ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_num_handles ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_num_handles_increment ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_send_signal ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_special_pid ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_username ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcess.test_wait ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcessWMI.test_cmdline ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcessWMI.test_create_time ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcessWMI.test_exe ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcessWMI.test_memory_rss ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcessWMI.test_memory_vms ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcessWMI.test_name ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestProcessWMI.test_username ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSensorsBattery.test_emulate_no_battery ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSensorsBattery.test_emulate_power_charging ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSensorsBattery.test_emulate_power_connected ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSensorsBattery.test_emulate_secs_left_unknown ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSensorsBattery.test_has_battery ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSensorsBattery.test_percent ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSensorsBattery.test_power_plugged ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestServices.test_win_service_get ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestServices.test_win_service_iter ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_boot_time ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_boot_time_fluctuation ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_cpu_count ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_cpu_count_2 ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_cpu_freq ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_disk_partitions ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_disk_usage ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_disks ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_net_if_stats ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_nic_names ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_pids ... skipped 'WINDOWS only'
psutil.tests.test_windows.TestSystemAPIs.test_total_phymem ... skipped 'WINDOWS only'
======================================================================
ERROR: psutil.tests.test_connections.TestConnectedSocketPairs.test_combos
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 792, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_connections.py", line 341, in test_combos
("all", "inet", "inet4", "udp", "udp4"))
File "/root/psutil/psutil/tests/test_connections.py", line 263, in check_conn
check_connection_ntuple(conn)
File "/root/psutil/psutil/tests/__init__.py", line 1041, in check_connection_ntuple
assert isinstance(addr.port, int), addr.port
AttributeError: 'tuple' object has no attribute 'port'
======================================================================
ERROR: psutil.tests.test_connections.TestSystemWideConnections.test_it
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 792, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_connections.py", line 443, in test_it
check(cons, families, types_)
File "/root/psutil/psutil/tests/test_connections.py", line 432, in check
check_connection_ntuple(conn)
File "/root/psutil/psutil/tests/__init__.py", line 1041, in check_connection_ntuple
assert isinstance(addr.port, int), addr.port
AttributeError: 'tuple' object has no attribute 'port'
======================================================================
ERROR: psutil.tests.test_connections.TestUnconnectedSockets.test_tcp_v4
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_connections.py", line 151, in test_tcp_v4
conn = self.check_socket(sock)
File "/root/psutil/psutil/tests/test_connections.py", line 90, in check_socket
check_connection_ntuple(conn)
File "/root/psutil/psutil/tests/__init__.py", line 1041, in check_connection_ntuple
assert isinstance(addr.port, int), addr.port
AttributeError: 'tuple' object has no attribute 'port'
======================================================================
ERROR: psutil.tests.test_connections.TestUnconnectedSockets.test_tcp_v6
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_connections.py", line 158, in test_tcp_v6
conn = self.check_socket(sock)
File "/root/psutil/psutil/tests/test_connections.py", line 90, in check_socket
check_connection_ntuple(conn)
File "/root/psutil/psutil/tests/__init__.py", line 1041, in check_connection_ntuple
assert isinstance(addr.port, int), addr.port
AttributeError: 'tuple' object has no attribute 'port'
======================================================================
ERROR: psutil.tests.test_connections.TestUnconnectedSockets.test_udp_v4
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_connections.py", line 165, in test_udp_v4
conn = self.check_socket(sock)
File "/root/psutil/psutil/tests/test_connections.py", line 90, in check_socket
check_connection_ntuple(conn)
File "/root/psutil/psutil/tests/__init__.py", line 1041, in check_connection_ntuple
assert isinstance(addr.port, int), addr.port
AttributeError: 'tuple' object has no attribute 'port'
======================================================================
ERROR: psutil.tests.test_connections.TestUnconnectedSockets.test_udp_v6
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_connections.py", line 172, in test_udp_v6
conn = self.check_socket(sock)
File "/root/psutil/psutil/tests/test_connections.py", line 90, in check_socket
check_connection_ntuple(conn)
File "/root/psutil/psutil/tests/__init__.py", line 1041, in check_connection_ntuple
assert isinstance(addr.port, int), addr.port
AttributeError: 'tuple' object has no attribute 'port'
======================================================================
ERROR: psutil.tests.test_contracts.TestSystem.test_users
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_contracts.py", line 252, in test_users
for user in psutil.users():
File "/root/psutil/psutil/__init__.py", line 2347, in users
return _psplatform.users()
File "/root/psutil/psutil/_psaix.py", line 167, in users
nt = _common.suser(user, tty, hostname, tstamp)
TypeError: __new__() takes exactly 6 arguments (5 given)
======================================================================
ERROR: psutil.tests.test_misc.TestMisc.test_serialization
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_misc.py", line 364, in test_serialization
check(psutil.users())
File "/root/psutil/psutil/__init__.py", line 2347, in users
return _psplatform.users()
File "/root/psutil/psutil/_psaix.py", line 167, in users
nt = _common.suser(user, tty, hostname, tstamp)
TypeError: __new__() takes exactly 6 arguments (5 given)
======================================================================
ERROR: psutil.tests.test_misc.TestScripts.test_procinfo
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_misc.py", line 703, in test_procinfo
self.assert_stdout('procinfo.py', args=str(os.getpid()))
File "/root/psutil/psutil/tests/test_misc.py", line 655, in assert_stdout
out = sh(sys.executable + ' ' + exe, **kwds).strip()
File "/root/psutil/psutil/tests/__init__.py", line 259, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 406, in sh
raise RuntimeError(stderr)
RuntimeError: Traceback (most recent call last):
File "/root/psutil/scripts/procinfo.py", line 338, in <module>
sys.exit(main())
File "/root/psutil/scripts/procinfo.py", line 334, in main
run(args.pid, args.verbose)
File "/root/psutil/scripts/procinfo.py", line 228, in run
print_("ctx-switches", str_ntuple(pinfo['num_ctx_switches']))
KeyError: 'num_ctx_switches'
======================================================================
ERROR: psutil.tests.test_misc.TestScripts.test_who
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_misc.py", line 709, in test_who
self.assert_stdout('who.py')
File "/root/psutil/psutil/tests/test_misc.py", line 655, in assert_stdout
out = sh(sys.executable + ' ' + exe, **kwds).strip()
File "/root/psutil/psutil/tests/__init__.py", line 259, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 406, in sh
raise RuntimeError(stderr)
RuntimeError: Traceback (most recent call last):
File "/root/psutil/scripts/who.py", line 35, in <module>
main()
File "/root/psutil/scripts/who.py", line 22, in main
users = psutil.users()
File "/root/psutil/psutil/__init__.py", line 2347, in users
return _psplatform.users()
File "/root/psutil/psutil/_psaix.py", line 167, in users
nt = _common.suser(user, tty, hostname, tstamp)
TypeError: __new__() takes exactly 6 arguments (5 given)
======================================================================
ERROR: psutil.tests.test_posix.TestProcess.test_rss_memory
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 792, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 593, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_posix.py", line 109, in test_rss_memory
rss_ps = ps("ps --no-headers -o rss -p %s" % self.pid)
File "/root/psutil/psutil/tests/test_posix.py", line 51, in ps
output = sh(cmd)
File "/root/psutil/psutil/tests/__init__.py", line 259, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 406, in sh
raise RuntimeError(stderr)
RuntimeError: ps: invalid list with -o.
Usage: ps [-ANPaedfklmMZ] [-n namelist] [-F Format] [-o specifier[=header],...]
[-p proclist][-G|-g grouplist] [-t termlist] [-U|-u userlist] [-c classlist] [ -T pid] [ -L pidlist]
[-@ [wparname] ]
Usage: ps [aceglnsuvwxX] [t tty] [ProcessNumber]
======================================================================
ERROR: psutil.tests.test_posix.TestProcess.test_uid
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_posix.py", line 80, in test_uid
uid_ps = ps("ps --no-headers -o uid -p %s" % self.pid)
File "/root/psutil/psutil/tests/test_posix.py", line 51, in ps
output = sh(cmd)
File "/root/psutil/psutil/tests/__init__.py", line 259, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 406, in sh
raise RuntimeError(stderr)
RuntimeError
======================================================================
ERROR: psutil.tests.test_posix.TestProcess.test_username
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_posix.py", line 90, in test_username
username_ps = ps("ps --no-headers -o user -p %s" % self.pid)
File "/root/psutil/psutil/tests/test_posix.py", line 51, in ps
output = sh(cmd)
File "/root/psutil/psutil/tests/__init__.py", line 259, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 406, in sh
raise RuntimeError(stderr)
RuntimeError
======================================================================
ERROR: psutil.tests.test_posix.TestProcess.test_vsz_memory
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 792, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 593, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_posix.py", line 119, in test_vsz_memory
vsz_ps = ps("ps --no-headers -o vsz -p %s" % self.pid)
File "/root/psutil/psutil/tests/test_posix.py", line 51, in ps
output = sh(cmd)
File "/root/psutil/psutil/tests/__init__.py", line 259, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 406, in sh
raise RuntimeError(stderr)
RuntimeError
======================================================================
ERROR: psutil.tests.test_posix.TestSystemAPIs.test_disk_usage
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_posix.py", line 373, in test_disk_usage
total, used, free, percent = df(part.device)
File "/root/psutil/psutil/tests/test_posix.py", line 363, in df
total = int(fields[1]) * 1024
ValueError: invalid literal for int() with base 10: '-'
======================================================================
ERROR: psutil.tests.test_posix.TestSystemAPIs.test_users
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 593, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_posix.py", line 319, in test_users
self.assertEqual(len(users), len(psutil.users()))
File "/root/psutil/psutil/__init__.py", line 2347, in users
return _psplatform.users()
File "/root/psutil/psutil/_psaix.py", line 167, in users
nt = _common.suser(user, tty, hostname, tstamp)
TypeError: __new__() takes exactly 6 arguments (5 given)
======================================================================
ERROR: psutil.tests.test_process.TestPopen.test_kill_terminate
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_process.py", line 1510, in test_kill_terminate
proc.terminate()
File "/root/psutil/psutil/__init__.py", line 357, in wrapper
raise NoSuchProcess(self.pid, self._name)
NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=6488310)
======================================================================
ERROR: psutil.tests.test_process.TestProcess.test_num_ctx_switches
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 808, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_process.py", line 990, in test_num_ctx_switches
before = sum(p.num_ctx_switches())
AttributeError: 'Process' object has no attribute 'num_ctx_switches'
======================================================================
ERROR: psutil.tests.test_process.TestProcess.test_pid_0
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_process.py", line 1329, in test_pid_0
ret = meth()
File "/root/psutil/psutil/__init__.py", line 790, in num_fds
return self._proc.num_fds()
File "/root/psutil/psutil/_psaix.py", line 269, in wrapper
raise ZombieProcess(self.pid, self._name, self._ppid)
ZombieProcess: psutil.ZombieProcess process still exists but it's a zombie (pid=0)
======================================================================
ERROR: psutil.tests.test_process.TestProcess.test_wait_non_children
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_process.py", line 198, in test_wait_non_children
p1.terminate()
File "/root/psutil/psutil/__init__.py", line 357, in wrapper
raise NoSuchProcess(self.pid, self._name)
NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=8061136)
======================================================================
ERROR: psutil.tests.test_system.TestSystemAPIs.test_cpu_stats
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_system.py", line 738, in test_cpu_stats
infos = psutil.cpu_stats()
File "/root/psutil/psutil/__init__.py", line 1918, in cpu_stats
return _psplatform.cpu_stats()
AttributeError: 'module' object has no attribute 'cpu_stats'
======================================================================
ERROR: psutil.tests.test_system.TestSystemAPIs.test_users
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_system.py", line 719, in test_users
users = psutil.users()
File "/root/psutil/psutil/__init__.py", line 2347, in users
return _psplatform.users()
File "/root/psutil/psutil/_psaix.py", line 167, in users
nt = _common.suser(user, tty, hostname, tstamp)
TypeError: __new__() takes exactly 6 arguments (5 given)
======================================================================
FAIL: psutil.tests.test_contracts.TestAvailability.test_proc_memory_maps
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_contracts.py", line 162, in test_proc_memory_maps
self.assertEqual(hasit, False if OPENBSD or NETBSD else True)
AssertionError: False != True
======================================================================
FAIL: psutil.tests.test_contracts.TestFetchAllProcesses.test_fetch_all
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_contracts.py", line 342, in test_fetch_all
meth(ret, p)
File "/root/psutil/psutil/tests/test_contracts.py", line 539, in cwd
self.assertIsInstance(ret, str)
AssertionError: None is not an instance of <type 'str'>
======================================================================
FAIL: psutil.tests.test_misc.TestMisc.test_setup_script
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_misc.py", line 369, in test_setup_script
self.assertRaises(SystemExit, module.setup)
AssertionError: SystemExit not raised
======================================================================
FAIL: psutil.tests.test_misc.TestNetUtils.test_unix_socketpair
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_misc.py", line 1000, in test_unix_socketpair
self.assertEqual(p.num_fds() - num_fds, 2)
AssertionError: 1 != 2
======================================================================
FAIL: psutil.tests.test_misc.TestProcessUtils.test_create_proc_children_pair
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_misc.py", line 932, in test_create_proc_children_pair
assert p1.is_running()
AssertionError
======================================================================
FAIL: psutil.tests.test_misc.TestProcessUtils.test_create_zombie_proc
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_misc.py", line 950, in test_create_zombie_proc
zpid = create_zombie_proc()
File "/root/psutil/psutil/tests/__init__.py", line 366, in create_zombie_proc
call_until(lambda: zproc.status(), "ret == psutil.STATUS_ZOMBIE")
File "/root/psutil/psutil/tests/__init__.py", line 593, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 643, in call_until
assert eval(expr)
AssertionError
======================================================================
FAIL: psutil.tests.test_posix.TestProcess.test_cmdline
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_posix.py", line 203, in test_cmdline
self.assertEqual(ps_cmdline, psutil_cmdline)
AssertionError: 'python2.7.bin' != '/root/python/bin/python2.7 -E -O'
======================================================================
FAIL: psutil.tests.test_posix.TestProcess.test_nice
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_posix.py", line 213, in test_nice
self.assertEqual(ps_nice, psutil_nice)
AssertionError: 20 != 0
======================================================================
FAIL: psutil.tests.test_posix.TestSystemAPIs.test_nic_names
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_posix.py", line 308, in test_nic_names
nic, output))
AssertionError: couldn't find ent1 nic in 'ifconfig -a' output
en0: flags=1e084863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
inet 172.16.67.136 netmask 0xffffe000 broadcast 172.16.95.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
======================================================================
FAIL: psutil.tests.test_posix.TestSystemAPIs.test_pids
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 593, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_posix.py", line 271, in test_pids
assert p.poll() == 0
AssertionError
======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_cmdline
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_process.py", line 719, in test_cmdline
' '.join(cmdline))
AssertionError: '/root/python/bin/python2.7 -c' != '/root/python/bin/python2.7 -c import time; time.sleep(60)'
======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_io_counters
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/__init__.py", line 808, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/test_process.py", line 321, in test_io_counters
self.assertGreater(io2.read_count, io1.read_count)
AssertionError: 1L not greater than 1L
======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_num_fds
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_process.py", line 981, in test_num_fds
self.assertEqual(p.num_fds(), start + 2)
AssertionError: 6 != 7
======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_prog_w_funky_name
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_process.py", line 754, in test_prog_w_funky_name
self.assertEqual(p.cmdline(), cmdline)
AssertionError: Lists differ: [''] != ['/root/psutil/$testfnfoo bar ...
First differing element 0:
/root/psutil/$testfnfoo bar )
Second list contains 6 additional elements.
First extra element 1:
-c
+ ['/root/psutil/$testfnfoo bar )',
+ '-c',
+ 'import time; [time.sleep(0.01) for x in range(3000)];arg1',
+ 'arg2',
+ '',
+ 'arg3',
- ['']
? ^
+ '']
? ^
======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_zombie_process
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_process.py", line 1243, in test_zombie_process
zpid = create_zombie_proc()
File "/root/psutil/psutil/tests/__init__.py", line 366, in create_zombie_proc
call_until(lambda: zproc.status(), "ret == psutil.STATUS_ZOMBIE")
File "/root/psutil/psutil/tests/__init__.py", line 593, in wrapper
return fun(*args, **kwargs)
File "/root/psutil/psutil/tests/__init__.py", line 643, in call_until
assert eval(expr)
AssertionError
======================================================================
FAIL: psutil.tests.test_system.TestSystemAPIs.test_pid_exists_2
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_system.py", line 238, in test_pid_exists_2
self.fail(pid)
AssertionError: 131076
======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_cmdline
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_unicode.py", line 192, in test_proc_cmdline
self.assertEqual(cmdline, [self.funky_name])
AssertionError: Lists differ: [''] != ['/root/psutil/$testfnf\xc0\x8...
First differing element 0:
/root/psutil/$testfnf��
- ['']
+ ['/root/psutil/$testfnf\xc0\x80']
======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_exe
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_unicode.py", line 165, in test_proc_exe
self.assertEqual(exe, self.funky_name)
AssertionError: '' != '/root/psutil/$testfnf\xc0\x80'
======================================================================
FAIL: psutil.tests.test_unicode.TestFSAPIsWithInvalidPath.test_proc_name
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/psutil/psutil/tests/test_unicode.py", line 182, in test_proc_name
self.assertEqual(name, os.path.basename(self.funky_name))
AssertionError: '' != '$testfnf\xc0\x80'
----------------------------------------------------------------------
Ran 573 tests in 80.383s
FAILED (failures=19, errors=22, skipped=258)
Test failed: <unittest.runner.TextTestResult run=573 errors=22 failures=19>
error: Test failed: <unittest.runner.TextTestResult run=573 errors=22 failures=19>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment