Hi,

 

When I run a test with `tox -e py37` in glance_store, two tests failed.

 

The command what I ran is below.

 

1. git clone https://opendev.org/openstack/glance_store.git

2. tox -e py37

 

Is there something wrong with how to run test?

 

Thanks & Best Regards,

 

==============================

Failed 2 tests - output below:

==============================

 

glance_store.tests.unit.test_filesystem_store.TestStore.test_add_check_metadata_list_with_valid_mountpoint_locations

--------------------------------------------------------------------------------------------------------------------

 

Captured traceback:

~~~~~~~~~~~~~~~~~~~

    b'Traceback (most recent call last):'

    b'  File "/Users/sameshima/glance_store/glance_store/tests/unit/test_filesystem_store.py", line 215, in test_add_check_metadata_list_with_valid_mountpoint_locations'

    b'    self.assertEqual(in_metadata[0], metadata)'

    b'  File "/Users/sameshima/glance_store/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 411, in assertEqual'

    b'    self.assertThat(observed, matcher, message)'

    b'  File "/Users/sameshima/glance_store/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat'

    b'    raise mismatch_error'

    b"testtools.matchers._impl.MismatchError: {'id': 'abcdefg', 'mountpoint': '/tmp'} != {}"

    b''

 

glance_store.tests.unit.test_multistore_filesystem.TestMultiStore.test_add_check_metadata_list_with_valid_mountpoint_locations

------------------------------------------------------------------------------------------------------------------------------

 

Captured traceback:

~~~~~~~~~~~~~~~~~~~

    b'Traceback (most recent call last):'

    b'  File "/Users/sameshima/glance_store/glance_store/tests/unit/test_multistore_filesystem.py", line 276, in test_add_check_metadata_list_with_valid_mountpoint_locations'

    b'    self.assertEqual(in_metadata[0], metadata)'

    b'  File "/Users/sameshima/glance_store/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 411, in assertEqual'

    b'    self.assertThat(observed, matcher, message)'

    b'  File "/Users/sameshima/glance_store/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat'

    b'    raise mismatch_error'

    b"testtools.matchers._impl.MismatchError: {'id': 'abcdefg', 'mountpoint': '/tmp'} != {'store': 'file1'}"


This email and all contents are subject to the following disclaimer:
https://hello.global.ntt/en-us/email-disclaimer