Pearl1594 commented on pull request #4422:
URL: https://github.com/apache/cloudstack/pull/4422#issuecomment-810787013
@ravening there's an exception in Travis wrt
`test_08_count_resources_restarting_network` in the test suite added. Following
is the exception:
```
2021-02-22 10:26:15,826 - CRITICAL - EXCEPTION:
test_08_count_resources_restarting_network: ['Traceback (most recent call
last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 329, in run\n
testMethod()\n', ' File
"/home/travis/build/apache/cloudstack/test/integration/component/test_router_resources.py",
line 722, in test_08_count_resources_restarting_network\n
self.apiclient.scaleSystemVm(scale_systemvm_cmd)\n', ' File
"/home/travis/.local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 937, in scaleSystemVm\n response =
self.connection.marvinRequest(command, response_type=response,
method=method)\n', ' File
"/home/travis/.local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 379, in marvinRequest\n raise e\n', "Exception: Job failed:
{jobprocstatus : 0, created : u'2021-02-22T10:26:14+0000', completed :
u'2021-02-22T10:26:14+0000', cmd :
u'org.apache.cloudstack.api.command.admin.systemvm.ScaleSystemVMCmd',
userid : u'19e1316e-74f7-11eb-b374-42010a1e044f', jobstatus : 2, jobid :
u'd9667994-678b-48e3-a6ef-151fbb885185', jobresultcode : 530, jobresulttype :
u'object', jobresult : {errorcode : 431, errortext : u'Hypervisor Simulator
does not support rootdisksize override'}, accountid :
u'19e10caf-74f7-11eb-b374-42010a1e044f'}\n"]
```
We can either skip that specific test for simulator or add Simulator to the
list of supported hypervisors at
https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java#L955
to align with the check at
https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/vm/UserVmManagerImpl.java#L3988
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]