ERROR tempest.test_discover.plugins [-] Could not load 'trio2o_tests': arguments already parsed: cannot register CLI option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
trio2o |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
http://
trio2o tempest plugins brokes the tempest cli by giving following errors:
2017-05-21 00:54:41.525696 | + /home/jenkins/
2017-05-21 00:54:43.121401 | 2017-05-21 00:54:43.121 7244 INFO tempest [-] Using tempest config file /etc/tempest/
2017-05-21 00:54:43.339505 | 2017-05-21 00:54:43.339 7244 ERROR tempest.
2017-05-21 00:54:43.339705 | 2017-05-21 00:54:43.339 7244 ERROR tempest [-] arguments already parsed: cannot register CLI option
2017-05-21 00:54:43.388712 | [Zuul] Task exit code: 1
2017-05-21 00:54:44.331103 | [Zuul] Job complete, result: FAILURE
After investigation, we found that trio2o tempest plugin config trio2o/
which leads to the failure of tempest cli and the tempest plugin config implementation is also wrong. It should oslo config to populate required tempest config required for trio2o. It needs to be fixed.
Reviewed: https:/ /review. openstack. org/466513 /git.openstack. org/cgit/ openstack/ trio2o/ commit/ ?id=acaf62fd4d1 ae127493f5d8818 82ad8eab96176a
Committed: https:/
Submitter: Jenkins
Branch: master
commit acaf62fd4d1ae12 7493f5d881882ad 8eab96176a
Author: Chandan Kumar <email address hidden>
Date: Sun May 21 12:06:05 2017 +0530
Fixed trio2o tempest plugin config
The trio2o tempest plugin is using the trio2o project config
which overrides the tempest config while running tempest plugin tests
with tempest. It leads to the failure of tempest command. We need to
use oslo_config for specifiying tempest plugin config for trio2o
to avoid overriding and avoid the above failure.
Change-Id: Ia8a165d496c652 0313f1454d11f98 adb8830d027
Closes-Bug: #1692291