Package: golang-github-shirou-gopsutil / 4.24.9-2~bpo12+1

Metadata

Package Version Patches format
golang-github-shirou-gopsutil 4.24.9-2~bpo12+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Skip missing utmp.patch | (download)

host/host_test.go | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 skip test if /run/utmp is missing

On some Linux systems this file is no longer present, and it is replaced by
alternative interfaces such as systemd's logind.

0002 Skip tests if no swap or other partitions are found.patch | (download)

disk/disk_test.go | 4 2 + 2 - 0 !
mem/mem_test.go | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 skip tests if no swap or other partitions are found

On some CI systems, or VM environments there might be no apparent swap
or partitions visible. Do not fail the tests in these cases.

0003 Skip the CPU test if no model information is found.patch | (download)

cpu/cpu_test.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 skip tests if no cpu model information is found

While this implies the code needs to be updated to fill in this
information from other sources. We skip this for now, and on Linux
will try to gather the /proc/cpuinfo file by other means to then
populate the information in the code.

0004 Skip test for nice 2 which fails on reproducible nod.patch | (download)

process/process_test.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 skip test for nice(2) which fails on reproducible nodes

The system has a setup where nice(2) is not taking effect and the test
fails. Skip it for now.