Suggest to remove the console output of lsmod
and modinfo
in loaded_module_info function
#6027
Labels
lsmod
and modinfo
in loaded_module_info function
#6027
Is your feature request related to a problem? Please describe.
In avocado/utils/linux_modules.py, the loaded_module_info function will print out the result of commands
lsmod
andmodinfo
. When I call unload_module function with loaded_module_info function in it, it causes this output to be printed into out debug log:Actually the above output in our logs is unnecessary. It also makes our debug log too long and cannot effectively debug failures.
Describe the solution you'd like
I suggest we can update the output in loaded_module_info function to not print the output. But I'm not sure if this output need to be used in other component tests, so I raised this issue here for further discussion.
The text was updated successfully, but these errors were encountered: