tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_create_backup fails gate sporadically

Bug #1269192 reported by Peter Portante
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

See: http://logs.openstack.org/89/66489/1/check/check-tempest-dsvm-full/a484000/console.html

2014-01-14 03:46:02.953 | ======================================================================
2014-01-14 03:46:02.988 | FAIL: tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_create_backup[gate]
2014-01-14 03:46:02.988 | tempest.api.compute.servers.test_server_actions.ServerActionsTestXML.test_create_backup[gate]
2014-01-14 03:46:02.988 | ----------------------------------------------------------------------
2014-01-14 03:46:02.988 | _StringException: Empty attachments:
2014-01-14 03:46:02.988 | stderr
2014-01-14 03:46:02.988 | stdout
2014-01-14 03:46:02.988 |
2014-01-14 03:46:02.988 | pythonlogging:'': {{{
2014-01-14 03:46:02.988 | 2014-01-14 03:21:13,050 Request: GET http://127.0.0.1:8774/v2/4abae42565aa4b0d8e183c0647cc5769/servers/486cab8d-87ae-4aa8-ba8d-35cfe6730801
2014-01-14 03:46:02.988 | 2014-01-14 03:21:13,050 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-01-14 03:46:02.988 | 2014-01-14 03:21:13,129 Response Status: 200
2014-01-14 03:46:02.988 | 2014-01-14 03:21:13,129 Nova request id: req-4f4eb12f-180a-48b8-8b71-7208976519c6
2014-01-14 03:46:02.989 | 2014-01-14 03:21:13,130 Response Headers: {'content-length': '2171', 'content-location': u'http://127.0.0.1:8774/v2/4abae42565aa4b0d8e183c0647cc5769/servers/486cab8d-87ae-4aa8-ba8d-35cfe6730801', 'date': 'Tue, 14 Jan 2014 03:21:13 GMT', 'content-type': 'application/xml', 'connection': 'close'}
2014-01-14 03:46:02.989 | 2014-01-14 03:21:13,130 Response Body: <?xml version='1.0' encoding='UTF-8'?>
2014-01-14 03:46:02.989 | <server xmlns:OS-DCF="http://docs.openstack.org/compute/ext/disk_config/api/v1.1" xmlns:os-extended-volumes="http://docs.openstack.org/compute/ext/extended_volumes/api/v1.1" xmlns:OS-EXT-IPS="http://docs.openstack.org/compute/ext/extended_ips/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:OS-EXT-IPS-MAC="http://docs.openstack.org/compute/ext/extended_ips_mac/api/v1.1" xmlns:OS-SRV-USG="http://docs.openstack.org/compute/ext/server_usage/api/v1.1" xmlns:OS-EXT-STS="http://docs.openstack.org/compute/ext/extended_status/api/v1.1" xmlns:OS-EXT-AZ="http://docs.openstack.org/compute/ext/extended_availability_zone/api/v2" xmlns="http://docs.openstack.org/compute/api/v1.1" status="ACTIVE" updated="2014-01-14T03:21:11Z" hostId="f8057942d86ea88ba82a86e31a2fe0aa1ff2ef2683f4672df9916b82" name="ServerActionsTestXML-instance-tempest-444606086" created="2014-01-14T03:21:01Z" userId="6d499ca581774c68926c3712bfb837d6" tenantId="4abae42565aa4b0d8e183c0647cc5769" accessIPv4="" accessIPv6="" progress="0" id="486cab8d-87ae-4aa8-ba8d-35cfe6730801" key_name="None" config_drive="" OS-SRV-USG:terminated_at="None" OS-SRV-USG:launched_at="2014-01-14 03:21:11" OS-EXT-STS:vm_state="active" OS-EXT-STS:task_state="None" OS-EXT-STS:power_state="1" OS-EXT-AZ:availability_zone="nova" OS-DCF:diskConfig="MANUAL"><image id="9c31d919-33cc-4363-8906-31eccf9441b1"><atom:link href="http://127.0.0.1:8774/4abae42565aa4b0d8e183c0647cc5769/images/9c31d919-33cc-4363-8906-31eccf9441b1" rel="bookmark"/></image><flavor id="42"><atom:link href="http://127.0.0.1:8774/4abae42565aa4b0d8e183c0647cc5769/flavors/42" rel="bookmark"/></flavor><metadata/><addresses><network id="private"><ip OS-EXT-IPS:type="fixed" version="4" addr="10.1.0.4" OS-EXT-IPS-MAC:mac_addr="fa:16:3e:ac:bd:ab"/></network></addresses><atom:link href="http://127.0.0.1:8774/v2/4abae42565aa4b0d8e183c0647cc5769/servers/486cab8d-87ae-4aa8-ba8d-35cfe6730801" rel="self"/><atom:link href="http://127.0.0.1:8774/4abae42565aa4b0d8e183c0647cc5769/servers/486cab8
2014-01-14 03:46:02.989 | 2014-01-14 03:21:13,130 Large body (2171) md5 summary: 0813c8c6a64efcc75aed8a348c69dec5
.
.
.
2014-01-14 03:46:03.145 | 2014-01-14 03:21:58,317 Request: GET http://127.0.0.1:9292/v1/images/d2c8c237-cdab-48b1-b1dd-06add5b1226d
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,317 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,370 Response Status: 404
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,370 Glance request id req-f2731282-f4c1-4c96-92c6-f7baf0ddb142
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,370 Response Headers: {'content-length': '108', 'date': 'Tue, 14 Jan 2014 03:21:58 GMT', 'content-type': 'text/plain; charset=UTF-8', 'connection': 'close'}
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,371 Response Body: 404 Not Found
2014-01-14 03:46:03.146 |
2014-01-14 03:46:03.146 | The resource could not be found.
2014-01-14 03:46:03.146 |
2014-01-14 03:46:03.146 | Image d2c8c237-cdab-48b1-b1dd-06add5b1226d is not active
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,371 Request: GET http://127.0.0.1:9292/v1/images/detail?sort_key=created_at&sort_dir=asc&property-instance_uuid=486cab8d-87ae-4aa8-ba8d-35cfe6730801&property-image_type=backup&property-backup_type=daily
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,371 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-01-14 03:46:03.146 | 2014-01-14 03:21:58,439 Response Status: 200
2014-01-14 03:46:03.147 | 2014-01-14 03:21:58,439 Glance request id req-5dfb8d33-f2ce-47c9-b5fc-9f4eac31fe71
2014-01-14 03:46:03.147 | 2014-01-14 03:21:58,440 Response Headers: {'content-length': '3501', 'content-location': u'http://127.0.0.1:9292/v1/images/detail?sort_key=created_at&sort_dir=asc&property-instance_uuid=486cab8d-87ae-4aa8-ba8d-35cfe6730801&property-image_type=backup&property-backup_type=daily', 'date': 'Tue, 14 Jan 2014 03:21:58 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
2014-01-14 03:46:03.147 | 2014-01-14 03:21:58,440 Response Body: {"images": [{"status": "deleted", "name": "backup-tempest-1260387419", "deleted": false, "container_format": "ami", "created_at": "2014-01-14T03:21:13", "disk_format": "ami", "updated_at": "2014-01-14T03:21:58", "min_disk": 0, "protected": false, "id": "d2c8c237-cdab-48b1-b1dd-06add5b1226d", "min_ram": 0, "checksum": "46174c17883be8f30bbe967b646398ca", "owner": "4abae42565aa4b0d8e183c0647cc5769", "is_public": false, "deleted_at": null, "properties": {"instance_uuid": "486cab8d-87ae-4aa8-ba8d-35cfe6730801", "image_location": "snapshot", "image_state": "available", "instance_type_memory_mb": "64", "instance_type_swap": "0", "image_type": "backup", "instance_type_id": "6", "ramdisk_id": "3bd01b64-988e-407c-a033-2517d69df28d", "instance_type_name": "m1.nano", "instance_type_ephemeral_gb": "0", "instance_type_rxtx_factor": "1.0", "kernel_id": "812e7309-25b2-4a8f-888b-5a0911f2fcb4", "backup_type": "daily", "instance_type_flavorid": "42", "instance_type_vcpus": "1", "user_id": "6d499ca581774c68926c3712bfb837d6", "instance_type_root_gb": "0", "base_image_ref": "9c31d919-33cc-4363-8906-31eccf9441b1", "owner_id": "4abae42565aa4b0d8e183c0647cc5769"}, "size": 983040}, {"status": "active", "name": "backup-tempest-1223661524", "deleted": false, "container_format": "ami", "created_at": "2014-01-14T03:21:27", "disk_format": "ami", "updated_at": "2014-01-14T03:21:40", "min_disk": 0, "protected": false, "id": "75406fd2-1985-4f2b-b667-a47f237b8638", "min_ram": 0, "checksum": "46174c17883be8f30bbe967b646398ca", "owner": "4abae42565aa4b0d8e183c0647cc5769", "is_public": false, "deleted_at": null, "properties": {"instance_uuid": "486cab8d-87ae-4aa8-ba8d-35cfe6730801", "image_location": "snapshot", "image_state": "available", "instance_type_memory_mb": "64", "instance_type_swap": "0", "image_type": "backup", "instance_type_id": "6", "ramdisk_id": "3bd01b64-988e-407c-a033-2517d69df28d", "instance_type_name": "m1.nano", "instance_type_ephemeral_gb": "0", "instance_type_rxtx_factor": "1.0", "kernel_id": "812e7309-25b2-4a8f-888b-5a0911f2fcb
2014-01-14 03:46:03.147 | 2014-01-14 03:21:58,440 Large body (3501) md5 summary: 6a8a02320b8a090b6a81a4800b6265eb
2014-01-14 03:46:03.147 | 2014-01-14 03:21:58,442 Request: DELETE http://127.0.0.1:9292/v1/images/2b4139c1-438e-4824-83ee-d6094441088b
2014-01-14 03:46:03.147 | 2014-01-14 03:21:58,442 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-01-14 03:46:03.147 | 2014-01-14 03:21:59,422 Response Status: 200
2014-01-14 03:46:03.147 | 2014-01-14 03:21:59,422 Glance request id req-7842839b-e43e-44dc-bfd0-5d6b587c5aa1
2014-01-14 03:46:03.147 | 2014-01-14 03:21:59,422 Response Headers: {'content-length': '0', 'date': 'Tue, 14 Jan 2014 03:21:59 GMT', 'content-type': 'text/html; charset=UTF-8', 'connection': 'close'}
2014-01-14 03:46:03.147 | 2014-01-14 03:21:59,422 Request: DELETE http://127.0.0.1:9292/v1/images/75406fd2-1985-4f2b-b667-a47f237b8638
2014-01-14 03:46:03.148 | 2014-01-14 03:21:59,422 Request Headers: {'X-Auth-Token': '<Token omitted>'}
2014-01-14 03:46:03.148 | 2014-01-14 03:21:59,974 Response Status: 200
2014-01-14 03:46:03.148 | 2014-01-14 03:21:59,974 Glance request id req-e7c99274-d901-4aa2-8782-61a0f1947bad
2014-01-14 03:46:03.148 | 2014-01-14 03:21:59,974 Response Headers: {'content-length': '0', 'date': 'Tue, 14 Jan 2014 03:21:59 GMT', 'content-type': 'text/html; charset=UTF-8', 'connection': 'close'}
2014-01-14 03:46:03.148 | }}}
2014-01-14 03:46:03.148 |
2014-01-14 03:46:03.148 | Traceback (most recent call last):
2014-01-14 03:46:03.148 | File "tempest/api/compute/servers/test_server_actions.py", line 298, in test_create_backup
2014-01-14 03:46:03.148 | self.assertEqual(2, len(image_list))
2014-01-14 03:46:03.148 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 324, in assertEqual
2014-01-14 03:46:03.148 | self.assertThat(observed, matcher, message)
2014-01-14 03:46:03.149 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in assertThat
2014-01-14 03:46:03.149 | raise MismatchError(matchee, matcher, mismatch, verbose)
2014-01-14 03:46:03.149 | MismatchError: 2 != 3

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.