Skip to content

Instantly share code, notes, and snippets.

@sombrafam
Created February 2, 2015 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sombrafam/5b831e66aa26e4513c1b to your computer and use it in GitHub Desktop.
Save sombrafam/5b831e66aa26e4513c1b to your computer and use it in GitHub Desktop.
./run_tests.sh -concurrency 4
======================================================================
FAIL: cinder.tests.test_emc_vnxdirect.EMCVNXCLIDriverISCSITestCase.test_create_volume_from_snapshot_sync_failed
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_emc_vnxdirect.py", line 1380, in test_create_volume_from_snapshot_sync_failed
fake_cli.assert_has_calls(expect_cmd)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/mock.py", line 863, in assert_has_calls
'Actual: %r' % (calls, self.mock_calls)
AssertionError: Calls not found.
Expected: [call('lun', '-create', '-type', 'snap', '-primaryLunName', 'vol1', '-name', 'vol2'), call('lun', '-attach', '-name', 'vol2', '-snapName', 'snapshot1'), call('lun', '-create', '-capacity', 1, '-sq', 'gb', '-poolName', 'unit_test_pool', '-name', 'vol2_dest', '-type', 'NonThin'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('migrate', '-start', '-source', 1, '-dest', 1, '-rate', 'high', '-o', retry_disable=True), call('migrate', '-list', '-source', 1)]
Actual: [call('lun', '-create', '-type', 'snap', '-primaryLunName', 'vol1', '-name', 'vol2'),
call('lun', '-attach', '-name', 'vol2', '-snapName', 'snapshot1'),
call('lun', '-create', '-capacity', 1, '-sq', 'gb', '-poolName', 'unit_test_pool', '-name', 'vol2_dest', '-type', 'NonThin'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('migrate', '-start', '-source', 1, '-dest', 1, '-rate', 'high', '-o', retry_disable=True),
call('migrate', '-list', '-source', 1),
call('lun', '-list', '-name', 'vol2', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2', '-attachedSnapshot')]
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_emc_vnxdirect.py", line 1380, in test_create_volume_from_snapshot_sync_failed
fake_cli.assert_has_calls(expect_cmd)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/mock.py", line 863, in assert_has_calls
'Actual: %r' % (calls, self.mock_calls)
AssertionError: Calls not found.
Expected: [call('lun', '-create', '-type', 'snap', '-primaryLunName', 'vol1', '-name', 'vol2'), call('lun', '-attach', '-name', 'vol2', '-snapName', 'snapshot1'), call('lun', '-create', '-capacity', 1, '-sq', 'gb', '-poolName', 'unit_test_pool', '-name', 'vol2_dest', '-type', 'NonThin'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('migrate', '-start', '-source', 1, '-dest', 1, '-rate', 'high', '-o', retry_disable=True), call('migrate', '-list', '-source', 1)]
Actual: [call('lun', '-create', '-type', 'snap', '-primaryLunName', 'vol1', '-name', 'vol2'),
call('lun', '-attach', '-name', 'vol2', '-snapName', 'snapshot1'),
call('lun', '-create', '-capacity', 1, '-sq', 'gb', '-poolName', 'unit_test_pool', '-name', 'vol2_dest', '-type', 'NonThin'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('migrate', '-start', '-source', 1, '-dest', 1, '-rate', 'high', '-o', retry_disable=True),
call('migrate', '-list', '-source', 1),
call('lun', '-list', '-name', 'vol2', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2', '-attachedSnapshot')]
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_emc_vnxdirect.py", line 1380, in test_create_volume_from_snapshot_sync_failed
fake_cli.assert_has_calls(expect_cmd)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/mock.py", line 863, in assert_has_calls
'Actual: %r' % (calls, self.mock_calls)
AssertionError: Calls not found.
Expected: [call('lun', '-create', '-type', 'snap', '-primaryLunName', 'vol1', '-name', 'vol2'), call('lun', '-attach', '-name', 'vol2', '-snapName', 'snapshot1'), call('lun', '-create', '-capacity', 1, '-sq', 'gb', '-poolName', 'unit_test_pool', '-name', 'vol2_dest', '-type', 'NonThin'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'), call('migrate', '-start', '-source', 1, '-dest', 1, '-rate', 'high', '-o', retry_disable=True), call('migrate', '-list', '-source', 1)]
Actual: [call('lun', '-create', '-type', 'snap', '-primaryLunName', 'vol1', '-name', 'vol2'),
call('lun', '-attach', '-name', 'vol2', '-snapName', 'snapshot1'),
call('lun', '-create', '-capacity', 1, '-sq', 'gb', '-poolName', 'unit_test_pool', '-name', 'vol2_dest', '-type', 'NonThin'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2_dest', '-state', '-status', '-opDetails', '-userCap', '-owner', '-attachedSnapshot'),
call('migrate', '-start', '-source', 1, '-dest', 1, '-rate', 'high', '-o', retry_disable=True),
call('migrate', '-list', '-source', 1),
call('lun', '-list', '-name', 'vol2', '-attachedSnapshot'),
call('lun', '-list', '-name', 'vol2', '-attachedSnapshot')]
======================================================================
FAIL: cinder.tests.test_huawei_t_dorado.HuaweiDorado5100ISCSIDriverTestCase.test_extend_volume
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1259, in test_extend_volume
self.driver.extend_volume, FAKE_VOLUME, VOLUME_SIZE)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiDoradoISCSIDriver.extend_volume of <cinder.volume.drivers.huawei.huawei_dorado.HuaweiDoradoISCSIDriver object at 0x7f64ec8e31d0>> returned None
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1259, in test_extend_volume
self.driver.extend_volume, FAKE_VOLUME, VOLUME_SIZE)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiDoradoISCSIDriver.extend_volume of <cinder.volume.drivers.huawei.huawei_dorado.HuaweiDoradoISCSIDriver object at 0x7f64ec8e31d0>> returned None
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1259, in test_extend_volume
self.driver.extend_volume, FAKE_VOLUME, VOLUME_SIZE)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiDoradoISCSIDriver.extend_volume of <cinder.volume.drivers.huawei.huawei_dorado.HuaweiDoradoISCSIDriver object at 0x7f64ec8e31d0>> returned None
======================================================================
FAIL: cinder.tests.test_fusionio_ioControl.FIOioControlConnectionTests.test_put_sucess
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_fusionio_ioControl.py", line 272, in test_put_sucess
self.conn.post(testurl, testcontent)
File "/home/erlon-home/internal_git/openstack/cinder/cinder/volume/drivers/fusionio/ioControl.py", line 176, in post
verify=self.verify)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/api.py", line 99, in post
return request('post', url, data=data, json=json, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(101, 'ENETUNREACH'))
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_fusionio_ioControl.py", line 272, in test_put_sucess
self.conn.post(testurl, testcontent)
File "/home/erlon-home/internal_git/openstack/cinder/cinder/volume/drivers/fusionio/ioControl.py", line 176, in post
verify=self.verify)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/api.py", line 99, in post
return request('post', url, data=data, json=json, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(101, 'ENETUNREACH'))
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_fusionio_ioControl.py", line 272, in test_put_sucess
self.conn.post(testurl, testcontent)
File "/home/erlon-home/internal_git/openstack/cinder/cinder/volume/drivers/fusionio/ioControl.py", line 176, in post
verify=self.verify)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/api.py", line 99, in post
return request('post', url, data=data, json=json, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(101, 'ENETUNREACH'))
======================================================================
FAIL: cinder.tests.test_huawei_t_dorado.HuaweiTISCSIDriverTestCase.test_create_delete_snapshot_volume
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1328, in test_create_delete_snapshot_volume
FAKE_CLONED_VOLUME, FAKE_SNAPSHOT)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiTISCSIDriver.create_volume_from_snapshot of <cinder.volume.drivers.huawei.huawei_t.HuaweiTISCSIDriver object at 0x7fd544a9a950>> returned {'provider_location': '0'}
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1328, in test_create_delete_snapshot_volume
FAKE_CLONED_VOLUME, FAKE_SNAPSHOT)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiTISCSIDriver.create_volume_from_snapshot of <cinder.volume.drivers.huawei.huawei_t.HuaweiTISCSIDriver object at 0x7fd544a9a950>> returned {'provider_location': '0'}
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1328, in test_create_delete_snapshot_volume
FAKE_CLONED_VOLUME, FAKE_SNAPSHOT)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiTISCSIDriver.create_volume_from_snapshot of <cinder.volume.drivers.huawei.huawei_t.HuaweiTISCSIDriver object at 0x7fd544a9a950>> returned {'provider_location': '0'}
======================================================================
FAIL: cinder.tests.test_huawei_t_dorado.HuaweiTISCSIDriverTestCase.test_extend_volume
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1259, in test_extend_volume
self.driver.extend_volume, FAKE_VOLUME, VOLUME_SIZE)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiTISCSIDriver.extend_volume of <cinder.volume.drivers.huawei.huawei_t.HuaweiTISCSIDriver object at 0x7fd54351dcd0>> returned None
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1259, in test_extend_volume
self.driver.extend_volume, FAKE_VOLUME, VOLUME_SIZE)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiTISCSIDriver.extend_volume of <cinder.volume.drivers.huawei.huawei_t.HuaweiTISCSIDriver object at 0x7fd54351dcd0>> returned None
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_huawei_t_dorado.py", line 1259, in test_extend_volume
self.driver.extend_volume, FAKE_VOLUME, VOLUME_SIZE)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 433, in assertThat
raise mismatch_error
MismatchError: <bound method HuaweiTISCSIDriver.extend_volume of <cinder.volume.drivers.huawei.huawei_t.HuaweiTISCSIDriver object at 0x7fd54351dcd0>> returned Non
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment