Rayees Namathponnan created CLOUDSTACK-4648:
-----------------------------------------------

             Summary: [Automation] Test cases 
TestCreateVMSnapshotTemplate.test_01_createVM_snapshotTemplate failed with 
assert error 
                 Key: CLOUDSTACK-4648
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4648
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, Test
    Affects Versions: 4.2.1
         Environment: KVM
4.2-forward 
            Reporter: Rayees Namathponnan
            Priority: Critical
             Fix For: 4.2.1


Test case 
integration.component.test_snapshots.TestCreateVMSnapshotTemplate.test_01_createVM_snapshotTemplate
 failed with asset errorr 

Error Message

False is not True
-------------------- >> begin captured logging << --------------------
test_01_createVM_snapshotTemplate 
(integration.component.test_snapshots.TestCreateVMSnapshotTemplate): DEBUG: 
Created VM with ID: c7bc243f-54ed-49e1-abfb-41e59ab4e559
test_01_createVM_snapshotTemplate 
(integration.component.test_snapshots.TestCreateVMSnapshotTemplate): DEBUG: 
Snapshot created: ID - 7c76e8d0-0351-4be0-95f3-04f0b6075551
test_01_createVM_snapshotTemplate 
(integration.component.test_snapshots.TestCreateVMSnapshotTemplate): DEBUG: 
select backup_snap_id, account_id, volume_id from snapshots where uuid = 
'7c76e8d0-0351-4be0-95f3-04f0b6075551';
test_01_createVM_snapshotTemplate 
(integration.component.test_snapshots.TestCreateVMSnapshotTemplate): DEBUG: 
Created template from snapshot: 26c7a850-7295-4cd2-bf5e-87214f9ae666
test_01_createVM_snapshotTemplate 
(integration.component.test_snapshots.TestCreateVMSnapshotTemplate): DEBUG: 
Created VM with ID: ddb07a66-e123-4577-8b7e-16be730829ed from template: 
26c7a850-7295-4cd2-bf5e-87214f9ae666
paramiko.transport: DEBUG: starting thread (client mode): 0x4654c10L
paramiko.transport: INFO: Connected (version 2.0, client OpenSSH_5.3)
paramiko.transport: DEBUG: kex algos:['diffie-hellman-group-exchange-sha256', 
'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 
'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client 
encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 
'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 
'aes256-cbc', 'arcfour', '[email protected]'] server 
encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 
'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 
'aes256-cbc', 'arcfour', '[email protected]'] client mac:['hmac-md5', 
'hmac-sha1', '[email protected]', 'hmac-ripemd160', 
'[email protected]', 'hmac-sha1-96', 'hmac-md5-96'] server 
mac:['hmac-md5', 'hmac-sha1', '[email protected]', 'hmac-ripemd160', 
'[email protected]', 'hmac-sha1-96', 'hmac-md5-96'] client 
compress:['none', '[email protected]'] server compress:['none', 
'[email protected]'] client lang:[''] server lang:[''] kex follows?False
paramiko.transport: DEBUG: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
paramiko.transport: DEBUG: using kex diffie-hellman-group1-sha1; server key 
type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local 
hmac-sha1, remote hmac-sha1; compression: local none, remote none
paramiko.transport: DEBUG: Switch to new keys ...
paramiko.transport: DEBUG: Adding ssh-rsa host key for 10.223.49.195: 
46bde2f19851ddbdf5b062510a1d4200
paramiko.transport: DEBUG: Trying discovered key 
76be480fa6b8ad3b78082d6d19e4ee44 in /root/.ssh/id_rsa
paramiko.transport: DEBUG: userauth is OK
paramiko.transport: INFO: Authentication (publickey) successful!
sshClient: DEBUG: SSH connect: [email protected] with passwd password
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
paramiko.transport: DEBUG: [chan 1] EOF received (1)
sshClient: DEBUG: {Cmd: mkdir -p %s /mnt/tmp via Host: 10.223.49.195} {returns: 
[]}
paramiko.transport: DEBUG: [chan 2] Max packet in: 34816 bytes
paramiko.transport: DEBUG: [chan 1] EOF sent (1)
paramiko.transport: DEBUG: [chan 2] Max packet out: 32768 bytes
paramiko.transport: INFO: Secsh channel 2 opened.
paramiko.transport: DEBUG: [chan 2] Sesch channel 2 request ok
paramiko.transport: DEBUG: [chan 2] EOF received (2)
paramiko.transport: DEBUG: [chan 2] EOF sent (2)
sshClient: DEBUG: {Cmd: mount -t nfs 
10.223.49.195:/export/home/rayees/SC_QA_AUTO4/secondary /mnt/tmp via Host: 
10.223.49.195} {returns: ['mount.nfs: Connection timed out']}
paramiko.transport: DEBUG: [chan 3] Max packet in: 34816 bytes
paramiko.transport: DEBUG: [chan 3] Max packet out: 32768 bytes
paramiko.transport: INFO: Secsh channel 3 opened.
paramiko.transport: DEBUG: [chan 3] Sesch channel 3 request ok
paramiko.transport: DEBUG: [chan 3] EOF received (3)
paramiko.transport: DEBUG: [chan 3] EOF sent (3)
sshClient: DEBUG: {Cmd: test -f 
/mnt/tmp/snapshots/154/291/ab58a12b-926b-42ce-8ef3-e67272f1afee && echo 
'snapshot exists' via Host: 10.223.49.195} {returns: []}
paramiko.transport: DEBUG: [chan 4] Max packet in: 34816 bytes
paramiko.transport: DEBUG: [chan 4] Max packet out: 32768 bytes
paramiko.transport: INFO: Secsh channel 4 opened.
paramiko.transport: DEBUG: [chan 4] Sesch channel 4 request ok
paramiko.transport: DEBUG: [chan 4] EOF received (4)
paramiko.transport: DEBUG: [chan 4] EOF sent (4)
sshClient: DEBUG: {Cmd: cd via Host: 10.223.49.195} {returns: []}
paramiko.transport: DEBUG: [chan 5] Max packet in: 34816 bytes
paramiko.transport: DEBUG: [chan 5] Max packet out: 32768 bytes
paramiko.transport: INFO: Secsh channel 5 opened.
paramiko.transport: DEBUG: [chan 5] Sesch channel 5 request ok
paramiko.transport: DEBUG: [chan 5] EOF received (5)
paramiko.transport: DEBUG: [chan 5] EOF sent (5)
sshClient: DEBUG: {Cmd: umount /mnt/tmp via Host: 10.223.49.195} {returns: 
['umount: /mnt/tmp: not mounted']}
paramiko.transport: DEBUG: EOF in transport thread
--------------------- >> end captured logging << ---------------------
Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File 
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_snapshots.py", line 
1016, in test_01_createVM_snapshotTemplate
    self.assertTrue(is_snapshot_on_nfs(self.apiclient, self.dbclient, 
self.config, self.zone.id, snapshot_uuid))
  File "/usr/local/lib/python2.7/unittest/case.py", line 405, in assertTrue
    raise self.failureException(msg)
False is not True

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to