-with-oslo-master job fails with DuplicateOptError: duplicate option: polling_interval
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Ihar Hrachyshka |
Bug Description
2018-03-27 06:16:32.984356 | ubuntu-xenial | --- import errors ---
2018-03-27 06:16:32.984599 | ubuntu-xenial | Failed to import test module: neutron.
2018-03-27 06:16:32.984708 | ubuntu-xenial | Traceback (most recent call last):
2018-03-27 06:16:32.985036 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.985174 | ubuntu-xenial | module = self._get_
2018-03-27 06:16:32.985496 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.985563 | ubuntu-xenial | __import__(name)
2018-03-27 06:16:32.985804 | ubuntu-xenial | File "neutron/
2018-03-27 06:16:32.985993 | ubuntu-xenial | from neutron.
2018-03-27 06:16:32.986193 | ubuntu-xenial | File "neutron/
2018-03-27 06:16:32.986351 | ubuntu-xenial | agent_common_
2018-03-27 06:16:32.986588 | ubuntu-xenial | File "neutron/
2018-03-27 06:16:32.986717 | ubuntu-xenial | cfg.register_
2018-03-27 06:16:32.987017 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.987129 | ubuntu-xenial | result = f(self, *args, **kwargs)
2018-03-27 06:16:32.987458 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.987604 | ubuntu-xenial | self.register_
2018-03-27 06:16:32.987969 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.988101 | ubuntu-xenial | return f(self, *args, **kwargs)
2018-03-27 06:16:32.988437 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.988546 | ubuntu-xenial | return group._
2018-03-27 06:16:32.988847 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.988952 | ubuntu-xenial | if _is_opt_
2018-03-27 06:16:32.989257 | ubuntu-xenial | File "/home/
2018-03-27 06:16:32.989352 | ubuntu-xenial | raise DuplicateOptErr
2018-03-27 06:16:32.989475 | ubuntu-xenial | DuplicateOptError: duplicate option: polling_interval
It happens because test runner imports two different modules with the same option defined. This is a problem now that oslo.config tracks location of option definitions and consider it a conflict if the same option is declared in different locations. (The trigger is https:/
Changed in neutron: | |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
importance: | Undecided → Medium |
status: | New → In Progress |
tags: | added: gate-failure sriov-pci-pt unittest |
Fix proposed to branch: master /review. openstack. org/557003
Review: https:/