Check for FIP status in scenario tests cause instability in neutron gate jobs
Bug #1381617 reported by
Armando Migliaccio
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Carl Baldwin |
Bug Description
Since this Tempest change:
https:/
We verify that FloatingIP changes status correctly on association and dis-association.
This has shown instability of the dvr tempest job:
DVR is particularly affected.
Changed in neutron: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in neutron: | |
assignee: | Armando Migliaccio (armando-migliaccio) → Marios Andreou (marios-b) |
Changed in neutron: | |
assignee: | Marios Andreou (marios-b) → Armando Migliaccio (armando-migliaccio) |
Changed in tempest: | |
assignee: | nobody → Carl Baldwin (carl-baldwin) |
Changed in neutron: | |
assignee: | Armando Migliaccio (armando-migliaccio) → Marios Andreou (marios-b) |
Changed in neutron: | |
status: | In Progress → Confirmed |
Changed in neutron: | |
milestone: | kilo-1 → kilo-2 |
Changed in neutron: | |
milestone: | kilo-2 → kilo-3 |
Changed in neutron: | |
milestone: | kilo-3 → kilo-rc1 |
To post a comment you must log in.
Analyzing the logs, the status being reported by the agent seems to be correct but the test is checking the status too soon. Therefore, test failure occurs. Since the test status is being correctly reported by the agent, the Importance of this defect should be moved down.
Here are relevant entries from the logs:
Test case checking the status, Note the time:
2014-10-15 09:07:21,845 7581 INFO [tempest. common. rest_client] Request (TestNetworkBas icOps:test_ network_ basic_ops) : 200 GET http:// 127.0.0. 1:9696/ v2.0/floatingip s/5c026cb3- 0b11-4f83- 8a6b-488dc85333 4c 0.010s
Agent reporting the status, again note the time:
2014-10-15 09:07:23.382 2281 DEBUG neutron.common.rpc [-] neutron. agent.l3_ agent.L3PluginA pi method call called with arguments (<neutron. context. ContextBase object at 0x7f47726ad690>, {'args': {'router_id': u'c65d9fd9- 7da9-485d- 9c45-b159f0f861 ea', 'fip_statuses': {u'5c026cb3- 0b11-4f83- 8a6b-488dc85333 4c': 'DOWN'}}, 'namespace': None, 'method': 'update_ floatingip_ statuses' }) {'version': '1.1'} wrapper /opt/stack/ new/neutron/ neutron/ common/ log.py: 33