Rayees Namathponnan created CLOUDSTACK-4647:
-----------------------------------------------

             Summary: [Automation] Test case 
TestAccountSnapshotClean.test_02_accountSnapshotClean  failed to mount nfs1 
server
                 Key: CLOUDSTACK-4647
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4647
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: 4.2.1
         Environment: Automation 
4.2.1-forward
KVM
            Reporter: Rayees Namathponnan
             Fix For: 4.2.1


Test case failed to mount NFS server 

integration.component.test_snapshot_gc.TestAccountSnapshotClean.test_02_accountSnapshotClea

Observed below error in log 

Error Message

Snapshot was not found on NFS
-------------------- >> begin captured logging << --------------------
test_02_accountSnapshotClean 
(integration.component.test_snapshot_gc.TestAccountSnapshotClean): DEBUG: VM 
ID: 0e161a5c-58f5-4a4f-927e-19ac199ba15f, VM state: Running
paramiko.transport: DEBUG: starting thread (client mode): 0x426f0d0L
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)
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 2] EOF sent (2)
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/407/700/c5e9ecf6-1cbe-48f2-b836-98460bd81b98 && 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_snapshot_gc.py", 
line 291, in test_02_accountSnapshotClean
    "Snapshot was not found on NFS")
  File "/usr/local/lib/python2.7/unittest/case.py", line 405, in assertTrue
    raise self.failureException(msg)
Snapshot was not found on NFS
-------------------- >> begin captured logging << --------------------
test_02_accountSnapshotClean 
(integration.component.test_snapshot_gc.TestAccountSnapshotClean): DEBUG: VM 
ID: 0e161a5c-58f5-4a4f-927e-19ac199ba15f, VM state: Running
paramiko.transport: DEBUG: starting thread (client mode): 0x426f0d0L
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)
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 2] EOF sent (2)
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/407/700/c5e9ecf6-1cbe-48f2-b836-98460bd81b98 && 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 << ---------------------

--
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