Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.31k
stars
1.39k
forks
source link
[Linux] run "python3 -m psutil.tests", some test cases failed when nfs boot is used #2390
Open
sandy-lcq opened 8 months ago
Summary
Description
python3 -m psutil.tests have some test cases failed when nfs boot is used
More info
For TestSystemVirtualMemoryAgainstVmstat.test_used and TestSystemVirtualMemoryAgainstVmstat.test_used, there is a similar issue: https://github.com/giampaolo/psutil/issues/2355
For test_io_counters, there is pull request for fix it: https://github.com/giampaolo/psutil/pull/2097
Other test cases should related to the nfs boot.
$mount xxx.xxx.xxx.xxx:/path/to/rootfs on / type nfs (rw,relatime,vers=3,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=xxx.xxx.xxx.xxx,mountvers=3,mountproto=tcp,local_lock=all,addr=xxx.xxx.xxx.xxx) $cat /proc/cmdline kernel console=ttyS0,115200n8 ip=dhcp selinux=0 enforcing=0 root=/dev/nfs rw nfsroot=xxx.xxx.xxx.xxx:/path/to/rootfs,tcp,v3