$ mtt intel/pmix.ini
/home/gvallee/projects/MTT/mtt/pyclient/pymtt.py:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Unable to import plugin: /home/gvallee/projects/MTT/mtt/pylib/Stages/Reporter/JunitXML
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yapsy/PluginManager.py", line 510, in loadPlugins
candidate_module = PluginManager._importModule(plugin_module_name, candidate_filepath)
File "/usr/lib/python3/dist-packages/yapsy/PluginManager.py", line 576, in _importModule
candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
File "/usr/lib/python3.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/gvallee/projects/MTT/mtt/pylib/Stages/Reporter/JunitXML.py", line 15, in <module>
from junit_xml import TestSuite, TestCase
ModuleNotFoundError: No module named 'junit_xml'
Unable to import plugin: /home/gvallee/projects/MTT/mtt/pylib/Tools/Build/Hostfile
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yapsy/PluginManager.py", line 510, in loadPlugins
candidate_module = PluginManager._importModule(plugin_module_name, candidate_filepath)
File "/usr/lib/python3/dist-packages/yapsy/PluginManager.py", line 576, in _importModule
candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
File "/usr/lib/python3.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/gvallee/projects/MTT/mtt/pylib/Tools/Build/Hostfile.py", line 15, in <module>
import hostlist # python-hostlist package
ModuleNotFoundError: No module named 'hostlist'
Unable to import plugin: /home/gvallee/projects/MTT/mtt/pylib/Stages/Reporter/JunitXML
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yapsy/PluginManager.py", line 510, in loadPlugins
candidate_module = PluginManager._importModule(plugin_module_name, candidate_filepath)
File "/usr/lib/python3/dist-packages/yapsy/PluginManager.py", line 576, in _importModule
candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
File "/usr/lib/python3.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/gvallee/projects/MTT/mtt/pylib/Stages/Reporter/JunitXML.py", line 15, in <module>
from junit_xml import TestSuite, TestCase
It does not seem to prevent MTT from running. At least not as far as I can tell. But the number of errors messages is concerning.
PMIx developers told me to report the problem here.
Expectation
My two questions would be:
are these messages error messages or warning?
if they are not critical, is is possible to hide them by default?
Version
master ab1269c26216c67425adbc0571c6835f1b272298
Description of the problem
I am getting the following messages over and over again while running MTT against the following INI file: https://github.com/openpmix/pmix-tests/blob/master/intel/pmix.ini
It does not seem to prevent MTT from running. At least not as far as I can tell. But the number of errors messages is concerning. PMIx developers told me to report the problem here.
Expectation
My two questions would be: