tempest fails sometimes on ServerAddressesTest.test_list_server_addresses

Bug #1315099 reported by Jerry Zhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compass
New
Undecided
Compass Team

Bug Description

http://12.234.32.44/logs/compass-bare-daily-7vm/2014-05-01_10-51-16/console.html

2014-05-01 11:54:00.204 | ======================================================================
2014-05-01 11:54:00.204 | FAIL: tempest.tests.compute.servers.test_server_addresses.ServerAddressesTest.test_list_server_addresses[smoke]
2014-05-01 11:54:00.204 | ----------------------------------------------------------------------
2014-05-01 11:54:00.205 | _StringException: Traceback (most recent call last):
2014-05-01 11:54:00.205 | File "/tmp/tempest/tempest/tests/compute/servers/test_server_addresses.py", line 57, in test_list_server_addresses
2014-05-01 11:54:00.205 | self.assertTrue(len(addresses) >= 1)
2014-05-01 11:54:00.205 | File "/usr/lib64/python2.6/unittest.py", line 324, in failUnless
2014-05-01 11:54:00.205 | if not expr: raise self.failureException, msg
2014-05-01 11:54:00.205 | AssertionError
2014-05-01 11:54:00.205 |

2014-05-01 11:54:00.211 | 2014-05-01 04:40:29,768 Request: GET http://172.16.0.253:8774/v2/cf31522e667e4111a0bb9d22c4a82a47/servers/62439635-9571-41fd-94a1-da47be9e1a2a/ips
2014-05-01 11:54:00.211 | 2014-05-01 04:40:29,768 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-05-01 11:54:00.211 | 2014-05-01 04:40:29,831 Response Status: 200
2014-05-01 11:54:00.211 | 2014-05-01 04:40:29,831 Response Headers: {'content-length': '17', 'content-location': u'http://172.16.0.253:8774/v2/cf31522e667e4111a0bb9d22c4a82a47/servers/62439635-9571-41fd-94a1-da47be9e1a2a/ips', 'date': 'Thu, 01 May 2014 11:40:30 GMT', 'x-compute-request-id': 'req-00ce7890-86d7-426f-8c31-1d856437f056', 'content-type': 'application/json'}
2014-05-01 11:54:00.211 | 2014-05-01 04:40:29,831 Response Body: {"addresses": {}}

Nova-compute did get the network info including ip address though.
http://12.234.32.44/logs/compass-bare-daily-7vm/2014-05-01_10-51-16/cobbler_logs/host7.1/nova-compute.log

 2014-05-01 04:40:16.839 DEBUG nova.compute.manager [req-97d2cbbf-4809-47c8-8168-2865cbcf370d 3ba594bb02e74f49b96ca4d6fc0822e9 cf31522e667e4111a0bb9d22c4a82a47] [instance: 62439635-9571-41fd-94a1-da47be9e1a2a] Instance network_info: |[VIF({'ovs_interfaceid': u'4006861b-da6d-4324-b261-d480d1615944', 'network': Network({'bridge': 'br-int', 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'10.10.0.4'})], 'version': 4, 'meta': {'dhcp_server': u'10.10.0.3'}, 'dns': [], 'routes': [], 'cidr': u'10.10.0.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'10.10.0.1'})})], 'meta': {'injected': False, 'tenant_id': u'cf31522e667e4111a0bb9d22c4a82a47'}, 'id': u'97538370-a1f5-4ea5-8653-bd6f5fed7992', 'label': u'private'}), 'devname': u'tap4006861b-da', 'qbh_params': None, 'meta': {}, 'address': u'fa:16:3e:65:d0:e6', 'type': u'ovs', 'id': u'4006861b-da6d-4324-b261-d480d1615944', 'qbg_params': None})]| _allocate_network /usr/lib/python2.6/site-packages/nova/compute/manager.py:1094

Jerry Zhao (zhaoxinyu)
Changed in compass:
assignee: nobody → Compass Team (syscompass)
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.