>make.bat test using Z:\home\klightspeed\wine-psutil\venv\Scripts\python.exe cmd: ['Z:\\home\\klightspeed\\wine-psutil\\venv\\Scripts\\python.exe', '-c', 'import setuptools'] running build_ext cmd: ['Z:\\home\\klightspeed\\wine-psutil\\venv\\Scripts\\python.exe', '-c', 'import psutil'] build + import successful cmd: ['Z:\\home\\klightspeed\\wine-psutil\\venv\\Scripts\\python.exe', '-m', 'pytest', '--ignore=psutil/tests/test_memleaks.py', '-v', '-s', '--tb=short'] ======================================================= test session starts ======================================================= platform win32 -- Python 3.11.9, pytest-8.3.4, pluggy-1.5.0 -- Z:\home\klightspeed\wine-psutil\venv\Scripts\python.exe cachedir: .pytest_cache rootdir: Z:\home\klightspeed\wine-psutil\psutil configfile: pyproject.toml plugins: xdist-3.6.1 collected 584 items psutil/tests/test_aix.py::AIXSpecificTestCase::test_cpu_count_logical SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_cpu_stats SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_net_if_addrs_names SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_swap_memory SKIPPED (AIX only) psutil/tests/test_aix.py::AIXSpecificTestCase::test_virtual_memory SKIPPED (AIX only) psutil/tests/test_bsd.py::BSDTestCase::test_cpu_count_logical SKIPPED (sysctl cmd not available) psutil/tests/test_bsd.py::BSDTestCase::test_disks SKIPPED (BSD only) psutil/tests/test_bsd.py::BSDTestCase::test_net_if_stats SKIPPED (ifconfig cmd not available) psutil/tests/test_bsd.py::BSDTestCase::test_process_create_time SKIPPED (BSD only) psutil/tests/test_bsd.py::BSDTestCase::test_virtual_memory_total SKIPPED (sysctl cmd not available) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_cmdline SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_cpu_times SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_ctx_switches SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_exe SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_memory_maps SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDPsutilTestCase::test_uids_gids SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_boot_time SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_frequency_against_sysctl SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_ctx_switches SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_interrupts SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_soft_interrupts SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_cpu_stats_syscalls SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_active SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_buffers SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_cached SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_free SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_inactive SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_total SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_muse_vmem_wired SKIPPED (muse not installed) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_battery SKIPPED (no battery) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_battery_against_sysctl SKIPPED (no battery) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_battery_no_battery SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_sensors_temperatures_against_sysctl SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_swapmem_free SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_swapmem_total SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_swapmem_used SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_active SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_buffers SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_cached SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_free SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_inactive SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::FreeBSDSystemTestCase::test_vmem_wired SKIPPED (FREEBSD only) psutil/tests/test_bsd.py::OpenBSDTestCase::test_boot_time SKIPPED (OPENBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_cpu_stats_ctx_switches SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_cpu_stats_interrupts SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_swapmem_free SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_swapmem_total SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_swapmem_used SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_buffers SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_cached SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_free SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_shared SKIPPED (NETBSD only) psutil/tests/test_bsd.py::NetBSDTestCase::test_vmem_total SKIPPED (NETBSD only) psutil/tests/test_connections.py::TestBasicOperations::test_invalid_kind psutil-debug [psutil/arch/windows\socks.c:61]> GetExtendedTcpTable: retry with different bufsize PASSED psutil/tests/test_connections.py::TestBasicOperations::test_process psutil-debug [psutil/arch/windows\socks.c:97]> GetExtendedUdpTable: retry with different bufsize PASSED psutil/tests/test_connections.py::TestBasicOperations::test_system PASSED psutil/tests/test_connections.py::TestUnconnectedSockets::test_tcp_v4 FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_tcp_v6 FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_udp_v4 FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_udp_v6 FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_unix_tcp SKIPPED (POSIX only) psutil/tests/test_connections.py::TestUnconnectedSockets::test_unix_udp SKIPPED (POSIX only) psutil/tests/test_connections.py::TestConnectedSocket::test_tcp FAILED psutil/tests/test_connections.py::TestConnectedSocket::test_unix SKIPPED (POSIX only) psutil/tests/test_connections.py::TestFilters::test_combos FAILED psutil/tests/test_connections.py::TestFilters::test_count FAILED psutil/tests/test_connections.py::TestFilters::test_filters PASSED psutil/tests/test_connections.py::TestSystemWideConnections::test_it PASSED psutil/tests/test_connections.py::TestSystemWideConnections::test_multi_sockets_procs FAILED psutil/tests/test_connections.py::TestMisc::test_net_connection_constants PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_PROCFS_PATH PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_linux_ioprio_linux PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_linux_ioprio_windows PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_rlimit PASSED psutil/tests/test_contracts.py::TestAvailConstantsAPIs::test_win_priority PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_battery PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_cpu_freq PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_sensors_fans PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_sensors_temperatures PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_win_service_get PASSED psutil/tests/test_contracts.py::TestAvailSystemAPIs::test_win_service_iter PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_cpu_affinity PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_cpu_num PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_environ PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_gids PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_io_counters PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_ionice PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_memory_maps PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_num_fds PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_num_handles PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_rlimit PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_terminal PASSED psutil/tests/test_contracts.py::TestAvailProcessAPIs::test_uids PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_boot_time PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_count PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_freq PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_percent PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_times PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_cpu_times_percent PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_disk_io_counters psutil-debug [psutil/arch/windows\disk.c:134]> DeviceIoControl -> ERROR_NOT_SUPPORTED; ignore PhysicalDrive0 PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_disk_partitions wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_connections PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_if_addrs PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_if_stats PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_net_io_counters PASSED psutil/tests/test_contracts.py::TestSystemAPITypes::test_sensors_fans SKIPPED (not supported) psutil/tests/test_contracts.py::TestSystemAPITypes::test_sensors_temperatures SKIPPED (not supported) psutil/tests/test_contracts.py::TestSystemAPITypes::test_users FAILED psutil/tests/test_contracts.py::TestProcessWaitType::test_negative_signal SKIPPED (not POSIX) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_available SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_free SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_shared SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_total SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_active SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_buffers SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_free SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_inactive SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_total SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_comes_from_kernel SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_missing_fields SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_missing_zoneinfo SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_avail_old_percent SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_virtual_memory_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemVirtualMemoryMocks::test_warnings_on_misses SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_emulate_meminfo_has_no_metrics SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_free SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_meminfo_against_sysinfo SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_missing_sin_sout SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_no_vmstat_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_total SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemSwapMemory::test_used SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUTimes::test_fields SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_lscpu SKIPPED (lscpu utility not available) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc SKIPPED (nproc utility not available) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_sysdev_cpu_num SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_against_sysdev_cpu_online SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountCores::test_against_lscpu SKIPPED (lscpu utility not available) psutil/tests/test_linux.py::TestSystemCPUCountCores::test_emulate_none SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUCountCores::test_method_2 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_data SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_multi_cpu SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_no_scaling_cur_freq_file SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemCPUStats::test_interrupts SKIPPED (LINUX only) psutil/tests/test_linux.py::TestLoadAvg::test_getloadavg SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetIfAddrs::test_ips SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetIfStats::test_against_ifconfig SKIPPED (ifconfig utility not available) psutil/tests/test_linux.py::TestSystemNetIfStats::test_flags SKIPPED (ifconfig utility not available) psutil/tests/test_linux.py::TestSystemNetIfStats::test_mtu SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetIOCounters::test_against_ifconfig SKIPPED (ifconfig utility not available) psutil/tests/test_linux.py::TestSystemNetConnections::test_emulate_ipv6_unsupported SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemNetConnections::test_emulate_unix SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskPartitions::test_against_df SKIPPED (os.statvfs() not available) psutil/tests/test_linux.py::TestSystemDiskPartitions::test_emulate_realpath_fail SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_exclude_partitions SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_include_partitions SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_kernel_2_4 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_kernel_2_6_full SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_kernel_2_6_limited SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_not_impl SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSystemDiskIoCounters::test_emulate_use_sysfs SKIPPED (LINUX only) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_against_findmnt SKIPPED (findmnt utility not available) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_call_methods SKIPPED (LINUX only) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_comparisons SKIPPED (LINUX only) psutil/tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_boot_time SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_boot_time_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_cpu_steal_decrease SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_issue_687 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_no_procfs_on_import SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_pid_exists_no_proc_status SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_procfs_path SKIPPED (LINUX only) psutil/tests/test_linux.py::TestMisc::test_users SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0 SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_no_power SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_not_plugged SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_not_plugged_2 SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_plugged SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_plugged_2 SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined SKIPPED (no battery) psutil/tests/test_linux.py::TestSensorsBattery::test_percent SKIPPED (acpi utility not available) psutil/tests/test_linux.py::TestSensorsBatteryEmulated::test_it SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsTemperatures::test_emulate_class_hwmon SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsTemperatures::test_emulate_class_thermal SKIPPED (LINUX only) psutil/tests/test_linux.py::TestSensorsFans::test_emulate_data SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_cmdline_mixed_separators SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_cmdline_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_cmdline_spaces_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_exe_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_issue_1014 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_issue_2418 SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_net_connections_enametoolong SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_enametoolong SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_fd_gone SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_file_gone SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_open_files_mode SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_parse_smaps_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_parse_smaps_vs_memory_maps SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_readlink_path_deleted_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_rlimit_zombie SKIPPED (not supported) psutil/tests/test_linux.py::TestProcess::test_stat_file_parsing SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_status_file_parsing SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_terminal_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcess::test_threads_mocked SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity_eligible_cpus SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_gids SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_name SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_num_ctx_switches SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_num_threads SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_ppid SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_status SKIPPED (LINUX only) psutil/tests/test_linux.py::TestProcessAgainstStatus::test_uids SKIPPED (LINUX only) psutil/tests/test_linux.py::TestUtils::test_readlink SKIPPED (LINUX only) psutil/tests/test_misc.py::TestSpecialMethods::test_access_denied__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_access_denied__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_check_pid_range PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_error__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_error__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_no_such_process__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_no_such_process__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__eq__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__hash__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_process__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_timeout_expired__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_timeout_expired__str__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_zombie_process__repr__ PASSED psutil/tests/test_misc.py::TestSpecialMethods::test_zombie_process__str__ PASSED psutil/tests/test_misc.py::TestMisc::test__all__ PASSED psutil/tests/test_misc.py::TestMisc::test_ad_on_process_creation PASSED psutil/tests/test_misc.py::TestMisc::test_process_as_dict_no_new_names FAILED psutil/tests/test_misc.py::TestMisc::test_sanity_version_check PASSED psutil/tests/test_misc.py::TestMisc::test_serialization FAILED psutil/tests/test_misc.py::TestMisc::test_version PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_class PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_class_singleton PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_classmethod PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_function PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_original PASSED psutil/tests/test_misc.py::TestMemoizeDecorator::test_staticmethod PASSED psutil/tests/test_misc.py::TestCommonModule::test_cat_bcat PASSED psutil/tests/test_misc.py::TestCommonModule::test_debug PASSED psutil/tests/test_misc.py::TestCommonModule::test_isfile_strict PASSED psutil/tests/test_misc.py::TestCommonModule::test_memoize_when_activated PASSED psutil/tests/test_misc.py::TestCommonModule::test_parse_environ_block PASSED psutil/tests/test_misc.py::TestCommonModule::test_supports_ipv6 PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_call_twice PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_changing_keys PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_clear PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_clear_public_apis psutil-debug [psutil/arch/windows\disk.c:134]> DeviceIoControl -> ERROR_NOT_SUPPORTED; ignore PhysicalDrive0 SKIPPED (no disks or NICs available) psutil/tests/test_misc.py::TestWrapNumbers::test_cache_first_call PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_cache_wrap PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_changing_keys PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_changing_keys_w_wrap PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_first_call PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_increase_but_no_wrap PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_input_hasnt_changed PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_real_data PASSED psutil/tests/test_misc.py::TestWrapNumbers::test_wrap PASSED psutil/tests/test_osx.py::TestProcess::test_process_create_time SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_cpu_count_cores SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_cpu_count_logical SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_cpu_freq SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_disks SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_net_if_stats SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_sensors_battery SKIPPED (no battery) psutil/tests/test_osx.py::TestSystemAPIs::test_swapmem_sin SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_swapmem_sout SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_active SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_free SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_inactive SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_total SKIPPED (MACOS only) psutil/tests/test_osx.py::TestSystemAPIs::test_vmem_wired SKIPPED (MACOS only) psutil/tests/test_posix.py::TestProcess::test_cmdline SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_create_time SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_exe SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_gid SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name_long SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name_long_cmdline_ad_exc SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_name_long_cmdline_nsp_exc SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_nice SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_ppid SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_rss_memory SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_uid SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_username SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_username_no_resolution SKIPPED (POSIX only) psutil/tests/test_posix.py::TestProcess::test_vsz_memory SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_disk_usage SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_nic_names SKIPPED (no ifconfig cmd) psutil/tests/test_posix.py::TestSystemAPIs::test_os_waitpid_bad_ret_status SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_os_waitpid_eintr SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_os_waitpid_let_raise SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_pid_exists_let_raise SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_pids SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_users SKIPPED (POSIX only) psutil/tests/test_posix.py::TestSystemAPIs::test_users_started SKIPPED (POSIX only) psutil/tests/test_posix.py::TestMisc::test_getpagesize SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_as_dict FAILED psutil/tests/test_process.py::TestProcess::test_children PASSED psutil/tests/test_process.py::TestProcess::test_children_duplicates PASSED psutil/tests/test_process.py::TestProcess::test_children_recursive PASSED psutil/tests/test_process.py::TestProcess::test_cmdline PASSED psutil/tests/test_process.py::TestProcess::test_cpu_affinity PASSED psutil/tests/test_process.py::TestProcess::test_cpu_affinity_all_combinations PASSED psutil/tests/test_process.py::TestProcess::test_cpu_affinity_errs PASSED psutil/tests/test_process.py::TestProcess::test_cpu_num SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_cpu_percent PASSED psutil/tests/test_process.py::TestProcess::test_cpu_percent_numcpus_none PASSED psutil/tests/test_process.py::TestProcess::test_cpu_times PASSED psutil/tests/test_process.py::TestProcess::test_cpu_times_2 PASSED psutil/tests/test_process.py::TestProcess::test_create_time PASSED psutil/tests/test_process.py::TestProcess::test_cwd PASSED psutil/tests/test_process.py::TestProcess::test_cwd_2 PASSED psutil/tests/test_process.py::TestProcess::test_environ PASSED psutil/tests/test_process.py::TestProcess::test_exe PASSED psutil/tests/test_process.py::TestProcess::test_gids SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_halfway_terminated_process FAILED psutil/tests/test_process.py::TestProcess::test_invalid_pid PASSED psutil/tests/test_process.py::TestProcess::test_io_counters FAILED psutil/tests/test_process.py::TestProcess::test_ionice_linux SKIPPED (linux only) psutil/tests/test_process.py::TestProcess::test_ionice_win FAILED psutil/tests/test_process.py::TestProcess::test_is_running PASSED psutil/tests/test_process.py::TestProcess::test_kill FAILED psutil/tests/test_process.py::TestProcess::test_long_cmdline PASSED psutil/tests/test_process.py::TestProcess::test_long_name PASSED psutil/tests/test_process.py::TestProcess::test_memory_full_info FAILED psutil/tests/test_process.py::TestProcess::test_memory_info PASSED psutil/tests/test_process.py::TestProcess::test_memory_maps PASSED psutil/tests/test_process.py::TestProcess::test_memory_maps_lists_lib FAILED psutil/tests/test_process.py::TestProcess::test_memory_percent FAILED psutil/tests/test_process.py::TestProcess::test_name PASSED psutil/tests/test_process.py::TestProcess::test_nice PASSED psutil/tests/test_process.py::TestProcess::test_num_ctx_switches FAILED psutil/tests/test_process.py::TestProcess::test_num_fds SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_num_handles FAILED psutil/tests/test_process.py::TestProcess::test_num_threads PASSED psutil/tests/test_process.py::TestProcess::test_oneshot PASSED psutil/tests/test_process.py::TestProcess::test_oneshot_cache PASSED psutil/tests/test_process.py::TestProcess::test_oneshot_twice PASSED psutil/tests/test_process.py::TestProcess::test_open_files FAILED psutil/tests/test_process.py::TestProcess::test_open_files_2 FAILED psutil/tests/test_process.py::TestProcess::test_parent PASSED psutil/tests/test_process.py::TestProcess::test_parent_multi PASSED psutil/tests/test_process.py::TestProcess::test_parents PASSED psutil/tests/test_process.py::TestProcess::test_parents_and_children PASSED psutil/tests/test_process.py::TestProcess::test_pid PASSED psutil/tests/test_process.py::TestProcess::test_pid_0 FAILED psutil/tests/test_process.py::TestProcess::test_ppid PASSED psutil/tests/test_process.py::TestProcess::test_reused_pid PASSED psutil/tests/test_process.py::TestProcess::test_rlimit SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_get SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_infinity SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_infinity_value SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_rlimit_set SKIPPED (not supported) psutil/tests/test_process.py::TestProcess::test_send_signal FAILED psutil/tests/test_process.py::TestProcess::test_send_signal_mocked SKIPPED (not POSIX) psutil/tests/test_process.py::TestProcess::test_status PASSED psutil/tests/test_process.py::TestProcess::test_suspend_resume PASSED psutil/tests/test_process.py::TestProcess::test_terminal SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_terminate FAILED psutil/tests/test_process.py::TestProcess::test_threads PASSED psutil/tests/test_process.py::TestProcess::test_threads_2 AssertionError("assert 4.36 < 0.1\n + where 4.36 = abs((4.37 - 0.01))\n + where 4.37 = pcputimes(user=4.37, system=2.9899999999999998, children_user=0.0, children_system=0.0). user\n + where pcputimes(user=4.37, system=2.9899999999999998, children_user=0.0, children_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=2072, name='python.exe', status='running', started='13:22:05').cpu_ times\n + and 0.01 = sum([0.01])"), retrying AssertionError("assert 4.36 < 0.1\n + where 4.36 = abs((4.37 - 0.01))\n + where 4.37 = pcputimes(user=4.37, system=2.9899999999999998, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.37, system=2.98999999 99999998, children_user=0.0, children_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=40, name='python.exe', status='running', started='13:22:05').cpu_times\n + and 0.01 = sum([0.01])"), retrying AssertionError("assert 4.37 < 0.1\n + where 4.37 = abs((4.38 - 0.01))\n + where 4.38 = pcputimes(user=4.38, system=3.0, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.38, system=3.0, children_user=0.0, c hildren_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=260, name='python.exe', status='running', started='13:22:05').cpu_times\n + and 0.01 = sum([0.01])"), retrying AssertionError("assert 4.37 < 0.1\n + where 4.37 = abs((4.38 - 0.01))\n + where 4.38 = pcputimes(user=4.38, system=3.01, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.38, system=3.01, children_user=0.0, children_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=284, name='python.exe', status='running', started='13:22:06').cpu_times\n + and 0.01 = sum([0.01])"), retrying AssertionError("assert 4.38 < 0.1\n + where 4.38 = abs((4.39 - 0.01))\n + where 4.39 = pcputimes(user=4.39, system=3.01, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.39, system=3.01, children_user=0.0, children_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=300, name='python.exe', status='running', started='13:22:06').cpu_times\n + and 0.01 = sum([0.01])"), retrying AssertionError("assert 4.38 < 0.1\n + where 4.38 = abs((4.39 - 0.01))\n + where 4.39 = pcputimes(user=4.39, system=3.02, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.39, system=3.02, children_user=0.0, children_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=316, name='python.exe', status='running', started='13:22:06').cpu_times\n + and 0.01 = sum([0.01])"), retrying AssertionError("assert 4.39 < 0.1\n + where 4.39 = abs((4.3999999999999995 - 0.01))\n + where 4.3999999999999995 = pcputimes(user=4.3999999999999995, system=3.03, children_user=0.0, children_system=0.0).user\n + where pcputimes( user=4.3999999999999995, system=3.03, children_user=0.0, children_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=332, name='python.exe', status='running', started='13:22:06').cpu_times\n + and 0.01 = sum([ 0.01])"), retrying AssertionError("assert 4.390000000000001 < 0.1\n + where 4.390000000000001 = abs((4.41 - 0.02))\n + where 4.41 = pcputimes(user=4.41, system=3.04, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.41, syste m=3.04, children_user=0.0, children_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=348, name='python.exe', status='running', started='13:22:06').cpu_times\n + and 0.02 = sum([0.02])"), retrying AssertionError("assert 4.4 < 0.1\n + where 4.4 = abs((4.41 - 0.01))\n + where 4.41 = pcputimes(user=4.41, system=3.05, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.41, system=3.05, children_user=0.0, c hildren_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=364, name='python.exe', status='running', started='13:22:06').cpu_times\n + and 0.01 = sum([0.01])"), retrying AssertionError("assert 4.4 < 0.1\n + where 4.4 = abs((4.42 - 0.02))\n + where 4.42 = pcputimes(user=4.42, system=3.07, children_user=0.0, children_system=0.0).user\n + where pcputimes(user=4.42, system=3.07, children_user=0.0, c hildren_system=0.0) = cpu_times()\n + where cpu_times = psutil.Process(pid=380, name='python.exe', status='running', started='13:22:06').cpu_times\n + and 0.02 = sum([0.02])"), retrying FAILED psutil/tests/test_process.py::TestProcess::test_uids SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_username PASSED psutil/tests/test_process.py::TestProcess::test_wait_exited FAILED psutil/tests/test_process.py::TestProcess::test_wait_non_children PASSED psutil/tests/test_process.py::TestProcess::test_wait_stopped PASSED psutil/tests/test_process.py::TestProcess::test_wait_timeout PASSED psutil/tests/test_process.py::TestProcess::test_wait_timeout_nonblocking FAILED psutil/tests/test_process.py::TestProcess::test_weird_environ SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_zombie_process SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_zombie_process_is_running_w_exc SKIPPED (POSIX only) psutil/tests/test_process.py::TestProcess::test_zombie_process_status_w_exc SKIPPED (POSIX only) psutil/tests/test_process.py::TestPopen::test__getattribute__ PASSED psutil/tests/test_process.py::TestPopen::test_ctx_manager PASSED psutil/tests/test_process.py::TestPopen::test_kill_terminate PASSED psutil/tests/test_process.py::TestPopen::test_misc PASSED psutil/tests/test_process_all.py::TestFetchAllProcesses::test_all FAILED psutil/tests/test_process_all.py::TestPidsRange::test_it PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_battery SKIPPED (no battery) psutil/tests/test_scripts.py::TestExampleScripts::test_coverage PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_cpu_distribution PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_disk_usage FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_executable SKIPPED (POSIX only) psutil/tests/test_scripts.py::TestExampleScripts::test_fans SKIPPED (not supported) psutil/tests/test_scripts.py::TestExampleScripts::test_free FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ifconfig FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_iotop PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_killall PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_meminfo FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_netstat FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_nettop PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_pidof FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pmap FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procinfo FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procsmem FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ps FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pstree FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_sensors SKIPPED (no battery) psutil/tests/test_scripts.py::TestExampleScripts::test_temperatures SKIPPED (not supported) psutil/tests/test_scripts.py::TestExampleScripts::test_top PASSED psutil/tests/test_scripts.py::TestExampleScripts::test_who FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_winservices FAILED psutil/tests/test_scripts.py::TestInternalScripts::test_import_all FAILED psutil/tests/test_scripts.py::TestInternalScripts::test_syntax_all PASSED psutil/tests/test_scripts.py::TestSetupScript::test_invocation PASSED psutil/tests/test_scripts.py::TestSetupScript::test_python2 SKIPPED (python2.7 not installed) psutil/tests/test_sunos.py::SunOSSpecificTestCase::test_cpu_count SKIPPED (SUNOS only) psutil/tests/test_sunos.py::SunOSSpecificTestCase::test_swap_memory SKIPPED (SUNOS only) psutil/tests/test_system.py::TestProcessIter::test_attrs PASSED psutil/tests/test_system.py::TestProcessIter::test_cache_clear PASSED psutil/tests/test_system.py::TestProcessIter::test_emulate_access_denied PASSED psutil/tests/test_system.py::TestProcessIter::test_emulate_nsp PASSED psutil/tests/test_system.py::TestProcessIter::test_no_duplicates PASSED psutil/tests/test_system.py::TestProcessIter::test_pid_presence PASSED psutil/tests/test_system.py::TestProcessAPIs::test_pid_exists FAILED psutil/tests/test_system.py::TestProcessAPIs::test_pid_exists_2 PASSED psutil/tests/test_system.py::TestProcessAPIs::test_wait_procs PASSED psutil/tests/test_system.py::TestProcessAPIs::test_wait_procs_no_timeout PASSED psutil/tests/test_system.py::TestMiscAPIs::test_boot_time PASSED psutil/tests/test_system.py::TestMiscAPIs::test_os_constants PASSED psutil/tests/test_system.py::TestMiscAPIs::test_users FAILED psutil/tests/test_system.py::TestMemoryAPIs::test_swap_memory FAILED psutil/tests/test_system.py::TestMemoryAPIs::test_virtual_memory PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_count_cores PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_count_logical PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_count_none PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_freq PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_stats FAILED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_times_time_increases PASSED psutil/tests/test_system.py::TestCpuAPIs::test_getloadavg FAILED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times_2 PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times_percent PASSED psutil/tests/test_system.py::TestCpuAPIs::test_per_cpu_times_percent_negative PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_io_counters psutil-debug [psutil/arch/windows\disk.c:134]> DeviceIoControl -> ERROR_NOT_SUPPORTED; ignore PhysicalDrive0 FAILED psutil/tests/test_system.py::TestDiskAPIs::test_disk_io_counters_no_disks PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_partitions wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_usage PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_usage_bytes PASSED psutil/tests/test_system.py::TestDiskAPIs::test_disk_usage_unicode SKIPPED (not an ASCII fs) psutil/tests/test_system.py::TestNetAPIs::test_net_if_addrs PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_if_addrs_mac_null_bytes PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_if_stats PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_if_stats_enodev SKIPPED (LINUX or BSD or MACOS specific) psutil/tests/test_system.py::TestNetAPIs::test_net_io_counters PASSED psutil/tests/test_system.py::TestNetAPIs::test_net_io_counters_no_nics PASSED psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_battery SKIPPED (no battery) psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_fans SKIPPED (not supported) psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_temperatures SKIPPED (not supported) psutil/tests/test_system.py::TestSensorsAPIs::test_sensors_temperatures_fahreneit SKIPPED (not supported) psutil/tests/test_testutils.py::TestRetryDecorator::test_exception_arg PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_no_interval_arg PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retries_and_timeout_args PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retries_arg PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retry_failure PASSED psutil/tests/test_testutils.py::TestRetryDecorator::test_retry_success PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_call_until PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file_empty PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file_no_delete PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_file_no_file PASSED psutil/tests/test_testutils.py::TestSyncTestUtils::test_wait_for_pid PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_chdir PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_open_binary PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_open_text PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_safe_mkdir PASSED psutil/tests/test_testutils.py::TestFSTestUtils::test_safe_rmpath PASSED psutil/tests/test_testutils.py::TestProcessUtils::test_reap_children PASSED psutil/tests/test_testutils.py::TestProcessUtils::test_spawn_children_pair PASSED psutil/tests/test_testutils.py::TestProcessUtils::test_spawn_zombie SKIPPED (POSIX only) psutil/tests/test_testutils.py::TestProcessUtils::test_terminate PASSED psutil/tests/test_testutils.py::TestNetUtils::test_bind_unix_socket SKIPPED (POSIX only) psutil/tests/test_testutils.py::TestNetUtils::test_create_sockets PASSED psutil/tests/test_testutils.py::TestNetUtils::test_tcp_socketpair PASSED psutil/tests/test_testutils.py::TestNetUtils::test_unix_socketpair SKIPPED (POSIX only) psutil/tests/test_testutils.py::TestMemLeakClass::test_execute_w_exc FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_leak_mem FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_param_err PASSED psutil/tests/test_testutils.py::TestMemLeakClass::test_times FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_tolerance FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_unclosed_files FAILED psutil/tests/test_testutils.py::TestFakePytest::test_main test_passed (test_file.TestCase.test_passed) ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK PASSED psutil/tests/test_testutils.py::TestFakePytest::test_mark PASSED psutil/tests/test_testutils.py::TestFakePytest::test_raises PASSED psutil/tests/test_testutils.py::TestFakePytest::test_skip s ---------------------------------------------------------------------- Ran 1 test in 0.000s OK (skipped=1) PASSED psutil/tests/test_testutils.py::TestFakePytest::test_skipif s ---------------------------------------------------------------------- Ran 1 test in 0.000s OK (skipped=1) . ---------------------------------------------------------------------- Ran 1 test in 0.000s OK PASSED psutil/tests/test_testutils.py::TestFakePytest::test_warns PASSED psutil/tests/test_testutils.py::TestTestingUtils::test_process_namespace PASSED psutil/tests/test_testutils.py::TestTestingUtils::test_system_namespace PASSED psutil/tests/test_testutils.py::TestOtherUtils::test_is_namedtuple PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_disk_usage PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_memory_maps FAILED psutil/tests/test_unicode.py::TestFSAPIs::test_net_connections SKIPPED (can't list UNIX sockets) psutil/tests/test_unicode.py::TestFSAPIs::test_proc_cmdline PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_cwd PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_exe PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_name PASSED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_net_connections SKIPPED (POSIX only) psutil/tests/test_unicode.py::TestFSAPIs::test_proc_open_files FAILED psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_disk_usage SKIPPED (can't handle unicode str) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_memory_maps SKIPPED (can't handle unicode str) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_net_connections SKIPPED (can't list UNIX sockets) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_cmdline SKIPPED (can't handle unicode str) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_cwd SKIPPED (can't handle unicode str) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_exe SKIPPED (can't handle unicode str) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_name SKIPPED (can't handle unicode str) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_net_connections SKIPPED (POSIX only) psutil/tests/test_unicode.py::TestFSAPIsWithInvalidPath::test_proc_open_files SKIPPED (can't handle unicode str) psutil/tests/test_unicode.py::TestNonFSAPIS::test_proc_environ PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_cores_vs_wmi Windows fatal exception: code 0x800706ba Current thread 0x00000570 (most recent call first): File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\win32com\client\__init__.py", line 101 in Moniker File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\win32com\client\__init__.py", line 84 in GetObject File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\wmi.py", line 1340 in connect File "Z:\home\klightspeed\wine-psutil\psutil\psutil\tests\test_windows.py", line 122 in test_cpu_count_cores_vs_wmi File "C:\Program Files\Python311-32\Lib\unittest\case.py", line 579 in _callTestMethod File "C:\Program Files\Python311-32\Lib\unittest\case.py", line 623 in run File "C:\Program Files\Python311-32\Lib\unittest\case.py", line 678 in __call__ File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\unittest.py", line 351 in runtest File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\runner.py", line 174 in pytest_runtest_call File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_callers.py", line 103 in _multicall File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_hooks.py", line 513 in __call__ File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\runner.py", line 242 in File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\runner.py", line 341 in from_call File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\runner.py", line 241 in call_and_report File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\runner.py", line 132 in runtestprotocol File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\runner.py", line 113 in pytest_runtest_protocol File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_callers.py", line 103 in _multicall File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_hooks.py", line 513 in __call__ File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\main.py", line 362 in pytest_runtestloop File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_callers.py", line 103 in _multicall File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_hooks.py", line 513 in __call__ File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\main.py", line 337 in _main File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\main.py", line 283 in wrap_session File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\main.py", line 330 in pytest_cmdline_main File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_callers.py", line 103 in _multicall File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_manager.py", line 120 in _hookexec File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pluggy\_hooks.py", line 513 in __call__ File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\config\__init__.py", line 175 in main File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\_pytest\config\__init__.py", line 201 in console_main File "Z:\home\klightspeed\wine-psutil\venv\Lib\site-packages\pytest\__main__.py", line 9 in File "", line 88 in _run_code File "", line 198 in _run_module_as_main FAILED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_logical_vs_wmi FAILED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_vs_GetSystemInfo PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_vs_NUMBER_OF_PROCESSORS PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_vs_cpu_times PASSED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_freq FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_boot_time FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_boot_time_fluctuation PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_disk_partitions wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_disk_usage wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_disks wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available. FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_free_phymem FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_net_if_stats FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_nic_names PASSED psutil/tests/test_windows.py::TestSystemAPIs::test_percent_swapmem FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_pids FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_total_phymem FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_total_swapmem FAILED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_no_battery PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_power_charging PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_power_connected PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_emulate_secs_left_unknown PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_has_battery PASSED psutil/tests/test_windows.py::TestSensorsBattery::test_percent SKIPPED (no battery) psutil/tests/test_windows.py::TestSensorsBattery::test_power_plugged SKIPPED (no battery) psutil/tests/test_windows.py::TestProcess::test_cmdline PASSED psutil/tests/test_windows.py::TestProcess::test_cpu_affinity PASSED psutil/tests/test_windows.py::TestProcess::test_ctrl_signals PASSED psutil/tests/test_windows.py::TestProcess::test_error_partial_copy PASSED psutil/tests/test_windows.py::TestProcess::test_exe PASSED psutil/tests/test_windows.py::TestProcess::test_io_counters PASSED psutil/tests/test_windows.py::TestProcess::test_issue_24 PASSED psutil/tests/test_windows.py::TestProcess::test_memory_info PASSED psutil/tests/test_windows.py::TestProcess::test_nice PASSED psutil/tests/test_windows.py::TestProcess::test_num_handles PASSED psutil/tests/test_windows.py::TestProcess::test_num_handles_increment FAILED psutil/tests/test_windows.py::TestProcess::test_send_signal PASSED psutil/tests/test_windows.py::TestProcess::test_special_pid FAILED psutil/tests/test_windows.py::TestProcess::test_username PASSED psutil/tests/test_windows.py::TestProcess::test_wait PASSED psutil/tests/test_windows.py::TestProcessWMI::test_cmdline FAILED psutil/tests/test_windows.py::TestProcessWMI::test_create_time FAILED psutil/tests/test_windows.py::TestProcessWMI::test_exe FAILED psutil/tests/test_windows.py::TestProcessWMI::test_memory_rss FAILED psutil/tests/test_windows.py::TestProcessWMI::test_memory_vms FAILED psutil/tests/test_windows.py::TestProcessWMI::test_name FAILED psutil/tests/test_windows.py::TestProcessWMI::test_username FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_cmdline FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_cpu_times psutil-debug [Z:\home\klightspeed\wine-psutil\psutil\psutil\_pswindows.py:951]> attempting cpu_times() fallback (slower) FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_create_time psutil-debug [Z:\home\klightspeed\wine-psutil\psutil\psutil\_pswindows.py:927]> attempting create_time() fallback (slower) PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_io_counters psutil-debug [Z:\home\klightspeed\wine-psutil\psutil\psutil\_pswindows.py:1035]> attempting io_counters() fallback (slower) PASSED psutil/tests/test_windows.py::TestDualProcessImplementation::test_memory_info psutil-debug [Z:\home\klightspeed\wine-psutil\psutil\psutil\_pswindows.py:803]> attempting memory_info() fallback (slower) FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_num_handles psutil-debug [Z:\home\klightspeed\wine-psutil\psutil\psutil\_pswindows.py:1095]> attempting num_handles() fallback (slower) FAILED psutil/tests/test_windows.py::RemoteProcessTestCase::test_cmdline_32 SKIPPED (could not find interpreter with opposite b...) psutil/tests/test_windows.py::RemoteProcessTestCase::test_cmdline_64 SKIPPED (could not find interpreter with opposite b...) psutil/tests/test_windows.py::RemoteProcessTestCase::test_cwd_32 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::RemoteProcessTestCase::test_cwd_64 SKIPPED (could not find interpreter with opposite bitness) psutil/tests/test_windows.py::RemoteProcessTestCase::test_environ_32 SKIPPED (could not find interpreter with opposite b...) psutil/tests/test_windows.py::RemoteProcessTestCase::test_environ_64 SKIPPED (could not find interpreter with opposite b...) psutil/tests/test_windows.py::TestServices::test_win_service_get PASSED psutil/tests/test_windows.py::TestServices::test_win_service_iter PASSED ============================================================ FAILURES ============================================================= _______________________________________________ TestUnconnectedSockets.test_tcp_v4 ________________________________________________ psutil\tests\test_connections.py:155: in test_tcp_v4 conn = self.check_socket(sock) psutil\tests\test_connections.py:127: in check_socket conn = self.get_conn_from_sock(sock) psutil\tests\test_connections.py:117: in get_conn_from_sock assert len(cons) == 1 E assert 0 == 1 E + where 0 = len([]) _______________________________________________ TestUnconnectedSockets.test_tcp_v6 ________________________________________________ psutil\tests\test_connections.py:163: in test_tcp_v6 conn = self.check_socket(sock) psutil\tests\test_connections.py:127: in check_socket conn = self.get_conn_from_sock(sock) psutil\tests\test_connections.py:117: in get_conn_from_sock assert len(cons) == 1 E assert 0 == 1 E + where 0 = len([]) _______________________________________________ TestUnconnectedSockets.test_udp_v4 ________________________________________________ psutil\tests\test_connections.py:170: in test_udp_v4 conn = self.check_socket(sock) psutil\tests\test_connections.py:127: in check_socket conn = self.get_conn_from_sock(sock) psutil\tests\test_connections.py:117: in get_conn_from_sock assert len(cons) == 1 E assert 0 == 1 E + where 0 = len([]) _______________________________________________ TestUnconnectedSockets.test_udp_v6 ________________________________________________ psutil\tests\test_connections.py:178: in test_udp_v6 conn = self.check_socket(sock) psutil\tests\test_connections.py:127: in check_socket conn = self.get_conn_from_sock(sock) psutil\tests\test_connections.py:117: in get_conn_from_sock assert len(cons) == 1 E assert 0 == 1 E + where 0 = len([]) __________________________________________________ TestConnectedSocket.test_tcp ___________________________________________________ psutil\tests\test_connections.py:214: in test_tcp assert len(cons) == 2 E assert 0 == 2 E + where 0 = len([]) _____________________________________________________ TestFilters.test_combos _____________________________________________________ psutil\tests\test_connections.py:375: in test_combos assert len(cons) == 1 E assert 0 == 1 E + where 0 = len([]) _____________________________________________________ TestFilters.test_count ______________________________________________________ psutil\tests\test_connections.py:430: in test_count assert len(cons) == (2 if supports_ipv6() else 1) E assert 0 == 2 E + where 0 = len([]) _______________________________________ TestSystemWideConnections.test_multi_sockets_procs ________________________________________ psutil\tests\test_connections.py:538: in test_multi_sockets_procs wait_for_file(fname) psutil\tests\__init__.py:717: in wrapper raise exc psutil\tests\__init__.py:709: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:748: in wait_for_file with open(fname, "rb") as f: E FileNotFoundError: [Errno 2] No such file or directory: 'C:\\users\\klightspeed\\Temp\\@psutil-1388-bypsfn8t' __________________________________________________ TestSystemAPITypes.test_users __________________________________________________ psutil\tests\test_contracts.py:313: in test_users for user in psutil.users(): psutil\__init__.py:2355: in users return _psplatform.users() psutil\_pswindows.py:445: in users rawlist = cext.users() E OSError: [WinError 0] Success: '(originated from WTSQuerySessionInformationW)' ___________________________________________ TestMisc.test_process_as_dict_no_new_names ____________________________________________ psutil\tests\test_misc.py:241: in test_process_as_dict_no_new_names assert 'foo' not in p.as_dict() psutil\__init__.py:573: in as_dict ret = meth() psutil\__init__.py:845: in ionice return self._proc.ionice_get() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:1009: in ionice_get ret = cext.proc_io_priority_get(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' ___________________________________________________ TestMisc.test_serialization ___________________________________________________ psutil\tests\test_misc.py:254: in test_serialization check(psutil.Process().as_dict()) psutil\__init__.py:573: in as_dict ret = meth() psutil\__init__.py:845: in ionice return self._proc.ionice_get() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:1009: in ionice_get ret = cext.proc_io_priority_get(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' ____________________________________________________ TestProcess.test_as_dict _____________________________________________________ psutil\tests\test_process.py:1295: in test_as_dict d = p.as_dict() psutil\__init__.py:573: in as_dict ret = meth() psutil\__init__.py:845: in ionice return self._proc.ionice_get() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:1009: in ionice_get ret = cext.proc_io_priority_get(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' ___________________________________________ TestProcess.test_halfway_terminated_process ___________________________________________ psutil\tests\test_process.py:1389: in test_halfway_terminated_process self.assertProcessGone(p) psutil\tests\__init__.py:1040: in assertProcessGone raise AssertionError(msg) E AssertionError: Process.open_files() didn't raise NSP and returned [] __________________________________________________ TestProcess.test_io_counters ___________________________________________________ psutil\tests\test_process.py:336: in test_io_counters assert io2.read_count > io1.read_count E assert 0 > 0 E + where 0 = pio(read_count=0, write_count=0, read_bytes=0, write_bytes=0, other_count=0, other_bytes=0).read_count E + and 0 = pio(read_count=0, write_count=0, read_bytes=0, write_bytes=0, other_count=0, other_bytes=0).read_count ___________________________________________________ TestProcess.test_ionice_win ___________________________________________________ psutil\tests\test_process.py:418: in test_ionice_win assert p.ionice() == psutil.IOPRIO_NORMAL psutil\__init__.py:845: in ionice return self._proc.ionice_get() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:1009: in ionice_get ret = cext.proc_io_priority_get(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' ______________________________________________________ TestProcess.test_kill ______________________________________________________ psutil\tests\test_process.py:101: in test_kill self.assertProcessGone(p) psutil\tests\__init__.py:1040: in assertProcessGone raise AssertionError(msg) E AssertionError: Process.open_files() didn't raise NSP and returned [] ________________________________________________ TestProcess.test_memory_full_info ________________________________________________ psutil\tests\test_process.py:623: in test_memory_full_info mem = p.memory_full_info() psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' _____________________________________________ TestProcess.test_memory_maps_lists_lib ______________________________________________ psutil\tests\test_process.py:691: in test_memory_maps_lists_lib with copyload_shared_lib() as path: C:\Program Files\Python311-32\Lib\contextlib.py:137: in __enter__ return next(self.gen) psutil\tests\__init__.py:1990: in copyload_shared_lib shutil.copyfile(src, dst) C:\Program Files\Python311-32\Lib\shutil.py:256: in copyfile with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '\\Program Files\\Python311-32\\python311.dll' _________________________________________________ TestProcess.test_memory_percent _________________________________________________ psutil\tests\test_process.py:705: in test_memory_percent p.memory_percent(memtype='uss') psutil\__init__.py:1162: in memory_percent metrics = fun() psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' ________________________________________________ TestProcess.test_num_ctx_switches ________________________________________________ psutil\tests\test_process.py:1148: in test_num_ctx_switches raise self.fail("num ctx switches still the same after 2 iterations") E AssertionError: num ctx switches still the same after 2 iterations __________________________________________________ TestProcess.test_num_handles ___________________________________________________ psutil\tests\test_process.py:545: in test_num_handles assert p.num_handles() > 0 E AssertionError: assert 0 > 0 E + where 0 = num_handles() E + where num_handles = psutil.Process(pid=1388, name='python.exe', status='running', started='13:21:44').num_handles ___________________________________________________ TestProcess.test_open_files ___________________________________________________ psutil\tests\test_process.py:1065: in test_open_files call_until(lambda: len(p.open_files()) != len(files)) psutil\tests\__init__.py:717: in wrapper raise exc psutil\tests\__init__.py:709: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:766: in call_until assert ret E AssertionError __________________________________________________ TestProcess.test_open_files_2 __________________________________________________ psutil\tests\test_process.py:1108: in test_open_files_2 raise self.fail(f"no file found; files={p.open_files()!r}") E AssertionError: no file found; files=[] _____________________________________________________ TestProcess.test_pid_0 ______________________________________________________ psutil\tests\test_process.py:1467: in test_pid_0 with pytest.raises(psutil.NoSuchProcess): E Failed: DID NOT RAISE __________________________________________________ TestProcess.test_send_signal ___________________________________________________ psutil\tests\test_process.py:122: in test_send_signal self.assertProcessGone(p) psutil\tests\__init__.py:1040: in assertProcessGone raise AssertionError(msg) E AssertionError: Process.open_files() didn't raise NSP and returned [] ___________________________________________________ TestProcess.test_terminate ____________________________________________________ psutil\tests\test_process.py:111: in test_terminate self.assertProcessGone(p) psutil\tests\__init__.py:1040: in assertProcessGone raise AssertionError(msg) E AssertionError: Process.open_files() didn't raise NSP and returned [] ___________________________________________________ TestProcess.test_threads_2 ____________________________________________________ psutil\tests\test_process.py:577: in test_threads_2 assert ( E AssertionError: assert 4.4 < 0.1 E + where 4.4 = abs((4.42 - 0.02)) E + where 4.42 = pcputimes(user=4.42, system=3.07, children_user=0.0, children_system=0.0).user E + where pcputimes(user=4.42, system=3.07, children_user=0.0, children_system=0.0) = cpu_times() E + where cpu_times = psutil.Process(pid=380, name='python.exe', status='running', started='13:22:06').cpu_times E + and 0.02 = sum([0.02]) __________________________________________________ TestProcess.test_wait_exited ___________________________________________________ psutil\tests\test_process.py:144: in test_wait_exited self.assertProcessGone(p) psutil\tests\__init__.py:1040: in assertProcessGone raise AssertionError(msg) E AssertionError: Process.open_files() didn't raise NSP and returned [] ____________________________________________ TestProcess.test_wait_timeout_nonblocking ____________________________________________ psutil\tests\test_process.py:241: in test_wait_timeout_nonblocking self.assertProcessGone(p) psutil\tests\__init__.py:1040: in assertProcessGone raise AssertionError(msg) E AssertionError: Process.open_files() didn't raise NSP and returned [] _________________________________________________ TestFetchAllProcesses.test_all __________________________________________________ psutil\tests\test_process_all.py:131: in test_all for info in self.iter_proc_info(): psutil\tests\test_process_all.py:126: in iter_proc_info ls.append(proc_info(pid)) psutil\tests\test_process_all.py:89: in proc_info info[fun_name] = fun() psutil\__init__.py:845: in ionice return self._proc.ionice_get() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:1009: in ionice_get ret = cext.proc_io_priority_get(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' _______________________________________________ TestExampleScripts.test_disk_usage ________________________________________________ psutil\tests\test_scripts.py:96: in test_disk_usage self.assert_stdout('disk_usage.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\disk_usage.py", line 21, in E import psutil E ModuleNotFoundError: No module named 'psutil' __________________________________________________ TestExampleScripts.test_free ___________________________________________________ psutil\tests\test_scripts.py:99: in test_free self.assert_stdout('free.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\free.py", line 15, in E import psutil E ModuleNotFoundError: No module named 'psutil' ________________________________________________ TestExampleScripts.test_ifconfig _________________________________________________ psutil\tests\test_scripts.py:122: in test_ifconfig self.assert_stdout('ifconfig.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\ifconfig.py", line 48, in E import psutil E ModuleNotFoundError: No module named 'psutil' _________________________________________________ TestExampleScripts.test_meminfo _________________________________________________ psutil\tests\test_scripts.py:102: in test_meminfo self.assert_stdout('meminfo.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\meminfo.py", line 32, in E import psutil E ModuleNotFoundError: No module named 'psutil' _________________________________________________ TestExampleScripts.test_netstat _________________________________________________ psutil\tests\test_scripts.py:118: in test_netstat self.assert_stdout('netstat.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\netstat.py", line 26, in E import psutil E ModuleNotFoundError: No module named 'psutil' __________________________________________________ TestExampleScripts.test_pidof __________________________________________________ psutil\tests\test_scripts.py:146: in test_pidof output = self.assert_stdout('pidof.py', psutil.Process().name()) psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\pidof.py", line 17, in E import psutil E ModuleNotFoundError: No module named 'psutil' __________________________________________________ TestExampleScripts.test_pmap ___________________________________________________ psutil\tests\test_scripts.py:126: in test_pmap self.assert_stdout('pmap.py', str(os.getpid())) psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\pmap.py", line 34, in E import psutil E ModuleNotFoundError: No module named 'psutil' ________________________________________________ TestExampleScripts.test_procinfo _________________________________________________ psutil\tests\test_scripts.py:105: in test_procinfo self.assert_stdout('procinfo.py', str(os.getpid())) psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\procinfo.py", line 93, in E import psutil E ModuleNotFoundError: No module named 'psutil' ________________________________________________ TestExampleScripts.test_procsmem _________________________________________________ psutil\tests\test_scripts.py:129: in test_procsmem if 'uss' not in psutil.Process().memory_full_info()._fields: psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' ___________________________________________________ TestExampleScripts.test_ps ____________________________________________________ psutil\tests\test_scripts.py:112: in test_ps self.assert_stdout('ps.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\ps.py", line 38, in E import psutil E ModuleNotFoundError: No module named 'psutil' _________________________________________________ TestExampleScripts.test_pstree __________________________________________________ psutil\tests\test_scripts.py:115: in test_pstree self.assert_stdout('pstree.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\pstree.py", line 34, in E import psutil E ModuleNotFoundError: No module named 'psutil' ___________________________________________________ TestExampleScripts.test_who ___________________________________________________ psutil\tests\test_scripts.py:109: in test_who self.assert_stdout('who.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\who.py", line 17, in E import psutil E ModuleNotFoundError: No module named 'psutil' _______________________________________________ TestExampleScripts.test_winservices _______________________________________________ psutil\tests\test_scripts.py:151: in test_winservices self.assert_stdout('winservices.py') psutil\tests\test_scripts.py:58: in assert_stdout out = sh(cmd, **kwargs).strip() psutil\tests\__init__.py:335: in wrapper return fun(*args, **kwargs) psutil\tests\__init__.py:502: in sh raise RuntimeError(stdout + stderr) E RuntimeError: Traceback (most recent call last): E File "Z:\home\klightspeed\wine-psutil\psutil\scripts\winservices.py", line 36, in E import psutil E ModuleNotFoundError: No module named 'psutil' _______________________________________________ TestInternalScripts.test_import_all _______________________________________________ psutil\tests\test_scripts.py:205: in test_import_all import_module_by_path(path) psutil\tests\__init__.py:1912: in import_module_by_path spec.loader.exec_module(mod) :940: in exec_module ??? :241: in _call_with_frames_removed ??? scripts\internal\bench_oneshot_2.py:13: in import pyperf # requires "pip install pyperf" E ModuleNotFoundError: No module named 'pyperf' _________________________________________________ TestProcessAPIs.test_pid_exists _________________________________________________ psutil\tests\test_system.py:217: in test_pid_exists assert psutil.pid_exists(0) == (0 in psutil.pids()) E assert True == (0 in [32, 56, 68, 76, 100, 132, ...]) E + where True = (0) E + where = psutil.pid_exists E + and [32, 56, 68, 76, 100, 132, ...] = () E + where = psutil.pids _____________________________________________________ TestMiscAPIs.test_users _____________________________________________________ psutil\tests\test_system.py:245: in test_users users = psutil.users() psutil\__init__.py:2355: in users return _psplatform.users() psutil\_pswindows.py:445: in users rawlist = cext.users() E OSError: [WinError 0] Success: '(originated from WTSQuerySessionInformationW)' _________________________________________________ TestMemoryAPIs.test_swap_memory _________________________________________________ psutil\tests\test_system.py:334: in test_swap_memory mem = psutil.swap_memory() psutil\__init__.py:2036: in swap_memory return _psplatform.swap_memory() psutil\_pswindows.py:234: in swap_memory percentswap = cext.swap_percent() E RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled. ___________________________________________________ TestCpuAPIs.test_cpu_stats ____________________________________________________ psutil\tests\test_system.py:581: in test_cpu_stats assert value > 0 E assert 0 > 0 ___________________________________________________ TestCpuAPIs.test_getloadavg ___________________________________________________ psutil\tests\test_system.py:611: in test_getloadavg loadavg = psutil.getloadavg() psutil\_pswindows.py:335: in getloadavg cext.init_loadavg_counter() E RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled. _______________________________________________ TestDiskAPIs.test_disk_io_counters ________________________________________________ psutil\tests\test_system.py:741: in test_disk_io_counters assert ret is not None, "no disks on this system?" E AssertionError: no disks on this system? E assert None is not None _______________________________________________ TestMemLeakClass.test_execute_w_exc _______________________________________________ psutil\tests\test_testutils.py:434: in test_execute_w_exc self.execute_w_exc(ZeroDivisionError, fun_1) psutil\tests\__init__.py:1272: in execute_w_exc self.execute(call, **kwargs) psutil\tests\__init__.py:1260: in execute self._call_ntimes(fun, warmup_times) # warm up psutil\tests\__init__.py:1201: in _call_ntimes mem1 = self._get_mem() psutil\tests\__init__.py:1161: in _get_mem mem = self._thisproc.memory_full_info() psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' _________________________________________________ TestMemLeakClass.test_leak_mem __________________________________________________ psutil\tests\test_testutils.py:404: in test_leak_mem self.execute(fun, times=100) psutil\tests\__init__.py:1260: in execute self._call_ntimes(fun, warmup_times) # warm up psutil\tests\__init__.py:1201: in _call_ntimes mem1 = self._get_mem() psutil\tests\__init__.py:1161: in _get_mem mem = self._thisproc.memory_full_info() psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' ___________________________________________________ TestMemLeakClass.test_times ___________________________________________________ psutil\tests\test_testutils.py:377: in test_times self.execute(fun, times=10, warmup_times=15) psutil\tests\__init__.py:1260: in execute self._call_ntimes(fun, warmup_times) # warm up psutil\tests\__init__.py:1201: in _call_ntimes mem1 = self._get_mem() psutil\tests\__init__.py:1161: in _get_mem mem = self._thisproc.memory_full_info() psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' _________________________________________________ TestMemLeakClass.test_tolerance _________________________________________________ psutil\tests\test_testutils.py:425: in test_tolerance self.execute( psutil\tests\__init__.py:1260: in execute self._call_ntimes(fun, warmup_times) # warm up psutil\tests\__init__.py:1201: in _call_ntimes mem1 = self._get_mem() psutil\tests\__init__.py:1161: in _get_mem mem = self._thisproc.memory_full_info() psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' ______________________________________________ TestMemLeakClass.test_unclosed_files _______________________________________________ psutil\tests\test_testutils.py:417: in test_unclosed_files self.execute(fun) psutil\tests\__init__.py:1260: in execute self._call_ntimes(fun, warmup_times) # warm up psutil\tests\__init__.py:1201: in _call_ntimes mem1 = self._get_mem() psutil\tests\__init__.py:1161: in _get_mem mem = self._thisproc.memory_full_info() psutil\__init__.py:1138: in memory_full_info return self._proc.memory_full_info() psutil\_pswindows.py:675: in wrapper raise convert_oserror(err, pid=self.pid, name=self._name) from err psutil\_pswindows.py:664: in convert_oserror raise exc psutil\_pswindows.py:673: in wrapper return fun(self, *args, **kwargs) psutil\_pswindows.py:832: in memory_full_info uss = cext.proc_memory_uss(self.pid) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' ___________________________________________________ TestFSAPIs.test_memory_maps ___________________________________________________ psutil\tests\test_unicode.py:265: in test_memory_maps with copyload_shared_lib(suffix=self.funky_suffix) as funky_path: C:\Program Files\Python311-32\Lib\contextlib.py:137: in __enter__ return next(self.gen) psutil\tests\__init__.py:1990: in copyload_shared_lib shutil.copyfile(src, dst) C:\Program Files\Python311-32\Lib\shutil.py:256: in copyfile with open(src, 'rb') as fsrc: E FileNotFoundError: [Errno 2] No such file or directory: '\\Program Files\\Python311-32\\python311.dll' _________________________________________________ TestFSAPIs.test_proc_open_files _________________________________________________ psutil\tests\test_unicode.py:219: in test_proc_open_files path = (new - start).pop().path E KeyError: 'pop from an empty set' _____________________________________________ TestCpuAPIs.test_cpu_count_cores_vs_wmi _____________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:123: in test_cpu_count_cores_vs_wmi cores = sum(proc.NumberOfCores for proc in w.Win32_Processor()) ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: ____________________________________________ TestCpuAPIs.test_cpu_count_logical_vs_wmi ____________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:117: in test_cpu_count_logical_vs_wmi proc.NumberOfLogicalProcessors for proc in w.Win32_Processor() ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: ____________________________________________________ TestCpuAPIs.test_cpu_freq ____________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:131: in test_cpu_freq proc = w.Win32_Processor()[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: __________________________________________________ TestSystemAPIs.test_boot_time __________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:268: in test_boot_time wmi_os = wmi.WMI().Win32_OperatingSystem() ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: ____________________________________________________ TestSystemAPIs.test_disks ____________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:204: in test_disks wmi_parts = wmi.WMI().Win32_LogicalDisk() ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: _________________________________________________ TestSystemAPIs.test_free_phymem _________________________________________________ ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147217406), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:153: in test_free_phymem w = wmi.WMI().Win32_PerfRawData_PerfOS_Memory()[0] ..\venv\Lib\site-packages\wmi.py:1211: in __getattr__ return getattr(self._namespace, attribute) ..\venv\Lib\site-packages\win32com\client\dynamic.py:629: in __getattr__ raise AttributeError(f"{self._username_}.{attr}") E AttributeError: winmgmts:.Win32_PerfRawData_PerfOS_Memory ________________________________________________ TestSystemAPIs.test_net_if_stats _________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:258: in test_net_if_stats wmi_adapters = wmi.WMI().Win32_NetworkAdapter() ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: _______________________________________________ TestSystemAPIs.test_percent_swapmem _______________________________________________ psutil\tests\test_windows.py:170: in test_percent_swapmem if psutil.swap_memory().total > 0: psutil\__init__.py:2036: in swap_memory return _psplatform.swap_memory() psutil\_pswindows.py:234: in swap_memory percentswap = cext.swap_percent() E RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled. ____________________________________________________ TestSystemAPIs.test_pids _____________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:196: in test_pids w = wmi.WMI().Win32_Process() ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: ________________________________________________ TestSystemAPIs.test_total_phymem _________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:149: in test_total_phymem w = wmi.WMI().Win32_ComputerSystem()[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: ________________________________________________ TestSystemAPIs.test_total_swapmem ________________________________________________ ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147217406), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:160: in test_total_swapmem w = wmi.WMI().Win32_PerfRawData_PerfOS_Memory()[0] ..\venv\Lib\site-packages\wmi.py:1211: in __getattr__ return getattr(self._namespace, attribute) ..\venv\Lib\site-packages\win32com\client\dynamic.py:629: in __getattr__ raise AttributeError(f"{self._username_}.{attr}") E AttributeError: winmgmts:.Win32_PerfRawData_PerfOS_Memory _____________________________________________ TestProcess.test_num_handles_increment ______________________________________________ psutil\tests\test_windows.py:407: in test_num_handles_increment assert after == before + 1 E assert 0 == (0 + 1) __________________________________________________ TestProcess.test_special_pid ___________________________________________________ psutil\tests\test_windows.py:379: in test_special_pid p = psutil.Process(4) psutil\__init__.py:317: in __init__ self._init(pid) psutil\__init__.py:363: in _init raise NoSuchProcess(pid, msg=msg) from None E psutil.NoSuchProcess: process PID not found (pid=4) ___________________________________________________ TestProcessWMI.test_cmdline ___________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:598: in test_cmdline w = wmi.WMI().Win32_Process(ProcessId=self.pid)[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: _________________________________________________ TestProcessWMI.test_create_time _________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:630: in test_create_time w = wmi.WMI().Win32_Process(ProcessId=self.pid)[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: _____________________________________________________ TestProcessWMI.test_exe _____________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:591: in test_exe w = wmi.WMI().Win32_Process(ProcessId=self.pid)[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: _________________________________________________ TestProcessWMI.test_memory_rss __________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:611: in test_memory_rss w = wmi.WMI().Win32_Process(ProcessId=self.pid)[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: _________________________________________________ TestProcessWMI.test_memory_vms __________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:618: in test_memory_vms w = wmi.WMI().Win32_Process(ProcessId=self.pid)[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: ____________________________________________________ TestProcessWMI.test_name _____________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:582: in test_name w = wmi.WMI().Win32_Process(ProcessId=self.pid)[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: __________________________________________________ TestProcessWMI.test_username ___________________________________________________ ..\venv\Lib\site-packages\wmi.py:522: in __init__ _set(self, "id", ole_object.Path_.DisplayName.lower()) ..\venv\Lib\site-packages\win32com\client\dynamic.py:618: in __getattr__ ret = self._oleobj_.Invoke(retEntry.dispid, 0, invoke_type, 1) E pywintypes.com_error: (-2147352567, 'DISP_E_EXCEPTION', (0, None, None, None, 0, -2147467263), None) During handling of the above exception, another exception occurred: psutil\tests\test_windows.py:603: in test_username w = wmi.WMI().Win32_Process(ProcessId=self.pid)[0] ..\venv\Lib\site-packages\wmi.py:1209: in __getattr__ return self._cached_classes(attribute) ..\venv\Lib\site-packages\wmi.py:1220: in _cached_classes self._classes_map[class_name] = _wmi_class(self, self._namespace.Get(class_name)) ..\venv\Lib\site-packages\wmi.py:826: in __init__ _wmi_object.__init__(self, wmi_class) ..\venv\Lib\site-packages\wmi.py:546: in __init__ handle_com_error() ..\venv\Lib\site-packages\wmi.py:258: in handle_com_error raise klass(com_error=err) E wmi.x_wmi: ___________________________________________ TestDualProcessImplementation.test_cmdline ____________________________________________ psutil\tests\test_windows.py:721: in test_cmdline err = convert_oserror(err) psutil\_pswindows.py:664: in convert_oserror raise exc psutil\tests\test_windows.py:719: in test_cmdline b = cext.proc_cmdline(pid, use_peb=False) E OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess(ProcessBasicInformation))' __________________________________________ TestDualProcessImplementation.test_cpu_times ___________________________________________ psutil\tests\test_windows.py:692: in test_cpu_times assert abs(cpu_times_1.user - cpu_times_2.user) < 0.01 E assert 9.52 < 0.01 E + where 9.52 = abs((9.53 - 0.01)) E + where 9.53 = pcputimes(user=9.53, system=5.33, children_user=0.0, children_system=0.0).user E + and 0.01 = pcputimes(user=0.01, system=0.01, children_user=0.0, children_system=0.0).user _________________________________________ TestDualProcessImplementation.test_memory_info __________________________________________ psutil\tests\test_windows.py:672: in test_memory_info assert abs(mem_1[i] - mem_2[i]) < 512 E assert 6349376 < 512 E + where 6349376 = abs((6349376 - 0)) _________________________________________ TestDualProcessImplementation.test_num_handles __________________________________________ psutil\tests\test_windows.py:712: in test_num_handles assert psutil.Process(self.pid).num_handles() == num_handles E AssertionError: assert 256 == 0 E + where 256 = num_handles() E + where num_handles = psutil.Process(pid=1512, name='python.exe', status='running', started='13:22:17').num_handles E + where psutil.Process(pid=1512, name='python.exe', status='running', started='13:22:17') = (1512) E + where = psutil.Process E + and 1512 = .pid ===================================================== short test summary info ===================================================== FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_tcp_v4 - assert 0 == 1 FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_tcp_v6 - assert 0 == 1 FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_udp_v4 - assert 0 == 1 FAILED psutil/tests/test_connections.py::TestUnconnectedSockets::test_udp_v6 - assert 0 == 1 FAILED psutil/tests/test_connections.py::TestConnectedSocket::test_tcp - assert 0 == 2 FAILED psutil/tests/test_connections.py::TestFilters::test_combos - assert 0 == 1 FAILED psutil/tests/test_connections.py::TestFilters::test_count - assert 0 == 2 FAILED psutil/tests/test_connections.py::TestSystemWideConnections::test_multi_sockets_procs - FileNotFoundError: [Errno 2] No such file or directory: 'C:\\users\\klightspeed\\Temp\\@psutil-1388-bypsfn8t' FAILED psutil/tests/test_contracts.py::TestSystemAPITypes::test_users - OSError: [WinError 0] Success: '(originated from WTSQuerySessionInformationW)' FAILED psutil/tests/test_misc.py::TestMisc::test_process_as_dict_no_new_names - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' FAILED psutil/tests/test_misc.py::TestMisc::test_serialization - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' FAILED psutil/tests/test_process.py::TestProcess::test_as_dict - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' FAILED psutil/tests/test_process.py::TestProcess::test_halfway_terminated_process - AssertionError: Process.open_files() didn't raise NSP and returned [] FAILED psutil/tests/test_process.py::TestProcess::test_io_counters - assert 0 > 0 FAILED psutil/tests/test_process.py::TestProcess::test_ionice_win - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' FAILED psutil/tests/test_process.py::TestProcess::test_kill - AssertionError: Process.open_files() didn't raise NSP and returned [] FAILED psutil/tests/test_process.py::TestProcess::test_memory_full_info - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_process.py::TestProcess::test_memory_maps_lists_lib - FileNotFoundError: [Errno 2] No such file or directory: '\\Program Files\\Python311-32\\python311.dll' FAILED psutil/tests/test_process.py::TestProcess::test_memory_percent - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_process.py::TestProcess::test_num_ctx_switches - AssertionError: num ctx switches still the same after 2 iterations FAILED psutil/tests/test_process.py::TestProcess::test_num_handles - AssertionError: assert 0 > 0 FAILED psutil/tests/test_process.py::TestProcess::test_open_files - AssertionError FAILED psutil/tests/test_process.py::TestProcess::test_open_files_2 - AssertionError: no file found; files=[] FAILED psutil/tests/test_process.py::TestProcess::test_pid_0 - Failed: DID NOT RAISE FAILED psutil/tests/test_process.py::TestProcess::test_send_signal - AssertionError: Process.open_files() didn't raise NSP and returned [] FAILED psutil/tests/test_process.py::TestProcess::test_terminate - AssertionError: Process.open_files() didn't raise NSP and returned [] FAILED psutil/tests/test_process.py::TestProcess::test_threads_2 - AssertionError: assert 4.4 < 0.1 FAILED psutil/tests/test_process.py::TestProcess::test_wait_exited - AssertionError: Process.open_files() didn't raise NSP and returned [] FAILED psutil/tests/test_process.py::TestProcess::test_wait_timeout_nonblocking - AssertionError: Process.open_files() didn't raise NSP and returned [] FAILED psutil/tests/test_process_all.py::TestFetchAllProcesses::test_all - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess)' FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_disk_usage - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_free - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ifconfig - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_meminfo - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_netstat - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pidof - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pmap - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procinfo - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_procsmem - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_ps - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_pstree - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_who - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestExampleScripts::test_winservices - RuntimeError: Traceback (most recent call last): FAILED psutil/tests/test_scripts.py::TestInternalScripts::test_import_all - ModuleNotFoundError: No module named 'pyperf' FAILED psutil/tests/test_system.py::TestProcessAPIs::test_pid_exists - assert True == (0 in [32, 56, 68, 76, 100, 132, ...]) FAILED psutil/tests/test_system.py::TestMiscAPIs::test_users - OSError: [WinError 0] Success: '(originated from WTSQuerySessionInformationW)' FAILED psutil/tests/test_system.py::TestMemoryAPIs::test_swap_memory - RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled. FAILED psutil/tests/test_system.py::TestCpuAPIs::test_cpu_stats - assert 0 > 0 FAILED psutil/tests/test_system.py::TestCpuAPIs::test_getloadavg - RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled. FAILED psutil/tests/test_system.py::TestDiskAPIs::test_disk_io_counters - AssertionError: no disks on this system? FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_execute_w_exc - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_leak_mem - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_times - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_tolerance - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_testutils.py::TestMemLeakClass::test_unclosed_files - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryVirtualMemory(MemoryWorkingSetInformation))' FAILED psutil/tests/test_unicode.py::TestFSAPIs::test_memory_maps - FileNotFoundError: [Errno 2] No such file or directory: '\\Program Files\\Python311-32\\python311.dll' FAILED psutil/tests/test_unicode.py::TestFSAPIs::test_proc_open_files - KeyError: 'pop from an empty set' FAILED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_cores_vs_wmi - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_count_logical_vs_wmi - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestCpuAPIs::test_cpu_freq - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_boot_time - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_disks - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_free_phymem - AttributeError: winmgmts:.Win32_PerfRawData_PerfOS_Memory FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_net_if_stats - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_percent_swapmem - RuntimeError: PdhAddEnglishCounterW failed. Performance counters may be disabled. FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_pids - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_total_phymem - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestSystemAPIs::test_total_swapmem - AttributeError: winmgmts:.Win32_PerfRawData_PerfOS_Memory FAILED psutil/tests/test_windows.py::TestProcess::test_num_handles_increment - assert 0 == (0 + 1) FAILED psutil/tests/test_windows.py::TestProcess::test_special_pid - psutil.NoSuchProcess: process PID not found (pid=4) FAILED psutil/tests/test_windows.py::TestProcessWMI::test_cmdline - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestProcessWMI::test_create_time - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestProcessWMI::test_exe - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestProcessWMI::test_memory_rss - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestProcessWMI::test_memory_vms - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestProcessWMI::test_name - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestProcessWMI::test_username - wmi.x_wmi: FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_cmdline - OSError: [WinError 87] Invalid parameter: '(originated from NtQueryInformationProcess(ProcessBasicInformation))' FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_cpu_times - assert 9.52 < 0.01 FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_memory_info - assert 6349376 < 512 FAILED psutil/tests/test_windows.py::TestDualProcessImplementation::test_num_handles - AssertionError: assert 256 == 0 ========================================== 81 failed, 241 passed, 262 skipped in 33.55s ===========================================