Tempest configuration fails with "duplicate option"

Bug #1817292 reported by Gabriele Cerami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
Critical
Arx Cruz

Bug Description

In master periodic jobs tempest is regularly failing to run.

For example logs at

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset035-master/b234bbc/logs/undercloud/home/zuul/tempest.log.txt.gz#_2019-02-22_09_07_24

show

2019-02-22 09:07:24 | 2019-02-22 09:07:24.258 13 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins [-] Plugin barbican_tests raised an exception trying to run register_opts: DuplicateOptError: duplicate option: barbican
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins Traceback (most recent call last):
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/tempest/test_discover/plugins.py", line 202, in register_plugin_opts
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins plug.obj.register_opts(conf)
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/barbican_tempest_plugin/plugin.py", line 34, in register_opts
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins group='service_available')
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2045, in __inner
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins result = f(self, *args, **kwargs)
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2283, in register_opt
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins return group._register_opt(opt, cli)
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1489, in _register_opt
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins if _is_opt_registered(self._opts, opt):
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 360, in _is_opt_registered
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins raise DuplicateOptError(opt.name)
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins DuplicateOptError: duplicate option: barbican
2019-02-22 09:07:24 | 2019-02-22 09:07:24.341 13 ERROR tempest.test_discover.plugins 
2019-02-22 09:07:24 | 2019-02-22 09:07:24.384 13 ERROR tempest [-] 'list' object has no attribute 'dest'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.