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 attempted to build and test the isolated-vm library on an x64 UBI 9.3 container, but encountered the following error during the cpu-profiler.js test:
Could you try increasing the 2048 constant in the test suite? The CPU profiler is a sampler so it could just be that it is running with a lower sample rate for some reason
Could you try increasing the 2048 constant in the test suite? The CPU profiler is a sampler so it could just be that it is running with a lower sample rate for some reason
@laverdet Thanks for the suggestion. I did try increasing the 2048 constant in the test suite to 4096 and it is now passing.
@laverdet I was trying to build and test isolated-vm on UBI 9.3 ppc64le VM as well and encountered the same error as seen on x64 arch.
I tried increasing the 2048 constant in the test suite on ppc64le, but the error persists. I experimented with values of 4096, 8192, 16384, and 32768, but unfortunately, none of these changes resolved the issue. The profiler still fails to gather sufficient data, resulting in the same "profiles should have length > 0" assertion error.
If there are any additional suggestions for adjusting the sampling rate or profiling settings, I'd be happy to try them.
Hello Team,
I attempted to build and test the isolated-vm library on an x64 UBI 9.3 container, but encountered the following error during the cpu-profiler.js test:
Observed Behavior:
The test failed with an assertion error indicating "profiles should have length > 0".
Expected Behavior:
The cpu-profiler.js test should pass as it does when run in an Ubuntu container.
Steps to Reproduce the Error:
npm test
Additional Information:
The test passes when running the same steps in an Ubuntu container. Please guide on resolving this issue in the UBI 9.3 environment.
Thanks.
The text was updated successfully, but these errors were encountered: