← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1623425] [NEW] DNSNameServerDbObjectTestCase.test_filtering_by_fields fails sometimes

 

Public bug reported:

The test fails sometimes.

neutron.tests.unit.objects.test_subnet.DNSNameServerDbObjectTestCase.test_filtering_by_fields
---------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    b'Traceback (most recent call last):'
    b'  File "/home/vagrant/git/neutron/neutron/tests/unit/objects/test_base.py", line 1215, in test_filtering_by_fields'
    b"    'Filtering by %s failed.' % field)"
    b'  File "/home/vagrant/git/neutron/.tox/py34/lib/python3.4/site-packages/unittest2/case.py", line 1182, in assertItemsEqual'
    b'    return self.assertSequenceEqual(expected, actual, msg=msg)'
    b'  File "/home/vagrant/git/neutron/.tox/py34/lib/python3.4/site-packages/unittest2/case.py", line 1014, in assertSequenceEqual'
    b'    self.fail(msg)'
    b'  File "/home/vagrant/git/neutron/.tox/py34/lib/python3.4/site-packages/unittest2/case.py", line 690, in fail'
    b'    raise self.failureException(msg)'
    b"AssertionError: Sequences differ: [{'subnet_id': 'a8b63bc4-9799-4781-83c8-48e9491dcd5e', 'address': 'ioojfcuswf'}] != []"
    b''
    b'First sequence contains 1 additional elements.'
    b'First extra element 0:'
    b"{'subnet_id': 'a8b63bc4-9799-4781-83c8-48e9491dcd5e', 'address': 'ioojfcuswf'}"
    b''
    b'+ []'
    b"- [{'address': 'ioojfcuswf',"
    b"-   'subnet_id': 'a8b63bc4-9799-4781-83c8-48e9491dcd5e'}] : Filtering by order failed."
    b''

Reproducible with: ostestr  --regex
neutron.tests.unit.objects.test_subnet.DNSNameServerDbObjectTestCase.test_filtering_by_fields
--until-failure

Log example: http://logs.openstack.org/59/365659/10/check/gate-neutron-
python34/afb20dd/testr_results.html.gz

** Affects: neutron
     Importance: High
     Assignee: Ihar Hrachyshka (ihar-hrachyshka)
         Status: Confirmed


** Tags: gate-failure unittest

** Changed in: neutron
     Assignee: (unassigned) => Ihar Hrachyshka (ihar-hrachyshka)

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
    Milestone: None => newton-rc1

** Changed in: neutron
   Importance: Undecided => High

** Tags added: gate-failure unittest

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1623425

Title:
  DNSNameServerDbObjectTestCase.test_filtering_by_fields fails sometimes

Status in neutron:
  Confirmed

Bug description:
  The test fails sometimes.

  neutron.tests.unit.objects.test_subnet.DNSNameServerDbObjectTestCase.test_filtering_by_fields
  ---------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      b'Traceback (most recent call last):'
      b'  File "/home/vagrant/git/neutron/neutron/tests/unit/objects/test_base.py", line 1215, in test_filtering_by_fields'
      b"    'Filtering by %s failed.' % field)"
      b'  File "/home/vagrant/git/neutron/.tox/py34/lib/python3.4/site-packages/unittest2/case.py", line 1182, in assertItemsEqual'
      b'    return self.assertSequenceEqual(expected, actual, msg=msg)'
      b'  File "/home/vagrant/git/neutron/.tox/py34/lib/python3.4/site-packages/unittest2/case.py", line 1014, in assertSequenceEqual'
      b'    self.fail(msg)'
      b'  File "/home/vagrant/git/neutron/.tox/py34/lib/python3.4/site-packages/unittest2/case.py", line 690, in fail'
      b'    raise self.failureException(msg)'
      b"AssertionError: Sequences differ: [{'subnet_id': 'a8b63bc4-9799-4781-83c8-48e9491dcd5e', 'address': 'ioojfcuswf'}] != []"
      b''
      b'First sequence contains 1 additional elements.'
      b'First extra element 0:'
      b"{'subnet_id': 'a8b63bc4-9799-4781-83c8-48e9491dcd5e', 'address': 'ioojfcuswf'}"
      b''
      b'+ []'
      b"- [{'address': 'ioojfcuswf',"
      b"-   'subnet_id': 'a8b63bc4-9799-4781-83c8-48e9491dcd5e'}] : Filtering by order failed."
      b''

  Reproducible with: ostestr  --regex
  neutron.tests.unit.objects.test_subnet.DNSNameServerDbObjectTestCase.test_filtering_by_fields
  --until-failure

  Log example: http://logs.openstack.org/59/365659/10/check/gate-
  neutron-python34/afb20dd/testr_results.html.gz

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


Follow ups