shirou / gopsutil

psutil for golang
Other
10.47k stars 1.58k forks source link

macos tests failed on Github Action after latest image update #1532

Closed shirou closed 11 months ago

shirou commented 11 months ago

Describe the bug

macos tests becomes failing with this message.

--- FAIL: Test_Process_Nice (0.00s)
    process_test.go:236: invalid nice: -10

I noticed GitHub Action images have been updated at 2023-09-21 via latest runner-images. I think this makes the test fail.

Fortunately, the tests are still successful on my local macOS. So I think this problem is only happening with github actions.

Expected behavior

Test success on GitHub Actions.

Environment (please complete the following information):

Don't know...