← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1715666] [NEW] ServerMovingTests resize tests sometimes intermittently fail

 

Public bug reported:

Seen here:

http://logs.openstack.org/27/501727/1/check/gate-cross-nova-func-ubuntu-
xenial/d873617/console.html#_2017-09-07_14_11_16_735244

2017-09-07 14:11:16.735244 |
nova.tests.functional.test_servers.ServerMovingTests.test_resize_revert_reverse

2017-09-07 14:11:16.787916 | Captured traceback:
2017-09-07 14:11:16.787936 | ~~~~~~~~~~~~~~~~~~~
2017-09-07 14:11:16.787962 |     Traceback (most recent call last):
2017-09-07 14:11:16.788004 |       File "nova/tests/functional/test_servers.py", line 1171, in test_resize_revert_reverse
2017-09-07 14:11:16.788035 |         self._test_resize_revert(dest_hostname='host2')
2017-09-07 14:11:16.788075 |       File "nova/tests/functional/test_servers.py", line 1366, in _test_resize_revert
2017-09-07 14:11:16.788103 |         server, source_rp_uuid, dest_rp_uuid)
2017-09-07 14:11:16.788146 |       File "nova/tests/functional/test_servers.py", line 1318, in _delete_and_check_allocations
2017-09-07 14:11:16.788171 |         'DISK_GB': 0}, source_usages)
2017-09-07 14:11:16.788236 |       File "/home/jenkins/workspace/gate-cross-nova-func-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
2017-09-07 14:11:16.788266 |         self.assertThat(observed, matcher, message)
2017-09-07 14:11:16.788331 |       File "/home/jenkins/workspace/gate-cross-nova-func-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
2017-09-07 14:11:16.788353 |         raise mismatch_error
2017-09-07 14:11:16.788381 |     testtools.matchers._impl.MismatchError: !=:
2017-09-07 14:11:16.788412 |     reference = {'DISK_GB': 0, 'MEMORY_MB': 0, 'VCPU': 0}
2017-09-07 14:11:16.788444 |     actual    = {u'DISK_GB': 1, u'MEMORY_MB': 512, u'VCPU': 1}

And here:

http://logs.openstack.org/01/499001/2/check/gate-nova-tox-functional-
ubuntu-xenial/88c86f9/console.html#_2017-09-05_17_30_43_568499

2017-09-05 17:30:43.568499 | nova.tests.functional.test_servers.ServerMovingTests.test_resize_not_enough_resource
2017-09-05 17:30:43.568536 | ------------------------------------------------------------------------------------
2017-09-05 17:30:43.568549 | 
2017-09-05 17:30:43.568566 | Captured traceback:
2017-09-05 17:30:43.568584 | ~~~~~~~~~~~~~~~~~~~
2017-09-05 17:30:43.568607 |     Traceback (most recent call last):
2017-09-05 17:30:43.568646 |       File "nova/tests/functional/test_servers.py", line 1591, in test_resize_not_enough_resource
2017-09-05 17:30:43.568672 |         server, source_rp_uuid, dest_rp_uuid)
2017-09-05 17:30:43.568710 |       File "nova/tests/functional/test_servers.py", line 1318, in _delete_and_check_allocations
2017-09-05 17:30:43.568732 |         'DISK_GB': 0}, source_usages)
2017-09-05 17:30:43.568792 |       File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
2017-09-05 17:30:43.568838 |         self.assertThat(observed, matcher, message)
2017-09-05 17:30:43.568898 |       File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
2017-09-05 17:30:43.568919 |         raise mismatch_error
2017-09-05 17:30:43.568945 |     testtools.matchers._impl.MismatchError: !=:
2017-09-05 17:30:43.568972 |     reference = {'DISK_GB': 0, 'MEMORY_MB': 0, 'VCPU': 0}
2017-09-05 17:30:43.569001 |     actual    = {u'DISK_GB': 1, u'MEMORY_MB': 512, u'VCPU': 1}

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22actual%20%20%20%20%3D%20%7Bu'DISK_GB'%3A%201%2C%20u'MEMORY_MB'%3A%20512%2C%20u'VCPU'%3A%201%7D%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

So far it's only 2 hits in 7 days so pretty rare.

** Affects: nova
     Importance: Medium
         Status: Confirmed


** Tags: functional 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/1715666

