Cisco plugin unit tests are failing

Bug #954538 reported by Shweta P on 2012-03-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shweta P
quantum (Ubuntu)
Nominated for Precise by Yolanda Robla

Bug Description

Some of the cisco unit tests are failing with a few common erros listed below

Traceback (most recent call last):
  File "/root/git_src/quantum/quantum/plugins/cisco/tests/unit/", line 613, in test_unplug_interface
    port_dict[const.PORT_ID], vif_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/", line 261, in plug_interface
    db.validate_port_ownership(tenant_id, net_id, port_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/db/", line 310, in validate_port_ownership
    port_get(port_id, net_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/db/", line 176, in port_get
  File "/root/git_src/quantum/quantum/plugins/cisco/db/", line 116, in network_get
    raise q_exc.NetworkNotFound(net_id=net_id)
NetworkNotFound: Network 30bce2fa-d1cb-4d48-bc2c-5e691badc5ec could not be found

ERROR: test_list_all_networks (
Traceback (most recent call last):
  File "/root/git_src/quantum/quantum/plugins/cisco/tests/unit/", line 259, in test_list_all_networks
    self.tearDownNetwork(tenant_id, new_net_dict2[const.NET_ID])
  File "/root/git_src/quantum/quantum/plugins/cisco/tests/unit/", line 307, in tearDownNetwork
    self._cisco_nexus_plugin.delete_network(tenant_id, network_dict_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/nexus/", line 103, in delete_network
  File "/root/git_src/quantum/quantum/plugins/cisco/nexus/", line 138, in delete_vlan
    self.disable_vlan(man, vlan_id)
  File "/root/git_src/quantum/quantum/plugins/cisco/nexus/", line 72, in disable_vlan
    mgr.edit_config(target='running', config=confstr)
  File "/usr/lib/python2.6/site-packages/ncclient/", line 76, in wrapper
    return self.execute(op_cls, *args, **kwds)
  File "/usr/lib/python2.6/site-packages/ncclient/", line 130, in execute
    raise_mode=self._raise_mode).request(*args, **kwds)
  File "/usr/lib/python2.6/site-packages/ncclient/operations/", line 58, in request
    return self._request(node)
  File "/usr/lib/python2.6/site-packages/ncclient/operations/", line 294, in _request
    raise self._reply.error
RPCError: ERROR: None of the VLANs exist

Shweta P (shweta-ap05) on 2012-03-13
Changed in quantum:
assignee: nobody → Shweta P (shweta-ap05)
Changed in quantum:
status: New → In Progress
importance: Undecided → High
milestone: none → essex-rc1

Submitter: Jenkins
Branch: master

commit ad07e743cb10ffeb31895670e0d073a4217b1dea
Author: Shweta P <email address hidden>
Date: Mon Mar 12 19:13:31 2012 -0400

    bug 954538
    Fix for the cisco unit tests

    Change-Id: I81e95e91245ba5215f7d8b94ac7aa5ebdd58d976

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-03-19
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in quantum:
milestone: essex-rc1 → 2012.1
Changed in quantum (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers