Change in vdsm[master]: add VM creation test over localfs storage layout

Ryan Harper ryanh at us.ibm.com
Fri Oct 12 15:48:07 UTC 2012


Ryan Harper has posted comments on this change.

Change subject: add VM creation test over localfs storage layout
......................................................................


Patch Set 4: Fails

I gave the 3 patches a test, here were the results:


# ./run_tests.sh functional/xmlrpcTests.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
XMLRPCTest
    testGetCaps                                                 OK
    testLocalfs                                                 FAIL
    testSimpleVMoLocalfs                                        FAIL
    testStartEmptyVM                                            OK
    testStartSmallVM                                            OK

======================================================================
FAIL: testLocalfs (xmlrpcTests.XMLRPCTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 216, in testLocalfs
    with _localfsStore(conf['conn']), self._vdsmStorageLayout(conf):
  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 95, in wrapper
    _playRollback(rollback, exception, traceback)
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 88, in wrapper
    yield transaction(rollback=rollback, *args, **kwargs)
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 283, in _vdsmStorageLayout
    self.assertVdsOK(r)
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 152, in assertVdsOK
    vdsResult['status']['message']))
AssertionError: error code: 323, message: Cannot connect pool, already connected to another pool: ("['fd6a8de4-db2a-11e1-938c-c7deb0f66679']",)

======================================================================
FAIL: testSimpleVMoLocalfs (xmlrpcTests.XMLRPCTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 237, in testSimpleVMoLocalfs
    with _localfsStore(localfs['conn']), self._vdsmStorageLayout(localfs):
  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 95, in wrapper
    _playRollback(rollback, exception, traceback)
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 88, in wrapper
    yield transaction(rollback=rollback, *args, **kwargs)
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 263, in _vdsmStorageLayout
    self.assertVdsOK(r)
  File "/usr/share/vdsm/tests/functional/xmlrpcTests.py", line 152, in assertVdsOK
    vdsResult['status']['message']))
AssertionError: error code: 365, message: Storage domain already exists: ('9af9bd7f-6167-4ae8-aac6-95a5e5f36f60',)

----------------------------------------------------------------------
Ran 5 tests in 71.359s

FAILED (failures=2)


Note, that this system has existing remote NFS storage defined.

--
To view, visit http://gerrit.ovirt.org/8183
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie176b96d56803e46b46f50b9fbee5255ad019578
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Adam Litke <agl at us.ibm.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Royce Lv <lvroyce at linux.vnet.ibm.com>
Gerrit-Reviewer: Ryan Harper <ryanh at us.ibm.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list