** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1473949

Title:
  gate-nova-python34 some times test failed on
  test_save_updates_numa_topology

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  After I commit review, I got gate-nova-python34 FAILURE in following log file
  
http://logs.openstack.org/19/201019/1/check/gate-nova-python34/1e74b65/console.html

  The assert meessages are
  AssertionError: Expected call: 
instance_extra_update_by_uuid(<nova.context.RequestContext object at 
0x7fb95f499dd8>, 'fake-uuid', {'numa_topology': '{"nova_object.version": "1.1", 
"nova_object.name": "InstanceNUMATopology", "nova_object.changes": ["cells", 
"instance_uuid"], "nova_object.data": {"cells": [{"nova_object.version": "1.2", 
"nova_object.name": "InstanceNUMACell", "nova_object.changes": ["memory", "id", 
"cpuset"], "nova_object.data": {"pagesize": null, "cpu_pinning_raw": null, 
"cpu_topology": null, "id": 0, "cpuset": [0], "memory": 128}, 
"nova_object.namespace": "nova"}, {"nova_object.version": "1.2", 
"nova_object.name": "InstanceNUMACell", "nova_object.changes": ["memory", "id", 
"cpuset"], "nova_object.data": {"pagesize": null, "cpu_pinning_raw": null, 
"cpu_topology": null, "id": 1, "cpuset": [1], "memory": 128}, 
"nova_object.namespace": "nova"}], "instance_uuid": "fake-uuid"}, 
"nova_object.namespace": "nova"}'})
  2015-07-13 07:28:22.759 | Actual call: 
instance_extra_update_by_uuid(<nova.context.RequestContext object at 
0x7fb95f499dd8>, 'fake-uuid', {'numa_topology': '{"nova_object.version": "1.1", 
"nova_object.name": "InstanceNUMATopology", "nova_object.changes": ["cells", 
"instance_uuid"], "nova_object.data": {"cells": [{"nova_object.version": "1.2", 
"nova_object.name": "InstanceNUMACell", "nova_object.changes": ["memory", 
"cpuset", "id"], "nova_object.data": {"pagesize": null, "cpu_pinning_raw": 
null, "cpu_topology": null, "id": 0, "cpuset": [0], "memory": 128}, 
"nova_object.namespace": "nova"}, {"nova_object.version": "1.2", 
"nova_object.name": "InstanceNUMACell", "nova_object.changes": ["memory", 
"cpuset", "id"], "nova_object.data": {"pagesize": null, "cpu_pinning_raw": 
null, "cpu_topology": null, "id": 1, "cpuset": [1], "memory": 128}, 
"nova_object.namespace": "nova"}], "instance_uuid": "fake-uuid"}, 
"nova_object.namespace": "nova"}'})

  You can notice the difference of these two value are
  "nova_object.changes" in cells object. They have same element with
  different order.

  This is because of the order of _changed_fields was not always same. 
Therefore the two value's order are different.
  But python27 will not had this problem. Because of when we want to get 
object's change, those changes will been save in set and finally return it.
  Python27's set collection will sort content, but python34 wouldn't.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1473949/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to