driver test are failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Networking ML2 Generic Switch |
Undecided
|
norman shen |
Bug Description
(py27) root@ecs-
Traceback (most recent call last):
File "/usr/lib/
"__main__", fname, loader, pkg_name)
File "/usr/lib/
exec code in run_globals
File "/usr/lib/
main(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.module)
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_cisco3000'
(py27) root@ecs-
EEEEEE
=======
ERROR: test__format_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_add_network (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_constants (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_del_network (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_delete_port (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_plug_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
-------
Ran 6 tests in 0.002s
FAILED (errors=6)
(py27) root@ecs-
EEEEEE
=======
ERROR: test__format_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_add_network (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_constants (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_del_network (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_delete_port (networking_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
=======
ERROR: test_plug_
-------
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return cisco.Cisco300(
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
norman shen (jshen28) wrote : | #1 |
Changed in networking-generic-switch: | |
assignee: | nobody → norman shen (jshen28) |
norman shen (jshen28) wrote : | #2 |
{1} networking_
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return arista.
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
oslo_
{1} networking_
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return arista.
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
oslo_
{1} networking_
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
return arista.
File "networking_
if CONF.ngs_
File "/root/
raise NoSuchOptError(
oslo_
{1} networking_
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "networking_
self.switch = self._make_
File "networking_
description: | updated |
norman shen (jshen28) wrote : | #3 |
above result is obtained by running
`stestr run --test-path networking_
Mark Goddard (mgoddard) wrote : | #4 |
Can you reproduce using tox? That is how we run tests.
Hi,
No, I cannot reproduce it with tox. But sometimes I think I would like to
debug code with IDE, that's when things go wrong.
On Fri, Jun 21, 2019 at 4:46 PM Mark Goddard <email address hidden> wrote:
> Can you reproduce using tox? That is how we run tests.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> driver test are failing
>
> Status in Networking ML2 Generic Switch :
> New
>
> Bug description:
>
> (py27) root@ecs-
> -munittest networking_
> Traceback (most recent call last):
> File "/usr/lib/
> "__main__", fname, loader, pkg_name)
> File "/usr/lib/
> exec code in run_globals
> File "/usr/lib/
> main(module=None)
> File "/usr/lib/
> self.parseArgs(
> File "/usr/lib/
> self.createTests()
> File "/usr/lib/
> self.module)
> File "/usr/lib/
> loadTestsFromNames
> suites = [self.loadTests
> File "/usr/lib/
> loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_cisco3000'
> (py27) root@ecs-
> -munittest networking_
> EEEEEE
> =======
> ERROR: test__format_
> (networking_
> -------
> Traceback (most recent call last):
> File
> "networking_
> 32, in setUp
> self.switch = self._make_
> File "networking_
> line 25, in _make_switch_device
> return cisco.Cisco300(
> File "networking_
> line 62, in __init__
> if CONF.ngs_
> File
> "/root/
> line 2519, in __getattr__
> raise NoSuchOptError(
> NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
>
> =======
> ERROR: test_add_network
> (networking_
> -------
> Traceback (most recent call last):
> File
> "networking_
norman shen (jshen28) wrote : | #6 |
and btw ostestr is deprecated according to
https:/
On Fri, Jun 21, 2019 at 4:46 PM Mark Goddard <email address hidden> wrote:
> Can you reproduce using tox? That is how we run tests.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> driver test are failing
>
> Status in Networking ML2 Generic Switch :
> New
>
> Bug description:
>
> (py27) root@ecs-
> -munittest networking_
> Traceback (most recent call last):
> File "/usr/lib/
> "__main__", fname, loader, pkg_name)
> File "/usr/lib/
> exec code in run_globals
> File "/usr/lib/
> main(module=None)
> File "/usr/lib/
> self.parseArgs(
> File "/usr/lib/
> self.createTests()
> File "/usr/lib/
> self.module)
> File "/usr/lib/
> loadTestsFromNames
> suites = [self.loadTests
> File "/usr/lib/
> loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_cisco3000'
> (py27) root@ecs-
> -munittest networking_
> EEEEEE
> =======
> ERROR: test__format_
> (networking_
> -------
> Traceback (most recent call last):
> File
> "networking_
> 32, in setUp
> self.switch = self._make_
> File "networking_
> line 25, in _make_switch_device
> return cisco.Cisco300(
> File "networking_
> line 62, in __init__
> if CONF.ngs_
> File
> "/root/
> line 2519, in __getattr__
> raise NoSuchOptError(
> NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
>
> =======
> ERROR: test_add_network
> (networking_
> -------
> Traceback (most recent call last):
> File
> "networking_
> 32, in setUp
> self.switch = ...
it does report any problem running from parent directory because cfg.CONF is a global variable.