← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1607903] Re: test_list_pagination_with_marker failure in PortsSearchCriteriaTest

 

Reviewed:  https://review.openstack.org/346667
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c34c15cded0b5a7256e8362a38408439032fe65a
Submitter: Jenkins
Branch:    master

commit c34c15cded0b5a7256e8362a38408439032fe65a
Author: Genadi Chereshnya <gcheresh@xxxxxxxxxx>
Date:   Mon Jul 25 12:17:37 2016 +0300

    Fix for creation of network environment twice
    
    The patch solves the problem of creation of network, router, subnet
    in tempest and neutron (twice).
    As we want to create the network environment in the neutron test only,
    the get_client_manager should be called by BaseNetworkTest object,
    when cls.network_resources dict is already populated and then
    the tempest will not create a new env (if it is empty it creates a new
    network setup)
    
    Closes-Bug: #1607903
    Change-Id: I73fea24af201be1bd8d6cac204234f490f5113ba


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  test_list_pagination_with_marker failure in PortsSearchCriteriaTest

Status in neutron:
  Fix Released

Bug description:
  http://logs.openstack.org/93/346493/4/gate/gate-neutron-dsvm-
  api/1d3bf4c/testr_results.html.gz

  Traceback (most recent call last):
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_ports.py", line 76, in test_list_pagination_with_marker
      self._test_list_pagination_with_marker()
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 485, in inner
      return f(self, *args, **kwargs)
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 476, in inner
      return f(self, *args, **kwargs)
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 617, in _test_list_pagination_with_marker
      self._test_list_pagination_iteratively(self._list_all_with_marker)
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 597, in _test_list_pagination_iteratively
      self.assertSameOrder(expected_resources, resources)
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 515, in assertSameOrder
      self.assertEqual(expected[self.field], res[self.field])
    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: u'123test' != u''

  Single hit in 7 days:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22in%20test_list_pagination_with_marker%5C%22

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


References