yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #55411
[Bug 1609071] Re: test_list_pagination_with_href_links fails intermittently
I got a more recent failure, that postdates the fix for bug 1607903
http://logs.openstack.org/18/337518/1/gate/gate-neutron-dsvm-
api/7dc1856/
** This bug is no longer a duplicate of bug 1607903
test_list_pagination_with_marker failure in PortsSearchCriteriaTest
** Description changed:
http://logs.openstack.org/08/347708/2/gate/gate-neutron-dsvm-
api/d70465a/testr_results.html.gz
Traceback (most recent call last):
- File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_ports.py", line 80, in test_list_pagination_with_href_links
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_ports.py", line 80, in test_list_pagination_with_href_links
+ self._test_list_pagination_with_href_links()
+ 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 663, in _test_list_pagination_with_href_links
+ self._test_list_pagination_iteratively(self._list_all_with_hrefs)
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 592, in _test_list_pagination_iteratively
+ len(expected_resources), sort_args
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 643, in _list_all_with_hrefs
+ self.assertNotIn('next', prev_links)
+ File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 455, in assertNotIn
+ self.assertThat(haystack, 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'previous': u'http://127.0.0.1:9696/v2.0/ports?limit=1&sort_dir=asc&sort_key=name&marker=a963fff7-eaf1-4455-9597-e82528720797&page_reverse=True', u'next': u'http://127.0.0.1:9696/v2.0/ports?limit=1&sort_dir=asc&sort_key=name&marker=a963fff7-eaf1-4455-9597-e82528720797'} matches Contains('next')
+
+ or
+
+
+ Traceback (most recent call last):
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_networks.py", line 124, in test_list_pagination_with_href_links
self._test_list_pagination_with_href_links()
- File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 485, in inner
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 486, in inner
return f(self, *args, **kwargs)
- File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 476, in inner
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 477, in inner
return f(self, *args, **kwargs)
- File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 663, in _test_list_pagination_with_href_links
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 664, in _test_list_pagination_with_href_links
self._test_list_pagination_iteratively(self._list_all_with_hrefs)
- File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 592, in _test_list_pagination_iteratively
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 593, in _test_list_pagination_iteratively
len(expected_resources), sort_args
- File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 643, in _list_all_with_hrefs
- self.assertNotIn('next', prev_links)
- File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 455, in assertNotIn
- self.assertThat(haystack, matcher, message)
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 657, in _list_all_with_hrefs
+ self.assertSameOrder(resources, reversed(resources2))
+ File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 516, 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'previous': u'http://127.0.0.1:9696/v2.0/ports?limit=1&sort_dir=asc&sort_key=name&marker=a963fff7-eaf1-4455-9597-e82528720797&page_reverse=True', u'next': u'http://127.0.0.1:9696/v2.0/ports?limit=1&sort_dir=asc&sort_key=name&marker=a963fff7-eaf1-4455-9597-e82528720797'} matches Contains('next')
-
-
- 1 occurrence in gate queue, a few more in the check queue.
+ testtools.matchers._impl.MismatchError: u'123test' != u'abc1'
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1609071
Title:
test_list_pagination_with_href_links fails intermittently
Status in neutron:
Confirmed
Bug description:
http://logs.openstack.org/08/347708/2/gate/gate-neutron-dsvm-
api/d70465a/testr_results.html.gz
Traceback (most recent call last):
File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_ports.py", line 80, in test_list_pagination_with_href_links
self._test_list_pagination_with_href_links()
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 663, in _test_list_pagination_with_href_links
self._test_list_pagination_iteratively(self._list_all_with_hrefs)
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 592, in _test_list_pagination_iteratively
len(expected_resources), sort_args
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 643, in _list_all_with_hrefs
self.assertNotIn('next', prev_links)
File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 455, in assertNotIn
self.assertThat(haystack, 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'previous': u'http://127.0.0.1:9696/v2.0/ports?limit=1&sort_dir=asc&sort_key=name&marker=a963fff7-eaf1-4455-9597-e82528720797&page_reverse=True', u'next': u'http://127.0.0.1:9696/v2.0/ports?limit=1&sort_dir=asc&sort_key=name&marker=a963fff7-eaf1-4455-9597-e82528720797'} matches Contains('next')
or
Traceback (most recent call last):
File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_networks.py", line 124, in test_list_pagination_with_href_links
self._test_list_pagination_with_href_links()
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 486, in inner
return f(self, *args, **kwargs)
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 477, in inner
return f(self, *args, **kwargs)
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 664, in _test_list_pagination_with_href_links
self._test_list_pagination_iteratively(self._list_all_with_hrefs)
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 593, in _test_list_pagination_iteratively
len(expected_resources), sort_args
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 657, in _list_all_with_hrefs
self.assertSameOrder(resources, reversed(resources2))
File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 516, 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'abc1'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1609071/+subscriptions
References