giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.08k stars 1.37k forks source link

[Linux] psutil.tests.test_linux.TestSystemVirtualMemoryAgainst tests failing #2392

Open sandy-lcq opened 3 months ago

sandy-lcq commented 3 months ago

Summary

Description

TestSystemVirtualMemoryAgainstVmstat.test_used and TestSystemVirtualMemoryAgainstVmstat.test_used failed

There is a similar issue: https://github.com/giampaolo/psutil/issues/2355, but it is different with this one.

2355 maybe caused the qemu env.

This is a failure on a real host. it is caused since free update the way to calculate the value since free 4.0.2. refer https://gitlab.com/procps-ng/procps/-/issues/327