chaitanayakulkarni / nvmftests Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.