nvazquez commented on PR #7136:
URL: https://github.com/apache/cloudstack/pull/7136#issuecomment-1407387593
@DaanHoogland I've checked the test fails on Travis since the datadisks to
attach to the VM in the new test exceeds the maximum number of datadisks,
working on a fix.
````
Printing marvin logs
/tmp//MarvinLogs/test_vm_life_cycle_UYSWQ0/failed_plus_exceptions.txt :
2023-01-27 03:38:49,262 - CRITICAL - EXCEPTION:
test_12_start_vm_multiple_volumes_allocated: ['Traceback (most recent call
last):\n', ' File "/opt/pyenv/versions/3.6/lib/python3.6/unittest/case.py",
line 59, in testPartExecutor\n yield\n', ' File
"/opt/pyenv/versions/3.6/lib/python3.6/unittest/case.py", line 605, in run\n
testMethod()\n', ' File
"/home/travis/build/apache/cloudstack/test/integration/smoke/test_vm_life_cycle.py",
line 911, in test_12_start_vm_multiple_volumes_allocated\n
VirtualMachine.attach_volume(vm, self.apiclient, volume)\n', ' File
"/home/travis/.local/lib/python3.6/site-packages/marvin/lib/base.py", line 895,
in attach_volume\n return apiclient.attachVolume(cmd)\n', ' File
"/home/travis/.local/lib/python3.6/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2741, in attachVolume\n response =
self.connection.marvinRequest(command, response_type=response,
method=method)\n', ' File "/home/travis/.local/lib/python3.6/site-packa
ges/marvin/cloudstackConnection.py", line 381, in marvinRequest\n raise
e\n', ' File
"/home/travis/.local/lib/python3.6/site-packages/marvin/cloudstackConnection.py",
line 376, in marvinRequest\n raise self.__lastError\n', ' File
"/home/travis/.local/lib/python3.6/site-packages/marvin/cloudstackConnection.py",
line 105, in __poll\n % async_response)\n', "Exception: Job failed:
{accountid : '9671e93c-9df2-11ed-bf74-42010a1e0014', userid :
'967213df-9df2-11ed-bf74-42010a1e0014', cmd :
'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin',
jobstatus : 2, jobprocstatus : 0, jobresultcode : 530, jobresulttype :
'object', jobresult : {errorcode : 431, errortext : 'The specified VM already
has the maximum number of data disks (6) attached. Please specify another
VM.'}, jobinstancetype : 'Volume', jobinstanceid :
'978938a2-693a-4f7e-bcfd-3f45045d2405', created : '2023-01-27T03:38:48+0000',
completed : '2023-01-27T03:38:48+0000', jobid : '0dee5876-034e-4384-8d48-
22de3eb7c741'}\n"]
````
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]