Public bug reported: Seen here:
http://logs.openstack.org/81/270981/3/check/gate-nova- python34/dfbe2a4/console.html#_2016-02-11_23_31_38_797 2016-02-11 23:31:38.797 | nova.tests.unit.compute.test_compute.ComputeAPITestCase.test_create_with_numa_topology 2016-02-11 23:31:38.798 | -------------------------------------------------------------------------------------- 2016-02-11 23:31:38.798 | 2016-02-11 23:31:38.798 | Captured traceback: 2016-02-11 23:31:38.798 | ~~~~~~~~~~~~~~~~~~~ 2016-02-11 23:31:38.798 | b'Traceback (most recent call last):' 2016-02-11 23:31:38.798 | b' File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mock/mock.py", line 1305, in patched' 2016-02-11 23:31:38.798 | b' return func(*args, **keywargs)' 2016-02-11 23:31:38.798 | b' File "/home/jenkins/workspace/gate-nova-python34/nova/tests/unit/compute/test_compute.py", line 7656, in test_create_with_numa_topology' 2016-02-11 23:31:38.799 | b' instances[0].numa_topology.cells[0].obj_to_primitive())' 2016-02-11 23:31:38.799 | b' File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 362, in assertEqual' 2016-02-11 23:31:38.799 | b' self.assertThat(observed, matcher, message)' 2016-02-11 23:31:38.799 | b' File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 447, in assertThat' 2016-02-11 23:31:38.799 | b' raise mismatch_error' 2016-02-11 23:31:38.799 | b'testtools.matchers._impl.MismatchError: !=:' 2016-02-11 23:31:38.799 | b"reference = {'nova_object.changes': ['memory', 'cpuset', 'id']," 2016-02-11 23:31:38.799 | b" 'nova_object.data': {'cpu_pinning_raw': None," 2016-02-11 23:31:38.799 | b" 'cpu_policy': None," 2016-02-11 23:31:38.800 | b" 'cpu_thread_policy': None," 2016-02-11 23:31:38.800 | b" 'cpu_topology': None," 2016-02-11 23:31:38.800 | b" 'cpuset': (1, 2)," 2016-02-11 23:31:38.800 | b" 'id': 0," 2016-02-11 23:31:38.800 | b" 'memory': 512," 2016-02-11 23:31:38.800 | b" 'pagesize': None}," 2016-02-11 23:31:38.800 | b" 'nova_object.name': 'InstanceNUMACell'," 2016-02-11 23:31:38.800 | b" 'nova_object.namespace': 'nova'," 2016-02-11 23:31:38.800 | b" 'nova_object.version': '1.3'}" 2016-02-11 23:31:38.801 | b"actual = {'nova_object.changes': ['id', 'memory', 'cpuset']," 2016-02-11 23:31:38.801 | b" 'nova_object.data': {'cpu_pinning_raw': None," 2016-02-11 23:31:38.801 | b" 'cpu_policy': None," 2016-02-11 23:31:38.801 | b" 'cpu_thread_policy': None," 2016-02-11 23:31:38.801 | b" 'cpu_topology': None," 2016-02-11 23:31:38.801 | b" 'cpuset': (1, 2)," 2016-02-11 23:31:38.801 | b" 'id': 0," 2016-02-11 23:31:38.801 | b" 'memory': 512," 2016-02-11 23:31:38.802 | b" 'pagesize': None}," 2016-02-11 23:31:38.802 | b" 'nova_object.name': 'InstanceNUMACell'," 2016-02-11 23:31:38.802 | b" 'nova_object.namespace': 'nova'," 2016-02-11 23:31:38.802 | b" 'nova_object.version': '1.3'}" 2016-02-11 23:31:38.802 | b'' 2016-02-11 23:31:38.802 | b'' The nova_object.changes are a set which aren't sorted so we get intermittent results on the py34 job. Dan Smith has a patch for this here: https://review.openstack.org/#/c/279242/ ** Affects: nova Importance: Medium Assignee: Dan Smith (danms) Status: In Progress ** Tags: testing ** Changed in: nova Status: New => In Progress ** Changed in: nova Importance: Undecided => Medium ** Changed in: nova Assignee: (unassigned) => Dan Smith (danms) ** Tags added: testing -- 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/1545177 Title: nova_object.changes compare intermittently fails in py34 unit tests Status in OpenStack Compute (nova): In Progress Bug description: Seen here: http://logs.openstack.org/81/270981/3/check/gate-nova- python34/dfbe2a4/console.html#_2016-02-11_23_31_38_797 2016-02-11 23:31:38.797 | nova.tests.unit.compute.test_compute.ComputeAPITestCase.test_create_with_numa_topology 2016-02-11 23:31:38.798 | -------------------------------------------------------------------------------------- 2016-02-11 23:31:38.798 | 2016-02-11 23:31:38.798 | Captured traceback: 2016-02-11 23:31:38.798 | ~~~~~~~~~~~~~~~~~~~ 2016-02-11 23:31:38.798 | b'Traceback (most recent call last):' 2016-02-11 23:31:38.798 | b' File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mock/mock.py", line 1305, in patched' 2016-02-11 23:31:38.798 | b' return func(*args, **keywargs)' 2016-02-11 23:31:38.798 | b' File "/home/jenkins/workspace/gate-nova-python34/nova/tests/unit/compute/test_compute.py", line 7656, in test_create_with_numa_topology' 2016-02-11 23:31:38.799 | b' instances[0].numa_topology.cells[0].obj_to_primitive())' 2016-02-11 23:31:38.799 | b' File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 362, in assertEqual' 2016-02-11 23:31:38.799 | b' self.assertThat(observed, matcher, message)' 2016-02-11 23:31:38.799 | b' File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 447, in assertThat' 2016-02-11 23:31:38.799 | b' raise mismatch_error' 2016-02-11 23:31:38.799 | b'testtools.matchers._impl.MismatchError: !=:' 2016-02-11 23:31:38.799 | b"reference = {'nova_object.changes': ['memory', 'cpuset', 'id']," 2016-02-11 23:31:38.799 | b" 'nova_object.data': {'cpu_pinning_raw': None," 2016-02-11 23:31:38.799 | b" 'cpu_policy': None," 2016-02-11 23:31:38.800 | b" 'cpu_thread_policy': None," 2016-02-11 23:31:38.800 | b" 'cpu_topology': None," 2016-02-11 23:31:38.800 | b" 'cpuset': (1, 2)," 2016-02-11 23:31:38.800 | b" 'id': 0," 2016-02-11 23:31:38.800 | b" 'memory': 512," 2016-02-11 23:31:38.800 | b" 'pagesize': None}," 2016-02-11 23:31:38.800 | b" 'nova_object.name': 'InstanceNUMACell'," 2016-02-11 23:31:38.800 | b" 'nova_object.namespace': 'nova'," 2016-02-11 23:31:38.800 | b" 'nova_object.version': '1.3'}" 2016-02-11 23:31:38.801 | b"actual = {'nova_object.changes': ['id', 'memory', 'cpuset']," 2016-02-11 23:31:38.801 | b" 'nova_object.data': {'cpu_pinning_raw': None," 2016-02-11 23:31:38.801 | b" 'cpu_policy': None," 2016-02-11 23:31:38.801 | b" 'cpu_thread_policy': None," 2016-02-11 23:31:38.801 | b" 'cpu_topology': None," 2016-02-11 23:31:38.801 | b" 'cpuset': (1, 2)," 2016-02-11 23:31:38.801 | b" 'id': 0," 2016-02-11 23:31:38.801 | b" 'memory': 512," 2016-02-11 23:31:38.802 | b" 'pagesize': None}," 2016-02-11 23:31:38.802 | b" 'nova_object.name': 'InstanceNUMACell'," 2016-02-11 23:31:38.802 | b" 'nova_object.namespace': 'nova'," 2016-02-11 23:31:38.802 | b" 'nova_object.version': '1.3'}" 2016-02-11 23:31:38.802 | b'' 2016-02-11 23:31:38.802 | b'' The nova_object.changes are a set which aren't sorted so we get intermittent results on the py34 job. Dan Smith has a patch for this here: https://review.openstack.org/#/c/279242/ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1545177/+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