vmware_nsx_tempest tempest plugin issues with tempest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vmware-nsx |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Upstream Tempest-
+ /home/jenkins/
2017-05-16 06:36:39.172355 | 2017-05-16 06:36:39.172 5501 INFO tempest [-] Using tempest config file /etc/tempest/
2017-05-16 06:36:39.238896 | 2017-05-16 06:36:39.238 5501 ERROR tempest.
2017-05-16 06:36:39.239060 | 2017-05-16 06:36:39.238 5501 ERROR tempest [-] No module named vmware_
As tempest fails to discover the vmware-
After fixing the above issue, we encountered other issues:
* pbr.version.
(.venv) [chkumar246@
(.venv) [chkumar246@
(.venv) [chkumar246@
(.venv) [chkumar246@
2017-05-16 15:23:33.145 13780 INFO tempest [-] Using tempest config file /etc/tempest/
2017-05-16 15:23:33.223 13780 ERROR tempest.
2017-05-16 15:23:33.223 13780 ERROR tempest [-] Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.
Removing version.info from the vmware_
* On doing tempest init, It started throwing TypeError: 'OptGroup' object is not iterable as in vmware_
(.venv) [chkumar246@
+------
| Name | EntryPoint |
+------
| vmware-
+------
(.venv) [chkumar246@
2017-05-16 17:36:52.733 19997 INFO tempest [-] Using tempest config file /etc/tempest/
2017-05-16 17:36:52.745 19997 ERROR tempest [-] 'OptGroup' object is not iterable
(.venv) [chkumar246@
(.venv) [chkumar246@
2017-05-16 17:37:14.677 20019 INFO tempest [-] Using tempest config file /etc/tempest/
2017-05-16 17:37:14.689 20019 ERROR tempest [-] 'OptGroup' object is not iterable
2017-05-16 17:37:14.689 20019 ERROR tempest Traceback (most recent call last):
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest result = cmd.run(
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest return self.take_
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest self.create_
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest self.generate_
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest output_file])
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest generate(conf)
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest groups = _get_groups(
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest return _cleanup_opts(opts)
2017-05-16 17:37:14.689 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.689 20019 ERROR tempest for opt in opts:
2017-05-16 17:37:14.689 20019 ERROR tempest TypeError: 'OptGroup' object is not iterable
2017-05-16 17:37:14.689 20019 ERROR tempest
2017-05-16 17:37:14.690 20019 CRITICAL tempest [-] TypeError: 'OptGroup' object is not iterable
2017-05-16 17:37:14.690 20019 ERROR tempest Traceback (most recent call last):
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest sys.exit(main())
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest return the_app.run(argv)
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest result = self.run_
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest result = cmd.run(
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest return self.take_
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest self.create_
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest self.generate_
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest output_file])
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest generate(conf)
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest groups = _get_groups(
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest return _cleanup_opts(opts)
2017-05-16 17:37:14.690 20019 ERROR tempest File "/home/
2017-05-16 17:37:14.690 20019 ERROR tempest for opt in opts:
2017-05-16 17:37:14.690 20019 ERROR tempest TypeError: 'OptGroup' object is not iterable
I am proposing the patch to fix all the above issues.
summary: |
- vmware_nsx_tempest tempest plugin issue with current tempest + vmware_nsx_tempest tempest plugin issues with tempest |
Few more issue on doing ostestr -l attr(type= 'common' ) nsx_tempest. tests.scenario. test_qos_ ops venv/lib/ python2. 7/site- packages/ unittest2/ loader. py", line 456, in _find_test_path module_ from_name( name) venv/lib/ python2. 7/site- packages/ unittest2/ loader. py", line 395, in _get_module_ from_name _(name) venv/lib/ python2. 7/site- packages/ vmware_ nsx_tempest/ tests/scenario/ test_qos_ ops.py" , line 25, in <module>
sion 'Pike' and will be removed in a future version
@test.
--- import errors ---
Failed to import test module: vmware_
Traceback (most recent call last):
File "/tmp/.
module = self._get_
File "/tmp/.
__import_
File "/tmp/.
import pyshark
ImportError: No module named pyshark
Non-zero exit code (2) from test listing