← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1877281] [NEW] vGPU multiple instance creation test is racey

 

Public bug reported:

Zuul can fail sometimes on :
2020-05-05 09:07:46.656481 | ubuntu-bionic | ==============================
2020-05-05 09:07:46.656502 | ubuntu-bionic | Failed 1 tests - output below:
2020-05-05 09:07:46.656518 | ubuntu-bionic | ==============================
2020-05-05 09:07:46.656533 | ubuntu-bionic |
2020-05-05 09:07:46.656548 | ubuntu-bionic | nova.tests.functional.libvirt.test_vgpu.VGPUTests.test_multiple_instance_create
2020-05-05 09:07:46.656563 | ubuntu-bionic | -------------------------------------------------------------------------------
2020-05-05 09:07:46.656577 | ubuntu-bionic |
2020-05-05 09:07:46.656594 | ubuntu-bionic | Captured traceback:
2020-05-05 09:07:46.656609 | ubuntu-bionic | ~~~~~~~~~~~~~~~~~~~
2020-05-05 09:07:46.656625 | ubuntu-bionic |     Traceback (most recent call last):
2020-05-05 09:07:46.656651 | ubuntu-bionic |
2020-05-05 09:07:46.656669 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/libvirt/test_vgpu.py", line 248, in test_multiple_instance_create
2020-05-05 09:07:46.656686 | ubuntu-bionic |     self.assert_vgpu_usage_for_compute(self.compute1, expected=2)
2020-05-05 09:07:46.656701 | ubuntu-bionic |
2020-05-05 09:07:46.656716 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/libvirt/test_vgpu.py", line 178, in assert_vgpu_usage_for_compute
2020-05-05 09:07:46.656732 | ubuntu-bionic |     self.assertEqual(expected, len(mdevs))
2020-05-05 09:07:46.656784 | ubuntu-bionic |
2020-05-05 09:07:46.656803 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional-py36/lib/python3.6/site-packages/testtools/testcase.py", line 415, in assertEqual
2020-05-05 09:07:46.656818 | ubuntu-bionic |     self.assertThat(observed, matcher, message)
2020-05-05 09:07:46.656834 | ubuntu-bionic |
2020-05-05 09:07:46.656848 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional-py36/lib/python3.6/site-packages/testtools/testcase.py", line 502, in assertThat
2020-05-05 09:07:46.656863 | ubuntu-bionic |     raise mismatch_error
2020-05-05 09:07:46.656878 | ubuntu-bionic |
2020-05-05 09:07:46.656892 | ubuntu-bionic |     testtools.matchers._impl.MismatchError: 2 != 1
2020-05-05 09:07:46.656907 | ubuntu-bionic |

Logstash query :
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22testtools.matchers._impl.MismatchError%3A%202%20!%3D%201%5C%22%20AND%20build_name%3A%5C%22nova-tox-functional-py36%5C%22

8 occurrences over 7 days.

** Affects: nova
     Importance: High
     Assignee: Sylvain Bauza (sylvain-bauza)
         Status: In Progress


** Tags: gate-failure vgpu

** Tags added: vgpu

-- 
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/1877281

Title:
  vGPU multiple instance creation test is racey

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Zuul can fail sometimes on :
  2020-05-05 09:07:46.656481 | ubuntu-bionic | ==============================
  2020-05-05 09:07:46.656502 | ubuntu-bionic | Failed 1 tests - output below:
  2020-05-05 09:07:46.656518 | ubuntu-bionic | ==============================
  2020-05-05 09:07:46.656533 | ubuntu-bionic |
  2020-05-05 09:07:46.656548 | ubuntu-bionic | nova.tests.functional.libvirt.test_vgpu.VGPUTests.test_multiple_instance_create
  2020-05-05 09:07:46.656563 | ubuntu-bionic | -------------------------------------------------------------------------------
  2020-05-05 09:07:46.656577 | ubuntu-bionic |
  2020-05-05 09:07:46.656594 | ubuntu-bionic | Captured traceback:
  2020-05-05 09:07:46.656609 | ubuntu-bionic | ~~~~~~~~~~~~~~~~~~~
  2020-05-05 09:07:46.656625 | ubuntu-bionic |     Traceback (most recent call last):
  2020-05-05 09:07:46.656651 | ubuntu-bionic |
  2020-05-05 09:07:46.656669 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/libvirt/test_vgpu.py", line 248, in test_multiple_instance_create
  2020-05-05 09:07:46.656686 | ubuntu-bionic |     self.assert_vgpu_usage_for_compute(self.compute1, expected=2)
  2020-05-05 09:07:46.656701 | ubuntu-bionic |
  2020-05-05 09:07:46.656716 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/nova/tests/functional/libvirt/test_vgpu.py", line 178, in assert_vgpu_usage_for_compute
  2020-05-05 09:07:46.656732 | ubuntu-bionic |     self.assertEqual(expected, len(mdevs))
  2020-05-05 09:07:46.656784 | ubuntu-bionic |
  2020-05-05 09:07:46.656803 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional-py36/lib/python3.6/site-packages/testtools/testcase.py", line 415, in assertEqual
  2020-05-05 09:07:46.656818 | ubuntu-bionic |     self.assertThat(observed, matcher, message)
  2020-05-05 09:07:46.656834 | ubuntu-bionic |
  2020-05-05 09:07:46.656848 | ubuntu-bionic |       File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional-py36/lib/python3.6/site-packages/testtools/testcase.py", line 502, in assertThat
  2020-05-05 09:07:46.656863 | ubuntu-bionic |     raise mismatch_error
  2020-05-05 09:07:46.656878 | ubuntu-bionic |
  2020-05-05 09:07:46.656892 | ubuntu-bionic |     testtools.matchers._impl.MismatchError: 2 != 1
  2020-05-05 09:07:46.656907 | ubuntu-bionic |

  Logstash query :
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22testtools.matchers._impl.MismatchError%3A%202%20!%3D%201%5C%22%20AND%20build_name%3A%5C%22nova-tox-functional-py36%5C%22

  8 occurrences over 7 days.

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


Follow ups