'test_mount_quobyte_should_suppress_and_log_already_mounted_error
Based on /proc/mount, the file system is not mounted yet. However,
mount.quobyte returns with an \'already mounted\' error. This is
a last-resort safe-guard in case /proc/mount parsing was not
successful.
Because _mount_quobyte gets called with ensure=True, the error will
be suppressed and logged instead.'

def test_mount_quobyte_should_suppress_and_log_already_mounted_error(self):

    with mock.patch.object(self._driver, '_execute') as mock_execute:
        with mock.patch('cinder.volume.drivers.quobyte.QuobyteDriver.read_proc_mount') as mock_open:
            with mock.patch('cinder.volume.drivers.quobyte.LOG') as mock_LOG:
                mock_open.return_value = six.StringIO()
                mock_execute.side_effect = [None, putils.ProcessExecutionError(stderr='is    busy    or    already    mounted')]
                self._driver._mount_quobyte(self.TEST_QUOBYTE_VOLUME, self.TEST_MNT_POINT, ensure=True)
                mkdir_call = mock.call('mkdir', '-p', self.TEST_MNT_POINT)
                mount_call = mock.call('mount.quobyte', '--disable-xattrs', self.TEST_QUOBYTE_VOLUME, self.TEST_MNT_POINT, run_as_root=False)
                mock_execute.assert_has_calls([mkdir_call, mount_call], any_order=False)
                mock_LOG.warning.assert_called_once_with('%s    is    already    mounted', self.TEST_QUOBYTE_VOLUME)