Title:
  ServerMovingTests resize tests sometimes intermittently fail

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  Seen here:

  http://logs.openstack.org/27/501727/1/check/gate-cross-nova-func-
  ubuntu-xenial/d873617/console.html#_2017-09-07_14_11_16_735244

  2017-09-07 14:11:16.735244 |
  nova.tests.functional.test_servers.ServerMovingTests.test_resize_revert_reverse

  2017-09-07 14:11:16.787916 | Captured traceback:
  2017-09-07 14:11:16.787936 | ~~~~~~~~~~~~~~~~~~~
  2017-09-07 14:11:16.787962 |     Traceback (most recent call last):
  2017-09-07 14:11:16.788004 |       File "nova/tests/functional/test_servers.py", line 1171, in test_resize_revert_reverse
  2017-09-07 14:11:16.788035 |         self._test_resize_revert(dest_hostname='host2')
  2017-09-07 14:11:16.788075 |       File "nova/tests/functional/test_servers.py", line 1366, in _test_resize_revert
  2017-09-07 14:11:16.788103 |         server, source_rp_uuid, dest_rp_uuid)
  2017-09-07 14:11:16.788146 |       File "nova/tests/functional/test_servers.py", line 1318, in _delete_and_check_allocations
  2017-09-07 14:11:16.788171 |         'DISK_GB': 0}, source_usages)
  2017-09-07 14:11:16.788236 |       File "/home/jenkins/workspace/gate-cross-nova-func-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
  2017-09-07 14:11:16.788266 |         self.assertThat(observed, matcher, message)
  2017-09-07 14:11:16.788331 |       File "/home/jenkins/workspace/gate-cross-nova-func-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
  2017-09-07 14:11:16.788353 |         raise mismatch_error
  2017-09-07 14:11:16.788381 |     testtools.matchers._impl.MismatchError: !=:
  2017-09-07 14:11:16.788412 |     reference = {'DISK_GB': 0, 'MEMORY_MB': 0, 'VCPU': 0}
  2017-09-07 14:11:16.788444 |     actual    = {u'DISK_GB': 1, u'MEMORY_MB': 512, u'VCPU': 1}

  And here:

  http://logs.openstack.org/01/499001/2/check/gate-nova-tox-functional-
  ubuntu-xenial/88c86f9/console.html#_2017-09-05_17_30_43_568499

  2017-09-05 17:30:43.568499 | nova.tests.functional.test_servers.ServerMovingTests.test_resize_not_enough_resource
  2017-09-05 17:30:43.568536 | ------------------------------------------------------------------------------------
  2017-09-05 17:30:43.568549 | 
  2017-09-05 17:30:43.568566 | Captured traceback:
  2017-09-05 17:30:43.568584 | ~~~~~~~~~~~~~~~~~~~
  2017-09-05 17:30:43.568607 |     Traceback (most recent call last):
  2017-09-05 17:30:43.568646 |       File "nova/tests/functional/test_servers.py", line 1591, in test_resize_not_enough_resource
  2017-09-05 17:30:43.568672 |         server, source_rp_uuid, dest_rp_uuid)
  2017-09-05 17:30:43.568710 |       File "nova/tests/functional/test_servers.py", line 1318, in _delete_and_check_allocations
  2017-09-05 17:30:43.568732 |         'DISK_GB': 0}, source_usages)
  2017-09-05 17:30:43.568792 |       File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
  2017-09-05 17:30:43.568838 |         self.assertThat(observed, matcher, message)
  2017-09-05 17:30:43.568898 |       File "/home/jenkins/workspace/gate-nova-tox-functional-ubuntu-xenial/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
  2017-09-05 17:30:43.568919 |         raise mismatch_error
  2017-09-05 17:30:43.568945 |     testtools.matchers._impl.MismatchError: !=:
  2017-09-05 17:30:43.568972 |     reference = {'DISK_GB': 0, 'MEMORY_MB': 0, 'VCPU': 0}
  2017-09-05 17:30:43.569001 |     actual    = {u'DISK_GB': 1, u'MEMORY_MB': 512, u'VCPU': 1}

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22actual%20%20%20%20%3D%20%7Bu'DISK_GB'%3A%201%2C%20u'MEMORY_MB'%3A%20512%2C%20u'VCPU'%3A%201%7D%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

  So far it's only 2 hits in 7 days so pretty rare.

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


Follow ups