Rayees Namathponnan created CLOUDSTACK-6688:
-----------------------------------------------
Summary: [Automation] SSVM test cases failing in vmware
Key: CLOUDSTACK-6688
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6688
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.4.0
Reporter: Rayees Namathponnan
Fix For: 4.4.0
Below test cases failing in vmware
integration.smoke.test_ssvm.TestSSVMs.test_03_ssvm_internals 0.477 6
integration.smoke.test_ssvm.TestSSVMs.test_04_cpvm_internals 0.495 6
integration.smoke.test_ssvm.TestSSVMs.test_05_stop_ssvm 121.115 6
integration.smoke.test_ssvm.TestSSVMs.test_06_stop_cpvm 111.028 6
integration.smoke.test_ssvm.TestSSVMs.test_07_reboot_ssvm 95.884 6
integration.smoke.test_ssvm.TestSSVMs.test_08_reboot_cpvm 95.813 6
integration.smoke.test_ssvm.TestSSVMs.test_09_destroy_ssvm 211.072 6
integration.smoke.test_ssvm.TestSSVMs.test_10_destroy_cpvm 211.116 6
Test cases failing with error "Warning: Identity file //.ssh/id_rsa.cloud not
accessible: No such file or directory.', u'ssh: Could not resolve hostname
None: Name or service not known']}"
This issue observed only in vmware
shClient: DEBUG: ===SSH to Host 10.223.250.130 port : 22 SUCCESSFUL===
paramiko.transport: DEBUG: [chan 1] Max packet in: 34816 bytes
paramiko.transport: DEBUG: [chan 1] Max packet out: 32768 bytes
paramiko.transport: INFO: Secsh channel 1 opened.
paramiko.transport: DEBUG: [chan 1] Sesch channel 1 request ok
sshClient: DEBUG: {Cmd: ssh -i ~/.ssh/id_rsa.cloud -ostricthostkeychecking=no
-oUserKnownHostsFile=/dev/null -p 3922 None
/usr/local/cloud/systemvm/ssvm-check.sh |grep -e ERROR -e WARNING -e FAIL via
Host: 10.223.250.130} {returns: [u'Warning: Identity file //.ssh/id_rsa.cloud
not accessible: No such file or directory.', u'ssh: Could not resolve hostname
None: Name or service not known']}
paramiko.transport: DEBUG: [chan 1] EOF received (1)
test_03_ssvm_internals (integration.smoke.test_ssvm.TestSSVMs): DEBUG: SSVM
script output: [u'Warning: Identity file //.ssh/id_rsa.cloud not accessible: No
such file or directory.', u'ssh: Could not resolve hostname None: Name or
service not known']
test_03_ssvm_internals (integration.smoke.test_ssvm.TestSSVMs): CRITICAL:
FAILED: test_03_ssvm_internals: ['Traceback (most recent call last):\n', '
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run\n
testMethod()\n', ' File
"/data/Repo2/qa/cloudstack/test/integration/smoke/test_ssvm.py", line 352, in
test_03_ssvm_internals\n "Check for Errors in tests"\n', ' File
"/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual\n
assertion_func(first, second, msg=msg)\n', ' File
"/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual\n
raise self.failureException(msg)\n', 'AssertionError: Check for Errors in
tests\n']
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File "/data/Repo2/qa/cloudstack/test/integration/smoke/test_ssvm.py", line
352, in test_03_ssvm_internals
"Check for Errors in tests"
File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/lib/python2.7/unittest/case.py", line 487, in
_baseAssertEqual
raise self.failureException(msg)
'Check for Errors in tests\n-------------------- >> begin captured stdout <<
---------------------\n=== TestName: test_03_ssvm_internals | Status : FAILED
===\n\n\n--------------------- >> end captured stdout <<
----------------------\n-------------------- >> begin captured logging <<
--------------------\ntest_03_ssvm_internals
--
This message was sent by Atlassian JIRA
(v6.2#6252)