rhtyd commented on pull request #4250:
URL: https://github.com/apache/cloudstack/pull/4250#issuecomment-670416413
@nvazquez I triaged the issues for simulator/Travis, they are limited to
`test_vm_life_cycle` and `test_reset_vm_on_reboot` failures now.
1. For the `test_vm_life_cycle` the following tests fail:
```
=== TestName: test_01_unmanage_vm_cycle | Status : EXCEPTION ===
```
Error log: (we probably should skip test/setup if hypervisor is not vmware?)
```
ERROR: test suite for <class
'integration.smoke.test_vm_life_cycle.TestVAppsVM'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 209, in
run
self.setUp()
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 292, in
setUp
self.setupContext(ancestor)
File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 315, in
setupContext
try_run(context, names)
File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 471, in
try_run
return func()
File
"/home/rohit/lab/apache/cloudstack/test/integration/smoke/test_vm_life_cycle.py",
line 1696, in setUpClass
assert False, "get_test_ovf_templates() failed to return templates"
AssertionError: get_test_ovf_templates() failed to return templates
```
...
```
2020-08-07 14:28:20,461 - DEBUG - ========Sending GET Cmd :
createEgressFirewallRule=======
2020-08-07 14:28:20,484 - ERROR - Exception:['Traceback (most recent call
last):\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line
308, in __parseAndGetResponse\n response_cls)\n', ' File
"/usr/local/lib/python2.7/dist-packages/marvin/jsonHelper.py", line 156, in
getResultObj\n raise cloudstackException.CloudstackAPIException(respname,
errMsg)\n', 'CloudstackAPIException: Execute cmd: createegressfirewallrule
failed, due to: errorCode: 537, errorText:There is already a firewall rule
specified with protocol = all and no ports\n']
```
2. For `test_reset_vm_on_reboot` failure, I checked against master looks
like this is failing on master as well due to:
```
java.lang.NullPointerException
at
com.cloud.vm.VirtualMachineManagerImpl.logBootModeParameters(VirtualMachineManagerImpl.java:1339)
```
I'll send a separate PR for this issue.
----------------------------------------------------------------
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]