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
Hi, I'm currently trying to run nvmftests. However, I run into several problems. I will add one as an example:
ERROR: test_nvmf_target_template (nose2.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.4/unittest/case.py", line 58, in testPartExecutor
yield
File "/usr/lib64/python3.4/unittest/case.py", line 580, in run
testMethod()
File "/usr/lib/python3.4/site-packages/nose2/loader.py", line 119, in testFailure
raise exception
ImportError: Failed to import test module: test_nvmf_target_template
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/nose2/plugins/loader/discovery.py", line 201, in _find_tests_in_file
module = util.module_from_name(module_name)
File "/usr/lib/python3.4/site-packages/nose2/util.py", line 77, in module_from_name
__import__(name)
File "/home/mmoese/nvmftests/tests/test_nvmf_target_template.py", line 33, in <module>
from nvmf_test import NVMFTest
File "/home/mmoese/nvmftests/tests/nvmf_test.py", line 28, in <module>
from utils.const import Const
File "/home/mmoese/nvmftests/utils/__init__.py", line 28, in <module>
from .misc import Loopback
File "/home/mmoese/nvmftests/utils/misc/__init__.py", line 23, in <module>
from .nvme_pci import NVMePCIeBlk
File "/home/mmoese/nvmftests/utils/misc/nvme_pci.py", line 74
except Exception, err:
^
SyntaxError: invalid syntax
It looks like I get these syntax errors for all test scripts, and I got the same behavior on Python 3.4 and 3.6. Do you have any hints for me?
The text was updated successfully, but these errors were encountered:
Hi, I'm currently trying to run nvmftests. However, I run into several problems. I will add one as an example:
It looks like I get these syntax errors for all test scripts, and I got the same behavior on Python 3.4 and 3.6. Do you have any hints for me?
The text was updated successfully, but these errors were encountered: