-
Notifications
You must be signed in to change notification settings - Fork 14
Replace cpu-benchmark with similar stress-ng monte-carlo test #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Hi @quantumsteve, it seems the tests for Dask are hanging. Could you please take a look at them? Thanks! |
|
Confirming that tests hang locally (not only on the GitHub runner). Let me know if you need help/guidance regarding this, as I implemented the testing infrastructure for translators/loggers. Oh, and other tests hang, so it's not specific to Dask, which is good as it means it should be easier to diagnose/fix. AND, some tests fail, like for the Bash translator, which should also be relatively easy to diagnose. All the testing code is in |
Yes, I'm struggling to run some tests locally. It looks like the containers are unable to write in my /tmp directory. Do I need to change permissions? |
The permissions should be fine, as I have dealt with that as well. I'll take a look today and let you know what I find out. Testing with Docker is pretty finecky due to users/permissions. |
One thing I noticed is that |
Ok, news. Connecting to the container and running wfbench my hand, not involving wfcommons at any of my test infrastructure hangs: That should be easy to diagnose, and I'll look at it soon-ish. |
|
Ok, so the culprit is |
|
@quantumsteve A fix is to call |
First attempt at replacing cpu-benchmark with a nearly identical test in stress-ng.
differences
int32_t, while samples in cpu-benchmark areint64_tstress-ng launches multiple processes, which changes the logic for stopping parent and child processes. A quick search recommended psutil.