some tests assume existance of some agents

Bug #1509590 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Invalid
Undecided
YAMAMOTO Takashi

Bug Description

following tests seem to have an assumption some of neutron agents are registered.

test_add_remove_network_from_dhcp_agent
test_list_networks_hosted_by_one_dhcp
AgentManagementTestJSON

unfortunately the assumption is false for the latest version of midonet,
where agent/dhcp_agent_scheduler/lbaas_agent_scheduler extensions are
enabled but in typical setup no neutron agents are run.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/239328

Changed in tempest:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/239329

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

I am a bit baffled by this bug report. You can't implement an extension and expect to honor it the way you see fit, that's a kick in the teeth of portability.

Changed in tempest:
status: In Progress → Invalid
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

"some tests assume existence of some agents" ==> Yes, that's how it's supposed to work. It's not an oversight or a design flaw.

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Armando,

i'm not sure if i understand.
to me, it seems wrong to have this level of implementation knowledge in api tests.

with the reference implementation, surely "no agents" is likely due to some regression.
but my understanding is that it's the job of scenario tests to ensure the functionalities and
detect such a regression. not api tests.

in case of midonet, these agents are optional.
ie. it can be configured to work with or without these agents.
either ways it's fully functional.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Ken'ichi Ohmichi (<email address hidden>) on branch: master
Review: https://review.openstack.org/239328
Reason: As http://lists.openstack.org/pipermail/openstack-dev/2016-May/096204.html , we start abandoning patches have gotten old without any updating after negative feedback. Please restore if necessary to restart this again.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/239329

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.