[ https://issues.apache.org/jira/browse/CLOUDSTACK-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rayees Namathponnan updated CLOUDSTACK-3018: -------------------------------------------- Priority: Critical (was: Major) > Test case test_blocker_bugs.TestSnapshots.test_01_volume_from_snapshot failed > during mount in KVM > ------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3018 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3018 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation > Affects Versions: 4.2.0 > Reporter: Rayees Namathponnan > Priority: Critical > Fix For: 4.2.0 > > > Test case test_blocker_bugs.TestSnapshots.test_01_volume_from_snapshot during > mount in KVM > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File > "/Repo_30X/ipcl/cloudstack/test/integration/component/test_blocker_bugs.py", > line 343, in test_01_volume_from_snapshot > self.apiclient.attachVolume(cmd) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 1416, in attachVolume > response = self.connection.marvin_request(command, > response_type=response, method=method) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 231, in marvin_request > response = self.poll(asyncJobId, response_type) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 91, in poll > "asyncquery", asyncResonse.jobresult) > Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : > u'Command failed due to Internal Server Error'} > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestSnapshots: DEBUG: Created volume with ID: > bae13aa6-06a0-43f0-a536-d078a48bf47e > testclient.testcase.TestSnapshots: DEBUG: Attach volume: > bae13aa6-06a0-43f0-a536-d078a48bf47e to VM: > 06a152d8-c3b4-41da-8529-9b5b60aa2e07 > paramiko.transport: DEBUG: starting thread (client mode): 0x16692850L > paramiko.transport: INFO: Connected (version 2.0, client OpenSSH_4.3) > paramiko.transport: DEBUG: kex algos:['diffie-hellman-group-exchange-sha1', > 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server > key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-cbc', '3des-cbc', > 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', > 'aes192-cbc', 'aes256-cbc', 'rijndael-...@lysator.liu.se', 'aes128-ctr', > 'aes192-ctr', 'aes256-ctr'] server encrypt:['aes128-cbc', '3des-cbc', > 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', > 'aes192-cbc', 'aes256-cbc', 'rijndael-...@lysator.liu.se', 'aes128-ctr', > 'aes192-ctr', 'aes256-ctr'] client mac:['hmac-md5', 'hmac-sha1', > 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', > 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', > 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client > compress:['none', 'z...@openssh.com'] server compress:['none', > 'z...@openssh.com'] 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.122.78: > 0f8b3ff9dc4dce10340227dab3cac032 > paramiko.transport: DEBUG: Trying discovered key > 76be480fa6b8ad3b78082d6d19e4ee44 in /root/.ssh/id_rsa > paramiko.transport: DEBUG: userauth is OK > paramiko.transport: INFO: Authentication (publickey) failed. > paramiko.transport: DEBUG: userauth is OK > paramiko.transport: INFO: Authentication (password) successful! > sshClient: DEBUG: SSH connect: root@10.223.122.78 with passwd password > testclient.testcase.TestSnapshots: DEBUG: Formatting volume: > bae13aa6-06a0-43f0-a536-d078a48bf47e to ext3 > 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) > paramiko.transport: DEBUG: [chan 1] EOF sent (1) > sshClient: DEBUG: {Cmd: echo -e 'n > p > 1 > w' | fdisk /dev/xvdb via Host: 10.223.122.78} {returns: ['', 'Unable to open > /dev/xvdb']} > paramiko.transport: DEBUG: [chan 2] Max packet in: 34816 bytes > 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: mkfs.ext3 /dev/xvdb1 via Host: 10.223.122.78} > {returns: ['mke2fs 1.39 (29-May-2006)', 'Could not stat /dev/xvdb1 --- No > such file or directory', '', 'The device apparently does not exist; did you > specify it correctly?']} > testclient.testcase.TestSnapshots: DEBUG: Command: mkdir -p /mnt/tmp > 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: mkdir -p /mnt/tmp via Host: 10.223.122.78} {returns: > []} > testclient.testcase.TestSnapshots: DEBUG: Command: mount /dev/xvdb1 /mnt/tmp > 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) > sshClient: DEBUG: {Cmd: mount /dev/xvdb1 /mnt/tmp via Host: 10.223.122.78} > {returns: ['mount: special device /dev/xvdb1 does not exist']} > testclient.testcase.TestSnapshots: DEBUG: Command: mkdir -p > /mnt/tmp/test/{test1,test2} > paramiko.transport: DEBUG: [chan 5] Max packet in: 34816 bytes > paramiko.transport: DEBUG: [chan 4] EOF sent (4) > 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: mkdir -p /mnt/tmp/test/{test1,test2} via Host: > 10.223.122.78} {returns: []} > testclient.testcase.TestSnapshots: DEBUG: Command: echo > 5SJU9E6MV2980T8VKCC9TKGN05EZERL2W0IK92J1BI7UJ41MDRHY538YBBH1ST6IMJ5SL1EH4C16IZIJZQWSPTY5HCR3CZJ6MMLV > > /mnt/tmp/test/test1/random.data > paramiko.transport: DEBUG: [chan 6] Max packet in: 34816 bytes > paramiko.transport: DEBUG: [chan 6] Max packet out: 32768 bytes > paramiko.transport: INFO: Secsh channel 6 opened. > paramiko.transport: DEBUG: [chan 6] Sesch channel 6 request ok > paramiko.transport: DEBUG: [chan 6] EOF received (6) > paramiko.transport: DEBUG: [chan 6] EOF sent (6) > sshClient: DEBUG: {Cmd: echo > 5SJU9E6MV2980T8VKCC9TKGN05EZERL2W0IK92J1BI7UJ41MDRHY538YBBH1ST6IMJ5SL1EH4C16IZIJZQWSPTY5HCR3CZJ6MMLV > > /mnt/tmp/test/test1/random.data via Host: 10.223.122.78} {returns: []} > testclient.testcase.TestSnapshots: DEBUG: Command: echo > BH4ZJZR0U0DFX6JXD2M33YC3K3RML1XHC5PB46QIHN0OE3O892P5DVF3DQF24QK20IPCX6XNGXSF1HDKRQWANID64RP9SI38I2VI > > /mnt/tmp/test/test2/random.data > paramiko.transport: DEBUG: [chan 7] Max packet in: 34816 bytes > paramiko.transport: DEBUG: [chan 7] Max packet out: 32768 bytes > paramiko.transport: INFO: Secsh channel 7 opened. > paramiko.transport: DEBUG: [chan 7] Sesch channel 7 request ok > paramiko.transport: DEBUG: [chan 7] EOF received (7) > paramiko.transport: DEBUG: [chan 7] EOF sent (7) > sshClient: DEBUG: {Cmd: echo > BH4ZJZR0U0DFX6JXD2M33YC3K3RML1XHC5PB46QIHN0OE3O892P5DVF3DQF24QK20IPCX6XNGXSF1HDKRQWANID64RP9SI38I2VI > > /mnt/tmp/test/test2/random.data via Host: 10.223.122.78} {returns: []} > testclient.testcase.TestSnapshots: DEBUG: Command: umount /mnt/tmp > paramiko.transport: DEBUG: [chan 8] Max packet in: 34816 bytes > paramiko.transport: DEBUG: [chan 8] Max packet out: 32768 bytes > paramiko.transport: INFO: Secsh channel 8 opened. > paramiko.transport: DEBUG: [chan 8] Sesch channel 8 request ok > paramiko.transport: DEBUG: [chan 8] EOF received (8) > paramiko.transport: DEBUG: [chan 8] EOF sent (8) > sshClient: DEBUG: {Cmd: umount /mnt/tmp via Host: 10.223.122.78} {returns: > ['umount: /mnt/tmp: not mounted']} > testclient.testcase.TestSnapshots: DEBUG: Created snapshot: > a06cbe34-e2d7-425c-a03d-ef91d68f90e8 > testclient.testcase.TestSnapshots: DEBUG: Created Volume: > e4f4a3a7-dbdb-4c05-8e5c-77bc26bbf05c from Snapshot: > a06cbe34-e2d7-425c-a03d-ef91d68f90e8 > testclient.testcase.TestSnapshots: DEBUG: Deployed new VM for account: > test-blocker_bugs-D1NGMQ > testclient.testcase.TestSnapshots: DEBUG: Attaching volume: > e4f4a3a7-dbdb-4c05-8e5c-77bc26bbf05c to VM: > 6fa397f6-17db-4ffa-a500-d12f65c510c7 > --------------------- >> 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