This behavior is observed for other tests as well:
test_list_shares_by_share_network fail [x]
ft1.19: manilaclient.tests.functional.test_shares_listing.SharesListReadWriteTest.test_list_shares_by_share_networktesttools.testresult.real._StringException: Traceback (most recent call last): File "/opt/stack/new/python-manilaclient/manilaclient/tests/functional/test_shares_listing.py", line 237, in test_list_shares_by_share_network self._list_shares({'share_network': share_network_id}) File "/opt/stack/new/python-manilaclient/manilaclient/tests/functional/test_shares_listing.py", line 173, in _list_shares self.assertEqual(v, get[k]) File "/opt/stack/new/python-manilaclient/.tox/functional/lib/python3.6/site-packages/testtools/testcase.py", line 415, in assertEqual self.assertThat(observed, matcher, message) File "/opt/stack/new/python-manilaclient/.tox/functional/lib/python3.6/site-packages/testtools/testcase.py", line 502, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = '48fdf8ca-732d-418a-b285-b401d664d300' actual = 'c5eb386b-d386-4ced-ae74-2540be854fd7'
This failure was also because there was a migration on the concerned share that completed between the "list" and the "get" calls here: https://opendev.org/openstack/python-manilaclient/src/commit/0ca91287acffece4f78451e160fafa040a988f5a/manilaclient/tests/functional/test_shares_listing.py#L154-L173
This behavior is observed for other tests as well:
test_list_ shares_ by_share_ network
fail
[x]
ft1.19: manilaclient. tests.functiona l.test_ shares_ listing. SharesListReadW riteTest. test_list_ shares_ by_share_ networktesttool s.testresult. real._StringExc eption: Traceback (most recent call last): new/python- manilaclient/ manilaclient/ tests/functiona l/test_ shares_ listing. py", line 237, in test_list_ shares_ by_share_ network _list_shares( {'share_ network' : share_network_id}) new/python- manilaclient/ manilaclient/ tests/functiona l/test_ shares_ listing. py", line 173, in _list_shares assertEqual( v, get[k]) new/python- manilaclient/ .tox/functional /lib/python3. 6/site- packages/ testtools/ testcase. py", line 415, in assertEqual assertThat( observed, matcher, message) new/python- manilaclient/ .tox/functional /lib/python3. 6/site- packages/ testtools/ testcase. py", line 502, in assertThat matchers. _impl.MismatchE rror: !=: 732d-418a- b285-b401d664d3 00' d386-4ced- ae74-2540be854f d7'
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
raise mismatch_error
testtools.
reference = '48fdf8ca-
actual = 'c5eb386b-
This failure was also because there was a migration on the concerned share that completed between the "list" and the "get" calls here: https:/ /opendev. org/openstack/ python- manilaclient/ src/commit/ 0ca91287acffece 4f78451e160fafa 040a988f5a/ manilaclient/ tests/functiona l/test_ shares_ listing. py#L154- L173