Public bug reported:

Logs: http://logs.openstack.org/56/300056/7/check/gate-neutron-dsvm-
api/8d75c73/logs/testr_results.html.gz

Traceback (most recent call last):
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_networks.py", 
line 144, in test_list_pagination_page_reverse_with_href_links
    self._test_list_pagination_page_reverse_with_href_links()
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 484, in 
inner
    return f(self, *args, **kwargs)
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 475, in 
inner
    return f(self, *args, **kwargs)
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 686, in 
_test_list_pagination_page_reverse_with_href_links
    self.assertSameOrder(expected_resources, reversed(resources))
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 508, in 
assertSameOrder
    self.assertEqual(len(original), len(actual))
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 
411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 
498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 7 != 8


The reason of the failure is that while we correctly limit results used for 
comparison to shared=False when fetching expected results with list_networks(), 
we miss shared=False filter when constructing URI for next/previous href 
iteration.

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


** Tags: gate-failure

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

Title:
  test_list_pagination_page_reverse_with_href_links failure in gate

Status in neutron:
  In Progress

Bug description:
  Logs: http://logs.openstack.org/56/300056/7/check/gate-neutron-dsvm-
  api/8d75c73/logs/testr_results.html.gz

  Traceback (most recent call last):
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_networks.py", 
line 144, in test_list_pagination_page_reverse_with_href_links
      self._test_list_pagination_page_reverse_with_href_links()
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 484, 
in inner
      return f(self, *args, **kwargs)
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 475, 
in inner
      return f(self, *args, **kwargs)
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 686, 
in _test_list_pagination_page_reverse_with_href_links
      self.assertSameOrder(expected_resources, reversed(resources))
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 508, 
in assertSameOrder
      self.assertEqual(len(original), len(actual))
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 
411, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 
498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: 7 != 8

  
  The reason of the failure is that while we correctly limit results used for 
comparison to shared=False when fetching expected results with list_networks(), 
we miss shared=False filter when constructing URI for next/previous href 
iteration.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1590116/+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