You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
Apache SkyWalking Component
Python Agent (apache/skywalking-python)
What happened
The e2e tests broke after the psutil 5.9.6 was released, according to the release note: psutil 5.9.6
Maybe it changed the implementation of the psutil.cpu_percent(), I'm not sure.
When I fixed the psutil==5.9.5, the e2e test passed.
What you expected to happen
The python-agent should work correctly with psutil 5.9.6
How to reproduce
This issue can be reproduced on both ubuntu 20.04 x64 and macOS M1:
Hi, thanks for the report. Please kindly paste the e2e log here, so that we know what exactly got broken in 5.9.6? Since restricting the package version will impact user env too, we want the version constraint as loose as possible. I don't see any backward incompatible changes with the cpu_percent method, could it be a broken build specific to os?
Hi, thanks for the report. Please kindly paste the e2e log here, so that we know what exactly got broken in 5.9.6? Since restricting the package version will impact user env too, we want the version constraint as loose as possible. I don't see any backward incompatible changes with the cpu_percent method, could it be a broken build specific to os?
The cpu_percent() method is my conjecture, and I'm not sure, but this problem appears to be reproduced on both Ubuntu x64 and MacOS M1. It seems irrelevant to the operating system.
The workaround is merged in apache/skywalking-python#326 but lets keep this issue open until next release, I might fix it up according to upstream changes.
Search before asking
Apache SkyWalking Component
Python Agent (apache/skywalking-python)
What happened
The e2e tests broke after the psutil 5.9.6 was released, according to the release note:
psutil 5.9.6
Maybe it changed the implementation of the psutil.cpu_percent(), I'm not sure.
When I fixed the psutil==5.9.5, the e2e test passed.
What you expected to happen
The python-agent should work correctly with psutil 5.9.6
How to reproduce
This issue can be reproduced on both ubuntu 20.04 x64 and macOS M1:
The packages on consumer and provider:
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: