It is ok to run some workloads in the background while running
cyclictest. However, all the background workloads should be stopped or
killed properly when the main test script exists, otherwise the
background processes will block the whole LAVA test action from
exiting until timeout reached.

I tried to run 'stress-ng hdd' when running network stress testing.
See 
https://git.linaro.org/qa/test-definitions.git/tree/automated/linux/24h-stress-test/24h-stress-test.sh#n170.
When I look at it now, I feel it is actually not the best practice. A
cleanup function should be defined to kill the background process when
trap captured abnormal exit signals.

Thanks for the pointer. I'll give this try tomorrow and try to work on your idea.

Thanks,
Daniel
_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to