Intermittent ipset_manager test failures in Kilo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Brian Haley |
Bug Description
It was brought to my attention that there is an intermittent ipset_manager test failure in the latest Kilo code, most likely caused by https:/
This is one from http://
2015-04-09 18:15:35.721 | =======
2015-04-09 18:15:35.721 | Failed 1 tests - output below:
2015-04-09 18:15:35.721 | =======
2015-04-09 18:15:35.721 |
2015-04-09 18:15:35.722 | neutron.
2015-04-09 18:15:35.722 | -------
2015-04-09 18:15:35.722 |
2015-04-09 18:15:35.722 | Captured traceback:
2015-04-09 18:15:35.722 | ~~~~~~~~~~~~~~~~~~~
2015-04-09 18:15:35.722 | Traceback (most recent call last):
2015-04-09 18:15:35.722 | File "neutron/
2015-04-09 18:15:35.723 | self.verify_
2015-04-09 18:15:35.723 | File "neutron/
2015-04-09 18:15:35.723 | self.execute.
2015-04-09 18:15:35.723 | File "/home/
2015-04-09 18:15:35.723 | 'Actual: %r' % (calls, self.mock_calls)
2015-04-09 18:15:35.723 | AssertionError: Calls not found.
2015-04-09 18:15:35.724 | Expected: [call(['ipset', 'create', '-exist', 'IPv4fake_sgid', 'hash:ip', 'family', 'inet', 'hashsize', '2048', 'maxelem', '131072'], run_as_root=True, process_
2015-04-09 18:15:35.724 | Actual: [call(['ipset', 'create', '-exist', 'IPv4fake_sgid', 'hash:ip', 'family', 'inet', 'hashsize', '2048', 'maxelem', '131072'], run_as_root=True, process_
2015-04-09 18:15:35.724 | call(['ipset', 'restore', '-exist'], run_as_root=True, process_
2015-04-09 18:15:35.724 | call(['ipset', 'swap', 'IPv4fake_
2015-04-09 18:15:35.724 | call(['ipset', 'destroy', 'IPv4fake_
2015-04-09 18:15:35.724 | call(['ipset', 'add', '-exist', 'IPv4fake_sgid', '10.0.0.3'], run_as_root=True, process_
2015-04-09 18:15:35.725 | call(['ipset', 'add', '-exist', 'IPv4fake_sgid', '10.0.0.2'], run_as_root=True, process_
I think the fix for this is to just move the self.ipset initializations from the base class into the sub-classes so they operate on their own data independently of each other. Patch forthcoming.
Changed in neutron: | |
assignee: | nobody → Brian Haley (brian-haley) |
Changed in neutron: | |
assignee: | Brian Haley (brian-haley) → Aman Kumar (amank) |
Changed in neutron: | |
assignee: | Aman Kumar (amank) → Brian Haley (brian-haley) |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-1 → 7.0.0 |
Fix proposed to branch: master /review. openstack. org/172223
Review: https:/